/* ============================================
   AI ACADEMY - KIDS AI LEARNING PLATFORM
   Anime-inspired Futuristic Design
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0B0F19;
    --bg-secondary: #1A1F2E;
    --bg-card: rgba(26, 31, 46, 0.8);
    --accent-cyan: #00F0FF;
    --accent-purple: #B829F7;
    --accent-pink: #FF2BD6;
    --accent-lime: #C7FF2B;
    --accent-blue: #2B6BFF;
    --text-primary: #F7FAFF;
    --text-secondary: #A9B3C7;
    --border-color: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-padding: 10vh 8vw;
    --card-radius: 28px;
    --card-radius-sm: 18px;

    /* Shadows */
    --card-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --glow-cyan: 0 0 40px rgba(0, 240, 255, 0.3);
    --glow-purple: 0 0 40px rgba(184, 41, 247, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 4px;
}

/* Selection */
::selection {
    background: rgba(0, 240, 255, 0.3);
    color: var(--text-primary);
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-orbit {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.loading-planet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.loading-moon {
    position: absolute;
    top: 0;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--accent-purple);
    border-radius: 50%;
    transform-origin: 0 40px;
    animation: orbit 1.5s linear infinite;
    box-shadow: 0 0 15px rgba(184, 41, 247, 0.5);
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(40px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(40px) rotate(-360deg);
    }
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 2px;
    animation: loadingProgress 2s ease-out forwards;
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ============================================
   STARFIELD BACKGROUND
   ============================================ */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   MOUSE GLOW
   ============================================ */
#mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover #mouse-glow {
    opacity: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

#navbar.scrolled {
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 28px;
    height: 80px;
    color: var(--accent-cyan);
}

.logo img {
    height: 10px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.98);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-close-btn svg {
    width: 32px;
    height: 32px;
}

.mobile-link {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin: 24px 0;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent-cyan);
}

.mobile-cta {
    margin-top: 32px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
}

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

.btn-outline:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   SECTIONS BASE
   ============================================ */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pinned-section {
    height: 100vh;
}

.flowing-section {
    padding: var(--section-padding);
}

.section-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
}

/* Section Headers */
.section-header {
    margin-bottom: 48px;
}

.section-header.left {
    text-align: left;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* Center Illustrations */
.center-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.section-image {
    max-width: min(60vw, 700px);
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 24px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 80px);
}

/* Hero 3D Container */
#hero-3d-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 500px;
    height: 600px;
    z-index: 1;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 80px rgba(0, 240, 255, 0.2));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Holographic Panels */
.holo-panel {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    animation: holoFloat 3s ease-in-out infinite;
}

.holo-panel svg {
    width: 18px;
    height: 18px;
}

.holo-panel-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.holo-panel-2 {
    top: 45%;
    right: -5%;
    animation-delay: 0.5s;
}

.holo-panel-3 {
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes holoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Hero Content */
.hero-content {
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
}

.title-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
}

.title-emoji {
    display: inline-block;
    animation: rocketBounce 1s ease-in-out infinite;
}

@keyframes rocketBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Info Cards */
.info-cards {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(100px);
}

.info-card:hover {
    transform: translateX(-5px);
    border-color: rgba(0, 240, 255, 0.3);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(184, 41, 247, 0.2));
    border-radius: 14px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   WHY AI SECTION
   ============================================ */
#why-ai {
    /* Removed fixed height constraint to allow content to flow */
    min-height: 50vh;
    padding: 100px 0;
}

.why-ai-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Columns */
.why-ai-col {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.left-col {
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.right-col {
    display: flex;
    justify-content: flex-start;
    padding-left: 20px;
}

.center-col {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}



/* Header Adjustments */
#why-ai .section-header {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

/* Stats Container */
.stats-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 400px;
}

.stat-card {
    width: 300px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.4s;
}

.stat-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Center Image */
.center-illustration {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.section-image {
    max-width: 75%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(0, 240, 255, 0.15));
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Feature & Badge Cards (Right Column) */
.feature-card,
.badge-card {
    position: relative;
    right: auto;
    top: auto;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 0.8s ease-out forwards;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-radius: var(--card-radius);
    animation-delay: 0.6s;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(199, 255, 43, 0.1), rgba(0, 240, 255, 0.1));
    border-radius: 16px;
    color: var(--accent-lime);
    flex-shrink: 0;
    border: 1px solid rgba(199, 255, 43, 0.2);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.badge-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(184, 41, 247, 0.1), rgba(255, 43, 214, 0.1));
    border: 1px solid rgba(184, 41, 247, 0.3);
    border-radius: var(--card-radius-sm);
    color: var(--accent-purple);
    width: fit-content;
    margin-bottom: 20px;
    /* Space between badge and feature */
    align-self: flex-start;
    /* Align to the left of the column */
    animation-delay: 0.5s;
}

