/* ========================================
   THE INSPECTION ACADEMY - SCHOLARSHIP PAGE
   Light & Fun Theme
   ======================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary: #c75b57;
    --primary-dark: #a84a47;
    --primary-light: #d98e8b;
    --accent: #b59d14;
    --accent-light: #d4bc3b;
    --accent-dark: #8a7810;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f9fafb;
    --light-gray: #f3f4f6;
    --gray: #9ca3af;
    --dark-gray: #4b5563;
    --dark: #1f2937;
    --black: #111827;

    /* Functional Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px rgba(199, 91, 87, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: inline;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 4px 14px rgba(199, 91, 87, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 6px 20px rgba(199, 91, 87, 0.5);
    color: var(--white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: var(--shadow-md), 0 4px 14px rgba(199, 91, 87, 0.4);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 6px 25px rgba(199, 91, 87, 0.6);
    }
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    color: var(--dark);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: var(--space-md);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: var(--space-md);
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-link:hover {
    background: var(--light-gray);
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* ========================================
   PARTICLES BACKGROUND
   ======================================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fef7f7 0%, #fff9f0 50%, #f7f9ff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(199, 91, 87, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(181, 157, 20, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--accent);
    transform: skewX(-5deg);
    z-index: -1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* Countdown Timer */
.countdown-wrapper {
    margin-bottom: var(--space-2xl);
}

.countdown-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.countdown-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    min-width: 70px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--light-gray);
}

.countdown-number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--primary);
    line-height: 1;
}

.countdown-unit {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gray);
    padding-bottom: 1rem;
}

.countdown-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.countdown-date i {
    color: #1877f2;
    margin-right: var(--space-xs);
}

/* Hero CTA */
.hero-cta {
    margin-bottom: var(--space-2xl);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark-gray);
    box-shadow: var(--shadow-sm);
}

.badge i {
    color: var(--success);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

@media (min-width: 768px) {
    .hero-wave svg {
        height: 100px;
    }

    .countdown-item {
        min-width: 90px;
        padding: var(--space-lg) var(--space-xl);
    }
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   PRIZES SECTION
   ======================================== */
.prizes {
    background: var(--white);
}

.prize-total {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.prize-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.prize-amount {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 5rem);
    color: var(--primary);
    text-shadow: 2px 2px 0 var(--accent);
}

.prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.prize-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--light-gray);
    transition: all var(--transition-base);
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.prize-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
}

.prize-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.prize-desc {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ========================================
   WHO SHOULD APPLY SECTION
   ======================================== */
.who-should-apply {
    background: linear-gradient(135deg, #fef7f7 0%, #fff9f0 100%);
}

.candidate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.candidate-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.candidate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.candidate-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.candidate-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.candidate-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--light-gray);
}

.timeline-date {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--light-gray);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: #1877f2;
}

.timeline-link:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(even) {
        justify-content: flex-end;
    }

    .timeline-number {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: 45%;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: right;
    }
}

/* ========================================
   APPLICATION FORM SECTION
   ======================================== */
.apply-section {
    background: linear-gradient(135deg, #fef7f7 0%, #fff9f0 100%);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-xl);
    text-align: center;
    color: var(--white);
}

.form-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.form-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.required-star {
    color: var(--error);
}

/* Tally Form Wrapper */
.tally-form-wrapper {
    padding: var(--space-lg);
}

.tally-form-wrapper iframe {
    border: none;
    width: 100%;
    min-height: 800px;
}

/* Custom Form Styles */
.scholarship-form {
    padding: var(--space-xl);
}

.form-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--light-gray);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: var(--space-lg);
    padding-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-lg);
}

.form-section-title i {
    color: var(--primary);
}

.form-row {
    margin-bottom: var(--space-md);
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .form-row.two-col {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(199, 91, 87, 0.1);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: var(--success);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: var(--error);
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.error-message {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: var(--space-xs);
    display: none;
}

.form-group input.invalid + .error-message,
.form-group select.invalid + .error-message,
.form-group textarea.invalid ~ .error-message {
    display: block;
}

/* Word Counter */
.word-counter {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: var(--space-sm);
}

.word-counter.valid {
    color: var(--success);
}

.word-counter.invalid {
    color: var(--error);
}

.word-hint {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Checkboxes */
.checkbox-group {
    margin-bottom: var(--space-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--white);
    font-size: 0.75rem;
}

.checkbox-text a {
    color: var(--primary);
    text-decoration: underline;
}

/* Submit Button */
.form-submit {
    text-align: center;
    padding-top: var(--space-lg);
}

.btn-submit {
    width: 100%;
    max-width: 300px;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-disclaimer {
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--gray);
}

.form-disclaimer i {
    margin-right: var(--space-xs);
}

/* ========================================
   WHY TIA SECTION
   ======================================== */
.why-tia {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, rgba(199, 91, 87, 0.1) 0%, rgba(181, 157, 20, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    background: linear-gradient(135deg, #fef7f7 0%, #fff9f0 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 2px solid var(--light-gray);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.875rem;
    color: var(--gray);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ========================================
   RULES SECTION
   ======================================== */
.rules-section {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.rules-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-2xl);
    background: var(--light-gray);
    border-radius: var(--radius-xl);
}

.rules-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.rules-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.rules-box p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--gray);
    margin-top: var(--space-md);
    font-size: 0.9rem;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.footer-logo-text:hover {
    color: var(--primary-light);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a,
.footer-contact a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-contact li i {
    color: var(--primary-light);
    width: 16px;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
}

.trec-info {
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-sm);
}

.footer-disclaimer {
    margin-top: var(--space-sm);
    font-size: 0.75rem;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========================================
   CONFETTI CANVAS
   ======================================== */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grids */
.prize-grid .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.prize-grid .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.prize-grid .scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.prize-grid .scroll-animate:nth-child(4) { transition-delay: 0.4s; }
.prize-grid .scroll-animate:nth-child(5) { transition-delay: 0.5s; }
.prize-grid .scroll-animate:nth-child(6) { transition-delay: 0.6s; }

.candidate-grid .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.candidate-grid .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.candidate-grid .scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.candidate-grid .scroll-animate:nth-child(4) { transition-delay: 0.4s; }

.features-grid .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.features-grid .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.features-grid .scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.features-grid .scroll-animate:nth-child(4) { transition-delay: 0.4s; }
.features-grid .scroll-animate:nth-child(5) { transition-delay: 0.5s; }
.features-grid .scroll-animate:nth-child(6) { transition-delay: 0.6s; }

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 479px) {
    :root {
        --container-padding: 1rem;
    }

    .countdown {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .countdown-separator {
        display: none;
    }

    .countdown-item {
        min-width: 65px;
        padding: var(--space-sm) var(--space-md);
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-item {
        padding-left: 55px;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    section {
        padding: var(--space-4xl) 0;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .header,
    .hero-wave,
    .scroll-top,
    .confetti-canvas,
    .particles,
    .mobile-menu {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    section {
        padding: 2rem 0;
    }
}
