@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Color Palette (Original Calculus Animated Style x Sketchy logic) */
    --bg-primary: #FFFDF8;
    --bg-secondary: #FFFFFF;
    --bg-dark: #0E1624;

    --text-primary: #0E1624;
    --text-secondary: #334155;
    --text-inverse: #FFFFFF;
    --text-muted: #64748b;

    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.4);

    /* Sketchy Curriculum Pill Colors */
    --pill-green: #86efac;
    --pill-purple: #d8b4fe;
    --pill-pink: #f9a8d4;
    --pill-red: #fca5a5;
    --pill-yellow: #fde047;
    --pill-orange: #fdba74;
    --pill-cyan: #67e8f9;
    --pill-teal: #5eead4;
    --pill-blue: #93c5fd;

    --success: #10b981;
    --danger: #ef4444;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.26, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    color: var(--accent-emerald);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-emerald);
    color: white;
    box-shadow: 0 4px 15px var(--accent-emerald-glow);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #059669;
    /* Darker emerald */
    z-index: -1;
    transition: opacity var(--transition-normal);
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--accent-emerald-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 100;
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: white;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-emerald);
    transition: var(--transition-fast);
    border-radius: 2px;
}

nav a:hover::after {
    width: 100%;
}

.header-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

@keyframes float {

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

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

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(192, 132, 252, 0.4);
    }

    50% {
        box-shadow: 0 0 40px var(--accent-emerald-glow);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 80px;
    /* Offset for fixed header */
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.split-hero {
    display: flex;
    min-height: max(600px, 85vh);
    background: var(--bg-dark);
    /* The right side needs to be dark */
    padding-bottom: 0;
}

.hero-split-left {
    flex: 1.2;
    position: relative;
    background: var(--bg-primary);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

/* Override responsive 16:9 for this specific full-height container */
.hero-video-wrapper .video-responsive {
    height: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-video-wrapper iframe {
    height: 100%;
    width: 100%;
}

.hero-wave-mask {
    position: absolute;
    top: -1%;
    bottom: -1%;
    right: -1px;
    width: 15vw;
    height: 102%;
    z-index: 5;
    pointer-events: none;
}

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

.mobile-wave {
    display: none;
}

.desktop-wave {
    display: block;
}

.hero-split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem;
    z-index: 2;
    background: var(--bg-dark);
}

/* Logo Ticker */
.logo-ticker {
    display: flex;
    align-items: center;
    background: #0A101A;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.ticker-label {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    padding-right: 2rem;
    margin-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    z-index: 2;
    background: #0A101A;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.ticker-item {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.1;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 968px) {
    nav {
        display: none;
    }

    .split-hero {
        flex-direction: column;
        height: auto;
    }

    .hero-split-left {
        min-height: 50vh;
    }

    .hero-wave-mask {
        top: auto;
        bottom: -1px;
        right: 0;
        left: 0;
        width: 100%;
        height: 8vw;
        min-height: 40px;
    }

    .desktop-wave {
        display: none !important;
    }

    .mobile-wave {
        display: block !important;
    }

    .hero-split-right {
        padding: 4rem 2rem;
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--accent-emerald);
    border-radius: var(--border-radius-full);
    color: var(--accent-emerald);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 auto 2.5rem;
    max-width: 600px;
}

.hero-actions {
    margin-bottom: 3rem;
}

.guarantee-text {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guarantee-text::before {
    content: '✓';
    color: var(--success);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.15));
}

.image-wrapper {
    position: relative;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.image-wrapper img {
    border-radius: var(--border-radius-sm);
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(139, 92, 246, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(192, 132, 252, 0.4);
    transition: var(--transition-bounce);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(6, 182, 212, 0.9);
    box-shadow: 0 0 40px var(--accent-emerald-glow);
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- EXPLORER SECTION --- */
.explorer-section {
    padding: 6rem 0;
    position: relative;
}

.explorer-wrapper {
    position: relative;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
}

.explorer-bg {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    opacity: 0.8;
    transition: opacity var(--transition-normal);
}

.explorer-wrapper:hover .explorer-bg {
    opacity: 0.6;
}

.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 50;
}

.hotspot-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald-glow);
    transition: var(--transition-fast);
}

.hotspot-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

.hotspot:hover .hotspot-core,
.hotspot.active .hotspot-core {
    background-color: var(--pill-purple);
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
    width: 16px;
    height: 16px;
}

.hotspot:hover .hotspot-pulse,
.hotspot.active .hotspot-pulse {
    background-color: var(--pill-purple);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.explorer-tooltip {
    position: absolute;
    width: 300px;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease-out;
    /* Pop in without sliding */
    z-index: 20;
    left: 50%;
    top: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.explorer-tooltip.active {
    opacity: 1;
    pointer-events: auto;
    /* Transform is purely handled via JS for position */
}

.tooltip-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tooltip-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- CURRICULUM PILLS --- */
.curriculum-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--pill-color, var(--bg-dark));
    color: var(--text-primary);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.topic-pill:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pill-icon {
    font-size: 1.25rem;
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 6rem 0 4rem;
    /* padding for next wave if needed */
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.process-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
    background: white;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--pill-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
}

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

.process-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--pill-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pill-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.process-card:nth-child(2) .process-icon {
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.process-card:nth-child(3) .process-icon {
    border-color: var(--pill-yellow);
    color: var(--pill-yellow);
    background: rgba(251, 191, 36, 0.1);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 2rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    padding: 2rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.carousel-track {
    display: flex;
    width: fit-content;
    animation: scroll-carousel 40s linear infinite;
    gap: 2rem;
    padding-left: 2rem;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.testimonial-card {
    width: 400px;
    flex-shrink: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card i {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
    display: block;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- PRICING SECTION --- */
.pricing-section {
    padding: 8rem 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--bg-dark);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: var(--bg-secondary);
    overflow: hidden;
}

.pricing-banner {
    background: var(--pill-green);
    color: var(--text-primary);
    text-align: center;
    padding: 1.2rem;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--bg-dark);
}

.pricing-body {
    padding: 3rem;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.amount {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

.pricing-content {
    margin: 2.5rem 0;
}

.features-list {
    margin-bottom: 0;
}

.features-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    justify-content: flex-start;
}

.features-list .check {
    color: var(--text-primary);
    background: var(--pill-green);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-large {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.25rem;
}

.guarantee-box {
    padding: 2.5rem;
    background: var(--bg-primary);
    border-top: 2px solid var(--bg-dark);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.guarantee-icon {
    font-size: 2rem;
}

.guarantee-text-block h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--pill-yellow);
}

.guarantee-text-block p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- FOOTER --- */
footer {
    background: #050812;
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    justify-content: space-around;
}

.link-column h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.link-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-column a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.link-column a:hover {
    color: var(--accent-emerald);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

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

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .footer-brand p {
        margin: 1rem auto;
    }
}

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

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

    .explorer-tooltip {
        width: 250px;
    }
}

/* --- VIDEO EMBEDS --- */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- LEAD MAGNET (FREE UNIT) --- */
.lead-magnet {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    margin: 4rem auto 4rem;
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.lead-magnet h3 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.lead-magnet p {
    color: var(--pill-blue);
    margin-bottom: 1.5rem;
}

.lead-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.lead-form input {
    padding: 1rem;
    border-radius: var(--border-radius-full);
    border: none;
    flex: 1;
    font-size: 1rem;
}

.lead-form .btn {
    padding: 1rem 1.5rem;
    margin: 0;
}

/* --- TESTIMONIAL VIDEO GRID --- */
.testimonial-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-video-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    padding-bottom: 2rem;
    border: 1px solid var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-video-card h4.review-headline {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

.star-rating {
    margin: 0.5rem 0;
    color: #FBBF24;
    /* Golden yellow for stars */
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-video-card p.review-text {
    margin-top: 0.5rem;
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.text-highlight {
    color: var(--accent-emerald);
    font-weight: 600;
}