/* AI Olympiad - GrowthSchool Inspired Modern Design */

@import url('brand-gradients.css');

/* Modern Design System inspired by GrowthSchool */
:root {
    /* Brand palette — aligned with dashboard */
    --primary-color: #ff7c17;
    --primary-light: #ff9a44;
    --primary-dark: #e56a0a;
    --secondary-color: #667eea;
    --secondary-light: #8b9cf5;
    --secondary-dark: #4c63d2;
    --accent-color: #260b33;
    --accent-light: #4a2c6a;
    --accent-dark: #1a1a2e;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    /* Canonical gradients (dashboard) */
    --gradient-primary: var(--site-gradient-accent-135);
    --gradient-secondary: var(--site-gradient-accent);
    --gradient-accent: var(--site-gradient-orange);
    --gradient-hero: var(--site-gradient-banner);
    --gradient-card: var(--site-gradient-card);
    --gradient-rainbow: var(--site-gradient-accent-135);

    /* Clean Typography */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Modern Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --bg-overlay: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.1);

    /* Refined Borders */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-focus: #ff7c17;

    /* Enhanced Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --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-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 30px rgba(255, 51, 102, 0.3);

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

    /* Typography Scale - Modern Font System */
    --font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;

    /* Consistent 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;
    --space-5xl: 8rem;

    /* Smooth Animations */
    --animation-speed: 200ms;
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(var(--font-size-4xl), 5vw, var(--font-size-7xl));
    font-weight: 800;
}

h2 {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
    font-weight: 700;
}

h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Modern Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--animation-speed) var(--animation-bounce);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-transform: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:focus {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.btn-small {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
}

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

/* Modern Header Design */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
}

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

.logo a {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-normal);
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 600;
    margin-left: var(--space-xs);
}

/* Clean Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--font-size-base);
    transition: all var(--transition-normal);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hero Section - GrowthSchool Style */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 51, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(var(--font-size-4xl), 5vw, var(--font-size-7xl));
    font-weight: 900;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-weight: 600;
    line-height: 1.4;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin: var(--space-2xl) 0;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.hero-stats .stat-item:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.hero-stats .stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.hero-stats .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* Enhanced Visual Elements */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ai-brain {
    position: relative;
    width: 350px;
    height: 350px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
}

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

.neural-network {
    position: relative;
    width: 250px;
    height: 250px;
}

.node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    cursor: pointer;
    transition: all var(--animation-speed) var(--animation-bounce);
    box-shadow: var(--shadow-sm);
}

.node:nth-child(1) { top: 20px; left: 50px; animation-delay: 0s; }
.node:nth-child(2) { top: 50px; right: 20px; animation-delay: 0.3s; }
.node:nth-child(3) { bottom: 50px; right: 50px; animation-delay: 0.6s; }
.node:nth-child(4) { bottom: 20px; left: 50px; animation-delay: 0.9s; }
.node:nth-child(5) { top: 50px; left: 20px; animation-delay: 1.2s; }
.node:nth-child(6) { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 1.5s; }
.node:nth-child(7) { top: 30%; left: 30%; animation-delay: 1.8s; }
.node:nth-child(8) { top: 70%; right: 30%; animation-delay: 2.1s; }
.node:nth-child(9) { bottom: 30%; left: 30%; animation-delay: 2.4s; }

.node:hover {
    transform: scale(2.5) !important;
    box-shadow: var(--shadow-glow);
    background: var(--gradient-rainbow);
    animation-play-state: paused;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.9; 
        box-shadow: 0 0 0 15px rgba(255, 51, 102, 0);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 4rem;
    height: 4rem;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    animation: floatUpDown 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--animation-speed) var(--animation-bounce);
    pointer-events: auto;
}

.floating-element:hover {
    transform: scale(1.5) rotate(360deg) !important;
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
    animation-play-state: paused;
}

@keyframes floatUpDown {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        box-shadow: var(--shadow-md);
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        box-shadow: var(--shadow-xl);
    }
}

