/* Landing Page Specific Styles */

/* Header */
.main-header {
    background: white;
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
    height: 60px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 80vh;
    /* Reduced from 100vh since we have header */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f9c739 0%, #fbd461 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    text-align: center;
    color: #000000;
    max-width: 800px;
    margin: 0 auto;
}

/* Removed hero-logo since it's now in header */

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Overrides */
.hero-cta .btn-primary:hover {
    color: #000000 !important;
}

.hero-cta .btn-outline:hover {
    background-color: var(--primary) !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* Animations */
@keyframes pulse-gentle {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 199, 57, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(249, 199, 57, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 199, 57, 0);
    }
}

.btn-pulse {
    animation: pulse-gentle 2s infinite ease-in-out;
}

/* Section Styling */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: var(--spacing-xl);
}

/* Container Wide */
.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Benefits Section */
.benefits {
    background: white;
}

.benefit-card {
    text-align: center;
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: #000000;
}

.benefit-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #f9c739 0%, #fbd461 100%);
    position: relative;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    align-items: center;
    /* Changed from flex-start to align vertically centered */
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-content h3 {
    color: #000000;
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    color: #000000;
    margin-bottom: 0;
}

/* Rules Section */
.rules {
    background: var(--gray-100);
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
    font-size: 1.05rem;
}

.rules-list li:last-child {
    border-bottom: none;
}

/* Registration Section */
.registration {
    background: linear-gradient(135deg, #f9c739 0%, #fbd461 100%);
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--spacing-xl) 0;
}

.footer a {
    color: white;
    text-decoration: underline;
}

.footer a:hover {
    opacity: 0.8;
}

/* Target Audience */
.audience-icon {
    font-size: 3rem;
    /* Increased from 2rem to match benefit-icon */
    margin-bottom: var(--spacing-md);
}

/* Rules Highlight */
.rule-highlight {
    font-weight: bold;
    background-color: #f0fdf4;
    padding: 5px;
    border-radius: 4px;
    border-left: 4px solid #22c55e !important;
}

/* Testimonials Carousel */
.section-testimonials {
    background-color: #f3f4f6;
    /* Gray background distinct from blocks */
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    /* Initially hidden, JS will handle visibility/sliding logic or CSS only scroll snap */
    display: none;
    padding: 0 1rem;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-card {
    text-align: center;
    border-left: 5px solid #2563eb;
    margin: 0 auto;
    background: white;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 10px;
    color: #111827;
}

.carousel-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary);
}


/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Intersection Observer Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}