.badge-card svg {
    width: 32px;
    height: 32px;
}

.badge-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.badge-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-ai-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .center-col {
        order: -1;
        /* Image on top? No, let's put it on right */
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .left-col {
        grid-column: 1;
    }

    .right-col {
        grid-column: 1;
    }
}

@media (max-width: 968px) {
    #why-ai {
        height: auto;
        padding: 60px 0;
    }

    .why-ai-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .left-col,
    .right-col {
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    .center-col {
        order: -1;
        /* Header is first (outside grid), then Image, then Stats */
    }

    .stats-container {
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 100%;
    }
}


/* ============================================
   WHAT YOU'LL LEARN SECTION
   ============================================ */
#learn {
    /* Removed fixed height constraint to allow content to flow */
    /* min-height: 50vh; */
    padding: 100px 0;
}

.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 24px;
    align-items: center;
    position: relative;
    max-width: 1400px;
}

.learn-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 2;
    align-items: center;
}

.center-col-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Independent Header inside the center column */
.independent-header {
    margin-bottom: 40px;
    position: relative;
}

#learn .section-header {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    width: 100%;
}

/* Topic Cards */
.topic-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    text-align: center;
    width: 100%;
    /* Fill the column width */
    max-width: 280px;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease-out forwards;
}

/* Staggered Animations */
.left-col-cards .topic-card:nth-child(1) {
    animation-delay: 0.2s;
}

.left-col-cards .topic-card:nth-child(2) {
    animation-delay: 0.4s;
}

.left-col-cards .topic-card:nth-child(3) {
    animation-delay: 0.6s;
}

.right-col-cards .topic-card:nth-child(1) {
    animation-delay: 0.2s;
}

.right-col-cards .topic-card:nth-child(2) {
    animation-delay: 0.4s;
}

.right-col-cards .topic-card:nth-child(3) {
    animation-delay: 0.6s;
}

.topic-card:hover {
    transform: translateY(-8px) scale(1.05);
    /* Keeps the hover effect */
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
    z-index: 10;
}

.topic-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 16px;
}

/* Unique Icon Colors for Duplicate entries if needed, or stick to pattern */
.topic-card[data-topic="python"] .topic-icon {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(43, 107, 255, 0.2));
    color: var(--accent-cyan);
}

.topic-card[data-topic="ml"] .topic-icon {
    background: linear-gradient(135deg, rgba(184, 41, 247, 0.2), rgba(255, 43, 214, 0.2));
    color: var(--accent-purple);
}

.topic-card[data-topic="ethics"] .topic-icon {
    background: linear-gradient(135deg, rgba(199, 255, 43, 0.2), rgba(0, 240, 255, 0.2));
    color: var(--accent-lime);
}

.topic-card[data-topic="creative"] .topic-icon {
    background: linear-gradient(135deg, rgba(255, 43, 214, 0.2), rgba(184, 41, 247, 0.2));
    color: var(--accent-pink);
}

.topic-card[data-topic="robotics"] .topic-icon {
    background: linear-gradient(135deg, rgba(255, 107, 43, 0.2), rgba(255, 43, 43, 0.2));
    color: #ff6b2b;
}

.topic-card[data-topic="data"] .topic-icon {
    background: linear-gradient(135deg, rgba(43, 255, 107, 0.2), rgba(43, 255, 237, 0.2));
    color: #2bff6b;
}

.topic-icon svg {
    width: 28px;
    height: 28px;
}

.topic-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.topic-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .learn-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .center-col-image {
        grid-column: 1 / span 2;
        order: -1;
        /* Header/Image on top */
        margin-bottom: 40px;
    }

    .left-col-cards,
    .right-col-cards {
        align-items: center;
        /* Center cards in their columns */
    }
}

@media (max-width: 768px) {
    .learn-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .center-col-image {
        width: 100%;
        margin-bottom: 30px;
    }

    .left-col-cards,
    .right-col-cards {
        width: 100%;
        gap: 20px;
    }

    .topic-card {
        max-width: 320px;
        width: 100%;
    }
}