/* Section Styles */
section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modern Card System */
.card {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(255, 51, 102, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

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

.feature-card {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-white);
    font-size: var(--font-size-2xl);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.feature-card h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

/* Timeline Design */
.dates-section {
    background: var(--bg-primary);
}

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

.dates-timeline::before {
    content: '';
    position: absolute;
    left: 5rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    position: relative;
}

.timeline-date {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    min-width: 8rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.timeline-date:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.timeline-date .date {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 800;
}

.timeline-date .year {
    display: block;
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

/* Stages Section */
.stages-section {
    background: var(--bg-secondary);
    position: relative;
}

.stages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

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

.stage-card {
    background: var(--bg-card);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.stage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.stage-number {
    position: absolute;
    top: -1.5rem;
    right: var(--space-xl);
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.stage-card:hover .stage-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-glow);
}

.stage-card h3 {
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.stage-features {
    list-style: none;
    margin-top: var(--space-lg);
}

.stage-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    padding: var(--space-sm) 0;
}

.stage-features i {
    color: var(--success-color);
    font-size: var(--font-size-lg);
}

/* Rewards Section */
.rewards-section {
    background: var(--bg-primary);
}

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

.reward-item {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.reward-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.reward-item:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: var(--shadow-xl);
}

.reward-item:hover::before {
    transform: scaleX(1);
}

.reward-icon {
    width: 5rem;
    height: 5rem;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-white);
    font-size: var(--font-size-2xl);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.reward-item:hover .reward-icon {
    transform: scale(1.2) rotate(-10deg);
    box-shadow: var(--shadow-glow);
}

.reward-item h3 {
    margin-bottom: 0;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
}

/* AI Technologies Section */
.ai-technologies {
    background: var(--bg-secondary);
    position: relative;
}

.ai-technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 40%, rgba(255, 51, 102, 0.05) 0%, transparent 50%);
}

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

.tech-card {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--secondary-color);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-white);
    font-size: var(--font-size-2xl);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.tech-card:hover .tech-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.tech-card h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.tech-features {
    list-style: none;
    margin-top: var(--space-lg);
    text-align: left;
}

.tech-features li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--space-lg);
    transition: all var(--transition-normal);
}

.tech-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    transition: all var(--transition-normal);
}

.tech-features li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.tech-features li:hover::before {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Learning Path Section */
.learning-path {
    background: var(--bg-primary);
}

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

.path-timeline::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.path-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    position: relative;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.step-number:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-glow);
}

.step-content {
    flex: 1;
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.step-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.skill-tag {
    background: var(--gradient-secondary);
    color: var(--text-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.skill-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Success Stories Section */
.success-stories {
    background: var(--bg-secondary);
    position: relative;
}

.success-stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

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

.story-card {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.story-card:hover::before {
    transform: scaleX(1);
}

.story-image {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.avatar {
    width: 5rem;
    height: 5rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.story-card:hover .avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.story-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.story-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-lg);
}

.story-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.achievement {
    background: var(--bg-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.achievement:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    transform: translateY(-1px);
}

/* Registration CTA Section */
.registration-cta {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: var(--space-5xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.registration-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--space-lg);
    color: var(--text-white);
}

.cta-content p {
    margin-bottom: var(--space-2xl);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.cta-features .feature:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.cta-features i {
    color: var(--success-color);
    font-size: var(--font-size-lg);
}

.cta-action {
    margin-top: var(--space-2xl);
}

.cta-note {
    margin-top: var(--space-lg);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-primary);
}

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

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: var(--space-xl);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin-bottom: 0;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
    font-size: var(--font-size-lg);
}

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

.faq-answer {
    padding: 0 var(--space-xl);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding: 0 var(--space-xl) var(--space-xl);
    max-height: 300px;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .ai-brain {
        width: 280px;
        height: 280px;
    }
    
    .neural-network {
        width: 200px;
        height: 200px;
    }
    
    .stages-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 4rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: var(--space-lg);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .floating-element {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .dates-timeline::before {
        display: none;
    }
    
    .path-timeline::before {
    display: none;
}

    .path-step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: var(--space-4xl) 0;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .btn-large {
        padding: var(--space-md) var(--space-xl);
        font-size: var(--font-size-base);
    }
    
    .features-grid,
    .rewards-grid,
    .tech-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.visible { display: block; }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-white);
}