.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 80px 0;
    color: white;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.website-name {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Search Section */
.search-section {
    margin: -40px auto 40px;
    position: relative;
    z-index: 10;
}

.search-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-input {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.1);
}

.search-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 10px;
}

/* Category Section */
.category-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tool Cards */
.tool-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: rgba(13,110,253,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tool-icon i {
    font-size: 24px;
    color: #0d6efd;
}

.tool-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.tool-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tool-card .btn {
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-card .btn:hover {
    transform: translateY(-2px);
}

/* Ad Section */
.ad-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.ad-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: #6c757d;
}

/* Category Divider */
.category-divider {
    height: 2px;
    background-color: #007bff;
    margin: 40px auto;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    border-radius: 2px;
}

.category-section {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .search-section {
        margin: -30px auto 30px;
    }
    
    .category-section {
        padding: 20px;
    }
}