/* --------------------------------------------------------------------------
   LEARN AI IBIZA - Premium Landing Page Styles
   Brief: Minimalist, Premium, Calm, Intelligent.
----------------------------------------------------------------------------- */

/* --- CSS Variables --- */
:root {
    /* Color Palette */
    --color-bg-main: #101427;
    /* Dark Navy Blue */
    --color-bg-alt: #151a30;
    /* Slightly lighter for contrast sections */
    --color-bg-card: #1b213c;
    /* Card backgrounds */
    --color-accent: #F2A65A;
    /* Warm Amber */
    --color-accent-hover: #f5b97c;
    --color-text-main: #FFFFFF;
    /* White text */
    --color-text-muted: #a6b2c5;
    /* Muted for secondary text */
    --color-border: #4F6F8F;
    /* Secondary Blue */
    --color-border-light: rgba(79, 111, 143, 0.3);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing & Layout */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1200px;
    --container-sm-width: 800px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Light Theme Overrides --- */
[data-theme="light"] {
    --color-bg-main: #F7F4EF;
    --color-bg-alt: #EDE9E2;
    --color-bg-card: #FFFFFF;
    --color-text-main: #141422;
    --color-text-muted: #5a6478;
    --color-border: #bdc8d6;
    --color-border-light: rgba(100, 120, 140, 0.18);
    --color-accent: #D4843A;
    --color-accent-hover: #e0954d;
}

[data-theme="light"] .navbar {
    background-color: rgba(247, 244, 239, 0.92);
}
[data-theme="light"] .lang-opt { color: rgba(20, 20, 34, 0.4); }
[data-theme="light"] .lang-opt:hover,
[data-theme="light"] .lang-active { color: #141422; }
[data-theme="light"] .lang-sep { color: rgba(20, 20, 34, 0.2); }
[data-theme="light"] .mobile-menu { background: #F7F4EF; }
[data-theme="light"] .bar { background: #141422; }
[data-theme="light"] .trust-bar { background: rgba(0, 0, 0, 0.04); }
[data-theme="light"] .hero { background: linear-gradient(135deg, #EDE9E2 0%, #F7F4EF 100%); }
[data-theme="light"] .orb { mix-blend-mode: multiply; }
[data-theme="light"] .orb-1 { background: radial-gradient(circle, rgba(220, 140, 60, 0.7) 0%, transparent 70%); }
[data-theme="light"] .orb-2 { background: radial-gradient(circle, rgba(190, 150, 90, 0.5) 0%, transparent 70%); }
[data-theme="light"] .orb-3 { background: radial-gradient(circle, rgba(220, 140, 60, 0.55) 0%, transparent 70%); }
[data-theme="light"] .mobile-sticky-cta { background: #EDE9E2; border-top: 1px solid rgba(100, 120, 140, 0.2); }
/* Hero inline-styled text needs color corrections in light mode */
[data-theme="light"] .hero .hero-title,
[data-theme="light"] .hero .hero-subtitle,
[data-theme="light"] .hero .eyebrow {
    color: var(--color-text-main);
}
[data-theme="light"] .hero .animate-load[style*="rgba(255,255,255,0.5)"],
[data-theme="light"] .hero .animate-load[style*="rgba(255,255,255,0.42)"] {
    color: rgba(20, 20, 34, 0.5) !important;
}
[data-theme="light"] .hero-cta-group .btn-outline {
    border-color: var(--color-text-main);
    color: var(--color-text-main);
}
[data-theme="light"] .hero-cta-group .btn-outline:hover {
    background: rgba(20, 20, 34, 0.06);
}
/* Lang notice in hero (es.html) — fix white text on light background */
[data-theme="light"] .hero-lang-notice {
    color: rgba(20, 20, 34, 0.8) !important;
    background: rgba(212, 132, 58, 0.1) !important;
    border-color: rgba(212, 132, 58, 0.35) !important;
}
[data-theme="light"] .hero-lang-sep {
    color: rgba(20, 20, 34, 0.3) !important;
}
[data-theme="light"] .hero-lang-secondary {
    color: rgba(20, 20, 34, 0.55) !important;
}

/* --- Logo theme swap --- */
.logo-light-img { display: none; }
[data-theme="light"] .logo-dark-img { display: none; }
[data-theme="light"] .logo-light-img { display: block; mix-blend-mode: multiply; }

/* --- Theme Toggle Button --- */
.theme-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 0.2rem 0.55rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.2;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
}
.theme-toggle:hover {
    border-color: var(--color-accent);
    background: rgba(242, 166, 90, 0.08);
}
[data-theme="light"] .theme-toggle {
    border-color: rgba(20, 20, 34, 0.2);
}

/* --- Global Resets & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Animations --- */
@keyframes float1 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) translateX(20px) rotate(5deg);
    }

    66% {
        transform: translateY(15px) translateX(-15px) rotate(-5deg);
    }

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

@keyframes float2 {
    0% {
        transform: translateY(0) translateX(0) scale(1);
    }

    50% {
        transform: translateY(-40px) translateX(-30px) scale(1.05);
    }

    100% {
        transform: translateY(0) translateX(0) scale(1);
    }
}

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

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

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 166, 90, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(242, 166, 90, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(242, 166, 90, 0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-load {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-load.item-1 {
    animation-delay: 0.1s;
}

.animate-load.item-2 {
    animation-delay: 0.3s;
}

.animate-load.item-3 {
    animation-delay: 0.5s;
}

.animate-load.item-4 {
    animation-delay: 0.7s;
}

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

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

ul {
    list-style: none;
}

/* --- Typography System --- */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-text-main);
    font-weight: 400;
}

.eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

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

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.accent {
    color: var(--color-accent);
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.container-sm {
    max-width: var(--container-sm-width);
}

.section {
    padding: var(--spacing-xl) 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-main);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(242, 166, 90, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn-outline:hover {
    background-color: rgba(242, 166, 90, 0.1);
}

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

.btn-full {
    width: 100%;
    display: block;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(16, 20, 39, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color var(--transition-fast);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    /* Adjust based on preference, fitting within 100px navbar */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: all 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-main);
    padding: 2rem;
    display: none;
    /* hidden by default */
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 500;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 140px;
    /* Offset for navbar + breathing room */
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-bg-accent {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    /* Removed pointer-events: none so mouse tracking works */
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.9;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242, 166, 90, 0.55) 0%, rgba(16, 20, 39, 0) 70%);
    top: -10%;
    right: -10%;
    animation-name: float1;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 111, 143, 0.5) 0%, rgba(16, 20, 39, 0) 70%);
    bottom: 10%;
    right: 20%;
    animation-name: float2;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(242, 166, 90, 0.4) 0%, rgba(16, 20, 39, 0) 70%);
    top: 40%;
    left: -10%;
    animation-name: float1;
    animation-delay: -10s;
}

/* --- Trust Bar / Ticker --- */
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-bar {
    padding: 1.75rem 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    background-color: var(--color-bg-main);
    overflow: hidden;
}

.trust-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    opacity: 0.6;
}

.trust-ticker-wrapper {
    overflow: hidden;
    /* Fade edges */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trust-ticker {
    display: flex;
    align-items: center;
    width: max-content;
    animation: ticker 30s linear infinite;
}

.trust-ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.5;
    white-space: nowrap;
    padding: 0 0.25rem;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.ticker-item:hover {
    opacity: 0.9;
    color: var(--color-text-main);
}

.ticker-sep {
    color: var(--color-accent);
    opacity: 0.4;
    padding: 0 1.25rem;
    font-size: 1.1rem;
}

/* --- Card Base --- */
.card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 2rem;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 166, 90, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(242, 166, 90, 0.1);
}

/* --- Problem Grid --- */
.problem-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-icon {
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* --- Solution Section --- */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '→';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
}

.feature-list strong {
    color: var(--color-text-main);
    font-weight: 600;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: var(--color-bg-card);
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
}

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

/* Line running down the middle */
.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: var(--color-border-light);
}

.module-card {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.module-meta {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    padding-right: 3rem;
    /* Space between dot and label */
    position: relative;
}

/* The Dot */
.module-meta::after {
    content: '';
    position: absolute;
    right: -4px;
    /* Align with the timeline line */
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-bg-alt);
    z-index: 2;
}

.session-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.module-content {
    background-color: var(--color-bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
    flex-grow: 1;
}

.module-title {
    margin-bottom: 0.5rem;
}

/* --- Audience Section --- */
.split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.audience-box {
    padding: 3rem 2rem;
    border-radius: 8px;
}

.audience-box.fit {
    background-color: rgba(242, 166, 90, 0.05);
    border: 1px solid rgba(242, 166, 90, 0.2);
}

.audience-box.not-fit {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-light);
}

.audience-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.muted {
    color: var(--color-text-muted);
}

.checklist li,
.crosslist li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
}

