﻿/* General Styles */
body {
    background: #f8f9fa;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d3748;
    margin: 0;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6b46c1, #9f7aea);
    color: #ffffff;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 70%);
        z-index: 0;
    }

    .hero .container {
        position: relative;
        z-index: 1;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
        font-weight: 800;
        margin-bottom: 1.5rem;
    }

    .hero p.lead {
        font-size: clamp(1.1rem, 3vw, 1.5rem);
        max-width: 700px;
        margin: 0 auto 2rem;
    }

.hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .hero-image {
        max-height: 160px;
    }
}

@media (min-width: 992px) {
    .hero-image {
        max-height: 140px;
    }
}

/* Buttons */
.btn-primary {
    background: #4c51bf;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .btn-primary:hover {
        background: #434190;
        transform: translateY(-2px);
    }

.btn-outline-light {
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

    .btn-outline-light:hover {
        background: #ffffff;
        color: #4c51bf;
        transform: translateY(-2px);
    }

/* Hero Section for Logged-In Users */
.hero-section.bg-light {
    background: #f7fafc;
}

.hero-box {
    background: linear-gradient(135deg, #4c51bf, #667eea);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hero-box.bg-gradient-secondary {
        background: linear-gradient(135deg, #f56565, #ed8936);
    }

    .hero-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .hero-box .animate-icon {
        transition: transform 0.3s ease;
    }

    .hero-box:hover .animate-icon {
        transform: scale(1.2);
    }

/* Features Section */
.features {
    padding: 4rem 1rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

.feature-icon {
    font-size: 3rem;
    color: #4c51bf;
    margin-bottom: 1.5rem;
}

.feature-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    color: #4a5568;
}

/* Video Section */
.video-section {
    padding: 4rem 1rem;
    background: #edf2f7;
}

    .video-section h4 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        font-weight: 700;
    }

    .video-section video {
        transition: transform 0.3s ease;
    }

        .video-section video:hover {
            transform: scale(1.02);
        }

/* Footer */
.footer {
    background: #2d3748;
    color: #e2e8f0;
    padding: 2rem 1rem;
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .hero {
        padding: 2rem 1rem;
    }

        .hero h1 {
            font-size: clamp(1.8rem, 5vw, 2.5rem);
        }

    .btn-primary, .btn-outline-light {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}