/*============================================
   MAIN POINTS SECTION
   ============================================ */
.main-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.main-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-card:nth-child(2) {
    animation-delay: 0.4s;
}

.main-card:nth-child(3) {
    animation-delay: 0.6s;
}

.main-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.main-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 968px) {
    .main-points-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
    }
}

/*============================================
   HOW IT WORKS SECTION
   ============================================ */
#how-it-works {
    min-height: 100vh;
    padding: 100px 0;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    max-width: 1400px;
}

.how-col {
    position: relative;
    z-index: 2;
}

.left-col-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 20px;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeLeft 0.8s ease-out forwards;
}

.center-col-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

#how-it-works .section-header {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
}

.steps-container {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-right: 20px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 380px;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 0.8s ease-out forwards;
    /* actually sliding in from right, reusing fadeLeft/Right logic if generic or creating new */
    animation-name: fadeRightIn;
    /* Naming explicitly to avoid confusion */
}

@keyframes fadeRightIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-card:nth-child(1) {
    animation-delay: 0.2s;
}

.step-card:nth-child(2) {
    animation-delay: 0.4s;
}

.step-card:nth-child(3) {
    animation-delay: 0.6s;
}

.step-card:hover {
    transform: translateX(-8px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.time-badge {
    position: relative;
    right: auto;
    top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(43, 107, 255, 0.15));
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--card-radius-sm);
    backdrop-filter: blur(20px);
    color: var(--accent-cyan);
    width: fit-content;
}

.time-badge svg {
    width: 24px;
    height: 24px;
}

.time-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.time-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .how-it-works-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .center-col-image {
        grid-column: 2;
        grid-row: 1 / span 2;
        order: -1;
    }

    .left-col-content {
        grid-column: 1;
        justify-content: center;
    }
}

@media (max-width: 968px) {
    .how-it-works-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .left-col-content {
        align-items: center;
        padding: 0;
        transform: none;
        /* Reset animation transform for simplicty or adjust */
        opacity: 1;
        /* Reset if needed */
        animation: fadeUp 0.8s ease-out forwards;
    }

    .steps-container {
        padding: 0;
        align-items: center;
    }

    .step-card {
        max-width: 100%;
        transform: translateY(20px);
        animation: fadeUp 0.8s ease-out forwards;
    }

    .section-image {
        max-width: 80%;
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
#projects {
    min-height: 100vh;
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    max-width: 1400px;
}

.projects-col {
    position: relative;
    z-index: 2;
}

.left-col-header {
    display: flex;
    justify-content: center;
    padding-left: 20px;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeLeft 0.8s ease-out forwards;
}

.center-col-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Override absolute positioning */
#projects .section-header {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    margin-bottom: 0;
}

.project-cards {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-right: 20px;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 360px;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 0.8s ease-out forwards;
    /* actually sliding in from right, reusing fadeLeft logic possibly or defining custom */
    animation-name: fadeRightIn;
}

.project-card:nth-child(1) {
    animation-delay: 0.2s;
}

.project-card:nth-child(2) {
    animation-delay: 0.4s;
}

.project-card:nth-child(3) {
    animation-delay: 0.6s;
}

.project-card:hover {
    transform: translateX(-8px) scale(1.02);
    border-color: rgba(199, 255, 43, 0.4);
    box-shadow: 0 15px 40px rgba(199, 255, 43, 0.15);
}

.project-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(199, 255, 43, 0.2), rgba(0, 240, 255, 0.2));
    border-radius: 14px;
    color: var(--accent-lime);
    flex-shrink: 0;
}

.project-icon svg {
    width: 26px;
    height: 26px;
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .center-col-image {
        grid-column: 2;
        grid-row: 1 / span 2;
        order: -1;
    }
}

@media (max-width: 968px) {
    .projects-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .left-col-header {
        align-items: center;
        padding: 0;
        transform: none;
        opacity: 1;
        animation: fadeUp 0.8s ease-out forwards;
    }

    .project-cards {
        padding: 0;
        align-items: center;
    }

    .project-card {
        max-width: 100%;
        transform: translateY(20px);
        animation: fadeUp 0.8s ease-out forwards;
    }

    .section-image {
        max-width: 80%;
    }
}

/* ============================================
   PRICING SECTION
   ============================================ */
#pricing {
    padding: 12vh 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 0 24px;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.3);
}

.pricing-card.popular {
    border-color: rgba(0, 240, 255, 0.4);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.08), var(--bg-card));
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: var(--bg-primary);
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--accent-lime);
    flex-shrink: 0;
}