.checklist li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.crosslist li::before {
    content: '×';
    color: var(--color-text-muted);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* --- Instructor --- */
.instructor-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.instructor-image {
    flex: 0 0 35%;
}

.instructor-photo {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    object-fit: cover;
}

.instructor-bio {
    flex: 1;
}

/* --- Logistics --- */
.stats-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-card {
    padding: 1.4rem 1rem;
    background-color: var(--color-bg-card);
    border-radius: 8px;
}

.stat-icon {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.4rem;
}

.stat-desc {
    font-size: 0.9rem;
    margin: 0;
}

/* --- Enrollment --- */
.enroll-card {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(242, 166, 90, 0.3);
    border-radius: 12px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.enroll-header {
    background: linear-gradient(135deg, rgba(242, 166, 90, 0.1) 0%, rgba(16, 20, 39, 0) 100%);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}

.enroll-title {
    margin-bottom: 0.5rem;
}

.enroll-body {
    padding: 2rem 3rem 3rem;
}

/* Waitlist form — two inputs + button stacked */
.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.waitlist-form .form-input {
    width: 100%;
    max-width: 320px;
    margin-right: 0;
}

.price-block {
    text-align: center;
    margin-bottom: 2rem;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--color-text-muted);
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.includes-list {
    margin-bottom: 2rem;
}

.includes-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check {
    color: var(--color-accent);
    font-weight: bold;
}

.spots-left {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.shadow-glow {
    box-shadow: 0 4px 20px rgba(242, 166, 90, 0.3);
    animation: pulseGlow 2s infinite;
}

.form-input {
    padding: 0.75rem 1rem;
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-main);
    font-family: inherit;
    font-size: 1rem;
    width: 250px;
    margin-right: 0.5rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* --- FAQ --- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border-light);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-main);
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    /* Set explicitly via JS to auto isn't animatable easily, or use large max height */
    max-height: 500px;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--color-border-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-text-main);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--color-border-light);
    padding-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {

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

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

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

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution-visual img {
        max-height: 320px;
        object-fit: cover;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .instructor-layout {
        flex-direction: column;
        text-align: center;
    }

    .instructor-photo {
        width: 200px;
        margin: 0 auto;
    }

    .instructor-bio a {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .enroll-body {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .waitlist-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .form-input {
        margin-right: 0;
        width: 100%;
        max-width: 300px;
    }

    .timeline::before {
        left: 0;
    }

    .module-card {
        flex-direction: column;
    }

    .module-meta {
        width: 100%;
        justify-content: flex-start;
        padding-right: 0;
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .module-meta::after {
        left: -5px;
        right: auto;
    }
}

/* --- AI Tools Grid --- */
.tools-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.tools-primary {
    display: flex;
    justify-content: center;
    margin-bottom: 2.25rem;
}

.tools-divider {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.25rem;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.tools-divider::before,
.tools-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.tools-divider-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    white-space: nowrap;
}

.tools-secondary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tool-item:hover {
    opacity: 1;
}

.tool-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: grayscale(20%);
}

.tool-name {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.tool-item:hover .tool-name {
    color: var(--color-text-main);
}

/* Tool logo wrapper — unified rounded square */
.tool-logo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
    /* Subtle shimmer pseudo-element prep */
}

/* Shimmer overlay on hover */
.tool-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        130deg,
        transparent 30%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    border-radius: inherit;
    pointer-events: none;
}

.tool-item:hover .tool-logo-wrap::after {
    transform: translateX(100%);
}

.tool-item:hover .tool-logo-wrap {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Claude — featured hero tool */
.tool-item--hero {
    position: relative;
    gap: 1rem;
}

.tool-item--hero .tool-logo-wrap {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    box-shadow: 0 0 0 3px rgba(204, 120, 92, 0.55), 0 10px 40px rgba(204, 120, 92, 0.35);
}

.tool-item--hero .tool-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.02em;
}

.tools-hero-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #CC785C;
}

.tool-item:hover .tool-logo-wrap--claude {
    box-shadow: 0 0 0 3px rgba(204, 120, 92, 0.8), 0 18px 44px rgba(204, 120, 92, 0.55);
}

/* Per-brand background colors with matching glow on hover */
.tool-logo-wrap--claude      { background: #CC785C; }
.tool-item:hover .tool-logo-wrap--claude     { box-shadow: 0 12px 28px rgba(204, 120, 92, 0.45); }

.tool-logo-wrap--chatgpt     { background: #10A37F; }
.tool-item:hover .tool-logo-wrap--chatgpt    { box-shadow: 0 12px 28px rgba(16, 163, 127, 0.45); }

.tool-logo-wrap--gemini      { background: #1a1a2e; border: 1px solid rgba(255,255,255,0.15); }
.tool-item:hover .tool-logo-wrap--gemini     { box-shadow: 0 12px 28px rgba(66, 133, 244, 0.35); }

.tool-logo-wrap--notebooklm  { background: #1e2a45; border: 1px solid rgba(255,255,255,0.12); }
.tool-item:hover .tool-logo-wrap--notebooklm { box-shadow: 0 12px 28px rgba(26, 115, 232, 0.35); }

.tool-logo-wrap--fireflies   { background: #12102a; border: 1px solid rgba(138, 95, 255, 0.25); }
.tool-item:hover .tool-logo-wrap--fireflies  { box-shadow: 0 12px 28px rgba(138, 95, 255, 0.4); }

.tool-logo-wrap--midjourney  { background: #0d0d0d; border: 1px solid rgba(255,255,255,0.12); }
.tool-item:hover .tool-logo-wrap--midjourney { box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15); }

.tool-logo-wrap--elevenlabs  { background: #111; border: 1px solid rgba(255,255,255,0.1); }
.tool-item:hover .tool-logo-wrap--elevenlabs { box-shadow: 0 12px 28px rgba(255, 165, 0, 0.3); }

.tool-logo-wrap--canva       { background: #1a1a2e; border: 1px solid rgba(125, 42, 232, 0.3); }
.tool-item:hover .tool-logo-wrap--canva      { box-shadow: 0 12px 28px rgba(125, 42, 232, 0.4); }

/* Staggered entrance animation */
@keyframes toolPop {
    0%   { opacity: 0; transform: translateY(22px) scale(0.86); }
    65%  { opacity: 1; transform: translateY(-5px) scale(1.04); }
    100% { opacity: 0.75; transform: translateY(0) scale(1); }
}

/* tool-pop: hidden by default, revealed by JS observer */
.tool-pop {
    opacity: 0;
    transform: translateY(22px) scale(0.86);
}

.tool-pop.visible {
    animation: toolPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: var(--pop-delay, 0ms);
}

/* --- Still Not Sure Section --- */
.still-unsure-section {
    background: var(--color-bg-main);
}

.still-unsure-inner {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 24px;
    padding: 4rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle ambient glow behind the card */
.still-unsure-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(242, 166, 90, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.still-unsure-text {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 560px;
    margin: 1.25rem auto 2.5rem;
}

.still-unsure-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* WhatsApp-branded button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background-color: #25D366;
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* Reuse btn-secondary but with icon + pill shape */
.still-unsure-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .still-unsure-inner {
        padding: 2.5rem 1.75rem;
    }

    .still-unsure-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-whatsapp,
    .still-unsure-actions .btn-secondary {
        justify-content: center;
    }
}

/* --- GDPR Cookie Banner --- */
.cookie-banner {
    display: none; /* hidden by default — JS shows it only when needed */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background-color: rgba(15, 20, 40, 0.98);
    border-top: 1px solid rgba(242, 166, 90, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    display: block;
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.4rem;
}

.cookie-desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.cookie-link {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-toggles {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cookie-toggle-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    white-space: nowrap;
}

.cookie-toggle-always {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* Hide native checkbox */
.cookie-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Toggle track */
.cookie-toggle-track {
    position: relative;
    width: 36px;
    height: 20px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.cookie-checkbox:checked + .cookie-toggle-track {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Toggle thumb */
.cookie-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.cookie-checkbox:checked + .cookie-toggle-track .cookie-toggle-thumb {
    transform: translateX(16px);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.55rem 1.1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid rgba(255,255,255,0.15);
}

.cookie-btn-secondary:hover {
    border-color: rgba(255,255,255,0.35);
    color: var(--color-text-main);
}

.cookie-btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-main);
}

.cookie-btn-primary:hover {
    background-color: var(--color-accent-hover);
}

@media (max-width: 900px) {
    .cookie-banner {
        padding: 1.25rem 1.25rem;
    }

    .cookie-banner-inner {
        flex-direction: column;
        gap: 1.25rem;
    }

    .cookie-toggles {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    /* On mobile, push banner above sticky CTA bar */
    .cookie-banner {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .cookie-toggles {
        gap: 0.75rem;
    }
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 997;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    color: #fff;
}

@media (max-width: 900px) {
    /* Move up above the sticky CTA bar */
    .whatsapp-float {
        bottom: 5.5rem;
        right: 1.25rem;
        width: 50px;
        height: 50px;
    }
}

/* --- Mobile Sticky CTA Bar --- */
.mobile-sticky-cta {
    display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 998;
        background-color: rgba(15, 23, 42, 0.97);
        border-top: 1px solid rgba(242, 166, 90, 0.25);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 0.75rem 1.25rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
        /* Slide up from bottom */
        animation: slideUpBar 0.4s ease-out forwards;
    }

    .mobile-sticky-cta-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        max-width: 480px;
        margin: 0 auto;
    }

    .mobile-sticky-price {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--color-text-main);
    }

    .mobile-sticky-label {
        font-size: 0.8rem;
        color: var(--color-text-muted);
    }

    .mobile-sticky-cta .btn {
        white-space: nowrap;
        padding: 0.65rem 1.4rem;
        font-size: 0.95rem;
    }

    /* Add padding to body so footer content isn't hidden behind sticky bar */
    body {
        padding-bottom: 70px;
    }
}

@keyframes slideUpBar {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Small phones --- */
@media (max-width: 480px) {

    .container {
        padding: 0 1.5rem;
    }

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

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 4rem 0;
    }

    .hero.section {
        padding-top: 120px;
    }

    .enroll-body {
        padding: 1.5rem 1rem;
    }

    .solution-visual img {
        max-height: 240px;
    }
}
/* ============================================================
   CONVERSION ELEMENTS
   ============================================================ */

/* --- Spots counter --- */
.spots-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem;
}

.spots-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    flex-shrink: 0;
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

[data-theme="light"] .spots-counter { color: rgba(20, 20, 34, 0.85); }

/* --- Hero trust row (WhatsApp + guarantee) --- */
.hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    margin-top: 1.1rem;
    font-size: 0.8rem;
}

.hero-wa-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.hero-wa-cta:hover { color: #4ade80; }
.hero-wa-cta svg { flex-shrink: 0; }

.hero-trust-sep { color: rgba(255, 255, 255, 0.2); }

.hero-guarantee { color: rgba(255, 255, 255, 0.5); }

[data-theme="light"] .hero-wa-cta      { color: rgba(20, 20, 34, 0.5); }
[data-theme="light"] .hero-wa-cta:hover { color: #128c7e; }
[data-theme="light"] .hero-trust-sep   { color: rgba(20, 20, 34, 0.2); }
[data-theme="light"] .hero-guarantee   { color: rgba(20, 20, 34, 0.45); }

/* --- Exit Intent Overlay --- */
.exit-intent-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.exit-intent-overlay.active { display: flex; }

.exit-intent-modal {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    max-width: 420px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: fadeInUp 0.3s ease-out;
}

.exit-intent-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    transition: color 0.2s;
}
.exit-intent-close:hover { color: var(--color-text-main); }

.exit-intent-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.exit-intent-title {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.65rem;
    color: var(--color-text-main);
}

.exit-intent-body {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.exit-intent-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.exit-intent-dismiss {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.exit-intent-dismiss:hover { color: var(--color-text-main); }
