/* Home Page Specific Styles */

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0;
    margin-top: var(--header-height);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    overflow: visible;
    border-radius: 3rem 3rem 3rem 3rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    border-radius: 0 0 3rem 3rem;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% -10%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 0 0 3rem 3rem;
}

.hero-content {
    
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(37, 99, 235, 0.3);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-buttons .btn:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--card-bg) 100%);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    max-width: calc(25% - 1.5rem);
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, var(--card-bg), var(--background-color));
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--card-bg) 100%);
}

/* Responsive styles for feature grid */
@media (max-width: 1200px) {
    .feature-grid {
        justify-content: center;
    }
    
    .feature-card {
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .hero {
        margin: var(--header-height) 1rem 0 1rem;
        border-radius: 0 0 2rem 2rem;
        padding: 6rem 0;
    }

    .hero::before,
    .hero::after {
        border-radius: 0 0 2rem 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .feature-card,
    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-card i {
        font-size: 2rem;
    }

    .category-card h3 {
        font-size: 1.1rem;
    }

    .category-card p {
        font-size: 0.85rem;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .category-card {
    background: linear-gradient(145deg, rgba(55, 65, 81, 0.9), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .feature-card::before,
[data-theme="dark"] .category-card::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.05));
}

[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .category-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Categories Section */
.categories {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--background-color) 100%);
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    margin-top: 2rem;
}

.category-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(145deg, var(--background-color), var(--card-bg));
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.5;
    position: relative;
    z-index: 1;
} 