.pricing-trust {
    text-align: center;
    margin-top: 48px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   FAQ SECTION
   ============================================ */
#faq {
    padding: 12vh 0;
}

.faq-container {
    max-width: 800px;
    margin: 48px auto 0;
    padding: 0 24px;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-question svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
    padding: 12vh 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 24px;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.contact-item svg {
    width: 22px;
    height: 22px;
    color: var(--accent-cyan);
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-cta:hover {
    gap: 16px;
    color: var(--accent-purple);
}

.contact-cta svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 24px 40px;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-primary), #050505);
    position: relative;
    z-index: 60;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    /* Adjusted for larger logo column */
    gap: 48px;
    align-items: start;
}

/* BIGGER LOGO STYLES */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-brand .logo img {
    width: 150px;
    /* Increased from 150px */
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
    text-align: left;
    /* Left aligned by default */
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

/* HORIZONTAL SOCIAL ICONS */
.footer-social .social-icons {
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    gap: 16px;
    /* Space between icons */
    flex-wrap: wrap;
}

.footer-social a {
    width: 48px;
    /* Slightly larger icons */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    /* Slightly more rounded */
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-4px);
}

.footer-social svg {
    width: 24px;
    /* Larger icons inside */
    height: 24px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 64px auto 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on tablet */
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
    }



    .footer-brand p {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand .logo img {
        width: 180px;
        /* Slightly smaller on tablet */
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 40px;
    }

    .footer-brand .logo img {
        width: 160px;
        /* Smaller on mobile */
    }

    .footer-social .social-icons {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .info-cards {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 48px;
    }

    .info-card {
        width: 280px;
    }

    #hero-3d-container {
        display: none;
    }

    .section-image {
        max-width: 50vw;
    }

    .topic-card,
    .step-card,
    .project-card {
        width: 200px;
        padding: 18px;
    }

    .topic-card h3,
    .step-card h3,
    .project-card h3 {
        font-size: 1rem;
    }

    .topic-card p,
    .step-card p,
    .project-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-container {
        grid-template-columns: 1fr 2fr;
    }

    .footer-social {
        grid-column: 1 / -1;
        justify-content: center;
    }

    /* Adjust pinned sections for tablet */
    .pinned-section .section-header {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        text-align: center;
        margin-bottom: 24px;
    }

    .stats-container,
    .feature-card,
    .badge-card,
    .steps-container,
    .project-cards,
    .topic-cards {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .stats-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .stat-card {
        width: 200px;
    }

    .topic-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 24px;
    }

    .topic-card {
        position: relative;
        width: auto;
    }

    .topic-card[data-topic="python"],
    .topic-card[data-topic="ml"],
    .topic-card[data-topic="ethics"],
    .topic-card[data-topic="creative"] {
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .steps-container,
    .project-cards {
        margin-top: 24px;
    }

    .step-card,
    .project-card {
        width: 100%;
    }

    .center-illustration {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 24px 0;
    }

    .section-image {
        max-width: 60%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .info-card {
        width: 100%;
    }

    .section-title {
        text-align: center;
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .topic-cards {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .holo-panel {
        display: none;
    }

    .section-image {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .stat-card,
    .feature-card {
        width: 100%;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-price .amount {
        font-size: 3rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-image {
        animation: none;
    }

    .holo-panel {
        animation: none;
    }

    .loading-moon {
        animation: none;
    }
}

/* ============================================
   PARTICLE EFFECTS
   ============================================ */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* 3D Card Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card-inner {
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
}

/* Glow Effects */
.glow-cyan {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
}

.glow-purple {
    box-shadow: 0 0 40px rgba(184, 41, 247, 0.3);
}

.glow-lime {
    box-shadow: 0 0 40px rgba(199, 255, 43, 0.3);
}

/* Glassmorphism */
.glass {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neon Border Animation */
.neon-border {
    position: relative;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink), var(--accent-cyan));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-border:hover::before {
    opacity: 1;
    animation: neonRotate 3s linear infinite;
}

@keyframes neonRotate {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* Floating Animation Variants */
@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

@keyframes floatFast {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

.float-slow {
    animation: floatSlow 5s ease-in-out infinite;
}

.float-fast {
    animation: floatFast 3s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
    }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Hide scrollbar for cleaner look on mobile */
@media (max-width: 768px) {
    body {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body::-webkit-scrollbar {
        display: none;
    }
}