:root {
    /* Shopify-Inspired Dark Theme - Deep & Electric */
    --bg-body: #000000;
    --bg-surface: #0A0A0C;
    --bg-surface-hover: #141416;
    --bg-glass: rgba(0, 0, 0, 0.75);
    --bg-glass-border: rgba(255, 255, 255, 0.08);

    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-tertiary: #6B7280;

    /* Electric Accent Colors (Shopify Cyan + Purple) */
    --accent-primary: #6366F1;
    --accent-secondary: #A855F7;
    --accent-tertiary: #EC4899;
    --accent-cyan: #00C8FF;
    --accent-lime: #84CC16;

    --accent-gradient: linear-gradient(135deg, #818CF8 0%, #C084FC 50%, #F472B6 100%);
    --accent-gradient-vibrant: linear-gradient(135deg, #00C8FF 0%, #6366F1 35%, #A855F7 65%, #EC4899 100%);
    --accent-glow: rgba(99, 102, 241, 0.15);
    --accent-glow-strong: rgba(99, 102, 241, 0.35);
    --accent-glow-cyan: rgba(0, 200, 255, 0.12);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shopify-Style Easing - Buttery Smooth */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-shopify: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Unified Transition Timings */
    --transition-fast: 200ms var(--ease-out);
    --transition-base: 400ms var(--ease-out);
    --transition-smooth: 700ms var(--ease-shopify);
    --transition-slow: 1000ms var(--ease-shopify);
    --transition-ultra: 1.4s var(--ease-shopify);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SMOOTH SCROLL BEHAVIOR - SHOPIFY STYLE
   ═══════════════════════════════════════════════════════════════════════════ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    html,
    .horizontal-scroll-container {
        scroll-behavior: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION SPACING - VERTICAL PADDING
   Add consistent top and bottom padding to prevent content overlap
   Padding keeps the section background while creating spacing
   ═══════════════════════════════════════════════════════════════════════════ */
section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
}

/* Larger spacing for major sections */
.hero-section,
.scrollytelling-flow-section,
.epic-flow-section,
.timeline-section,
.pricing-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* First section can have reduced top padding */
section:first-of-type,
.hero-section {
    padding-top: 4rem;
}

/* Responsive spacing */
@media (max-width: 768px) {
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .hero-section,
    .scrollytelling-flow-section,
    .epic-flow-section,
    .timeline-section,
    .pricing-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    section:first-of-type,
    .hero-section {
        padding-top: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOPIFY WINTER 2026 STYLE - CURSOR GLOW EFFECT
   Creates a subtle glow that follows the cursor across the page
   ═══════════════════════════════════════════════════════════════════════════ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.04) 30%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    filter: blur(40px);
    will-change: transform;
}

.cursor-glow.active {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOPIFY-STYLE SECTION REVEAL ANIMATIONS
   Dramatic blur-in and scale transitions on scroll
   ═══════════════════════════════════════════════════════════════════════════ */
.reveal-blur {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(60px) scale(0.95);
    transition:
        opacity 1.2s var(--ease-shopify),
        filter 1.2s var(--ease-shopify),
        transform 1.2s var(--ease-shopify);
    will-change: opacity, filter, transform;
}

.reveal-blur.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

/* Staggered word reveal animation */
.word-reveal {
    display: inline-block;
    overflow: visible;
}

.word-reveal .word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s var(--ease-shopify), opacity 0.8s var(--ease-shopify);
}

.word-reveal.visible .word {
    transform: translateY(0);
    opacity: 1;
}

/* Character by character reveal */
.char-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    transition: all 0.6s var(--ease-shopify);
    transform-origin: bottom center;
}

.char-reveal.visible .char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HORIZONTAL SCROLL SECTION - SHOPIFY EDITIONS STYLE
   Full-width horizontal scrolling showcase
   ═══════════════════════════════════════════════════════════════════════════ */
.horizontal-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.horizontal-scroll-container {
    display: flex;
    gap: 2rem;
    padding: 4rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding-left: max(2rem, calc((100vw - 1200px) / 2));
    padding-right: 4rem;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.horizontal-card {
    flex: 0 0 400px;
    height: 500px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s var(--ease-shopify);
    transform-origin: center center;
}

.horizontal-card:hover {
    transform: scale(1.02) translateY(-10px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(99, 102, 241, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL-BASED SECTION COLOR TRANSITIONS
   Sections smoothly transition colors as they enter viewport
   ═══════════════════════════════════════════════════════════════════════════ */
.section-morph {
    position: relative;
    transition: background 0.8s var(--ease-shopify);
}

.section-morph::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 1s var(--ease-shopify);
    pointer-events: none;
}

.section-morph.in-view::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING ELEMENTS ENHANCED - SHOPIFY STYLE
   More organic, responsive floating animations
   ═══════════════════════════════════════════════════════════════════════════ */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: transform;
    transition: transform 0.1s linear;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: orbFloat1 25s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    top: 40%;
    right: -15%;
    animation: orbFloat2 30s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: 20%;
    animation: orbFloat3 20s ease-in-out infinite;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    top: 60%;
    left: 60%;
    animation: orbFloat4 22s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(80px, 50px) scale(1.1);
    }

    50% {
        transform: translate(40px, 100px) scale(0.95);
    }

    75% {
        transform: translate(-30px, 60px) scale(1.05);
    }
}

@keyframes orbFloat2 {

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

    33% {
        transform: translate(-60px, 80px) rotate(5deg);
    }

    66% {
        transform: translate(-30px, -40px) rotate(-3deg);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, -50px) scale(1.15);
    }
}

@keyframes orbFloat4 {

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

    25% {
        transform: translate(-50px, -30px);
    }

    75% {
        transform: translate(30px, 50px);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MORPHING BACKGROUND SHAPES - SHOPIFY STYLE
   Organic blob shapes that morph and move
   ═══════════════════════════════════════════════════════════════════════════ */
.morph-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.morph-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: morphing 15s ease-in-out infinite;
    will-change: transform, border-radius;
}

@keyframes morphing {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(90deg) scale(1.1);
    }

    50% {
        border-radius: 50% 60% 30% 60% / 30% 40% 70% 50%;
        transform: rotate(180deg) scale(0.95);
    }

    75% {
        border-radius: 40% 30% 60% 50% / 60% 70% 30% 40%;
        transform: rotate(270deg) scale(1.05);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL-LINKED EFFECTS - SHOPIFY STYLE
   Elements that respond to scroll position with smooth transitions
   ═══════════════════════════════════════════════════════════════════════════ */
.scroll-fade {
    transition:
        opacity 0.6s var(--ease-shopify),
        transform 0.6s var(--ease-shopify);
    will-change: opacity, transform;
}

.scroll-zoom {
    transition:
        transform 0.8s var(--ease-shopify),
        opacity 0.8s var(--ease-shopify);
    will-change: transform, opacity;
}

/* Smooth scale transitions for hover effects */
.hover-lift {
    transition:
        transform 0.6s var(--ease-shopify),
        box-shadow 0.6s var(--ease-shopify);
    will-change: transform;
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Float animation for cards */
.float-card {
    animation: floatGentle 6s ease-in-out infinite;
}

@keyframes floatGentle {

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

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

/* Scroll glow effect */
.scroll-glow {
    transition: box-shadow 0.8s var(--ease-shopify);
}

.scroll-glow.intense {
    box-shadow:
        0 0 60px rgba(99, 102, 241, 0.3),
        0 0 100px rgba(168, 85, 247, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION PROGRESS INDICATOR - SHOPIFY STYLE
   Right-side navigation dots with smooth transitions
   ═══════════════════════════════════════════════════════════════════════════ */
.section-progress {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.6s var(--ease-shopify);
}

.section-progress.visible {
    opacity: 1;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition:
        background 0.5s var(--ease-shopify),
        transform 0.5s var(--ease-shopify),
        box-shadow 0.5s var(--ease-shopify);
    position: relative;
}

.progress-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.5s var(--ease-shopify);
}

.progress-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.3);
}

.progress-dot.active {
    background: var(--accent-primary);
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.progress-dot.active::before {
    border-color: var(--accent-primary);
    animation: pulseRing 2s ease-out infinite;
}

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

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

@media (max-width: 768px) {
    .section-progress {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION DIVIDERS - ANIMATED GRADIENT LINES
   ═══════════════════════════════════════════════════════════════════════════ */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(99, 102, 241, 0.5) 20%,
            rgba(168, 85, 247, 0.5) 50%,
            rgba(99, 102, 241, 0.5) 80%,
            transparent 100%);
    background-size: 200% 100%;
    animation: gradientSlide 4s linear infinite;
    margin: 0;
    border: none;
}

@keyframes gradientSlide {
    0% {
        background-position: 200% 0;
    }

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

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATED GRADIENT TEXT - ENHANCED
   ═══════════════════════════════════════════════════════════════════════════ */
.hero .animated-gradient-text {
    background: linear-gradient(90deg,
            #8FD3FF 0%,
            #A5B4FC 52%,
            #C4B5FD 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5.2s ease-in-out infinite;
    text-shadow: 0 0 22px rgba(125, 211, 252, 0.32), 0 0 34px rgba(139, 92, 246, 0.24);
    -webkit-text-stroke: 0.5px rgba(10, 14, 28, 0.32);
}

.hero .typing-cursor {
    color: #EAF2FF;
    text-shadow: 0 0 14px rgba(125, 211, 252, 0.65);
}

@keyframes gradientFlow {

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

    50% {
        background-position: 100% 50%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLOW BREATHING EFFECT
   ═══════════════════════════════════════════════════════════════════════════ */
.glow-breathing {
    animation: glowBreathing 3s ease-in-out infinite;
}

@keyframes glowBreathing {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 0 80px rgba(168, 85, 247, 0.3);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHIMMER EFFECT - BADGE HIGHLIGHT
   ═══════════════════════════════════════════════════════════════════════════ */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    animation: shimmerSlide 3s ease-in-out infinite;
}

@keyframes shimmerSlide {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 150%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELASTIC BUTTON EFFECT
   ═══════════════════════════════════════════════════════════════════════════ */
.btn-elastic {
    transition: transform 0.4s var(--ease-spring);
}

.btn-elastic:hover {
    transform: scale(1.05);
}

.btn-elastic:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLOW PULSE EFFECT FOR CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.glow-pulse {
    animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 255, 255, 0.25), 0 0 50px rgba(99, 102, 241, 0.2);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PARALLAX DEPTH LAYERS
   ═══════════════════════════════════════════════════════════════════════════ */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL-TRIGGERED COUNTER ANIMATION
   ═══════════════════════════════════════════════════════════════════════════ */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGGER CHILDREN ANIMATION - ENHANCED SHOPIFY STYLE
   Parent triggers staggered child animations with smooth blur
   ═══════════════════════════════════════════════════════════════════════════ */
.stagger-children>* {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(10px);
    transition:
        opacity 1s var(--ease-shopify),
        transform 1s var(--ease-shopify),
        filter 1s var(--ease-shopify);
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0ms;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 150ms;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 300ms;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 450ms;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 600ms;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 750ms;
}

.stagger-children.visible>*:nth-child(7) {
    transition-delay: 900ms;
}

.stagger-children.visible>*:nth-child(8) {
    transition-delay: 1050ms;
}

.stagger-children.visible>*:nth-child(9) {
    transition-delay: 1200ms;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 300ms;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 400ms;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 500ms;
}

.stagger-children.visible>*:nth-child(7) {
    transition-delay: 600ms;
}

.stagger-children.visible>*:nth-child(8) {
    transition-delay: 700ms;
}

.stagger-children.visible>*:nth-child(9) {
    transition-delay: 800ms;
}

.stagger-children.visible>*:nth-child(10) {
    transition-delay: 900ms;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO TITLE WORD ANIMATION
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-title-line {
    display: inline-block;
    overflow: hidden;
}

.hero-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: wordSlideUp 0.8s var(--ease-shopify) forwards;
}

.hero-title-word:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title-word:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-title-word:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-title-word:nth-child(4) {
    animation-delay: 0.4s;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS - SHOPIFY STYLE WITH SMOOTH BLUR
   Enhanced animations with blur and scale for smoother transitions
   ═══════════════════════════════════════════════════════════════════════════ */
.fade-in-up {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(8px);
    transition:
        opacity 1.2s var(--ease-shopify),
        transform 1.2s var(--ease-shopify),
        filter 1.2s var(--ease-shopify);
    will-change: opacity, transform, filter;
}

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

.reveal-up {
    opacity: 0;
    transform: translateY(80px);
    filter: blur(12px);
    transition:
        opacity 1.4s var(--ease-shopify),
        transform 1.4s var(--ease-shopify),
        filter 1.4s var(--ease-shopify);
    will-change: opacity, transform, filter;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(10px);
    transition:
        opacity 1.3s var(--ease-shopify),
        transform 1.3s var(--ease-shopify),
        filter 1.3s var(--ease-shopify);
    will-change: opacity, transform, filter;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.reveal-rotate {
    opacity: 0;
    transform: perspective(1000px) rotateX(15deg) translateY(40px);
    filter: blur(8px);
    transition:
        opacity 1.2s var(--ease-shopify),
        transform 1.2s var(--ease-shopify),
        filter 1.2s var(--ease-shopify);
    will-change: opacity, transform, filter;
}

.reveal-rotate.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
    filter: blur(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL INDICATOR - BOUNCING ARROW
   ═══════════════════════════════════════════════════════════════════════════ */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: fadeInDelay 1s 1.5s var(--ease-out) forwards;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-tertiary);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeInDelay {
    to {
        opacity: 0.6;
    }
}

@keyframes bounce {

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

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOPIFY-STYLE VIEWPORT EDGE GLOW
   Subtle cyan aura framing the viewport for a "lit screen" feel
   ═══════════════════════════════════════════════════════════════════════════ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    box-shadow:
        inset 0 0 150px rgba(0, 180, 255, 0.06),
        inset 0 0 80px rgba(99, 102, 241, 0.04),
        inset 0 0 40px rgba(168, 85, 247, 0.03);
    opacity: 1;
    transition: opacity 0.8s var(--ease-smooth);
}

/* Enhance glow slightly on scroll */
body.scrolled::before {
    box-shadow:
        inset 0 0 120px rgba(0, 180, 255, 0.08),
        inset 0 0 60px rgba(99, 102, 241, 0.05),
        inset 0 0 30px rgba(168, 85, 247, 0.04);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    letter-spacing: -0.01em;
    transition: background-color 0.8s var(--ease-shopify);
}

/* Smooth scroll behavior for the entire page */
body,
html {
    scroll-behavior: smooth;
}

/* Enhanced smooth scrolling for webkit browsers */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Scroll Progress Bar - Shopify Cyan */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-primary), var(--accent-secondary));
    z-index: 10001;
    width: 0%;
    transition: width 0.15s linear;
    box-shadow:
        0 0 20px rgba(0, 200, 255, 0.5),
        0 0 40px rgba(99, 102, 241, 0.3);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
    /* Tighter headings */
    line-height: 1.1;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Slightly smaller max for better rhythm */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.7;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-small {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* Feature Bullets (New) */
.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.feature-bullets li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.feature-bullets li::before {
    content: '•';
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Typing Effect Cursor */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--accent-primary);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    /* Standardized width */
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Tighter padding on mobile default */
    width: 100%;
}

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

section {
    padding: 8rem 0;
    position: relative;
    transition: background 1.2s var(--ease-shopify), opacity 0.8s var(--ease-shopify);
    will-change: background;
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
}

/* Smooth section transitions on scroll */
section.in-view {
    animation: sectionFadeIn 1.2s var(--ease-shopify) forwards;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0.8;
    }

    to {
        opacity: 1;
    }
}


/* Glowing Divider */
.glow-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.2;
    margin: 0 auto;
    max-width: 600px;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Spotlight Effect - Liquid Glass with Smooth Transitions */
.spotlight-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* Highlight top edge */
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    --mouse-x: 50%;
    --mouse-y: 50%;
    transition:
        transform 0.6s var(--ease-shopify),
        box-shadow 0.6s var(--ease-shopify),
        border-color 0.6s var(--ease-shopify),
        background 0.6s var(--ease-shopify);

    /* Liquid Glass Blur */
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    will-change: transform, box-shadow;
}

.spotlight-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 200, 255, 0.35);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(0, 200, 255, 0.15),
        0 0 100px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

/* Spotlight Gradients (Pseudo-elements) - Keeping logic but softening */
.spotlight-card::before,
.spotlight-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
    z-index: 1;
}

.spotlight-card::before {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.03), transparent 40%);
}

.spotlight-card::after {
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), var(--accent-glow-cyan), transparent 40%);
}

.spotlight-card:hover::before,
.spotlight-card:hover::after {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOPIFY-STYLE SCROLL ANIMATIONS
   Float-in effect with scale + translate for premium feel
   ═══════════════════════════════════════════════════════════════════════════ */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition:
        opacity 1s var(--ease-shopify),
        transform 1s var(--ease-shopify);
    will-change: opacity, transform;
}

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

/* Fade in from sides for variety */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px) scale(0.96);
    transition:
        opacity 1s var(--ease-shopify),
        transform 1s var(--ease-shopify);
    will-change: opacity, transform;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px) scale(0.96);
    transition:
        opacity 1s var(--ease-shopify),
        transform 1s var(--ease-shopify);
    will-change: opacity, transform;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Scale in for center elements */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition:
        opacity 0.8s var(--ease-shopify),
        transform 0.8s var(--ease-shopify);
    will-change: opacity, transform;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ... keep animation delay classes ... */

/* Buttons - Enhanced with Smooth Shopify Transitions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition:
        transform 0.5s var(--ease-shopify),
        box-shadow 0.5s var(--ease-shopify),
        background 0.5s var(--ease-shopify),
        border-color 0.5s var(--ease-shopify),
        color 0.5s var(--ease-shopify);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
    will-change: transform;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-body);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25), 0 0 40px rgba(99, 102, 241, 0.15);
    background: #ffffff;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
    transform: translateY(-3px) scale(1.02);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}



/* Ripple effect container */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-anim 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Navigation Styles - "Liquid Glass" PRO Compact with Smooth Transitions */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1080;
    background: linear-gradient(90deg, rgba(22, 18, 44, 0.72) 0%, rgba(9, 12, 28, 0.78) 50%, rgba(18, 16, 42, 0.72) 100%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(120, 124, 255, 0.22);
    box-shadow:
        0 12px 38px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition:
        background 0.6s var(--ease-shopify),
        backdrop-filter 0.6s var(--ease-shopify),
        border-color 0.6s var(--ease-shopify),
        box-shadow 0.6s var(--ease-shopify),
        transform 0.6s var(--ease-shopify);
    will-change: background, transform;
}

nav.scrolled {
    background: linear-gradient(90deg, rgba(12, 10, 22, 0.9) 0%, rgba(9, 10, 20, 0.94) 50%, rgba(12, 10, 22, 0.9) 100%);
    border-bottom-color: rgba(141, 159, 255, 0.34);
    box-shadow:
        0 14px 46px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

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

/* Logo Fix - Contained */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1002;
    /* Above mobile menu */
    position: relative;
}

.logo-img {
    height: 40px;
    /* Contained within 60px nav */
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    margin-top: 0;
    /* Align center */
    transition: transform 0.3s var(--ease-spring);
}

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

/* Desktop Links */
.nav-links {
    display: flex;
    gap: 1.65rem;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
}

.nav-links a {
    color: rgba(227, 232, 255, 0.82);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s var(--ease-out);
    position: relative;
    padding: 0.32rem 0.18rem;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.65);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.38rem;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #60A5FA 0%, #A855F7 50%, #EC4899 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    z-index: 1002;
}

.nav-cta {
    padding: 0.62rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(141, 159, 255, 0.28);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    color: #f8faff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 28px rgba(10, 10, 28, 0.36);
}

.nav-cta:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.34), 0 0 24px rgba(168, 85, 247, 0.28);
    transform: translateY(-1px);
}

/* Mobile Toggle Logic */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop by default */
}

@media (max-width: 768px) {
    .nav-links:not(.mobile-open) {
        display: none;
        /* Hidden on mobile unless toggled via JS class */
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .nav-cta {
        display: none;
        /* Hide CTA button on very small screens if needed, or keep */
    }
}

/* Hero Section - Enhanced */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 54%, rgba(4, 6, 18, 0.0) 0%, rgba(4, 6, 18, 0.0) 45%, rgba(4, 6, 18, 0.16) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1600px;
    height: 1200px;
    background: radial-gradient(ellipse at center,
            rgba(0, 200, 255, 0.12) 0%,
            rgba(99, 102, 241, 0.15) 20%,
            rgba(168, 85, 247, 0.06) 40%,
            rgba(0, 0, 0, 0) 70%);
    z-index: 2;
    pointer-events: none;
    filter: blur(100px);
    animation: hero-glow-pulse 10s ease-in-out infinite;
    will-change: opacity, transform;
}

@keyframes hero-glow-pulse {

    0%,
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.75;
        transform: translate(-50%, -50%) scale(1.08) rotate(2deg);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero h1 {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #F8FAFF;
    text-shadow: 0 8px 34px rgba(4, 6, 18, 0.88), 0 0 16px rgba(120, 132, 255, 0.3);
}

.hero p {
    color: rgba(238, 243, 255, 0.92);
    text-shadow: 0 4px 22px rgba(4, 6, 18, 0.8);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(14, 20, 48, 0.36);
    border: 1px solid rgba(167, 187, 255, 0.45);
    border-radius: 50px;
    color: #EAF2FF;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    transition:
        background 0.3s var(--ease-out),
        border-color 0.3s var(--ease-out),
        color 0.3s var(--ease-out);
    text-shadow: 0 0 12px rgba(96, 165, 250, 0.45);
}

.hero-badge:hover {
    background: rgba(14, 20, 48, 0.36);
    border-color: rgba(167, 187, 255, 0.45);
    color: #EAF2FF;
}

.hero-badge.shimmer::after,
.hero-badge.glow-border::before {
    display: none;
}

/* Scrolling Feature Rows (Marquee) */
.scrolling-features-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
    overflow: hidden;
    /* Hide overflow */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Break out of container to full width */
    position: relative;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroll-row {
    display: flex;
    width: 100%;
    position: relative;
    overflow: hidden;
}


.scroll-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Ensure width fits content */
    animation: scroll-left 40s linear infinite;
}

.scroll-row.reverse .scroll-track {
    animation: scroll-right 45s linear infinite;
}

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

/* Ensure Bento Items fit in scroll */
.scrolling-features-container .bento-item {
    width: 400px;
    /* Fixed width for consistency */
    flex-shrink: 0;
    height: 320px;
    /* Uniform height */
}

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

    100% {
        transform: translateX(calc(-50% - 1rem));
        /* Scroll half way (duplicates) */
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(calc(-50% - 1rem));
    }

    100% {
        transform: translateX(0);
    }
}

.bento-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Visual Previews - Layout Update */
.visual-preview {
    position: relative;
    /* Changed from absolute */
    width: 100%;
    height: 220px;
    /* Fixed height for visual area */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.bento-item.large .visual-preview {
    height: 350px;
}

.bento-item.medium .visual-preview {
    height: 200px;
}

.bento-item:hover .visual-preview {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
}

.ui-card {
    /* Reset ui-card styles if needed, or keep for legacy */
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.bento-item:hover .ui-card {
    transform: translateY(-5px) rotate(-2deg);
    border-color: rgba(141, 159, 255, 0.2);
}

.ui-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(141, 159, 255, 0.1), rgba(188, 130, 243, 0.1));
    box-shadow: 0 0 20px rgba(141, 159, 255, 0.1);
    transition: transform 0.4s ease;
}

.bento-item:hover .ui-circle {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(141, 159, 255, 0.2);
}

.visual-foundation .ui-card {
    top: 20%;
    left: 10%;
    width: 80%;
    height: 60%;
    transform: rotate(-5deg);
}

.visual-lecture .ui-circle {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-review .ui-card {
    top: 15%;
    right: 10%;
    width: 70%;
    height: 50%;
}

.visual-review .ui-card:nth-child(2) {
    top: 35%;
    right: 20%;
    width: 50%;
    height: 35%;
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

/* Calendar Grid Visual for Scheduler */
.visual-scheduler {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: 100%;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    /* Larger gap */
    opacity: 0.9;
    /* Increased visibility */
    transition: opacity 0.4s var(--ease-smooth);
}

.bento-item:hover .calendar-grid {
    opacity: 1;
}

.calendar-cell {
    width: 36px;
    /* Larger cells */
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s var(--ease-spring);
}

.calendar-cell.active {
    background: rgba(99, 102, 241, 0.4);
    /* More vivid active state */
    border-color: rgba(99, 102, 241, 0.8);
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.calendar-cell.highlight {
    background: rgba(255, 255, 255, 0.25);
}

.bento-item:hover .calendar-cell.highlight {
    transform: scale(1.15);
}

/* Professional App Card Visuals */
.app-card {
    width: 160px;
    height: 120px;
    background: rgba(30, 30, 35, 0.95);
    /* Brightened from 15,15,20 */
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Brighter border */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.bento-item:hover .app-card {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Card Header */
.card-header {
    height: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
}

.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.card-dot.red {
    background: rgba(255, 95, 87, 0.5);
}

.card-dot.yellow {
    background: rgba(255, 189, 46, 0.5);
}

.card-dot.green {
    background: rgba(39, 201, 63, 0.5);
}

/* Card Body */
.card-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

/* Feature Specific: Smart Indexing (Categorized Tags) */
.folder-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.folder-tab {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px 4px 0 0;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.folder-tab.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.2);
    border-bottom: 2px solid var(--accent-primary);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-row {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.file-icon {
    font-size: 0.8rem;
}

/* Feature Specific: Smart Summaries (Transformation) */
.summary-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 4px;
}

.doc-mini,
.summary-mini {
    width: 40px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-mini {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.1);
}

.d-line,
.s-line {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1.5px;
    width: 100%;
}

.s-line.highlight {
    background: var(--accent-secondary);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Feature Specific: Hint System (Reveal UI) */
.hint-ui {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.hint-q-line {
    height: 4px;
    width: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    align-self: flex-start;
}

.hint-btn {
    font-size: 0.65rem;
    padding: 4px 10px;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bulb-icon {
    font-size: 0.8rem;
}

.hint-box {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.h-line {
    height: 4px;
    width: 90%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    filter: blur(2px);
    /* Blurred hint effect */
    transition: all 0.4s ease;
}

.bento-item:hover .h-line {
    filter: blur(0);
    background: rgba(251, 191, 36, 0.4);
}

/* Feature Specific: Quiz Generation (MCQ) */
.quiz-ui {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.quiz-q-line {
    height: 4px;
    width: 90%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin-bottom: 4px;
}

.quiz-opt {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    border: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-opt.selected {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #fff;
}

.check {
    color: #10b981;
    font-weight: bold;
}

/* Sound Wave Animation */
.sound-wave-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
}

.sound-wave {
    width: 4px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: soundWave 1s infinite ease-in-out;
}

@keyframes soundWave {

    0%,
    100% {
        height: 20px;
        opacity: 0.5;
    }

    50% {
        height: 50px;
        opacity: 1;
    }
}

.visual-podcast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
}

/* Interactive Demo Section - Enhanced */
.demo-interface {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color 0.4s var(--ease-smooth);
}

.demo-interface:hover {
    border-color: var(--border-hover);
}

.demo-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-controls .btn {
    transition:
        transform 0.3s var(--ease-spring),
        background 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.demo-controls .btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.demo-controls .btn.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.demo-controls .btn:active {
    transform: translateY(0) scale(0.96);
    transition: transform 0.1s var(--ease-out);
}

.demo-screen {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transition:
        background 0.4s var(--ease-smooth),
        border-color 0.4s var(--ease-smooth);
}

.demo-screen:hover {
    background: rgba(255, 255, 255, 0.03);
}

.demo-loader {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.demo-result {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUpSmooth 0.7s var(--ease-out) forwards;
}

@keyframes fadeInUpSmooth {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Analytics Section (Graphs) */
.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.graph-card {
    padding: 2rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.graph-container {
    flex-grow: 1;
    position: relative;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graph-line {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease;
}

.graph-line.animate {
    stroke-dashoffset: 0;
}

/* Radar Chart */
.radar-chart {
    width: 200px;
    height: 200px;
    position: relative;
}

.radar-polygon {
    fill: rgba(141, 159, 255, 0.2);
    stroke: var(--accent-primary);
    stroke-width: 2;
    transform: scale(0);
    transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.radar-polygon.animate {
    transform: scale(1);
}

.radar-axis {
    stroke: var(--border-subtle);
    stroke-width: 1;
}

/* Activity Heatmap */
.heatmap-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    align-content: center;
}

.heatmap-cell {
    width: 100%;
    padding-bottom: 100%;
    /* Square aspect ratio */
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.5s ease, transform 0.3s ease;
}

.heatmap-cell:hover {
    transform: scale(1.2);
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-primary);
}

.heatmap-cell.active-1 {
    background: rgba(99, 102, 241, 0.2);
}

.heatmap-cell.active-2 {
    background: rgba(99, 102, 241, 0.4);
}

.heatmap-cell.active-3 {
    background: rgba(99, 102, 241, 0.6);
}

.heatmap-cell.active-4 {
    background: rgba(99, 102, 241, 0.8);
}

.heatmap-cell.active-5 {
    background: #6366F1;
    box-shadow: 0 0 5px #6366F1;
}

/* Testimonials Marquee with Smooth Transitions */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 4rem 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-body), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-body), transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    width: 300px;
    white-space: normal;
    transition:
        transform 0.7s var(--ease-shopify),
        box-shadow 0.7s var(--ease-shopify),
        border-color 0.7s var(--ease-shopify),
        background 0.7s var(--ease-shopify);
    will-change: transform;
}

.testimonial-card:hover {
    transform: scale(1.05) translateY(-6px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(99, 102, 241, 0.1);
    background: rgba(15, 15, 18, 0.8);
}

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

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

/* Pricing, FAQ, Footer (Existing) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Per-tier color identities */
.pricing-card:nth-child(1) { --tier-color: #6ee7b7; --tier-glow: rgba(110, 231, 183, 0.15); --tier-gradient: linear-gradient(135deg, #6ee7b7, #3b82f6); }
.pricing-card:nth-child(2) { --tier-color: #00C8FF; --tier-glow: rgba(0, 200, 255, 0.15); --tier-gradient: linear-gradient(135deg, #00C8FF, #6366F1); }
.pricing-card:nth-child(3) { --tier-color: #A855F7; --tier-glow: rgba(168, 85, 247, 0.2);  --tier-gradient: linear-gradient(135deg, #818CF8, #C084FC, #F472B6); }
.pricing-card:nth-child(4) { --tier-color: #F59E0B; --tier-glow: rgba(245, 158, 11, 0.15); --tier-gradient: linear-gradient(135deg, #F59E0B, #EF4444); }

.pricing-tier-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--tier-color);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--tier-color);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    margin-bottom: 1rem;
}

.pricing-alt-price {
    font-size: 0.85rem;
    color: var(--tier-color);
    opacity: 0.8;
    margin-top: -0.8rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.pricing-tagline {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin-bottom: 1.8rem;
    min-height: 2.5rem;
    line-height: 1.5;
}

.pricing-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.07);
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.5s var(--ease-spring),
        box-shadow 0.5s var(--ease-smooth),
        border-color 0.3s ease;
}

/* Top accent bar per tier */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tier-gradient);
    border-radius: 24px 24px 0 0;
    opacity: 0.9;
}

/* Subtle glow blob in background */
.pricing-card::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, var(--tier-color) 0%, transparent 70%);
    opacity: 0.07;
    pointer-events: none;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--tier-color);
    box-shadow: 0 20px 60px var(--tier-glow), 0 0 0 1px var(--tier-color);
}

.pricing-card:hover::after {
    opacity: 0.14;
}

.pricing-card.featured {
    border-color: var(--tier-color);
    background: var(--bg-surface);
    box-shadow: 0 0 50px var(--tier-glow), 0 0 0 1px var(--tier-color);
    transform: none;
}

.pricing-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.pricing-card .btn {
    margin-top: auto;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 1.2rem 0 0.4rem;
    background: var(--tier-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price span {
    font-size: 0.95rem;
    -webkit-text-fill-color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0;
}

.pricing-features {
    list-style: none;
    text-align: left;
    flex: 1;
    text-align: left;
    margin: 1.5rem 0 2rem;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '✓';
    color: var(--tier-color);
    font-weight: 700;
    font-size: 0.8rem;
    background: var(--tier-glow);
    border: 1px solid var(--tier-color);
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    min-width: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Task Bot vs Chatbot Visuals */
.comparison-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    width: 250px;
    text-align: center;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.comparison-card.reactive {
    opacity: 0.7;
}

.comparison-card.proactive {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
    margin: 1rem auto;
}

.status-dot.active {
    background: #4ADE80;
    box-shadow: 0 0 10px #4ADE80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.arrow {
    font-size: 2rem;
    color: var(--text-tertiary);
}

/* Analytics Graphs Enhanced */
.graph-card {
    position: relative;
    overflow: hidden;
}

.graph-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.roadmap-steps {
    --timeline-marker-size: 52px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-steps::before {
    content: '';
    position: absolute;
    left: calc(var(--timeline-marker-size) / 2);
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.2), var(--border-subtle), rgba(168, 85, 247, 0.2));
}

.step {
    display: flex;
    gap: 2rem;
    position: relative;
}

.step-marker {
    width: var(--timeline-marker-size);
    height: var(--timeline-marker-size);
    min-width: var(--timeline-marker-size);
    min-height: var(--timeline-marker-size);
    flex: 0 0 var(--timeline-marker-size);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.18), rgba(10, 10, 12, 0.95));
    border: 1px solid rgba(99, 102, 241, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.step-marker.active {
    background: var(--accent-primary);
    color: var(--bg-body);
    box-shadow: 0 0 20px var(--accent-glow);
    border-color: var(--accent-primary);
}

.step-marker.done {
    background: rgba(141, 159, 255, 0.1);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.step-content {
    padding-bottom: 2rem;
}

.step-month-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.35rem;
    opacity: 0.85;
}

.step-bullets {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-bullets li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-bullets li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .roadmap-steps {
        --timeline-marker-size: 44px;
    }

    .step {
        gap: 1rem;
    }
}

/* Demo Video Section */
.demo-video-frame {
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.28);
    background: rgba(5, 5, 10, 0.75);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.5),
        0 0 45px rgba(99, 102, 241, 0.18);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease, border-color 0.55s ease;
    transform-origin: center center;
}

.demo-video-frame:hover {
    transform: scale(1.07);
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.72),
        0 0 100px rgba(168, 85, 247, 0.45);
}

.demo-video-player {
    display: block;
    width: 100%;
    height: auto;
    min-height: 360px;
    background: #000;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.demo-video-frame:hover .demo-video-player {
    transform: scale(1.04);
    filter: saturate(1.08) brightness(1.04);
}

.custom-video-player {
    position: relative;
    max-width: 64rem;
    border-radius: 1rem;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-video-player .demo-video-player {
    cursor: pointer;
}

.custom-video-player.is-custom-ready .demo-video-player::-webkit-media-controls {
    display: none !important;
}

.custom-video-center-play,
.custom-video-controls,
.custom-video-button {
    color: #ffffff;
}

.custom-video-center-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.58);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
    cursor: pointer;
}

.custom-video-player.is-playing .custom-video-center-play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    pointer-events: none;
}

.custom-video-center-play:hover {
    background: rgba(17, 17, 17, 0.78);
    transform: translate(-50%, -50%) scale(1.06);
}

.custom-video-center-play svg,
.custom-video-button svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.custom-video-center-play svg {
    width: 1.55rem;
    height: 1.55rem;
}

.custom-video-player .icon-pause,
.custom-video-player.is-playing .icon-play,
.custom-video-player.is-muted .icon-volume-high,
.custom-video-player.is-muted .icon-volume-low,
.custom-video-player.is-volume-low .icon-volume-high,
.custom-video-player:not(.is-muted):not(.is-volume-low) .icon-volume-low,
.custom-video-player:not(.is-muted) .icon-volume-off {
    display: none;
}

.custom-video-player.is-playing .icon-pause,
.custom-video-player.is-muted .icon-volume-off,
.custom-video-player.is-volume-low:not(.is-muted) .icon-volume-low {
    display: block;
}

.custom-video-controls {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 0.5rem;
    z-index: 4;
    width: min(38rem, calc(100% - 1rem));
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(17, 17, 17, 0.64);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    filter: blur(10px);
    transform: translate(-50%, 1.25rem);
    pointer-events: none;
    transition:
        opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-video-player:hover .custom-video-controls,
.custom-video-player:focus-within .custom-video-controls,
.custom-video-player.is-controls-visible .custom-video-controls {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.custom-video-progress-row,
.custom-video-actions,
.custom-video-action-group,
.custom-video-volume,
.custom-video-speed-group {
    display: flex;
    align-items: center;
}

.custom-video-progress-row {
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.custom-video-actions {
    justify-content: space-between;
    gap: 1rem;
}

.custom-video-action-group {
    gap: 0.9rem;
}

.custom-video-volume {
    gap: 0.35rem;
}

.custom-video-speed-group {
    gap: 0.35rem;
}

.custom-video-time {
    min-width: 2.4rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.custom-video-time:last-child {
    text-align: right;
}

.custom-video-button {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease;
    cursor: pointer;
}

.custom-video-button:hover,
.custom-video-button.is-active {
    background: rgba(17, 17, 17, 0.82);
}

.custom-video-button:hover {
    transform: scale(1.08);
}

.custom-video-button:active {
    transform: scale(0.94);
}

.custom-video-speed {
    width: auto;
    min-width: 2.35rem;
    padding: 0 0.5rem;
}

.custom-video-range {
    --video-range-value: 0%;
    width: 100%;
    height: 1rem;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

.custom-video-range::-webkit-slider-runnable-track {
    height: 0.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffffff 0 var(--video-range-value), rgba(255, 255, 255, 0.2) var(--video-range-value) 100%);
}

.custom-video-range::-moz-range-track {
    height: 0.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.custom-video-range::-moz-range-progress {
    height: 0.25rem;
    border-radius: 999px;
    background: #ffffff;
}

.custom-video-range::-webkit-slider-thumb {
    width: 0.72rem;
    height: 0.72rem;
    margin-top: -0.235rem;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.34);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-video-range::-moz-range-thumb {
    width: 0.72rem;
    height: 0.72rem;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.34);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-video-range:hover::-webkit-slider-thumb,
.custom-video-range:focus-visible::-webkit-slider-thumb,
.custom-video-range:hover::-moz-range-thumb,
.custom-video-range:focus-visible::-moz-range-thumb {
    opacity: 1;
}

.custom-video-progress {
    flex: 1;
}

.custom-video-volume-range {
    width: 6rem;
}

@media (max-width: 640px) {
    .custom-video-player {
        border-radius: 0.85rem;
    }

    .custom-video-center-play {
        width: 3.3rem;
        height: 3.3rem;
    }

    .custom-video-controls {
        width: calc(100% - 0.75rem);
        bottom: 0.38rem;
        padding: 0.72rem;
        border-radius: 0.85rem;
    }

    .custom-video-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .custom-video-action-group,
    .custom-video-speed-group {
        width: 100%;
        justify-content: space-between;
    }

    .custom-video-volume {
        flex: 1;
    }

    .custom-video-volume-range {
        width: 100%;
        min-width: 4.5rem;
    }

    .custom-video-button {
        width: 2rem;
        height: 2rem;
        border-radius: 0.65rem;
    }

    .custom-video-speed {
        min-width: 2.15rem;
        padding: 0 0.38rem;
        font-size: 0.72rem;
    }
}

.demo-video-fallback {
    margin: 0;
    padding: 0.8rem 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.demo-video-fallback a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse>* {
    direction: ltr;
}

/* Feature List (Privacy Section) */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Comparison Visual */
.comparison-visual {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.comparison-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    width: 200px;
    text-align: center;
    transition: all 0.3s ease;
}

.comparison-card.proactive {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(141, 159, 255, 0.1);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
    margin: 1rem auto;
}

.status-dot.active {
    background: #4ADE80;
    /* Green */
    box-shadow: 0 0 10px #4ADE80;
    animation: pulse 2s infinite;
}

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

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.arrow {
    font-size: 2rem;
    color: var(--text-tertiary);
}

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

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

/* Sound Wave Animation */
.sound-wave {
    width: 6px;
    height: 100%;
    background: var(--accent-primary);
    border-radius: 10px;
    animation: sound-wave 1s ease-in-out infinite;
}

@keyframes sound-wave {

    0%,
    100% {
        height: 20%;
        opacity: 0.5;
    }

    50% {
        height: 100%;
        opacity: 1;
    }
}

.visual-podcast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
}


/* =========================================
   Refined Bento Grid (Graceful & Elegant)
   ========================================= */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(340px, auto);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.8s var(--ease-shopify),
        background 0.8s var(--ease-shopify),
        border-color 0.8s var(--ease-shopify),
        box-shadow 0.8s var(--ease-shopify);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    will-change: transform;
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(99, 102, 241, 0.2);
}

/* Spanning Utilities */
.bento-item.medium {
    grid-column: span 2;
}

.bento-item.large {
    grid-column: span 3;
}

/* Content Styling */
.bento-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
    position: relative;
    width: 100%;
    background: transparent;
    /* Removed heavy gradient for cleaner look */
}

.bento-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.6s var(--ease-shopify),
        background 0.6s var(--ease-shopify),
        border-color 0.6s var(--ease-shopify);
}

.bento-item:hover .bento-icon {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--accent-primary);
    transform: scale(1.15) rotate(5deg);
}

.bento-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bento-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 100%;
}

/* Feature List in Cards */
.feature-bullets li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.4rem;
}

/* Visual Preview Refinements */
.visual-preview {
    position: relative;
    /* Changed from absolute to relative for stacking */
    width: 100%;
    height: 240px;
    /* Fixed height for visual part in small cards */
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08), transparent 70%);
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    border-bottom: none;
    overflow: visible;
    /* Allow hover effects to pop slightly */
}

/* Medium & Large Layouts (Side-by-Side) */
.bento-item.medium,
.bento-item.large {
    flex-direction: row;
    align-items: center;
}

.bento-item.medium .visual-preview,
.bento-item.large .visual-preview {
    position: relative;
    width: 55%;
    height: 100%;
    order: 2;
    mask-image: linear-gradient(to right, transparent 0%, black 15%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), transparent 70%);
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
}

.bento-item.large .visual-preview {
    width: 60%;
}

.bento-item.medium .bento-content,
.bento-item.large .bento-content {
    width: 45%;
    height: 100%;
    justify-content: center;
    padding: 3rem;
    order: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent);
}

.bento-item.large .bento-content {
    width: 40%;
}

/* Specific adjustments for content typography in large cards */
.bento-item.medium h3,
.bento-item.large h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.bento-item.medium p,
.bento-item.large p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item.large,
    .bento-item.medium {
        grid-column: span 2;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split-layout.reverse {
        direction: ltr;
    }

    .split-layout.reverse>* {
        direction: ltr;
    }

    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .bento-item.large,
    .bento-item.medium {
        grid-column: span 1;
    }

    .nav-links:not(.mobile-open) {
        display: none;
    }

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

    .pricing-grid,
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }

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

.step-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    flex-grow: 1;
}

footer {
    border-top: 1px solid var(--border-subtle);
    padding: 6rem 0 2rem;
    margin-top: 4rem;
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

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

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

@media screen and (max-width: 1024px) {

    .bento-grid,
    .analytics-grid,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.large {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- New Visual Styles --- */

/* Podcast Visual */
.visual-podcast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sound-wave {
    width: 6px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 4px;
    animation: wave 1.2s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        height: 20px;
        opacity: 0.5;
    }

    50% {
        height: 60px;
        opacity: 1;
    }
}

/* Task Bot vs Chatbot Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
}

.comparison-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.comparison-visual::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.12), transparent 60%);
    z-index: -1;
    top: -20%;
    left: -20%;
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.comparison-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 240px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.comparison-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.comparison-card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-tertiary);
}

.comparison-card.reactive {
    opacity: 0.5;
    transform: scale(0.95);
    border-style: dashed;
}

.comparison-card.reactive:hover {
    opacity: 0.8;
    transform: scale(0.98);
    border-color: var(--text-secondary);
}

.comparison-card.proactive {
    background: rgba(30, 30, 35, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.6);
    box-shadow:
        0 0 50px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
    transform: scale(1.08);
}

.comparison-card.proactive::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.8), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.5;
}

.comparison-card.proactive h4 {
    color: #fff;
    font-weight: 600;
}

.comparison-card.proactive p {
    color: var(--text-primary);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
    margin: 0.5rem auto;
    position: relative;
}

.status-dot.active {
    background: #4ADE80;
    box-shadow: 0 0 20px #4ADE80;
    width: 14px;
    height: 14px;
}

.status-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid #4ADE80;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.5;
}

.arrow {
    font-size: 2rem;
    background: linear-gradient(to right, var(--text-tertiary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    margin: 0 1rem;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Roadmap Markers */
.step-marker.done {
    background: radial-gradient(circle at 35% 25%, rgba(129, 140, 248, 0.95), rgba(99, 102, 241, 0.9));
    color: #ffffff;
    border: 1px solid rgba(129, 140, 248, 0.95);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14), 0 10px 28px rgba(99, 102, 241, 0.35);
}

.step-marker.active {
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.25), rgba(10, 10, 12, 0.95));
    border: 2px solid var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14), 0 0 18px rgba(141, 159, 255, 0.45);
}

/* Enhanced Glows */
.spotlight-card:hover {
    border-color: rgba(141, 159, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.hero-glow {
    background: radial-gradient(circle at center, rgba(141, 159, 255, 0.12) 0%, rgba(5, 5, 7, 0) 60%);
}

/* Mobile Menu Button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    position: relative;
}

.mobile-menu-btn .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition:
        transform 0.4s var(--ease-out),
        opacity 0.3s var(--ease-out),
        background 0.3s var(--ease-out);
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: rgba(8, 8, 18, 0.99);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 80px 2rem 2rem;
    z-index: 1050;
    animation: slideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    gap: 0;
    box-sizing: border-box;
}

/* Hide all fixed overlapping elements when mobile menu is open */
body.menu-open .cursor-glow,
body.menu-open .section-progress,
body.menu-open .scroll-progress,
body.menu-open .floating-orbs {
    display: none !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.nav-links.mobile-open a {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    text-decoration: none;
    display: block;
    width: 100%;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-links.mobile-open a:hover {
    color: rgba(99, 102, 241, 1);
    padding-left: 0.75rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition:
        opacity 0.4s var(--ease-out),
        visibility 0.4s var(--ease-out),
        transform 0.4s var(--ease-out),
        background 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
    z-index: 100;
}

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

.scroll-top-btn:hover {
    background: var(--bg-surface-hover);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.3);
    border-color: var(--accent-primary);
}

/* Newsletter Form Enhanced */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition:
        border-color 0.3s var(--ease-out),
        background 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.newsletter-input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-input:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links:not(.mobile-open) {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .demo-controls {
        flex-wrap: wrap;
    }

    .demo-controls .btn {
        flex: 1 1 45%;
        min-width: 140px;
    }

    .comparison-visual {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }
}

/* =========================================
   Feature Card Visuals - Enhanced
   ========================================= */

/* General Visual Container Adjustments */
.visual-preview {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    perspective: 1000px;
}

/* 1. Graceful Foundation Visuals */
.foundation-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doc-layer {
    position: absolute;
    width: 200px;
    height: 280px;
    background: rgba(255, 255, 255, 0.08);
    /* Brightened from 0.05 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: transform 0.5s var(--ease-out);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


.doc-layer.base {
    transform: rotate(-6deg) translate(-10px, 10px);
    z-index: 1;
}

.doc-layer.mid {
    transform: rotate(-3deg) translate(-5px, 5px);
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    /* Brightened from 0.07 */
}

.doc-layer.top {
    transform: rotate(0deg);
    z-index: 3;
    background: rgba(40, 40, 45, 0.9);
    /* Brightened from 30,30,35,0.8 */
    backdrop-filter: blur(10px);
    border-color: rgba(99, 102, 241, 0.3);
    overflow: hidden;
}

.bento-item:hover .doc-layer.base {
    transform: rotate(-12deg) translate(-20px, 15px);
}

.bento-item:hover .doc-layer.mid {
    transform: rotate(-6deg) translate(-10px, 8px);
}

.bento-item:hover .doc-layer.top {
    transform: rotate(0deg) scale(1.05);
    border-color: var(--accent-primary);
}

.handwriting-path {
    position: absolute;
    top: 40px;
    left: 30px;
    width: 150px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='60' viewBox='0 0 120 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 30C20 20 30 40 40 30C50 20 60 40 70 30' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-dasharray='100' stroke-dashoffset='100'%3E%3Canimate attributeName='stroke-dashoffset' values='100;0' dur='2s' repeatCount='indefinite' /%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.typing-cursor-anim {
    position: absolute;
    top: 130px;
    left: 30px;
    width: 3px;
    height: 20px;
    background: var(--accent-secondary);
    animation: blink 1s infinite;
}

.pencil-tool {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 100px;
    height: 14px;
    background: linear-gradient(90deg, #333, #666);
    border-radius: 7px;
    transform: rotate(-45deg);
    z-index: 4;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s var(--ease-spring);
}

.pencil-tool::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 12px;
    height: 100%;
    background: #fff;
    border-radius: 4px 0 0 4px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.bento-item:hover .pencil-tool {
    transform: rotate(-45deg) translate(10px, -10px);
}

/* 2. Smart Indexing Visuals */
.indexing-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-card {
    position: absolute;
    width: 120px;
    height: 85px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.6s var(--ease-spring);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.file-tag {
    padding: 3px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

.file-physics {
    top: 30px;
    left: 30px;
    transform: rotate(-5deg);
    z-index: 2;
}

.file-math {
    top: 40px;
    right: 30px;
    transform: rotate(5deg);
    z-index: 1;
}

.file-history {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    z-index: 3;
}

.folder-target {
    position: absolute;
    bottom: 25px;
    width: 150px;
    height: 100px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
}


.folder-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.folder-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: rgba(99, 102, 241, 0.4);
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(99, 102, 241, 0.5);
    z-index: 10;
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.bento-item:hover .file-physics {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    transition-delay: 0.1s;
}

.bento-item:hover .file-math {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    transition-delay: 0.2s;
}

.bento-item:hover .file-history {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    transition-delay: 0.3s;
}

.bento-item:hover .folder-target {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover .folder-front {
    transform: rotateX(15deg);
}

/* 3. Smart Summaries Visuals */
.summary-anim-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.long-text-doc {
    width: 100px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.4s var(--ease-out);
}

.text-line {
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    width: 100%;
}

.text-line.short {
    width: 60%;
}

.transform-arrow {
    color: var(--accent-primary);
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.summary-card {
    width: 100px;
    height: 115px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
    transform: scale(0.9);
    opacity: 0.8;
    transition: all 0.4s var(--ease-spring);
}

.summary-bullet {
    height: 8px;
    background: var(--accent-primary);
    border-radius: 4px;
    width: 100%;
    opacity: 0.8;
}


.bento-item:hover .long-text-doc {
    transform: translateX(-10px) scale(0.95);
    opacity: 0.6;
}

.bento-item:hover .transform-arrow {
    transform: translateX(5px);
    opacity: 1;
    color: var(--accent-secondary);
}

.bento-item:hover .summary-card {
    transform: translateX(5px) scale(1.1);
    opacity: 1;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.3);
    border-color: var(--accent-primary);
}

/* 4. Podcast Generation Visuals */
.podcast-ui {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-preview {
    width: 80px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-out);
}


.slide-content-lines {
    width: 70%;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 0 rgba(255, 255, 255, 0.5), 0 10px 0 rgba(255, 255, 255, 0.5);
}

.connection-line {
    position: absolute;
    left: 110px;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--accent-primary));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.5s 0.2s var(--ease-out);
}

.audio-player-visual {
    width: 180px;
    height: 60px;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: absolute;
    right: 30px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.5s var(--ease-spring);
}


.play-btn-visual {
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.play-btn-visual::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 2px;
}

.waveform-visual {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    flex: 1;
}

.waveform-visual .bar {
    width: 3px;
    background: var(--accent-secondary);
    border-radius: 2px;
    height: 100%;
    animation: wave 1s ease-in-out infinite;
}

.waveform-visual .bar:nth-child(1) {
    animation-delay: 0.1s;
    height: 40%;
}

.waveform-visual .bar:nth-child(2) {
    animation-delay: 0.2s;
    height: 80%;
}

.waveform-visual .bar:nth-child(3) {
    animation-delay: 0.3s;
    height: 60%;
}

.waveform-visual .bar:nth-child(4) {
    animation-delay: 0.4s;
    height: 90%;
}

.waveform-visual .bar:nth-child(5) {
    animation-delay: 0.5s;
    height: 50%;
}

.waveform-visual .bar:nth-child(6) {
    animation-delay: 0.6s;
    height: 70%;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.bento-item:hover .slide-preview {
    transform: translateY(-50%) scale(0.9);
    opacity: 0.7;
}

.bento-item:hover .connection-line {
    transform: scaleX(1);
}

.bento-item:hover .audio-player-visual {
    transform: scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* 5. AI Lecture Mode Visuals */
.lecture-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lecturer-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    position: absolute;
    top: 40px;
    z-index: 5;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}


.avatar-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.lecture-slides-flow {
    position: absolute;
    top: 90px;
    width: 160px;
    height: 100px;
    perspective: 500px;
}


.lecture-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    /* Brightened from 0.05 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.6s var(--ease-smooth);
}

.lecture-slide.current {
    transform: translateZ(0);
    z-index: 2;
    background: rgba(40, 40, 45, 0.95);
    /* Brightened */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Added shadow */
}

.lecture-slide.next {
    transform: translateZ(-50px) translateX(40px) rotateY(-20deg);
    z-index: 1;
    opacity: 0.5;
}

.speech-bubble-visual {
    position: absolute;
    top: 20px;
    right: 40px;
    background: white;
    padding: 6px 12px;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    opacity: 0;
    transform: translateY(10px) scale(0.8);
    transition: all 0.4s var(--ease-spring);
}

.typing-dots span {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    margin: 0 1px;
    animation: blink 1.4s infinite both;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.bento-item:hover .speech-bubble-visual {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bento-item:hover .lecture-slide.current {
    transform: translateZ(-50px) translateX(-40px) rotateY(20deg);
    opacity: 0.5;
}

.bento-item:hover .lecture-slide.next {
    transform: translateZ(0);
    opacity: 1;
    z-index: 3;
    background: rgba(30, 30, 35, 0.9);
    border-color: var(--accent-primary);
}

/* 6. Hint System Visuals */
.hint-interaction {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.question-block {
    width: 180px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
}

.q-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 8px;
    border-radius: 3px;
}

.q-line.short {
    width: 60%;
}

.hint-bulb-trigger {
    font-size: 2.5rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s var(--ease-spring);
    z-index: 5;
}

.bulb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 0, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hint-reveal-card {
    position: absolute;
    bottom: 30px;
    width: 200px;
    height: 70px;
    background: rgba(30, 30, 35, 0.95);
    border: 1px solid var(--accent-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    transition: all 0.4s var(--ease-spring);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.reveal-text {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.bento-item:hover .hint-bulb-trigger {
    transform: scale(1.2) rotate(10deg);
}

.bento-item:hover .bulb-glow {
    opacity: 1;
}

.bento-item:hover .hint-reveal-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 7. Quiz Generation Visuals */
.quiz-stack {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-card {
    position: absolute;
    width: 180px;
    height: 220px;
    background: rgba(40, 40, 45, 0.95);
    /* Brightened from 30,30,35,0.9 */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.5s var(--ease-spring);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.q-back {
    transform: rotate(-5deg) translate(-5px, -5px) scale(0.95);
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
}

.q-front {
    z-index: 2;
    transform: rotate(2deg);
}

.q-header {
    height: 8px;
    width: 60%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 10px;
}

.q-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.q-opt {
    height: 24px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.q-opt.selected {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent-primary);
}

.grade-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    transform: scale(0) rotate(-20deg);
    transition: transform 0.4s var(--ease-spring);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.bento-item:hover .q-back {
    transform: rotate(-10deg) translate(-15px, 0) scale(0.9);
}

.bento-item:hover .q-front {
    transform: rotate(0deg) scale(1.05);
    border-color: var(--accent-primary);
}

.bento-item:hover .grade-badge {
    transform: scale(1) rotate(15deg);
    transition-delay: 0.2s;
}

/* 8. Adaptive Scheduler Visuals */
.scheduler-timeline {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 20px;
    gap: 15px;
    position: relative;
}

.time-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    padding-top: 10px;
    width: 50px;
}

.events-column {
    flex: 1;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.event-block {
    position: absolute;
    left: 20px;
    width: calc(100% - 20px);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: white;
    transition: all 0.5s var(--ease-spring);
}

.event-block.physics {
    top: 0;
    height: 60px;
    background: rgba(99, 102, 241, 0.2);
    border-left: 3px solid var(--accent-primary);
}

.event-block.math {
    top: 75px;
    height: 60px;
    background: rgba(168, 85, 247, 0.2);
    border-left: 3px solid var(--accent-secondary);
}

.event-block.break {
    top: 150px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--text-tertiary);
    color: var(--text-secondary);
}

.smart-adjust-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(10, 10, 12, 0.9);
    border: 1px solid var(--accent-primary);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
}

.smart-adjust-indicator span {
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.bento-item:hover .event-block.physics {
    top: 15px;
}

.bento-item:hover .event-block.math {
    top: 90px;
}

.bento-item:hover .event-block.break {
    top: 165px;
}


.bento-item:hover .smart-adjust-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition-delay: 0.1s;
}

/* 9. Intelligent Review Visuals */
.review-dashboard {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

.review-stat-circle {
    width: 140px;
    height: 140px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Circular Chart Animation */
.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.2));
    /* Overall chart glow */
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    /* Brighter bg stroke */
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke-width: 3.5;
    /* Thicker stroke for emphasis */
    stroke-linecap: round;
    stroke: var(--accent-primary);
    animation: progress 1.5s ease-out forwards;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.6));
    /* Stronger glow on data */
}

.percentage {
    fill: #fff;
    font-family: inherit;
    font-weight: bold;
    font-size: 0.55em;
    /* Slightly larger font */
    text-anchor: middle;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
    position: absolute;
    bottom: -30px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.review-connectors {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.connector-node {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.connector-line {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.weakness-card {
    width: 150px;
    padding: 15px;
    background: rgba(236, 72, 153, 0.15);
    /* Brighter pink bg */
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 12px;
    transform: translateX(30px);
    opacity: 0.7;
    transition: all 0.4s var(--ease-out);
    backdrop-filter: blur(5px);
}

.w-header {
    font-size: 0.8rem;
    color: var(--accent-tertiary);
    margin-bottom: 6px;
}

.w-topic {
    font-size: 1rem;
    font-weight: 500;
}

.bento-item:hover .circle {
    stroke: var(--accent-secondary);
    filter: drop-shadow(0 0 5px var(--accent-secondary));
}

.bento-item:hover .connector-node {
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.bento-item:hover .weakness-card {
    transform: translateX(0);
    opacity: 1;
    background: rgba(236, 72, 153, 0.2);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}

/* Demo State Classes */
.demo-hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.demo-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.demo-content-enter {
    animation: fadeIn 0.5s var(--ease-out) forwards;
}

.demo-item-enter {
    opacity: 0;
    transform: translateY(10px);
    animation: slideUpFade 0.4s var(--ease-out) forwards;
}

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

/* Demo Result Styles */
.demo-result-header {
    margin-bottom: 1rem;
}

.demo-result-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 0.5rem;
}

.demo-tag {
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.demo-tag:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.demo-tag.active {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    color: white;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.demo-plan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.demo-lecturer-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-primary);
    position: relative;
}

/* Hero Typing Stability */
.typing-container {
    display: inline-flex;
    align-items: center;
    min-width: 140px;
    /* Fixed width to prevent shifting */
    justify-content: flex-start;
    white-space: nowrap;
}

/* =========================================
   New Bento Visuals (Refined)
   ========================================= */

/* 1. Graceful Foundation (File Manager + PDF + AI Tools) */
.visual-foundation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.foundation-ui {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0.75rem;
}

/* File Sidebar */
.file-sidebar {
    width: 35%;
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.folder-icon {
    font-size: 0.7rem;
}

.folder-name {
    font-size: 0.6rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.file-list-compact {
    flex: 1;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-entry {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    opacity: 0.5;
    transition: all 0.2s var(--ease-out);
}

.file-entry.active {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    opacity: 1;
}

.entry-icon {
    font-size: 0.65rem;
}

.entry-name {
    font-size: 0.55rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-entry.active .entry-name {
    color: var(--text-primary);
}

.file-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.action-btn {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(99, 102, 241, 0.2);
}

/* PDF Canvas */
.pdf-canvas {
    flex: 1;
    background: rgba(25, 25, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pdf-title {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.pencil-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(99, 102, 241, 0.15);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.pencil-icon {
    font-size: 0.6rem;
}

.pdf-content {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pdf-line {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    width: 100%;
}

.pdf-line.short {
    width: 50%;
}

.pdf-line.medium {
    width: 75%;
}

/* Handwriting Area */
.handwriting-area {
    position: relative;
    height: 35px;
    margin: 0.3rem 0;
    display: flex;
    align-items: center;
}

.handwriting-text {
    width: 90px;
    height: 100%;
}

.hw-letter {
    fill: none;
    stroke: #f59e0b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.hw-letter.l1 {
    animation: draw-letter 0.6s 0.2s ease-out forwards;
}

.hw-letter.l2 {
    animation: draw-letter 0.6s 0.5s ease-out forwards;
}

.hw-letter.l3 {
    animation: draw-letter 0.5s 0.8s ease-out forwards;
}

.hw-letter.l4 {
    animation: draw-letter 0.6s 1.1s ease-out forwards;
}

.hw-letter.l5 {
    animation: draw-letter 0.4s 1.4s ease-out forwards;
}

.hw-underline {
    fill: none;
    stroke: #f59e0b;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: draw-letter 0.5s 1.7s ease-out forwards;
}

@keyframes draw-letter {
    to {
        stroke-dashoffset: 0;
    }
}


/* AI Writing Popup */
.ai-writing-popup {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    animation: float 4s ease-in-out infinite;
}

.ai-sparkle {
    font-size: 0.7rem;
}

.ai-options {
    display: flex;
    gap: 0.25rem;
}

.ai-option {
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.ai-option.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* 2. Smart Indexing (File Manager) */
.visual-indexing {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-manager-ui {
    width: 85%;
    background: rgba(30, 30, 35, 0.9);
    /* Brighter */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fm-header {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.fm-tab {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    position: relative;
    padding-bottom: 4px;
}

.fm-tab.active {
    color: var(--text-primary);
}

.fm-tab.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
}

.fm-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fm-file {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    /* Brightened from 0.03 */
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Added subtle border */
}

.fm-icon {
    margin-right: 10px;
}

.fm-tag {
    margin-left: auto;
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.floating-sort {
    border-color: var(--accent-secondary);
    background: rgba(168, 85, 247, 0.1);
    animation: sortMove 3s ease-in-out infinite;
}

@keyframes sortMove {

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

    50% {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
    }
}

/* 3. Smart Summaries (Split App Interface) */
.visual-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.summary-app-interface {
    width: 100%;
    height: 100%;
    display: flex;
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Left Sidebar */
.app-sidebar {
    width: 35%;
    background: rgba(15, 15, 20, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}

.sidebar-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.3rem;
}

.tab {
    font-size: 0.45rem;
    color: var(--text-tertiary);
    padding-bottom: 2px;
    cursor: pointer;
}

.tab.active {
    color: var(--accent-primary);
    border-bottom: 1px solid var(--accent-primary);
}

.sidebar-scroll-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.slide-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-text-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.text-line {
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1.5px;
    width: 100%;
}

.text-line.short {
    width: 60%;
}

.text-line.medium {
    width: 80%;
}

.sidebar-input {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-placeholder {
    font-size: 0.4rem;
    color: var(--text-tertiary);
}

.send-icon {
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    color: white;
}

/* Right Main View */
.app-main-view {
    width: 65%;
    background: rgba(30, 30, 35, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.lecture-slide-large {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-large-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.4rem;
    margin-bottom: 0.2rem;
}

.slide-title-bar {
    width: 70%;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 4px;
    opacity: 0.8;
}

.slide-large-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bullet-point {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.bullet {
    font-size: 0.5rem;
    color: var(--accent-primary);
}

.b-line {
    height: 4px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    width: 90%;
}

.b-line.long {
    width: 100%;
}

.b-line.medium {
    width: 80%;
}

.b-line.short {
    width: 60%;
}

.sub-bullet {
    padding-left: 1rem;
}

/* 4. Podcast (Comprehensive Interface) */
.visual-podcast {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    height: 180px;
    /* reduce vertical stretch further */
}

.podcast-interface {
    width: 100%;
    height: 100%;
    display: flex;
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Playlist Sidebar */
.podcast-playlist {
    width: 45%;
    background: rgba(15, 15, 20, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    overflow: hidden;
    /* Prevent spillover */
}

.playlist-header {
    font-size: 0.6rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    padding-left: 0.2rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    /* Reserve space for border */
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.playlist-item.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.play-icon-small {
    font-size: 0.6rem;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.play-icon-small.active {
    color: var(--accent-primary);
}

.playlist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    /* Enable text truncation */
}

.ep-title {
    font-size: 0.55rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item.active .ep-title {
    color: var(--text-primary);
    font-weight: 600;
}

.ep-time {
    font-size: 0.45rem;
    color: var(--text-tertiary);
}

/* Mini Sound Wave */
.sound-wave-mini {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 12px;
    flex-shrink: 0;
}

.sound-wave-mini span {
    width: 2px;
    background: var(--accent-secondary);
    animation: wave 1s ease-in-out infinite;
    border-radius: 1px;
}

.sound-wave-mini span:nth-child(1) {
    animation-duration: 0.6s;
    height: 60%;
}

.sound-wave-mini span:nth-child(2) {
    animation-duration: 0.8s;
    height: 100%;
}

.sound-wave-mini span:nth-child(3) {
    animation-duration: 1.0s;
    height: 40%;
}

/* Main Player */
.podcast-main-player {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: radial-gradient(circle at center, rgba(30, 30, 40, 0.8) 0%, rgba(20, 20, 25, 0.9) 100%);
}

.album-art-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.8rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.art-icon {
    font-size: 1.8rem;
    z-index: 2;
}

.art-wave-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNMCA1MCBSTTIwIDUwIEw0MCAyMCBMNjAgODAgTDgwIDUwIEwxMDAgNTAiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjIpIiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiLz48L3N2Zz4=');
    background-size: cover;
    opacity: 0.3;
    border-radius: 12px;
}

.track-info-large {
    text-align: center;
    margin-bottom: 0.8rem;
}

.track-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.track-subtitle {
    font-size: 0.55rem;
    color: var(--text-tertiary);
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.time-stamp {
    font-size: 0.5rem;
    color: var(--text-tertiary);
    width: 24px;
}

.progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
}

.progress-fill {
    width: 53%;
    height: 100%;
    background: var(--accent-primary);
    border-radius: 2px;
}

.progress-knob {
    position: absolute;
    left: 53%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.player-controls-large {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    cursor: pointer;
    transition: transform 0.2s;
}

.control-btn:active {
    transform: scale(0.9);
}

.control-btn.secondary {
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.control-btn.primary {
    font-size: 1.2rem;
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Waveform Animation Reuse */
@keyframes wave {

    0%,
    100% {
        height: 30%;
    }

    50% {
        height: 100%;
    }
}

/* 5. Lecture Mode (Notes + AI Lecturer) */
.visual-lecture {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lecture-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    position: relative;
}

/* Notes Page */
.notes-page {
    flex: 1;
    background: rgba(25, 25, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notes-title {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.page-indicator {
    font-size: 0.55rem;
    color: var(--text-tertiary);
    background: rgba(99, 102, 241, 0.15);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: var(--accent-primary);
}

.notes-body {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.note-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    width: 100%;
}

.note-line.short {
    width: 60%;
}

.note-line.medium {
    width: 80%;
}

.note-highlight-section {
    position: relative;
    padding: 0.4rem;
    margin: 0.3rem 0;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 6px;
    border-left: 2px solid var(--accent-primary);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    animation: highlight-pulse 3s infinite;
}

@keyframes highlight-pulse {

    0%,
    100% {
        background: rgba(99, 102, 241, 0.08);
    }

    50% {
        background: rgba(99, 102, 241, 0.15);
    }
}

.highlight-marker {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.highlight-marker::after {
    content: '';
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.note-line.highlighted {
    background: rgba(99, 102, 241, 0.3);
}

/* Page Navigation */
.page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.nav-arrow {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.page-dots {
    display: flex;
    gap: 4px;
}

.page-dots .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s var(--ease-out);
}

.page-dots .dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 6px var(--accent-primary);
    transform: scale(1.2);
}

/* AI Lecturer Panel */
.lecturer-panel {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.lecturer-bubble {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
    position: relative;
    max-width: 100%;
}

.lecturer-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(99, 102, 241, 0.25);
}

.bubble-content {
    display: flex;
    align-items: center;
}

.speech-text {
    font-size: 0.6rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-style: italic;
}

.lecturer-bubble .typing-cursor {
    width: 1px;
    height: 0.7rem;
    background: var(--accent-primary);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

/* AI Lecturer Avatar */
.lecturer-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.4;
    }
}

.lecturer-avatar .avatar-emoji {
    font-size: 1.6rem;
    z-index: 2;
    animation: avatar-bob 3s ease-in-out infinite;
}

@keyframes avatar-bob {

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

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

/* Heatmap Visualization (New) */
.heatmap-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    padding: 1rem;
    width: 100%;
    max-width: 300px;
    /* Constrain width */
    margin: 0 auto;
}

.heatmap-cell {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.6s var(--ease-out);
}

.heatmap-cell.active-1 {
    background: rgba(99, 102, 241, 0.2);
}

.heatmap-cell.active-2 {
    background: rgba(99, 102, 241, 0.4);
}

.heatmap-cell.active-3 {
    background: rgba(99, 102, 241, 0.6);
}

.heatmap-cell.active-4 {
    background: rgba(99, 102, 241, 0.9);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOPIFY-STYLE ENHANCED ANIMATIONS & VISUAL EFFECTS
   Premium scroll-triggered animations, parallax, floating elements
   ═══════════════════════════════════════════════════════════════════════════ */

/* Floating Background Orbs */
.floating-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float-drift 20s ease-in-out infinite;
    will-change: transform, opacity;
}

.floating-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
    animation-duration: 25s;
}

.floating-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    top: 40%;
    right: -150px;
    animation-delay: -5s;
    animation-duration: 22s;
}

.floating-orb.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 28s;
}

.floating-orb.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    top: 60%;
    left: -100px;
    animation-delay: -15s;
    animation-duration: 30s;
}

@keyframes float-drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    25% {
        transform: translate(50px, -30px) scale(1.05);
        opacity: 0.5;
    }

    50% {
        transform: translate(20px, 40px) scale(0.95);
        opacity: 0.35;
    }

    75% {
        transform: translate(-30px, 20px) scale(1.02);
        opacity: 0.45;
    }
}

/* Section Transition Overlays */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--bg-body), transparent);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

section.has-gradient-top::before {
    opacity: 1;
}

/* Scroll-Linked Parallax Container */
.parallax-wrapper {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Enhanced Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition:
        opacity 1.2s var(--ease-shopify),
        transform 1.2s var(--ease-shopify);
    will-change: opacity, transform;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition:
        opacity 1s var(--ease-shopify),
        transform 1s var(--ease-bounce);
    will-change: opacity, transform;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-rotate {
    opacity: 0;
    transform: perspective(1000px) rotateX(15deg) translateY(40px);
    transition:
        opacity 1.2s var(--ease-shopify),
        transform 1.2s var(--ease-shopify);
    will-change: opacity, transform;
    transform-style: preserve-3d;
}

.reveal-rotate.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/* Staggered Children Animation */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s var(--ease-shopify),
        transform 0.8s var(--ease-shopify);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(7) {
    transition-delay: 0.35s;
}

.stagger-children.visible>*:nth-child(8) {
    transition-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(9) {
    transition-delay: 0.45s;
}

.stagger-children.visible>*:nth-child(10) {
    transition-delay: 0.5s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* Magnetic Hover Effect */
.magnetic-hover {
    transition: transform 0.3s var(--ease-out);
    will-change: transform;
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}

.text-reveal-inner {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s var(--ease-shopify);
}

.text-reveal.visible .text-reveal-inner {
    transform: translateY(0);
}

/* Gradient Text Animation */
.animated-gradient-text {
    background: linear-gradient(90deg,
            var(--accent-cyan) 0%,
            var(--accent-primary) 25%,
            var(--accent-secondary) 50%,
            var(--accent-tertiary) 75%,
            var(--accent-cyan) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s linear infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% center;
    }

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

/* Glow Pulse Effect */
.glow-pulse {
    animation: glow-pulse-anim 3s ease-in-out infinite;
}

@keyframes glow-pulse-anim {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 0 60px rgba(168, 85, 247, 0.3);
    }
}

/* Border Glow Animation */
.border-glow {
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg,
            transparent 30%,
            var(--accent-cyan) 50%,
            transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.border-glow:hover::before {
    opacity: 1;
}

@keyframes border-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    animation: shimmer-slide 3s ease-in-out infinite;
}

@keyframes shimmer-slide {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Scroll-Triggered Scale */
.scroll-scale {
    transition: transform 0.3s var(--ease-out);
    will-change: transform;
}

/* Section Color Transitions */
.section-dark {
    background: var(--bg-body);
}

.section-elevated {
    background: var(--bg-surface);
}

.section-gradient {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 50%, var(--bg-body) 100%);
}

.section-glow {
    position: relative;
}

.section-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Morphing Background */
.morph-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.morph-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    opacity: 0.3;
    animation: morph 15s ease-in-out infinite;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(45deg) scale(1.1);
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(90deg) scale(0.95);
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: rotate(135deg) scale(1.05);
    }
}

/* Card 3D Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s var(--ease-out);
}

.tilt-card-inner {
    transition: transform 0.3s var(--ease-out);
    transform-style: preserve-3d;
}

/* Floating Animation */
.float-subtle {
    animation: float-subtle-anim 6s ease-in-out infinite;
}

@keyframes float-subtle-anim {

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

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

/* Scroll-Linked Opacity */
.scroll-fade {
    transition: opacity 0.5s ease;
}

/* Enhanced Hero Animations */
.hero-title-line {
    overflow: hidden;
}

.hero-title-word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: word-reveal 1s var(--ease-shopify) forwards;
}

.hero-title-word:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title-word:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-title-word:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-title-word:nth-child(4) {
    animation-delay: 0.4s;
}

.hero-title-word:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes word-reveal {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

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

/* Scroll Progress Glow Enhancement */
.scroll-progress {
    box-shadow:
        0 0 20px rgba(0, 200, 255, 0.6),
        0 0 40px rgba(99, 102, 241, 0.4),
        0 0 60px rgba(168, 85, 247, 0.2);
}

/* Interactive Card Shine */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.card-shine:hover::before {
    left: 125%;
}

/* Counter Animation */
.counter-animate {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: relative;
}

.noise-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Scroll Snap Sections */
.scroll-snap-container {
    scroll-snap-type: y proximity;
    overflow-y: auto;
    height: 100vh;
}

.scroll-snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Sticky Section Headers */
.sticky-header {
    position: sticky;
    top: 80px;
    z-index: 10;
    background: var(--bg-body);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

/* Smooth Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
    margin: 0 auto;
    max-width: 80%;
}

/* Animated Underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.4s var(--ease-out);
}

.animated-underline:hover::after {
    width: 100%;
}

/* Breathing Glow Icon */
.glow-breathing {
    animation: breathing-glow 3s ease-in-out infinite;
}

@keyframes breathing-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6));
    }
}

/* Elastic Button */
.btn-elastic {
    transition: transform 0.4s var(--ease-spring);
}

.btn-elastic:active {
    transform: scale(0.92);
}

/* Viewport Enter Animations */
@keyframes slide-in-bottom {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
    }

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

@keyframes slide-in-left {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

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

@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

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

@keyframes zoom-in {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flip-in {
    0% {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }

    100% {
        opacity: 1;
        transform: perspective(400px) rotateY(0);
    }
}

/* Apply animations on scroll */
.animate-slide-bottom {
    animation: slide-in-bottom 1s var(--ease-shopify) forwards;
}

.animate-slide-left {
    animation: slide-in-left 1s var(--ease-shopify) forwards;
}

.animate-slide-right {
    animation: slide-in-right 1s var(--ease-shopify) forwards;
}

.animate-zoom {
    animation: zoom-in 0.8s var(--ease-bounce) forwards;
}

.animate-flip {
    animation: flip-in 0.8s var(--ease-out) forwards;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOPIFY EDITIONS WINTER 2026 - ADVANCED SCROLL ANIMATIONS
   Premium scroll-linked effects, 3D transforms, and cinematic transitions
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLL-LINKED OPACITY & SCALE - Elements fade/scale based on scroll position
   ───────────────────────────────────────────────────────────────────────────── */
.scroll-fade {
    transition: opacity 0.1s linear, transform 0.1s linear;
    will-change: opacity, transform;
}

.scroll-zoom {
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TEXT SPLIT REVEAL - Characters animate individually on scroll
   ───────────────────────────────────────────────────────────────────────────── */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px) rotateX(-90deg);
    transition: all 0.6s var(--ease-shopify);
    transform-origin: bottom center;
}

.split-text.visible .char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Stagger delay for each character */
.split-text .char:nth-child(1) {
    transition-delay: 0.02s;
}

.split-text .char:nth-child(2) {
    transition-delay: 0.04s;
}

.split-text .char:nth-child(3) {
    transition-delay: 0.06s;
}

.split-text .char:nth-child(4) {
    transition-delay: 0.08s;
}

.split-text .char:nth-child(5) {
    transition-delay: 0.10s;
}

.split-text .char:nth-child(6) {
    transition-delay: 0.12s;
}

.split-text .char:nth-child(7) {
    transition-delay: 0.14s;
}

.split-text .char:nth-child(8) {
    transition-delay: 0.16s;
}

.split-text .char:nth-child(9) {
    transition-delay: 0.18s;
}

.split-text .char:nth-child(10) {
    transition-delay: 0.20s;
}

.split-text .char:nth-child(11) {
    transition-delay: 0.22s;
}

.split-text .char:nth-child(12) {
    transition-delay: 0.24s;
}

.split-text .char:nth-child(13) {
    transition-delay: 0.26s;
}

.split-text .char:nth-child(14) {
    transition-delay: 0.28s;
}

.split-text .char:nth-child(15) {
    transition-delay: 0.30s;
}

/* ─────────────────────────────────────────────────────────────────────────────
   REVEAL MASK ANIMATION - Content slides in from behind a mask
   ───────────────────────────────────────────────────────────────────────────── */
.reveal-mask {
    position: relative;
    overflow: hidden;
}

.reveal-mask::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-body);
    transform: translateX(-101%);
    transition: transform 1s var(--ease-shopify);
    z-index: 2;
}

.reveal-mask.visible::before {
    transform: translateX(101%);
}

.reveal-mask-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--ease-shopify) 0.3s;
}

.reveal-mask.visible .reveal-mask-content {
    opacity: 1;
    transform: translateX(0);
}

/* ─────────────────────────────────────────────────────────────────────────────
   STICKY SCROLL SECTION - Content changes while section stays pinned
   ───────────────────────────────────────────────────────────────────────────── */
.sticky-section {
    position: relative;
    min-height: 300vh;
}

.sticky-section .sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sticky-section .sticky-item {
    position: absolute;
    opacity: 0;
    transform: translateY(100px) scale(0.9);
    transition: all 1s var(--ease-shopify);
    pointer-events: none;
}

.sticky-section .sticky-item.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PARALLAX DEPTH LAYERS - Multi-layer depth effect
   ───────────────────────────────────────────────────────────────────────────── */
.parallax-container {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-layer-back {
    transform: translateZ(-200px) scale(1.2);
}

.parallax-layer-mid {
    transform: translateZ(-100px) scale(1.1);
}

.parallax-layer-front {
    transform: translateZ(0);
}

/* ─────────────────────────────────────────────────────────────────────────────
   DOT GRID BACKGROUND - Animated particle grid effect
   ───────────────────────────────────────────────────────────────────────────── */
.dot-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(99, 102, 241, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
    animation: dotGridPulse 8s ease-in-out infinite;
}

@keyframes dotGridPulse {

    0%,
    100% {
        opacity: 0.3;
        background-size: 40px 40px;
    }

    50% {
        opacity: 0.5;
        background-size: 42px 42px;
    }
}

.dot-grid-bg.animated {
    animation: dotGridWave 15s linear infinite;
}

@keyframes dotGridWave {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   GRADIENT MESH BACKGROUND - Animated color mesh
   ───────────────────────────────────────────────────────────────────────────── */
.gradient-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 200, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: meshMove 20s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes meshMove {

    0%,
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
        transform: scale(1) rotate(0deg);
    }

    25% {
        background-position: 100% 0%, 0% 100%, 50% 0%;
        transform: scale(1.1) rotate(1deg);
    }

    50% {
        background-position: 100% 100%, 0% 0%, 0% 50%;
        transform: scale(1) rotate(0deg);
    }

    75% {
        background-position: 0% 100%, 100% 0%, 100% 50%;
        transform: scale(1.05) rotate(-1deg);
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLL-TRIGGERED COLOR SHIFT - Sections change color scheme on scroll
   ───────────────────────────────────────────────────────────────────────────── */
.color-shift {
    transition: background-color 1s var(--ease-shopify);
}

.color-shift.shift-purple {
    background-color: rgba(168, 85, 247, 0.05);
}

.color-shift.shift-cyan {
    background-color: rgba(0, 200, 255, 0.05);
}

.color-shift.shift-pink {
    background-color: rgba(236, 72, 153, 0.05);
}

/* ─────────────────────────────────────────────────────────────────────────────
   CINEMATIC ZOOM REVEAL - Elements zoom from background on scroll
   ───────────────────────────────────────────────────────────────────────────── */
.zoom-reveal {
    opacity: 0;
    transform: scale(0.5);
    filter: blur(20px);
    transition: all 1.2s var(--ease-shopify);
    will-change: opacity, transform, filter;
}

.zoom-reveal.visible {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* ─────────────────────────────────────────────────────────────────────────────
   3D CARD FLIP ON SCROLL - Cards rotate in 3D space
   ───────────────────────────────────────────────────────────────────────────── */
.flip-card-3d {
    perspective: 1500px;
}

.flip-card-inner {
    transform-style: preserve-3d;
    transform: rotateY(-30deg) rotateX(10deg);
    opacity: 0;
    transition: all 1s var(--ease-shopify);
}

.flip-card-3d.visible .flip-card-inner {
    transform: rotateY(0) rotateX(0);
    opacity: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SMOOTH COUNTER ANIMATION - Numbers count up smoothly
   ───────────────────────────────────────────────────────────────────────────── */
.counter-animate {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 3ch;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MAGNETIC HOVER ZONES - Elements attract to cursor
   ───────────────────────────────────────────────────────────────────────────── */
.magnetic {
    transition: transform 0.3s var(--ease-out);
    will-change: transform;
}

.magnetic:hover {
    transition: transform 0.1s linear;
}

/* ─────────────────────────────────────────────────────────────────────────────
   GLOW LINE ANIMATION - Animated border glow
   ───────────────────────────────────────────────────────────────────────────── */
.glow-border {
    position: relative;
    overflow: hidden;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            var(--accent-cyan) 60deg,
            var(--accent-primary) 120deg,
            var(--accent-secondary) 180deg,
            var(--accent-tertiary) 240deg,
            transparent 300deg,
            transparent 360deg);
    animation: glowBorderRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    z-index: -1;
}

.glow-border:hover::before {
    opacity: 1;
}

.glow-border::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-surface);
    border-radius: inherit;
    z-index: -1;
}

@keyframes glowBorderRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLL PROGRESS INDICATOR - Shows section progress
   ───────────────────────────────────────────────────────────────────────────── */
.section-progress {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.section-progress.visible {
    opacity: 1;
}

.section-progress .progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s var(--ease-shopify);
    cursor: pointer;
}

.section-progress .progress-dot.active {
    background: var(--accent-primary);
    transform: scale(1.5);
    box-shadow: 0 0 20px var(--accent-primary);
}

.section-progress .progress-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

/* ─────────────────────────────────────────────────────────────────────────────
   WAVE TEXT ANIMATION - Text waves on scroll
   ───────────────────────────────────────────────────────────────────────────── */
.wave-text .char {
    display: inline-block;
    animation: waveChar 2s ease-in-out infinite;
    animation-play-state: paused;
}

.wave-text.animating .char {
    animation-play-state: running;
}

@keyframes waveChar {

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

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

/* Stagger the wave effect */
.wave-text .char:nth-child(1) {
    animation-delay: 0s;
}

.wave-text .char:nth-child(2) {
    animation-delay: 0.05s;
}

.wave-text .char:nth-child(3) {
    animation-delay: 0.1s;
}

.wave-text .char:nth-child(4) {
    animation-delay: 0.15s;
}

.wave-text .char:nth-child(5) {
    animation-delay: 0.2s;
}

.wave-text .char:nth-child(6) {
    animation-delay: 0.25s;
}

.wave-text .char:nth-child(7) {
    animation-delay: 0.3s;
}

.wave-text .char:nth-child(8) {
    animation-delay: 0.35s;
}

.wave-text .char:nth-child(9) {
    animation-delay: 0.4s;
}

.wave-text .char:nth-child(10) {
    animation-delay: 0.45s;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BLUR REVEAL ENHANCED - More dramatic blur transition
   ───────────────────────────────────────────────────────────────────────────── */
.blur-reveal-dramatic {
    opacity: 0;
    filter: blur(40px);
    transform: translateY(80px) scale(0.85);
    transition:
        opacity 1.5s var(--ease-shopify),
        filter 1.5s var(--ease-shopify),
        transform 1.5s var(--ease-shopify);
    will-change: opacity, filter, transform;
}

.blur-reveal-dramatic.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

/* ─────────────────────────────────────────────────────────────────────────────
   FLOATING CARD ANIMATION - Cards float with subtle movement
   ───────────────────────────────────────────────────────────────────────────── */
.float-card {
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

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

    25% {
        transform: translateY(-10px) rotate(0.5deg);
    }

    50% {
        transform: translateY(-5px) rotate(0deg);
    }

    75% {
        transform: translateY(-15px) rotate(-0.5deg);
    }
}

.float-card:nth-child(odd) {
    animation-delay: -3s;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLL SNAP SECTIONS - Smooth section-by-section scrolling
   ───────────────────────────────────────────────────────────────────────────── */
.scroll-snap-container {
    scroll-snap-type: y proximity;
    overflow-y: scroll;
    height: 100vh;
}

.scroll-snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LINE DRAW ANIMATION - SVG lines draw on scroll
   ───────────────────────────────────────────────────────────────────────────── */
.line-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s var(--ease-shopify);
}

.line-draw.visible {
    stroke-dashoffset: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PERSPECTIVE SCROLL - 3D depth on scroll
   ───────────────────────────────────────────────────────────────────────────── */
.perspective-scroll {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.perspective-scroll-item {
    transform: translateZ(var(--z-offset, 0));
    transition: transform 0.3s var(--ease-out);
}

/* ─────────────────────────────────────────────────────────────────────────────
   ENHANCED HOVER LIFT - Cards lift with shadow on hover
   ───────────────────────────────────────────────────────────────────────────── */
.hover-lift {
    transition: all 0.5s var(--ease-shopify);
}

.hover-lift:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(99, 102, 241, 0.15),
        0 0 80px rgba(168, 85, 247, 0.1);
}

/* ─────────────────────────────────────────────────────────────────────────────
   AURORA BACKGROUND EFFECT
   ───────────────────────────────────────────────────────────────────────────── */
.aurora-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora-bg::before,
.aurora-bg::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: conic-gradient(from 180deg at 50% 50%,
            rgba(99, 102, 241, 0.3) 0deg,
            rgba(168, 85, 247, 0.2) 90deg,
            rgba(0, 200, 255, 0.3) 180deg,
            rgba(236, 72, 153, 0.2) 270deg,
            rgba(99, 102, 241, 0.3) 360deg);
    filter: blur(100px);
    animation: auroraRotate 30s linear infinite;
    opacity: 0.5;
}

.aurora-bg::after {
    animation-direction: reverse;
    animation-duration: 25s;
    opacity: 0.3;
}

@keyframes auroraRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SMOOTH SCROLL REVEAL SEQUENCE
   ───────────────────────────────────────────────────────────────────────────── */
.reveal-sequence>* {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-shopify);
}

.reveal-sequence.visible>*:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-sequence.visible>*:nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-sequence.visible>*:nth-child(3) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-sequence.visible>*:nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-sequence.visible>*:nth-child(5) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-sequence.visible>*:nth-child(6) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────────────────────
   GLASS MORPHISM ENHANCED
   ───────────────────────────────────────────────────────────────────────────── */
.glass-ultra {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLL-TRIGGERED GLOW INTENSIFY
   ───────────────────────────────────────────────────────────────────────────── */
.scroll-glow {
    transition: box-shadow 0.5s var(--ease-out);
}

.scroll-glow.intense {
    box-shadow:
        0 0 60px rgba(99, 102, 241, 0.4),
        0 0 120px rgba(168, 85, 247, 0.2),
        0 0 180px rgba(0, 200, 255, 0.1);
}

/* ─────────────────────────────────────────────────────────────────────────────
   SMOOTH NUMBER MORPH
   ───────────────────────────────────────────────────────────────────────────── */
.morph-number {
    display: inline-block;
    transition: transform 0.3s var(--ease-spring);
}

.morph-number.updating {
    transform: scale(1.2);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE HIDING FOR SECTION PROGRESS
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .section-progress {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIBENOTES FLOW SECTION - COMPLETE 9-FEATURE CONNECTED FLOW
   Visualizes all features connected in a seamless learning journey
   ═══════════════════════════════════════════════════════════════════════════ */

.flow-section {
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.flow-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Flow Grid Container - 3 columns layout */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* SVG Connections Layer */
.flow-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.flow-connections svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Connection path styling */
.flow-path {
    fill: none;
    stroke: url(#flowGradient);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.6;
    stroke-dasharray: 8 4;
    animation: dashFlow 1.5s linear infinite;
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -24;
    }
}

/* Glowing particle effect on paths */
.flow-particle-path {
    fill: none;
    stroke: url(#particleGradient);
    stroke-width: 6;
    stroke-linecap: round;
    filter: blur(3px);
    stroke-dasharray: 20 200;
    animation: particleTravel 4s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes particleTravel {
    0% {
        stroke-dashoffset: 220;
    }

    100% {
        stroke-dashoffset: -220;
    }
}

/* Individual Flow Steps */
.flow-step {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition:
        opacity 0.8s var(--ease-shopify),
        transform 0.8s var(--ease-shopify);
}

.flow-step.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger animation delays for 9 items */
.flow-step:nth-child(1) {
    transition-delay: 0s;
}

.flow-step:nth-child(2) {
    transition-delay: 0.1s;
}

.flow-step:nth-child(3) {
    transition-delay: 0.2s;
}

.flow-step:nth-child(4) {
    transition-delay: 0.3s;
}

.flow-step:nth-child(5) {
    transition-delay: 0.4s;
}

.flow-step:nth-child(6) {
    transition-delay: 0.5s;
}

.flow-step:nth-child(7) {
    transition-delay: 0.6s;
}

.flow-step:nth-child(8) {
    transition-delay: 0.7s;
}

.flow-step:nth-child(9) {
    transition-delay: 0.8s;
}

/* Scaled Feature Preview Container */
.flow-step-preview {
    width: 100%;
    height: 160px;
    position: relative;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition:
        transform 0.5s var(--ease-shopify),
        box-shadow 0.5s var(--ease-shopify),
        border-color 0.5s var(--ease-shopify);
}

.flow-step-preview:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow:
        0 20px 50px -15px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(99, 102, 241, 0.2);
}

/* Scale down the existing visual previews to fit */
.flow-step-preview .visual-preview {
    transform: scale(0.45);
    transform-origin: top left;
    width: 222%;
    /* Counter-scale: 100% / 0.45 ≈ 222% */
    height: 222%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    border: none;
}

/* Flow Step Label */
.flow-step-label {
    text-align: center;
    margin-top: 1rem;
}

.flow-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.flow-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.flow-step-subtitle {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Flow Step Icon Badge */
.flow-step-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ─────────────────────────────────────────────────────────────────────────────
   FLOW SECTION RESPONSIVE DESIGN
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .flow-connections {
        display: none;
    }

    .flow-step-preview {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .flow-section {
        padding: 4rem 0;
    }

    .flow-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 340px;
    }

    .flow-step-preview {
        height: 180px;
    }

    .flow-step-preview .visual-preview {
        transform: scale(0.5);
        width: 200%;
        height: 200%;
    }
}

@media (max-width: 480px) {
    .flow-grid {
        max-width: 300px;
    }

    .flow-step-preview {
        height: 160px;
    }
}

/* Flow Section Background Accent */
.flow-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: radial-gradient(ellipse at center,
            rgba(99, 102, 241, 0.06) 0%,
            rgba(168, 85, 247, 0.03) 40%,
            transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Flow Journey Title Connector Labels */
.flow-journey-label {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    z-index: 2;
}
/* ═══════════════════════════════════════════════════════════════════════════
   SCROLLYTELLING FLOW SECTION - Cinematic Journey
   震撼的滚动叙事体验
   ═══════════════════════════════════════════════════════════════════════════ */

.scrollytelling-flow-section {
    position: relative;
    background: #000000;
    overflow-x: hidden;
    perspective: 2000px;
    transform-style: preserve-3d;
}

/* AR/VR Immersive Floating Particles */
.scrollytelling-flow-section::before,
.scrollytelling-flow-section::after {
    content: '';
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatParticle 20s ease-in-out infinite;
}

.scrollytelling-flow-section::before {
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.scrollytelling-flow-section::after {
    background: radial-gradient(circle, var(--accent-secondary), transparent);
    bottom: 20%;
    right: 15%;
    animation-delay: -10s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -80px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50px, 100px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(80px, 50px) scale(1.1);
        opacity: 0.6;
    }
}

/* Parallax Background Layers - Enhanced with 3D depth */
.parallax-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.parallax-bg-layer.layer-1 {
    background: radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
    transform: translateZ(-100px) scale(1.1);
    animation: parallaxFloat1 25s ease-in-out infinite;
}

.parallax-bg-layer.layer-2 {
    background: radial-gradient(ellipse at 80% 70%, rgba(168, 85, 247, 0.18) 0%, transparent 50%);
    transform: translateZ(-50px) scale(1.05);
    animation: parallaxFloat2 30s ease-in-out infinite;
}

.parallax-bg-layer.layer-3 {
    background: radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 60%);
    transform: translateZ(-25px) scale(1.03);
    animation: parallaxFloat3 35s ease-in-out infinite;
}

@keyframes parallaxFloat1 {
    0%, 100% { transform: translateZ(-100px) scale(1.1) translate(0, 0); }
    50% { transform: translateZ(-100px) scale(1.1) translate(50px, -30px); }
}

@keyframes parallaxFloat2 {
    0%, 100% { transform: translateZ(-50px) scale(1.05) translate(0, 0); }
    50% { transform: translateZ(-50px) scale(1.05) translate(-40px, 40px); }
}

@keyframes parallaxFloat3 {
    0%, 100% { transform: translateZ(-25px) scale(1.03) translate(0, 0); }
    50% { transform: translateZ(-25px) scale(1.03) translate(30px, 50px); }
}

/* Flow Scene - Each step is a full viewport scene with AR/VR depth */
.flow-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none; /* Hidden by default to prevent overlay */
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform-style: preserve-3d;
    /* No opacity transition — JS scroll handler drives opacity directly */
}

.flow-scene.active {
    pointer-events: auto;
    z-index: 100; /* Ensure active scene is on top */
}

/* AR/VR Motion Trail Effect - Subtle */
.flow-scene::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(60deg);
    animation: rotateMotionTrail 50s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.flow-scene.active::before {
    opacity: 0.6;
}

@keyframes rotateMotionTrail {
    0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

/* Intro Scene - Enhanced with AR/VR atmosphere */
.intro-scene {
    height: 100vh;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(10, 5, 20, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

/* AR/VR Grid Background */
.intro-scene::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateZ(-200px);
    transform-origin: center bottom;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.intro-scene .scene-content {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.scene-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 2rem 0;
    color: white !important;
    opacity: 1;
    transform: translateY(0) translateZ(50px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
    text-shadow: 
        0 0 40px rgba(99, 102, 241, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.8);
    transform-style: preserve-3d;
}

.scene-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    transform: translateZ(30px);
}

.scroll-hint {
    margin-top: 4rem;
    font-size: 2rem;
    color: var(--accent-primary);
    opacity: 1;
    animation: fadeInBounce 1s ease-out 1s forwards, bounce3D 2s ease-in-out 2s infinite;
    filter: drop-shadow(0 0 20px var(--accent-primary));
    transform: translateZ(40px);
}

@keyframes bounce3D {
    0%, 100% { 
        transform: translateY(0) translateZ(40px);
        filter: drop-shadow(0 0 20px var(--accent-primary));
    }
    50% { 
        transform: translateY(-20px) translateZ(60px);
        filter: drop-shadow(0 10px 30px var(--accent-primary));
    }
}

/* Step Scenes - Sticky Scrollytelling */
.step-scene {
    height: 120vh;
    position: relative;
}

.scene-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 4rem;
    opacity: 0.85;
    transform: scale(0.98) translateZ(0);
    transition: opacity 0.5s ease-out, transform 0.5s var(--ease-shopify);
    transform-style: preserve-3d;
}

.scene-sticky.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

/* Scene Visual */
.scene-visual {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%, 
        rgba(168, 85, 247, 0.15) 100%
    );
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        inset 0 0 60px rgba(99, 102, 241, 0.1),
        0 0 40px rgba(99, 102, 241, 0.2);
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
    transition: all 0.6s var(--ease-shopify);
    transform-style: preserve-3d;
}

/* AR/VR Glass Reflection Effect - More visible */
.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: glassShine 6s ease-in-out infinite;
}

@keyframes glassShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* AR/VR Floating Particles inside card - More visible */
.visual-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 200, 255, 0.4) 0%, transparent 3%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.4) 0%, transparent 3%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.4) 0%, transparent 3%),
        radial-gradient(circle at 30% 80%, rgba(99, 102, 241, 0.4) 0%, transparent 3%),
        radial-gradient(circle at 70% 20%, rgba(132, 204, 22, 0.4) 0%, transparent 3%);
    animation: particleFloat 18s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1) translateZ(0);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-25px) scale(1.15) translateZ(20px);
        opacity: 0.9;
    }
}

.scene-sticky.active .visual-card {
    border-color: var(--accent-primary);
    box-shadow: 
        0 35px 90px rgba(99, 102, 241, 0.7),
        0 0 0 1px rgba(99, 102, 241, 0.5),
        inset 0 0 80px rgba(99, 102, 241, 0.15),
        0 0 60px rgba(99, 102, 241, 0.4);
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.visual-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 40px currentColor);
    animation: iconFloat3D 6s ease-in-out infinite;
    transform-style: preserve-3d;
    position: relative;
    z-index: 10;
}

/* AR/VR 3D Icon Float with depth */
@keyframes iconFloat3D {
    0%, 100% { 
        transform: translateY(0) translateZ(0) rotateY(-5deg) rotateX(5deg);
        filter: drop-shadow(0 5px 40px currentColor);
    }
    25% { 
        transform: translateY(-20px) translateZ(40px) rotateY(10deg) rotateX(-5deg);
        filter: drop-shadow(0 15px 50px currentColor);
    }
    50% { 
        transform: translateY(-30px) translateZ(60px) rotateY(-8deg) rotateX(8deg);
        filter: drop-shadow(0 25px 60px currentColor);
    }
    75% { 
        transform: translateY(-15px) translateZ(30px) rotateY(12deg) rotateX(-3deg);
        filter: drop-shadow(0 18px 55px currentColor);
    }
}

.visual-animation {
    width: 100%;
    padding: 2rem;
}

/* Scene Narrative */
.scene-narrative {
    flex: 1;
    max-width: 500px;
    opacity: 0.7;
    transform: translateX(30px) translateZ(0);
    transition: opacity 0.5s ease-out 0.1s, transform 0.5s var(--ease-shopify) 0.1s;
    transform-style: preserve-3d;
    position: relative;
}

/* AR/VR Text Glow Effect */
.scene-narrative::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
    pointer-events: none;
}

.scene-sticky.active .scene-narrative {
    opacity: 1;
    transform: translateX(0) translateZ(0);
}

.scene-sticky.active .scene-narrative::before {
    opacity: 0.8;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.narrative-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    position: relative;
    animation: titleShimmer 4s ease-in-out infinite;
}

/* AR/VR Title Shimmer Effect */
@keyframes titleShimmer {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
    }
}

.narrative-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Visual Animations for Each Step */

/* Foundation - File Import Animation with 3D depth */
.file-import-anim {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    transform-style: preserve-3d;
}

.file-item {
    font-size: 3rem;
    animation: fileSlideIn3D 2s ease-out infinite;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

@keyframes fileSlideIn3D {
    0% {
        opacity: 0;
        transform: translateY(-80px) translateZ(-50px) scale(0.3) rotateX(-90deg);
        filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
    }
    50% {
        opacity: 1;
        transform: translateY(0) translateZ(50px) scale(1.2) rotateX(0deg);
        filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.8));
    }
    100% {
        opacity: 0;
        transform: translateY(80px) translateZ(-50px) scale(0.3) rotateX(90deg);
        filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
    }
}

/* Indexing - Tag Cloud with 3D floating */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    transform-style: preserve-3d;
}

.tag {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    animation: tagPop3D 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    transform-style: preserve-3d;
}

@keyframes tagPop3D {
    0%, 100% {
        transform: scale(1) rotate(0deg) translateZ(0);
        opacity: 0.8;
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    }
    50% {
        transform: scale(1.2) rotate(5deg) translateZ(40px);
        opacity: 1;
        box-shadow: 0 20px 40px rgba(99, 102, 241, 0.8);
    }
}

/* Summary - Lines Animation with depth */
.summary-lines {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    transform-style: preserve-3d;
}

.sum-line {
    height: 12px;
    background: linear-gradient(90deg, 
        var(--accent-primary) 0%, 
        var(--accent-secondary) 50%,
        transparent 100%
    );
    border-radius: 6px;
    animation: lineExpand3D 2.5s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.sum-line.short { width: 60%; animation-delay: 0.2s; }
.sum-line.medium { width: 80%; animation-delay: 0.4s; }

@keyframes lineExpand3D {
    0%, 100% {
        transform: scaleX(0.7) translateZ(0);
        opacity: 0.5;
        box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    }
    50% {
        transform: scaleX(1) translateZ(20px);
        opacity: 1;
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.7);
    }
}

/* Podcast - Audio Waves with 3D pulsing */
.audio-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100px;
    transform-style: preserve-3d;
}

.audio-waves span {
    width: 8px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-primary));
    border-radius: 4px;
    animation: waveMove3D 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.6);
}

.audio-waves span:nth-child(1) { height: 30px; animation-delay: 0s; }
.audio-waves span:nth-child(2) { height: 60px; animation-delay: 0.1s; }
.audio-waves span:nth-child(3) { height: 80px; animation-delay: 0.2s; }
.audio-waves span:nth-child(4) { height: 50px; animation-delay: 0.3s; }
.audio-waves span:nth-child(5) { height: 70px; animation-delay: 0.4s; }
.audio-waves span:nth-child(6) { height: 40px; animation-delay: 0.5s; }
.audio-waves span:nth-child(7) { height: 65px; animation-delay: 0.6s; }
.audio-waves span:nth-child(8) { height: 35px; animation-delay: 0.7s; }

@keyframes waveMove3D {
    0%, 100% { 
        transform: scaleY(0.5) translateZ(0);
        opacity: 0.5;
        box-shadow: 0 0 10px rgba(0, 200, 255, 0.4);
    }
    50% { 
        transform: scaleY(1.2) translateZ(30px);
        opacity: 1;
        box-shadow: 0 10px 30px rgba(0, 200, 255, 0.9);
    }
}

/* Lecture - Typing Bubble with 3D float */
.lecture-bubble {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 25px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
    animation: bubbleFloat3D 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes bubbleFloat3D {
    0%, 100% {
        transform: translateY(0) translateZ(0) scale(1);
        box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
    }
    50% {
        transform: translateY(-15px) translateZ(30px) scale(1.05);
        box-shadow: 0 25px 60px rgba(99, 102, 241, 0.9);
    }
}

.cursor-blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hint - Bulb Glow with 3D pulse */
.hint-bulb-anim {
    font-size: 6rem;
    animation: bulbGlowPulse3D 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes bulbGlowPulse3D {
    0%, 100% { 
        filter: drop-shadow(0 0 30px #FCD34D);
        transform: scale(1) translateZ(0) rotateY(0deg);
    }
    50% { 
        filter: drop-shadow(0 20px 80px #FCD34D);
        transform: scale(1.4) translateZ(50px) rotateY(15deg);
    }
}

/* Quiz - Options */
/* Quiz - Options with 3D depth */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    transform-style: preserve-3d;
}

.quiz-opt {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.quiz-opt.correct {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: var(--accent-primary);
    color: white;
    animation: correctPulse3D 2.5s ease-in-out infinite;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.7);
}

@keyframes correctPulse3D {
    0%, 100% { 
        transform: scale(1) translateZ(0);
        box-shadow: 0 8px 30px rgba(99, 102, 241, 0.7);
    }
    50% { 
        transform: scale(1.08) translateZ(25px);
        box-shadow: 0 15px 45px rgba(99, 102, 241, 0.9);
    }
}

/* Scheduler - Calendar with 3D pop */
.calendar-anim {
    display: flex;
    gap: 1rem;
    justify-content: center;
    transform-style: preserve-3d;
}

.cal-day {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.cal-day.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: var(--accent-primary);
    animation: calendarHighlight3D 2.5s ease-in-out infinite;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.7);
}

@keyframes calendarHighlight3D {
    0%, 100% { 
        transform: scale(1) translateZ(0) rotateY(0deg);
        box-shadow: 0 8px 30px rgba(99, 102, 241, 0.7);
    }
    50% { 
        transform: scale(1.2) translateZ(30px) rotateY(10deg);
        box-shadow: 0 15px 45px rgba(99, 102, 241, 0.9);
    }
}

/* Review - Progress Ring with 3D rotation */
.progress-ring {
    position: relative;
    width: 150px;
    height: 150px;
    animation: ringRotate3D 8s ease-in-out infinite;
    transform-style: preserve-3d;
    filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.5));
}

@keyframes ringRotate3D {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg) scale(1);
        filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.5));
    }
    50% {
        transform: rotateY(15deg) rotateX(10deg) scale(1.1);
        filter: drop-shadow(0 20px 50px rgba(99, 102, 241, 0.8));
    }
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: url(#ringGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 25.12;
    animation: ringFill 3s ease-out infinite;
}

@keyframes ringFill {
    0% { stroke-dashoffset: 251.2; }
    100% { stroke-dashoffset: 25.12; }
}

.ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--accent-gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Finale Scene - Transformation Complete with AR/VR Celebration */
.finale-scene {
    height: 100vh;
    background: linear-gradient(180deg, 
        rgba(10, 5, 20, 0.95) 0%,
        rgba(0, 0, 0, 0.98) 100%
    );
    position: relative;
    overflow: hidden;
}

/* AR/VR Celebration Particles */
.finale-scene::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.4) 0%, transparent 2%),
        radial-gradient(circle at 90% 30%, rgba(168, 85, 247, 0.4) 0%, transparent 2%),
        radial-gradient(circle at 30% 70%, rgba(236, 72, 153, 0.4) 0%, transparent 2%),
        radial-gradient(circle at 70% 80%, rgba(0, 200, 255, 0.4) 0%, transparent 2%),
        radial-gradient(circle at 50% 10%, rgba(132, 204, 22, 0.4) 0%, transparent 2%),
        radial-gradient(circle at 20% 90%, rgba(99, 102, 241, 0.4) 0%, transparent 2%),
        radial-gradient(circle at 80% 60%, rgba(168, 85, 247, 0.4) 0%, transparent 2%);
    animation: celebrationParticles 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes celebrationParticles {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 1;
    }
}

.finale-content {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: scale(0.8) translateZ(-100px);
    transition: opacity 1.5s ease-out, transform 1.5s var(--ease-shopify);
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.finale-content.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

.transformation-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    transform-style: preserve-3d;
}

.transform-from,
.transform-to {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform-style: preserve-3d;
}

.transform-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 40px currentColor);
    transform-style: preserve-3d;
}

.transform-from .transform-icon {
    animation: iconPulse3D 3s ease-in-out infinite;
}

.transform-to .transform-icon {
    animation: iconCelebrate3D 3s ease-in-out infinite;
}

/* AR/VR 3D Icon Animations */
@keyframes iconPulse3D {
    0%, 100% { 
        transform: scale(1) translateZ(0);
        filter: drop-shadow(0 0 40px currentColor);
    }
    50% { 
        transform: scale(1.2) translateZ(30px);
        filter: drop-shadow(0 10px 60px currentColor);
    }
}

@keyframes iconCelebrate3D {
    0%, 100% { 
        transform: scale(1) rotate(0deg) translateZ(0);
        filter: drop-shadow(0 0 40px currentColor);
    }
    25% { 
        transform: scale(1.3) rotate(-15deg) translateZ(40px);
        filter: drop-shadow(0 15px 70px currentColor);
    }
    75% { 
        transform: scale(1.3) rotate(15deg) translateZ(40px);
        filter: drop-shadow(0 15px 70px currentColor);
    }
}

.transform-label {
    font-weight: 700;
    color: var(--text-secondary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.transform-arrow {
    font-size: 3rem;
    color: var(--accent-primary);
    animation: arrowSlide3D 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px var(--accent-primary));
}

@keyframes arrowSlide3D {
    0%, 100% { 
        transform: translateX(0) translateZ(0);
        filter: drop-shadow(0 0 30px var(--accent-primary));
    }
    50% { 
        transform: translateX(30px) translateZ(20px);
        filter: drop-shadow(0 5px 40px var(--accent-primary));
    }
}

.finale-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 
        0 0 50px rgba(99, 102, 241, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.8);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 50px rgba(99, 102, 241, 0.6),
            0 10px 40px rgba(0, 0, 0, 0.8);
    }
    50% {
        text-shadow: 
            0 0 80px rgba(99, 102, 241, 0.9),
            0 15px 50px rgba(0, 0, 0, 0.9);
    }
}

.finale-text {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.finale-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 20;
}

.finale-stat {
    text-align: center;
    position: relative;
    z-index: 20;
}

.stat-num {
    font-size: 5rem;
    font-weight: 900;
    background: var(--accent-gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-lbl {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .scene-sticky {
    flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .visual-card {
        width: 350px;
        height: 350px;
    }
    
    .narrative-title {
        font-size: 2.5rem;
    }
    
    .narrative-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .scene-title {
        font-size: 3rem;
    }
    
    .scene-subtitle {
        font-size: 1.2rem;
    }
    
    .visual-card {
        width: 300px;
        height: 300px;
    }
    
    .visual-icon {
        font-size: 3.5rem;
    }
    
    .narrative-title {
        font-size: 2rem;
    }
    
    .narrative-text {
        font-size: 1rem;
    }
    
    .scene-narrative {
        transform: translateX(0);
    }
    
    .transformation-visual {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .transform-arrow {
        transform: rotate(90deg);
    }
    
    .finale-title {
        font-size: 2.5rem;
    }
    
    .finale-text {
        font-size: 1.2rem;
    }
    
    .finale-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-num {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .scene-title {
        font-size: 2.5rem;
    }
    
    .visual-card {
        width: 280px;
        height: 280px;
    }
    
    .visual-icon {
        font-size: 3rem;
    }
    
    .narrative-title {
        font-size: 1.8rem;
    }
    
    .step-scene {
        height: 150vh;
    }
}

/* Add gradient for progress ring */
svg defs {
    display: none;
}

.progress-ring svg {
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

/* Central Animated Line */
.flow-central-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: translateX(-50%);
    z-index: 0;
}

.line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, 
        var(--accent-cyan) 0%,
        var(--accent-primary) 30%,
        var(--accent-secondary) 60%,
        var(--accent-tertiary) 80%,
        var(--accent-lime) 100%
    );
    border-radius: 2px;
    transition: height 2s var(--ease-shopify);
    box-shadow: 0 0 20px var(--accent-primary);
}

.flow-path-wrapper.active .line-progress {
    height: 100%;
}

.line-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    border-radius: 50%;
    animation: lineGlowMove 4s ease-in-out infinite;
    opacity: 0.6;
    filter: blur(10px);
}

@keyframes lineGlowMove {
    0%, 100% {
        top: 0%;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Flow Nodes */
.flow-node {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    transition: all 0.8s var(--ease-shopify);
}

.flow-node.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Stagger delays */
.flow-node[data-step="1"] { transition-delay: 0.1s; }
.flow-node[data-step="2"] { transition-delay: 0.2s; }
.flow-node[data-step="3"] { transition-delay: 0.3s; }
.flow-node[data-step="4"] { transition-delay: 0.4s; }
.flow-node[data-step="5"] { transition-delay: 0.5s; }
.flow-node[data-step="6"] { transition-delay: 0.6s; }
.flow-node[data-step="7"] { transition-delay: 0.7s; }
.flow-node[data-step="8"] { transition-delay: 0.8s; }
.flow-node[data-step="9"] { transition-delay: 0.9s; }

/* Node Circle */
.node-circle {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(168, 85, 247, 0.2) 100%
    );
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-shopify);
    box-shadow: 
        0 0 30px rgba(99, 102, 241, 0.4),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.node-circle:hover {
    transform: scale(1.2) rotate(10deg);
    border-color: var(--accent-secondary);
    box-shadow: 
        0 0 50px rgba(99, 102, 241, 0.8),
        inset 0 0 30px rgba(99, 102, 241, 0.2);
}

.node-circle.final-node {
    border-color: var(--accent-lime);
    background: linear-gradient(135deg, 
        rgba(132, 204, 22, 0.2) 0%, 
        rgba(234, 179, 8, 0.2) 100%
    );
    box-shadow: 
        0 0 40px rgba(132, 204, 22, 0.6),
        inset 0 0 20px rgba(132, 204, 22, 0.1);
}

.node-circle.final-node:hover {
    box-shadow: 
        0 0 60px rgba(132, 204, 22, 1),
        inset 0 0 30px rgba(132, 204, 22, 0.3);
}

.node-icon {
    font-size: 2.5rem;
    z-index: 2;
    animation: nodeIconFloat 3s ease-in-out infinite;
}

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

/* Node Pulse Effect */
.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: nodePulse 2s ease-out infinite;
}

@keyframes nodePulse {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.final-node .node-pulse {
    border-color: var(--accent-lime);
}

/* Node Label */
.node-label {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    min-width: 200px;
    transition: all 0.4s var(--ease-shopify);
}

.flow-node:hover .node-label {
    border-color: var(--accent-primary);
    background: rgba(10, 10, 12, 0.95);
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.node-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.node-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Flow Stats */
.flow-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 6rem;
    padding: 3rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(168, 85, 247, 0.05) 100%
    );
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
}

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

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--accent-gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .epic-flow-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .node-circle {
        width: 80px;
        height: 80px;
    }
    
    .node-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .epic-flow-section {
        padding: 4rem 0;
    }
    
    .flow-visualization-container {
        padding: 2rem 0;
    }
    
    .flow-node {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .node-label {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .flow-node:hover .node-label {
        transform: translateX(0) translateY(10px);
    }
    
    .epic-flow-section .section-header h2 {
        font-size: 2rem;
    }
    
    .epic-flow-section .section-header p {
        font-size: 1rem;
    }
    
    .marker-icon {
        font-size: 3rem;
    }
    
    .marker-label {
        font-size: 1.5rem;
    }
    
    .flow-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .node-circle {
        width: 70px;
        height: 70px;
    }
    
    .node-icon {
        font-size: 1.8rem;
    }
    
    .node-title {
        font-size: 1.2rem;
    }
    
    .node-desc {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}


/* Ripple Effect Animation */
@keyframes rippleEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(10);
        opacity: 0;
    }
}

/* Active Node State */
.flow-node.node-active .node-circle {
    transform: scale(1.3) rotate(15deg);
    border-color: var(--accent-secondary);
    box-shadow: 
        0 0 60px rgba(99, 102, 241, 1),
        inset 0 0 40px rgba(99, 102, 241, 0.3);
}

.flow-node.node-active .node-label {
    border-color: var(--accent-primary);
    background: rgba(10, 10, 12, 1);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.5);
}

.flow-node.node-active .node-icon {
    animation: nodeIconSpin 0.8s ease-out;
}

@keyframes nodeIconSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Force visibility for scrollytelling section */
.scrollytelling-flow-section {
    position: relative;
    background: #000000;
    overflow-x: hidden;
    color: white;
}

.scrollytelling-flow-section * {
    color: inherit;
}

.scene-content {
    position: relative;
    z-index: 10;
    color: white;
}

.scene-sticky {
    position: relative;
    z-index: 10;
    color: white;
}

.scene-title,
.narrative-title,
.finale-title {
    color: white !important;
}

.scene-subtitle,
.narrative-text,
.finale-text,
.step-number {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════

/* ═══════════════════════════════════════════════════════════════════════════
   FLOW SECTION - Centered, Consistent with Site Style
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   APPLE-STYLE SCROLL-DRIVEN FLOW SECTION
   Cinematic storytelling with smooth scroll-linked animations
   ═══════════════════════════════════════════════════════════════════════════ */

/* Each Scene - Positioned absolute (fixed in viewport), controlled by scroll */
.flow-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: none; /* Hidden by default to prevent overlay */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85) translateY(50px);
    /* No opacity/transform transition here — JS scroll handler drives these directly */
    z-index: 1;
    will-change: opacity, transform;
    pointer-events: none;
}

.flow-scene .container {
    width: min(100%, 1200px);
    max-width: 1200px;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.flow-scene.active {
    display: flex !important; /* Show active scene */
    opacity: 1;
    visibility: visible !important;
    transform: scale(1) translateY(0);
    /* No transition — JS scroll handler drives opacity/transform directly */
    pointer-events: auto;
    z-index: 100 !important;
}

/* Hide inactive scenes completely - CRITICAL for preventing overlap */
.flow-scene:not(.active) {
    display: none !important; /* Completely hide to prevent overlay */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Smooth fade between scenes */
.flow-scene.fading-out {
    opacity: 0 !important;
    transform: scale(0.95) translateY(-30px) !important;
    z-index: 50 !important;
}

/* Scene Hero - Enhanced spacing */
.scene-hero {
    z-index: 50;
    background: radial-gradient(ellipse at center, 
        rgba(99, 102, 241, 0.08) 0%, 
        rgba(168, 85, 247, 0.04) 34%,
        transparent 68%);
}

.scene-hero::before {
    content: "";
    position: absolute;
    inset: 18% 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(168, 85, 247, 0.12) 34%, rgba(236, 72, 153, 0.06) 52%, transparent 74%);
    filter: blur(45px);
    animation: heroCorePulse 4.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.scene-hero .container {
    position: relative;
    z-index: 200;
}

/* Journey badge - ensure it's visible and has proper spacing */
.scene-hero .hero-badge {
    margin-bottom: 2rem;
    position: relative;
    z-index: 300;
    display: inline-block;
}

/* Add scroll down indicator */
.scene-hero::after {
    content: '';
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes heroCorePulse {
    0%, 100% { opacity: 0.45; transform: scale(0.88); }
    50% { opacity: 0.95; transform: scale(1.08); }
}

/* AI Journey Image with Wave Effect */
/* ========================================
   WAVE IMAGE - EASY ADJUSTMENTS
   
   SIZE: Change the height value to make image bigger/smaller
   Recommended: 700px - 1000px
   
   BORDER: Adjust padding to add transparent space around image
   Current: 40px top/bottom, 80px left/right
   Increase for more border, decrease for less
   ======================================== */
.flow-hero-image-container {
    width: 100vw !important;
    max-width: none !important;
    height: 0 !important;
    padding-bottom: 56.227% !important; /* Exact aspect ratio: 1535/2730 = 0.56227 */
    margin: 3rem 0 5rem 0 !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    opacity: 1 !important;
    border-radius: 0;
    overflow: hidden;
    background: transparent !important;
    box-sizing: border-box !important;
}



.reveal-wave-canvas {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    cursor: pointer;
    background: transparent !important;
    border-radius: 0;
    overflow: hidden;
}

.flow-hero-image-container:hover {
}

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

/* Responsive sizing */
@media (max-width: 768px) {
    .flow-hero-image-container {
        padding-bottom: 75% !important;  /* Taller aspect ratio for mobile */
        margin: 2rem 0 3rem 0 !important;
    }
}

.flow-main-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3rem;
    margin-top: 3rem;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
    transition: transform 0.22s ease, text-shadow 0.22s ease, filter 0.22s ease, letter-spacing 0.22s ease;
    will-change: transform, text-shadow, filter;
}

.flow-main-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 2rem;
    transition: transform 0.22s ease;
    will-change: transform;
}

.scene-hero .hero-badge {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    will-change: transform, box-shadow;
}

/* Scene Problem (Chaos) - Enhanced spacing */
.scene-problem {
    z-index: 1;
    background: radial-gradient(ellipse at center, 
        rgba(236, 72, 153, 0.05) 0%, 
        transparent 60%);
}

.scene-problem .container {
    position: relative;
    z-index: 200;
}

.scene-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4rem;
    margin-top: 2rem;
    position: relative;
    z-index: 20;
    text-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
    line-height: 1.2;
    opacity: 0;
    filter: blur(24px);
    transform: translateY(60px) scale(0.88);
    /* opacity/filter/transform driven by JS scroll handler */
}

.chaos-visual {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 2rem auto 2rem; /* Reduced margins */
}

.chaos-item {
    position: absolute;
    font-size: 4rem; /* Larger icons */
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
    /* No transition — JS scroll handler drives these directly */
}

.chaos-item[data-chaos="1"] { top: 20%; left: 20%; }
.chaos-item[data-chaos="2"] { top: 30%; left: 70%; }
.chaos-item[data-chaos="3"] { top: 60%; left: 25%; }
.chaos-item[data-chaos="4"] { top: 70%; left: 75%; }
.chaos-item[data-chaos="5"] { top: 25%; left: 50%; }
.chaos-item[data-chaos="6"] { top: 75%; left: 50%; }

.chaos-question {
    position: absolute;
    font-size: 4rem;
    color: rgba(236, 72, 153, 0.6);
    font-weight: 900;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    /* No transition — JS scroll handler drives these directly */
}

.chaos-question[data-chaos="q1"] { top: 10%; left: 45%; }
.chaos-question[data-chaos="q2"] { top: 50%; left: 15%; }
.chaos-question[data-chaos="q3"] { top: 55%; left: 85%; }

/* Chaos item visibility is driven entirely by JS scroll handler */

.scene-description {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Scene Explosion (BOOM) - Enhanced spacing */
.scene-explosion {
    z-index: 1;
    background: radial-gradient(ellipse at center, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(168, 85, 247, 0.05) 40%,
        transparent 70%);
}

.scene-explosion .container {
    position: relative;
    z-index: 200;
    width: min(1200px, 100%);
    height: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 3rem);
}

.scene-explosion .scene-title {
    position: absolute;
    top: clamp(5.25rem, 13vh, 8rem);
    left: 0;
    right: 0;
    transform: translateY(0) scale(1);
    z-index: 25;
    margin: 0 auto;
    width: min(86vw, 980px);
    max-width: calc(100vw - 4rem);
    font-size: clamp(2.25rem, 4.6vw, 4rem);
    line-height: 1.05;
    white-space: normal;
    text-wrap: balance;
}

.explosion-center-logo {
    position: relative;
    padding: 3rem 4rem;
    background: rgba(10, 10, 12, 0.98);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 24px;
    box-shadow: 
        0 0 60px rgba(99, 102, 241, 0.4),
        0 0 120px rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(20px);
    transform: scale(0);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 20;
    display: none; /* Hide the logo, show only cards */
}

.scene-explosion.active .explosion-center-logo {
    transform: scale(1);
    opacity: 1;
}

.scene-explosion.exploding .explosion-center-logo {
    transform: scale(1.3);
    filter: brightness(2);
    box-shadow: 
        0 0 100px rgba(99, 102, 241, 0.8),
        0 0 200px rgba(168, 85, 247, 0.6),
        0 0 300px rgba(236, 72, 153, 0.4);
}

.logo-text {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #6366F1, #A855F7, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.ai-organizing-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    font-weight: 600;
    position: relative;
    z-index: 20;
}

/* BOOM Effect */
.boom-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 8rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 
        0 0 20px rgba(99, 102, 241, 1),
        0 0 40px rgba(168, 85, 247, 1),
        0 0 60px rgba(236, 72, 153, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    letter-spacing: 0.1em;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.scene-explosion.exploding .boom-effect {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
}

.scene-explosion.exploded .boom-effect {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
}

/* Background Image */
.explosion-bg-image {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(74vw, 960px);
    max-width: 960px;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    z-index: 5;
}

.explosion-bg-image img {
    width: 100%;
    max-height: 58svh;
    height: auto;
    object-fit: contain;
    filter: blur(1px) brightness(0.78) saturate(0.92);
    border-radius: 24px;
}

.scene-explosion.exploded .explosion-bg-image {
    opacity: 0.28;
}

/* Feature Cards Container */
.feature-cards-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 15;
}

.feature-card-mini {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    padding: clamp(0.9rem, 1.5vw, 1.2rem) clamp(1.1rem, 2vw, 1.6rem);
    background: rgba(10, 10, 12, 0.98);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
    white-space: nowrap;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(99, 102, 241, 0.2);
    will-change: transform, opacity;
    z-index: 30; /* Higher z-index to be above everything */
}

.feature-card-mini:hover {
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(99, 102, 241, 0.4);
    transform: translate(var(--tx), var(--ty)) scale(1.1) !important;
}

.card-icon-mini {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.card-name-mini {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 600;
    color: #FFFFFF;
}

/* Exploded positions */
.scene-explosion.exploded .feature-card-mini {
    opacity: var(--card-opacity, 0);
}

/* Mobile features grid — desktop hidden, mobile shown */
.mobile-features-grid {
    display: none;
}

@media (max-width: 1180px) and (min-width: 769px) {
    .scene-explosion .container {
        width: 100%;
        padding-inline: 1.25rem;
    }

    .scene-explosion .scene-title {
        font-size: clamp(2rem, 5vw, 3.4rem);
    }

    .explosion-bg-image {
        width: min(72vw, 760px);
    }

    .feature-card-mini {
        padding: 0.8rem 1rem;
        gap: 0.6rem;
    }

    .card-icon-mini {
        font-size: 1.25rem;
    }

    .card-name-mini {
        font-size: 0.82rem;
    }
}

/* Scene Reorganize - Enhanced spacing */
/* ===== Mastery Engine - Premium Circular UI ===== */

.ll-wrap {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 1.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 200;
}

.ll-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.ll-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.ll-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.ll-wrap::before {
    content: '';
    position: absolute;
    inset: 5% 8%;
    background:
        radial-gradient(circle at 20% 30%, rgba(99,102,241,0.22), transparent 45%),
        radial-gradient(circle at 70% 70%, rgba(236,72,153,0.18), transparent 42%),
        radial-gradient(circle at 85% 20%, rgba(168,85,247,0.16), transparent 38%);
    filter: blur(26px);
    pointer-events: none;
    z-index: -1;
}

@keyframes loopCounterRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* --- Diagram container --- */
.ll-diagram {
    position: relative;
    width: min(560px, 94vw);
    height: min(560px, 94vw);
    flex-shrink: 0;
    animation: loopRotate 34s linear infinite;
    perspective: 1200px;
}

.ll-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.28);
    box-shadow: 0 0 45px rgba(139, 92, 246, 0.18);
    transform-style: preserve-3d;
    pointer-events: none;
}

.ring-a {
    transform: translate(-50%, -50%) rotateX(72deg) rotateY(16deg);
    animation: sphereSpinA 22s linear infinite;
}

.ring-b {
    transform: translate(-50%, -50%) rotateY(76deg) rotateX(18deg);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 45px rgba(59, 130, 246, 0.16);
    animation: sphereSpinB 34s linear infinite reverse;
}

.ring-c {
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%) rotateX(84deg) rotateY(40deg);
    border-color: rgba(236, 72, 153, 0.24);
    box-shadow: 0 0 34px rgba(236, 72, 153, 0.16);
    animation: sphereSpinC 42s linear infinite;
}

@keyframes sphereSpinA {
    from { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); }
}

@keyframes sphereSpinB {
    from { transform: translate(-50%, -50%) rotateY(76deg) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateY(76deg) rotateZ(360deg); }
}

@keyframes sphereSpinC {
    from { transform: translate(-50%, -50%) rotateX(84deg) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateX(84deg) rotateZ(360deg); }
}

.ll-particles {
    position: absolute;
    inset: 8%;
    pointer-events: none;
    animation: loopRotate 70s linear infinite reverse;
}

.ll-p {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.75);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.9);
    animation: particlePulse 2.6s ease-in-out infinite;
}

.ll-p.p1 { top: 8%; left: 52%; animation-delay: 0s; }
.ll-p.p2 { top: 24%; left: 84%; animation-delay: 0.6s; }
.ll-p.p3 { top: 50%; left: 92%; animation-delay: 1.2s; }
.ll-p.p4 { top: 82%; left: 68%; animation-delay: 1.8s; }
.ll-p.p5 { top: 72%; left: 22%; animation-delay: 2.2s; }
.ll-p.p6 { top: 34%; left: 10%; animation-delay: 2.8s; }

@keyframes particlePulse {
    0%, 100% { opacity: 0.35; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.35); }
}

@keyframes loopRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ll-orbit-lane {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    border: 1px dashed rgba(168, 85, 247, 0.28);
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.3));
    pointer-events: none;
}

.ll-orbit-lane.l2 {
    inset: 23%;
    border-color: rgba(59, 130, 246, 0.24);
    transform: rotate(24deg);
}

.ll-wireframe {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.32));
    animation: wireframeSpin 48s linear infinite;
}

.ll-lat,
.ll-lon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(167, 139, 250, 0.33);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ll-lat.lat-1 { transform: translate(-50%, -50%) scaleY(0.2) translateY(-145px); }
.ll-lat.lat-2 { transform: translate(-50%, -50%) scaleY(0.42) translateY(-70px); }
.ll-lat.lat-3 { transform: translate(-50%, -50%) scaleY(0.58); }
.ll-lat.lat-4 { transform: translate(-50%, -50%) scaleY(0.42) translateY(70px); }
.ll-lat.lat-5 { transform: translate(-50%, -50%) scaleY(0.2) translateY(145px); }

.ll-lon.lon-1 { transform: translate(-50%, -50%) scaleX(0.16) rotate(8deg); }
.ll-lon.lon-2 { transform: translate(-50%, -50%) scaleX(0.34) rotate(-8deg); }
.ll-lon.lon-3 { transform: translate(-50%, -50%) scaleX(0.56) rotate(8deg); }
.ll-lon.lon-4 { transform: translate(-50%, -50%) scaleX(0.72) rotate(-8deg); }
.ll-lon.lon-5 { transform: translate(-50%, -50%) scaleX(0.86) rotate(8deg); }
.ll-lon.lon-6 { transform: translate(-50%, -50%) scaleX(1) rotate(-8deg); }

@keyframes wireframeSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ll-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ll-arc {
    animation: llArcSpin 26s linear infinite;
    transform-origin: 200px 200px;
}

@keyframes llArcSpin {
    0%   { stroke-dashoffset: 942; }
    100% { stroke-dashoffset: 0; }
}

/* --- Hub --- */
.ll-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(135deg, rgba(99,102,241,0.25) 0%, rgba(10,10,18,0.95) 100%);
    border: 1.5px solid rgba(99,102,241,0.55);
    box-shadow: 0 0 40px rgba(99,102,241,0.3), inset 0 0 30px rgba(99,102,241,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    animation: hubPulse 3s ease-in-out infinite, loopCounterRotate 34s linear infinite;
    z-index: 10;
}

.ll-hub-inner {
    text-align: center;
}

.ll-hub-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.ll-hub-name {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    line-height: 1.3;
}

@keyframes hubPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(99,102,241,0.25), inset 0 0 20px rgba(99,102,241,0.08); }
    50%       { box-shadow: 0 0 55px rgba(168,85,247,0.45), inset 0 0 35px rgba(168,85,247,0.15); }
}

/* --- Stage cards --- */
.ll-stage {
    position: absolute;
    top: var(--sy);
    left: var(--sx);
    transform: translate(-50%, -50%);
    z-index: 20;
    cursor: pointer;
    animation: loopCounterRotate 34s linear infinite;
}

.ll-stage-inner {
    background: rgba(10,10,18,0.9);
    border: 1px solid rgba(99,102,241,0.42);
    border-radius: 16px;
    padding: 0.7rem 0.85rem;
    min-width: 168px;
    max-width: 168px;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 16px rgba(99,102,241,0.15);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.ll-stage.active .ll-stage-inner {
    border-color: rgba(236,72,153,0.85);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 28px rgba(236,72,153,0.4);
    transform: scale(1.07);
}

.ll-stage:hover .ll-stage-inner {
    border-color: rgba(168,85,247,0.9);
    box-shadow: 0 12px 40px rgba(0,0,0,0.7), 0 0 32px rgba(168,85,247,0.4);
    transform: scale(1.09) translateY(-4px);
}

.ll-stage-num {
    font-size: 0.65rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366F1, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.ll-stage-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.4rem;
}

.ll-stage-features {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ll-stage-features span {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Detail panel (click to expand) --- */
.ll-detail-panel {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    background: rgba(10,10,20,0.97);
    border: 1px solid rgba(168,85,247,0.55);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    min-width: 200px;
    max-width: 240px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 24px rgba(168,85,247,0.25);
    backdrop-filter: blur(20px);
    z-index: 100;
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s ease;
    pointer-events: none;
}

.ll-stage.expanded .ll-detail-panel {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

.ll-detail-panel strong {
    display: block;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.45rem;
}

.ll-detail-panel p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0 0 0.55rem;
}

.ll-outcome {
    font-size: 0.68rem;
    font-weight: 700;
    color: #A855F7;
    padding: 0.3rem 0.6rem;
    background: rgba(168,85,247,0.12);
    border-radius: 8px;
    border: 1px solid rgba(168,85,247,0.3);
}

/* --- Mobile cards --- */
.ll-mc {
    scroll-snap-align: center;
    flex: 0 0 80vw;
    max-width: 300px;
    background: rgba(10,10,18,0.9);
    border: 1px solid rgba(99,102,241,0.35);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    backdrop-filter: blur(14px);
    transition: border-color 0.3s;
}

.ll-mc.active {
    border-color: rgba(236,72,153,0.7);
    box-shadow: 0 0 22px rgba(236,72,153,0.25);
}

.ll-mc-n {
    font-size: 0.65rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366F1, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}

.ll-mc strong {
    font-size: 1rem;
    color: #fff;
}

.ll-mc small {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
}

.ll-mobile-dots {
    display: none;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.ll-mobile-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: background 0.3s;
}

.ll-mobile-dots span.active {
    background: #A855F7;
}

@media (max-width: 640px) {
    .ll-diagram { display: none; }
    .ll-mobile-dots { display: flex; }
}

/* ===== OLD scene-reorganize (kept for z-index/bg) ===== */
.scene-reorganize {
    z-index: 1;
    background: radial-gradient(ellipse at center,
        rgba(168, 85, 247, 0.08) 0%,
        transparent 60%);
}

/* Scene Finale Styles */
.mastery-results {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

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

.result-value {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366F1, #A855F7, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.result-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Scene Finale - Enhanced spacing */
.scene-finale {
    z-index: 1;
    background: radial-gradient(ellipse at center, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(236, 72, 153, 0.05) 50%,
        transparent 70%);
}

.scene-finale .container {
    position: relative;
    z-index: 200;
}

.scene-finale .btn {
    position: relative;
    z-index: 300;
    margin-top: 2rem;
}

.finale-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 2rem; /* Reduced spacing */
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
    position: relative;
    z-index: 20;
    line-height: 1.1;
}

.finale-subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem; /* Reduced spacing */
    position: relative;
    z-index: 20;
    line-height: 1.5;
}

/* Scroll Progress Indicator */
.flow-scroll-progress {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366F1, #A855F7, #EC4899);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

#timeline {
    scroll-margin-top: 5rem;
}

#timeline .reveal-blur,
#timeline .fade-in-up {
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

#timeline .reveal-blur {
    transform: translateY(32px) scale(0.98);
    filter: blur(12px);
}

#timeline .fade-in-up {
    transform: translateY(28px);
}

/* Add scroll hint text */
.flow-scroll-progress::after {
    content: 'Scroll to explore';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .flow-main-title {
        font-size: clamp(2.15rem, 10vw, 2.85rem);
    }
    
    .chaos-visual {
        height: 300px;
    }
    
    .chaos-item {
        font-size: 2rem;
    }
    
    .chaos-question {
        font-size: 2.5rem;
    }
    
    .boom-effect {
        font-size: 4rem;
    }
    
    .explosion-center-logo {
        padding: 2rem 2.5rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .feature-card-mini {
        padding: 0.75rem 1rem;
    }
    
    .card-name-mini {
        font-size: 0.8rem;
    }
    
    /* Function blocks responsive - already defined above */
    
    .mastery-results {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .scene-reorganize,
    .scene-finale {
        padding: 2rem 0;
    }
}

/* Three.js Nebula Shader Background */
.flow-nebula-background {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: calc(0.18 + (var(--flow-presence, 1) * 0.52));
    mix-blend-mode: screen;
}

/* Add atmospheric glow overlay */
/* Background Image Container (Overlay on shader) */
.flow-bg-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 900px;
    height: 50%;
    z-index: 1;
    overflow: hidden;
    border-radius: 40px;
    opacity: 0;
    animation: bgFadeIn 1.5s ease-out 0.5s forwards;
    pointer-events: none;
}

@keyframes bgFadeIn {
    to {
        opacity: 1;
    }
}

.flow-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.3;
    filter: blur(1px) brightness(0.9);
}

.flow-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, 
        rgba(0,0,0,0.2) 0%, 
        rgba(0,0,0,0.6) 60%, 
        rgba(0,0,0,0.9) 100%);
}

/* Flow Hero */
.flow-explosive-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

.flow-hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.flow-explosive-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    animation: titleFadeIn 1.5s var(--ease-shopify) forwards;
    text-shadow: 
        0 0 40px rgba(99, 102, 241, 0.5),
        0 0 80px rgba(168, 85, 247, 0.3);
}

.gradient-text-flow {
    background: linear-gradient(135deg, #00C8FF 0%, #6366F1 35%, #A855F7 65%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    background-size: 200% 200%;
}

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

.flow-explosive-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    font-weight: 400;
    animation: subtitleFadeIn 1.5s var(--ease-shopify) 0.3s forwards;
    opacity: 0;
}

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

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

/* Explosion Stage */
.flow-explosion-stage {
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    transition: transform 0.3s var(--ease-shopify);
}

.flow-explosion-stage .container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 800px;
    z-index: 10;
}

/* Trigger explosion on scroll */
.flow-explosion-stage.exploded .feature-card {
    animation-play-state: running;
}

.flow-explosion-stage.exploded .connect-line {
    animation-play-state: running;
}

.flow-explosion-stage.exploded .explosion-center {
    animation: centerExplode 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.flow-explosion-stage.exploded::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: shockwave 1s ease-out forwards;
    pointer-events: none;
    z-index: 15;
}

@keyframes centerExplode {
    0% {
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
    }
    30% {
        transform: translate(-50%, -50%) scale(0.9);
        filter: brightness(1.5);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.4);
        filter: brightness(2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
    }
}

/* BOOM Text Effect */
.boom-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 8rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 
        0 0 20px rgba(99, 102, 241, 1),
        0 0 40px rgba(168, 85, 247, 1),
        0 0 60px rgba(236, 72, 153, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    letter-spacing: 0.1em;
}

.flow-explosion-stage.exploded .boom-text {
    animation: boomAppear 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes boomAppear {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-20deg);
        opacity: 0;
    }
    40% {
        transform: translate(-50%, -50%) scale(1.5) rotate(5deg);
        opacity: 1;
    }
    60% {
        transform: translate(-50%, -50%) scale(1.3) rotate(-2deg);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1.4) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2) rotate(0deg);
        opacity: 0;
    }
}

@keyframes shockwave {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }
    100% {
        width: 1200px;
        height: 1200px;
        opacity: 0;
    }
}

/* Central Explosion Point */
.explosion-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    animation: centerPulse 3s ease-in-out infinite;
}

.center-logo {
    position: relative;
    padding: 3rem 4rem;
    background: rgba(10, 10, 12, 0.98);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 24px;
    box-shadow: 
        0 0 60px rgba(99, 102, 241, 0.4),
        0 0 120px rgba(168, 85, 247, 0.3),
        inset 0 0 40px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(20px);
    z-index: 20;
}

.logo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 24px;
    filter: blur(30px);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.logo-text {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #6366F1, #A855F7, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.ai-badge {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    font-weight: 600;
    text-align: center;
    animation: badgeBlink 2s ease-in-out infinite;
}

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

@keyframes centerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* Exploding Feature Cards */
.exploding-features {
    position: absolute;
    inset: 0;
}

.feature-card {
    position: absolute;
    padding: 2rem;
    background: rgba(10, 10, 12, 0.98);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(99, 102, 241, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    animation: explodeOut 1s var(--ease-shopify) forwards;
    animation-play-state: paused;
    transition: all 0.4s var(--ease-shopify);
    cursor: pointer;
    min-width: 200px;
    z-index: 15;
}

.feature-card:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(99, 102, 241, 0.4);
}

@keyframes explodeOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        filter: blur(10px);
    }
    50% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.6), calc(var(--ty) * 0.6)) scale(1.2) rotate(10deg);
        filter: blur(0px);
    }
    70% {
        transform: translate(calc(var(--tx) * 1.1), calc(var(--ty) * 1.1)) scale(0.95) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: translate(var(--tx), var(--ty)) scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

/* Position each card */
.explode-tl {
    top: 15%;
    left: 20%;
    --tx: -50%;
    --ty: -50%;
    animation-delay: 0.2s;
}

.explode-t {
    top: 10%;
    left: 50%;
    --tx: -50%;
    --ty: -50%;
    animation-delay: 0.3s;
}

.explode-tr {
    top: 15%;
    left: 80%;
    --tx: -50%;
    --ty: -50%;
    animation-delay: 0.4s;
}

.explode-l {
    top: 50%;
    left: 10%;
    --tx: -50%;
    --ty: -50%;
    animation-delay: 0.5s;
}

.explode-r {
    top: 50%;
    left: 90%;
    --tx: -50%;
    --ty: -50%;
    animation-delay: 0.6s;
}

.explode-bl {
    top: 85%;
    left: 20%;
    --tx: -50%;
    --ty: -50%;
    animation-delay: 0.7s;
}

.explode-b {
    top: 90%;
    left: 50%;
    --tx: -50%;
    --ty: -50%;
    animation-delay: 0.8s;
}

.explode-br {
    top: 85%;
    left: 80%;
    --tx: -50%;
    --ty: -50%;
    animation-delay: 0.9s;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF, #A0A0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.connect-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 1.5s ease-out forwards;
    animation-play-state: paused;
    opacity: 0.6;
}

.line-1 { animation-delay: 0.2s; }
.line-2 { animation-delay: 0.3s; }
.line-3 { animation-delay: 0.4s; }
.line-4 { animation-delay: 0.5s; }
.line-5 { animation-delay: 0.6s; }
.line-6 { animation-delay: 0.7s; }
.line-7 { animation-delay: 0.8s; }
.line-8 { animation-delay: 0.9s; }

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Floating Files/Folders */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.float-file {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: fileFloat 4s ease-in-out infinite;
}

.file-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.file-2 {
    top: 30%;
    left: 85%;
    animation-delay: 0.5s;
}

.file-3 {
    top: 60%;
    left: 10%;
    animation-delay: 1s;
}

.file-4 {
    top: 70%;
    left: 88%;
    animation-delay: 1.5s;
}

.file-5 {
    top: 15%;
    left: 50%;
    animation-delay: 2s;
}

.file-6 {
    top: 85%;
    left: 30%;
    animation-delay: 2.5s;
}

.file-7 {
    top: 40%;
    left: 5%;
    animation-delay: 3s;
}

.file-8 {
    top: 50%;
    left: 95%;
    animation-delay: 3.5s;
}

@keyframes fileFloat {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    20% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
        transform: translateY(-30px) rotate(10deg);
    }
    80% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP 1: THE CHAOS (Problem State)
   ═══════════════════════════════════════════════════════════════════════════ */

.flow-story-step {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

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

.step-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(168, 85, 247, 0.3));
    border: 2px solid rgba(236, 72, 153, 0.5);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.step-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(236, 72, 153, 0.5);
}

.step-description {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Chaos Container */
.chaos-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
}

.chaos-item {
    position: absolute;
    font-size: 3rem;
    animation: chaosFloat 3s ease-in-out infinite;
    opacity: 0.7;
}

.chaos-item.item-1 { top: 10%; left: 15%; animation-delay: 0s; }
.chaos-item.item-2 { top: 30%; left: 70%; animation-delay: 0.5s; transform: rotate(15deg); }
.chaos-item.item-3 { top: 60%; left: 20%; animation-delay: 1s; transform: rotate(-10deg); }
.chaos-item.item-4 { top: 70%; left: 80%; animation-delay: 1.5s; }
.chaos-item.item-5 { top: 20%; left: 50%; animation-delay: 2s; transform: rotate(20deg); }
.chaos-item.item-6 { top: 80%; left: 50%; animation-delay: 2.5s; transform: rotate(-15deg); }

@keyframes chaosFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.9;
    }
}

.chaos-question {
    position: absolute;
    font-size: 4rem;
    color: rgba(236, 72, 153, 0.6);
    font-weight: 900;
    animation: questionBounce 2s ease-in-out infinite;
}

.chaos-question.q-1 { top: 5%; left: 40%; animation-delay: 0s; }
.chaos-question.q-2 { top: 45%; left: 10%; animation-delay: 0.7s; }
.chaos-question.q-3 { top: 50%; left: 85%; animation-delay: 1.4s; }

@keyframes questionBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-40px) scale(1.2);
        opacity: 0.8;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP 3: THE LEARNING PATH (Organized Flow)
   ═══════════════════════════════════════════════════════════════════════════ */

.flow-learning-path {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.path-header {
    text-align: center;
    margin-bottom: 6rem;
}

.path-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

.path-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
}

/* Learning Path Container */
.learning-path-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Path Stage */
.path-stage {
    margin-bottom: 4rem;
    opacity: 0;
    animation: stageReveal 1s var(--ease-shopify) forwards;
}

.path-stage.stage-1 { animation-delay: 0.2s; }
.path-stage.stage-2 { animation-delay: 0.4s; }
.path-stage.stage-3 { animation-delay: 0.6s; }
.path-stage.stage-4 { animation-delay: 0.8s; }

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

.stage-content {
    background: rgba(10, 10, 12, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    transition: all 0.4s var(--ease-shopify);
}

.path-stage:hover .stage-content {
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateX(10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(99, 102, 241, 0.3);
}

.stage-number {
    position: absolute;
    top: -20px;
    left: 3rem;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366F1, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stage-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.stage-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Stage Features */
.stage-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stage-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    transition: all 0.3s var(--ease-shopify);
}

.stage-feature:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: scale(1.05);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-name {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Stage Arrow */
.stage-arrow {
    text-align: center;
    font-size: 3rem;
    color: var(--accent-primary);
    margin: 2rem 0;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(15px); opacity: 1; }
}

/* Mastery Stats */
.mastery-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366F1, #A855F7, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Card Step Badges */
.card-step-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Flow Finale */
.flow-finale {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

.flow-finale .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.finale-heading {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    max-width: 900px;
    line-height: 1.2;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    text-shadow: 
        0 0 30px rgba(99, 102, 241, 0.4),
        0 0 60px rgba(168, 85, 247, 0.2);
}

.finale-subtext {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
}

/* Responsive */
@media (max-width: 1200px) {
    .flow-explosion-stage .container {
        height: 700px;
    }
    
    .feature-card {
        min-width: 180px;
        padding: 1.5rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .flow-explosion-stage {
        padding: 4rem 1rem;
    }
    
    .flow-explosion-stage .container {
        height: 600px;
    }
    
    .feature-card {
        min-width: 140px;
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-desc {
        font-size: 0.8rem;
    }
    
    .center-logo {
        padding: 2rem 2.5rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .boom-text {
        font-size: 4rem;
    }
    
    .flow-bg-container {
        width: 95%;
        height: 60%;
    }
    
    .chaos-container {
        height: 300px;
    }
    
    .chaos-item {
        font-size: 2rem;
    }
    
    .chaos-question {
        font-size: 2.5rem;
    }
    
    .stage-features {
        flex-direction: column;
    }
    
    .mastery-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stage-content {
        padding: 2rem;
    }
    
    .stage-number {
        font-size: 3rem;
        left: 2rem;
    }
}



/* ═══════════════════════════════════════════════════════════════════════════
   ZOOM PARALLAX SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.zoom-parallax-section {
    position: relative;
    background: var(--bg-body);
}

.zoom-parallax-container {
    height: 300vh;
    position: relative;
}

.zoom-parallax-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-image-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.parallax-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Image 1 - Center large */
.parallax-img-1 {
    width: 25vw;
    height: 25vh;
    z-index: 1;
}

/* Image 2 - Top left */
.parallax-img-2 {
    width: 35vw;
    height: 30vh;
    top: -30vh;
    left: 5vw;
    z-index: 2;
}

/* Image 3 - Top far left */
.parallax-img-3 {
    width: 20vw;
    height: 45vh;
    top: -10vh;
    left: -25vw;
    z-index: 3;
}

/* Image 4 - Center right */
.parallax-img-4 {
    width: 25vw;
    height: 25vh;
    left: 27.5vw;
    z-index: 2;
}

/* Image 5 - Bottom left */
.parallax-img-5 {
    width: 20vw;
    height: 25vh;
    top: 27.5vh;
    left: 5vw;
    z-index: 1;
}

@media (max-width: 768px) {
    .parallax-image-wrapper {
        width: 40vw !important;
        height: 20vh !important;
    }
    
    .parallax-img-2 {
        top: -20vh !important;
        left: 10vw !important;
    }
    
    .parallax-img-3 {
        left: -15vw !important;
    }
    
    .parallax-img-4 {
        left: 20vw !important;
    }
    
    .parallax-img-5 {
        top: 20vh !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEW PRICING CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.pricing-section-new {
    padding: 8rem 0;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.pricing-section-new::before {
    content: '';
    position: absolute;
    inset: -18rem 8% auto;
    height: 32rem;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(49, 49, 245, 0.22), transparent 62%),
        linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: auto, 70px 80px, 70px 80px;
    filter: blur(0.2px);
    opacity: 0.78;
    mask-image: radial-gradient(55% 60% at 50% 28%, #000, transparent 82%);
    -webkit-mask-image: radial-gradient(55% 60% at 50% 28%, #000, transparent 82%);
}

.pricing-section-new::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -24rem;
    width: min(86rem, 128vw);
    height: 62rem;
    pointer-events: none;
    border: 11rem solid rgba(49, 49, 245, 0.17);
    border-radius: 50%;
    transform: translateX(-50%);
    filter: blur(76px);
    opacity: 0;
    transition: opacity 900ms ease;
}

.pricing-section-new.pricing-in-view::after {
    opacity: 1;
}

.pricing-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
    text-align: center;
}

.pricing-appear {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
    filter: blur(10px);
    transition:
        opacity 520ms ease,
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 620ms ease;
    transition-delay: var(--pricing-delay, 0ms);
    will-change: opacity, transform, filter;
}

.pricing-section-new.pricing-in-view .pricing-appear {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.pricing-cards-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

/* Card base */
.pcard {
    border-radius: 28px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 1.7rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.pcard:hover {
    transform: translateY(-6px);
}

/* Solid card fill colors */
.pcard-basic  { background: #2A2A2E; box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.pcard-notetaker { background: #1E2A3A; box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.pcard-pro    { background: #3A1018; box-shadow: 0 12px 50px rgba(180,20,40,0.25); }
.pcard-ultra  { background: #1A2015; box-shadow: 0 8px 40px rgba(0,0,0,0.4); }

.pcard:hover.pcard-basic     { box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.pcard:hover.pcard-notetaker { box-shadow: 0 20px 60px rgba(30,60,120,0.35); }
.pcard:hover.pcard-pro       { box-shadow: 0 20px 60px rgba(200,30,50,0.35); }
.pcard:hover.pcard-ultra     { box-shadow: 0 20px 60px rgba(40,80,20,0.35); }

/* Floating pill label above card */
.pcard-pill {
    position: absolute;
    top: -0.78rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 5.6rem;
    background: linear-gradient(180deg, #081327 0%, #050B18 100%);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-align: center;
    padding: 0.46rem 1.02rem 0.42rem;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0.42rem 0.9rem rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 5;
}

.pcard-pill-recommended {
    background: linear-gradient(180deg, #081327 0%, #050B18 100%);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* Card body */
.pcard-body {
    padding: 2rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pcard-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin: 0 0 0.4rem;
    line-height: 1.1;
}

.pcard-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin: 0 0 1.4rem;
    line-height: 1.4;
}

.pcard-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 1.2rem;
}

.pcard-features-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.8rem;
}

.pcard-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.pcard-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.65rem;
    line-height: 1.4;
}

.pcard-features li::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    margin-top: 0.1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%2322c55e' opacity='0.2'/%3E%3Cpath d='M4.5 8l2.5 2.5 4.5-4.5' stroke='%2322c55e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Price block */
.pcard-price-wrap {
    margin-bottom: 1.25rem;
}

.pcard-price {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1;
    transform-origin: left bottom;
}

.pricing-section-new.pricing-in-view .pcard-price {
    animation: pricing-price-pop 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--pricing-delay, 0ms) + 180ms);
}

.pcard-price span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0;
}

.pcard-alt-price {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.3rem;
}

@keyframes pricing-price-pop {
    0% {
        transform: translate3d(0, 12px, 0) scale(0.92);
        filter: blur(8px);
    }
    58% {
        transform: translate3d(0, -2px, 0) scale(1.035);
        filter: blur(0);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-appear,
    .pricing-section-new::after {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .pricing-section-new.pricing-in-view .pcard-price {
        animation: none;
    }
}

/* CTA button */
.pcard-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #0D1117;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.01em;
}

.pcard-btn:hover {
    background: #1a2030;
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-cards-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-cards-new {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — COMPREHENSIVE OVERRIDES
   Applies only on phones (≤ 768px). Desktop layout is untouched.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Global ── */
    *, *::before, *::after {
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 1.25rem;
        width: 100%;
    }

    /* ── Typography ── */
    h1 {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
        line-height: 1.15;
        word-break: break-word;
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
        line-height: 1.2;
    }

    h3 {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    p {
        font-size: 0.97rem;
        line-height: 1.65;
    }

    /* ── Navigation ── */
    nav {
        width: 100%;
    }

    .nav-content {
        height: 58px;
        padding: 0 1.25rem;
    }

    .logo-img {
        height: 32px;
    }

    /* Mobile menu open: show CTA inside overlay */
    .nav-links.mobile-open .nav-cta-mobile {
        display: block;
        margin-top: 2rem;
        text-align: center;
    }

    /* ── Hero Section ── */
    .hero {
        min-height: 100svh;
        padding-top: 5rem;
        padding-bottom: 3rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-content {
        padding: 0;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }

    .hero .animated-gradient-text {
        display: inline;
        word-break: break-word;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 7.5vw, 2.6rem) !important;
        line-height: 1.2;
        white-space: nowrap;
        text-align: center;
        width: 100%;
        display: block;
    }

    .hero p {
        font-size: 0.82rem !important;
        line-height: 1.65;
        margin-bottom: 2rem;
        max-width: 100% !important;
        padding: 0 0.25rem;
    }

    /* Hide the desktop line-break on mobile */
    .hidden-mobile {
        display: none;
    }

    /* hero CTA buttons: stack on very narrow */
    .hero .fade-in-up > a,
    .hero .fade-in-up > div > a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* The flex wrapper around CTA buttons */
    .hero [style*="display: flex"][style*="gap"] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem !important;
        padding: 0 0.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* ── Demo Video ── */
    .demo-video-section {
        padding: 3rem 0;
    }

    .demo-video-frame {
        border-radius: 12px;
        margin: 0 0.5rem;
    }

    .demo-video-frame:hover {
        transform: none; /* disable scale hover on touch */
    }

    .demo-video-player {
        min-height: 200px;
    }

    /* ── Bento Grid ── */
    .bento-section {
        padding: 3rem 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.25rem;
    }

    /* Force ALL bento items to single column stacked layout */
    .bento-item,
    .bento-item.medium,
    .bento-item.large {
        grid-column: span 1 !important;
        flex-direction: column !important;  /* stack visual on top, text below */
        align-items: stretch !important;
        min-height: unset;
    }

    /* Visual preview: compact height on mobile */
    .bento-item .visual-preview,
    .bento-item.medium .visual-preview,
    .bento-item.large .visual-preview {
        width: 100% !important;
        height: 160px !important;
        min-height: 160px !important;
        order: 1 !important;
        mask-image: linear-gradient(to bottom, black 70%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%) !important;
        border-left: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    /* Scale down complex inner UIs to fit */
    .foundation-ui,
    .summary-app-interface,
    .podcast-interface,
    .lecture-container,
    .scheduler-timeline,
    .review-dashboard {
        transform: scale(0.72);
        transform-origin: center center;
    }

    /* Content area: full width below visual */
    .bento-item .bento-content,
    .bento-item.medium .bento-content,
    .bento-item.large .bento-content {
        width: 100% !important;
        height: auto !important;
        order: 2 !important;
        padding: 1.25rem 1.25rem 1.5rem !important;
        background: transparent !important;
        justify-content: flex-start !important;
    }

    .bento-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .bento-item h3,
    .bento-item.medium h3,
    .bento-item.large h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.35rem;
        line-height: 1.3;
    }

    .bento-item p,
    .bento-item.medium p,
    .bento-item.large p {
        font-size: 0.88rem !important;
        line-height: 1.55;
        color: rgba(255,255,255,0.7);
    }

    .flow-main-title {
        font-size: clamp(2rem, 8.4vw, 2.75rem);
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .flow-main-subtitle {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .scene-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        margin-bottom: 2rem;
    }

    .scene-description {
        font-size: 0.95rem;
    }

    .chaos-visual {
        height: 240px;
        max-width: 100%;
    }

    .chaos-item {
        font-size: 2rem;
    }

    .chaos-question {
        font-size: 2rem;
    }

    /* ── Explosion scene: always show on mobile, prevent overflow ── */
    .scene-explosion {
        overflow: hidden;
    }

    .scene-explosion .container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
        position: relative;
        width: 100%;
        height: 100vh;
        box-sizing: border-box;
    }

    .scene-explosion .scene-title,
    .explosion-scene-title {
        font-size: clamp(1.4rem, 6vw, 2rem) !important;
        white-space: normal;
        text-align: center;
        padding: 0 0.5rem;
        margin: 0 !important;
        /* Override desktop inline absolute positioning */
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        order: 1;
        /* Let JS blur-reveal drive opacity/filter */
    }

    /* Explosion scene: hide complex JS-animated layout, show simple list */
    .feature-cards-container {
        display: none !important;
    }

    .explosion-bg-image {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 60% !important;
        max-width: 180px !important;
        margin: 0 auto !important;
        opacity: 1 !important;
        transform: none !important;
        flex-shrink: 0;
        order: 2;
        pointer-events: auto !important;
        z-index: auto !important;
    }

    .scene-explosion.exploded .explosion-bg-image,
    .scene-explosion.exploding .explosion-bg-image {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        opacity: 1 !important;
        width: 60% !important;
        max-width: 180px !important;
        margin: 0 auto !important;
    }

    .explosion-bg-image img {
        width: 100% !important;
        height: auto !important;
        border-radius: 14px;
        object-fit: cover;
        box-shadow: 0 8px 32px rgba(99,102,241,0.35);
    }

    .explosion-center-logo {
        display: none !important;
    }

    /* Remove old ::after text fallback */
    .scene-explosion .container::after {
        content: none !important;
        display: none !important;
    }

    /* Show mobile feature pill grid */
    .mobile-features-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 0;
        flex-shrink: 0;
        order: 3;
    }

    .mobile-feature-pill {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        background: rgba(99, 102, 241, 0.13);
        border: 1px solid rgba(99, 102, 241, 0.32);
        border-radius: 10px;
        padding: 0.55rem 0.8rem;
        font-size: 0.8rem;
        font-weight: 500;
        color: #fff;
        white-space: nowrap;
        backdrop-filter: blur(10px);
        opacity: 0;
        transform: translateY(10px) scale(0.95);
        /* opacity/transform driven by JS scroll handler */
    }

    .mobile-feature-pill span:first-child {
        font-size: 1.05rem;
        flex-shrink: 0;
    }

    /* ── Mastery Engine ── */
    .ll-diagram {
        display: block !important;
        width: min(560px, 94vw) !important;
        height: min(560px, 94vw) !important;
        zoom: 0.58;
        margin-left: auto !important;
        margin-right: auto !important;
        animation: loopRotate 34s linear infinite;
    }

    /* Stage cards: shrink the inner card only, keep animation untouched */
    .ll-stage-inner {
        padding: 0.45rem 0.6rem;
        min-width: 120px;
        max-width: 120px;
    }

    .ll-stage-num {
        font-size: 0.55rem;
    }

    .ll-stage-title {
        font-size: 0.7rem;
    }

    .ll-stage-features span {
        font-size: 0.55rem;
    }

    .ll-hub {
        width: 90px;
        height: 90px;
    }

    .ll-hub-name {
        font-size: 0.42rem;
        line-height: 1.3;
    }

    .ll-hub-icon {
        font-size: 1rem;
    }

    .ll-mobile-dots {
        display: none !important;
    }

    .ll-header {
        padding: 0 1rem;
        text-align: center;
        width: 100%;
    }

    .ll-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: hidden;
    }

    .ll-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .finale-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    /* Shrink the Get Started Today button */
    .scene-finale .btn-large,
    .btn-large {
        padding: 0.8rem 1.8rem !important;
        font-size: 1rem !important;
        border-radius: 30px !important;
    }

    .finale-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .flow-scroll-progress {
        width: 140px;
        bottom: 1rem;
    }

    /* ── Timeline / Roadmap ── */
    .roadmap-steps {
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        gap: 0.75rem;
    }

    .step-marker {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 0.9rem;
        align-self: flex-start;
    }

    .step-content {
        padding: 1.25rem;
    }

    .step-content h3 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .step-month-label {
        font-size: 0.75rem;
    }

    .step-bullets li {
        font-size: 0.88rem;
    }

    /* ── Pricing ── */
    .pricing-section-new {
        padding: 4rem 0;
    }

    .pricing-cards-new {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .pcard {
        margin-top: 1rem; /* space for floating pill */
    }

    .pcard-body {
        padding: 1.5rem 1.25rem;
    }

    .pcard-name {
        font-size: 1.3rem;
    }

    .pcard-price {
        font-size: 2rem;
    }

    /* ── Footer ── */
    footer {
        padding: 3.5rem 0 5rem; /* extra bottom so scroll-top btn doesn't overlap */
    }

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

    .footer-col {
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-col:first-child {
        margin-bottom: 0;
    }

    .footer-col h4 {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.45);
        margin-bottom: 0.75rem;
    }

    .footer-col ul li {
        margin-bottom: 0.6rem;
    }

    .footer-col ul li a {
        font-size: 0.95rem;
    }

    .newsletter-form {
        flex-direction: row;
        gap: 0.5rem;
    }

    .newsletter-input {
        width: 100%;
        font-size: 0.95rem;
        flex: 1;
    }

    .newsletter-form .btn {
        flex-shrink: 0;
        padding: 0.8rem 1rem;
    }

    /* Move scroll-to-top away from footer CTA */
    .scroll-top-btn {
        bottom: 1.5rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    /* ── Disable expensive hover animations on touch ── */
    .hover-lift:hover {
        transform: none;
    }

    .float-card {
        animation: none;
    }

    .magnetic:hover {
        transform: none;
    }

    /* ── Floating orbs — reduce on mobile ── */
    .orb-1 { width: 280px; height: 280px; }
    .orb-2 { width: 180px; height: 180px; }
    .orb-3 { width: 130px; height: 130px; }
    .orb-4 { display: none; }

    /* ── Typography spacing polish ── */
    .text-center {
        padding: 0 0.5rem;
    }

    .text-center h2,
    .text-center p {
        text-align: center;
    }

    /* Increase body text contrast slightly */
    p, li {
        color: rgba(255,255,255,0.72);
    }

    /* Consistent safe-margin spacing for all sections */
    section > .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* ── Section badge ── */
    .hero-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.85rem;
    }

    /* ── Hero CTA button group ── */
    .hero-cta-group {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.6rem !important;
        padding: 0 0.25rem;
    }

    .hero-cta-group .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Extra small phones */
@media (max-width: 390px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero {
        padding-top: 4.5rem;
    }

    .bento-grid {
        gap: 1rem;
    }

    .pcard-body {
        padding: 1.25rem 1rem;
    }

    .pcard-features li {
        font-size: 0.82rem;
    }

    .finale-title {
        font-size: 1.8rem;
    }

    .flow-main-title {
        font-size: 2rem;
    }
}

/* ===== Vibe Coin Info Button & Modal ===== */

.coin-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(160, 160, 160, 0.15);
    border: 1px solid rgba(160, 160, 160, 0.45);
    color: rgba(180, 180, 180, 0.75);
    font-size: 0.58rem;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 4px;
    padding: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.coin-info-btn:hover {
    background: rgba(160, 160, 160, 0.28);
    border-color: rgba(200, 200, 200, 0.7);
    transform: scale(1.15);
}

/* Overlay */
.coin-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.coin-modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Modal box */
.coin-modal {
    position: relative;
    background: #16112a;
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 18px;
    padding: 2rem 2rem 1.75rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(168,85,247,0.1);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.coin-modal-overlay.is-open .coin-modal {
    transform: translateY(0) scale(1);
}

/* Close button */
.coin-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

.coin-modal-close:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

/* Header */
.coin-modal-header {
    margin-bottom: 1.5rem;
}

.coin-modal-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.coin-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
}

.coin-modal-intro {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.5;
}

/* Rate rows */
.coin-modal-rates {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.coin-rate-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
}

.coin-rate-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.coin-rate-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    gap: 0.1rem;
}

.coin-rate-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.coin-rate-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}

.coin-rate-cost {
    font-size: 0.82rem;
    font-weight: 700;
    color: #c084fc;
    white-space: nowrap;
}

/* Per-tier breakdown */
.coin-modal-breakdown {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.coin-breakdown-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.6rem;
}

.coin-breakdown-total {
    font-size: 1rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 0.6rem;
}

.coin-breakdown-examples {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0;
    padding-left: 1.1rem;
}

.coin-breakdown-examples li {
    margin-bottom: 0.1rem;
}

@media (max-width: 480px) {
    .coin-modal {
        padding: 1.5rem 1.25rem 1.4rem;
    }
}

/* Coin li two-line layout */
.pcard-coin-li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pcard-coin-label {
    color: inherit;
}

.pcard-coin-value {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .pcard-coin-li {
        flex-direction: column !important;
        align-items: flex-start;
    }
    .pcard-coin-value {
        display: flex !important;
        width: 100%;
    }
}

/* Contact page */
.contact-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(0, 200, 255, 0.08) 0%, transparent 34%),
        linear-gradient(225deg, rgba(236, 72, 153, 0.08) 0%, transparent 34%),
        var(--bg-body);
}

.contact-main {
    min-height: 70vh;
}

.contact-hero {
    min-height: calc(100vh - 66px);
    display: flex;
    align-items: center;
    padding-top: 9rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 76%);
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-copy h1 {
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    max-width: 760px;
    margin-top: 1.1rem;
}

.contact-copy p {
    max-width: 620px;
}

.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.contact-action-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.45rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-panel {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border-radius: 24px;
}

.contact-panel-header {
    margin-bottom: 1.7rem;
}

.contact-panel-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin-bottom: 0;
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-methods {
    display: grid;
    gap: 0.9rem;
}

.contact-method {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 1rem;
    align-items: flex-start;
    padding: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.contact-method h3 {
    margin-bottom: 0.25rem;
    font-size: 0.98rem;
}

.contact-method a,
.contact-method address {
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    font-style: normal;
    line-height: 1.7;
    text-decoration: none;
    word-break: break-word;
}

.contact-method a:hover {
    color: #ffffff;
}

.contact-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.18), rgba(236, 72, 153, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 800;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-address {
    display: inline-block;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .contact-copy p,
    .contact-copy h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-quick-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .contact-copy h1 {
        font-size: 2.45rem;
    }

    .contact-quick-actions {
        flex-direction: column;
    }

    .contact-quick-actions .btn {
        width: 100%;
    }

    .contact-panel {
        border-radius: 18px;
        padding: 1.15rem;
    }

    .contact-method {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.8rem;
        padding: 0.9rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
}

/* Footer CTA and shifting footer, scoped for Vibenotes */
.footer-cta-section {
    --cta-sequence-progress: 0;
    --cta-slogan-opacity: 1;
    --cta-slogan-y: 0rem;
    --cta-slogan-scale: 1;
    --cta-join-opacity: 0;
    --cta-join-y: 3rem;
    --cta-join-scale: 0.92;
    --cta-loader-progress: 0;
    --cta-loader-opacity: 1;
    --cta-loader-y: 0rem;
    --cta-token-progress: 0;
    --cta-token-opacity: 1;
    position: relative;
    z-index: 3;
    overflow: visible;
    margin: 0;
    isolation: isolate;
    min-height: 245svh;
    padding: 0;
    border-top: 1px solid rgba(129, 140, 248, 0.18);
    background:
        radial-gradient(circle at 72% 18%, rgba(145, 233, 255, 0.2), transparent 25rem),
        radial-gradient(circle at 18% 82%, rgba(249, 168, 212, 0.14), transparent 28rem),
        linear-gradient(180deg, var(--bg-body) 0%, #05070d 55%, #000000 100%);
    color: var(--text-primary);
}

.footer-cta-section::before,
.footer-cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.footer-cta-section::before {
    inset: -12%;
    opacity: 0.16;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.76' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.52'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: screen;
}

.footer-cta-section::after {
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 38%, transparent 58%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        radial-gradient(circle at 50% 118%, rgba(129, 140, 248, 0.22), transparent 32rem);
    background-size: auto, 64px 64px, 64px 64px, auto;
    opacity: 0.56;
}

.footer-cta-inner {
    position: sticky;
    top: 0;
    z-index: 1;
    width: min(1040px, calc(100% - clamp(2rem, 4.4vw, 4rem)));
    min-height: 100svh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    text-align: center;
    padding: clamp(5.2rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
}

.footer-cta-message {
    display: grid;
    width: 100%;
    gap: clamp(1rem, 2vw, 1.4rem);
    justify-items: center;
}

.footer-cta-action-row {
    display: grid;
    width: 100%;
    min-height: clamp(24rem, 52vw, 34rem);
    grid-template-columns: 1fr;
    grid-template-areas: "stage";
    align-items: center;
    justify-items: center;
    gap: 0;
    margin-top: clamp(0.9rem, 2vw, 1.4rem);
}

.vibenotes-product-page .footer-minimal-slogan {
    --reveal-opacity: 0.48;
    position: relative;
    z-index: 1;
    grid-area: stage;
    width: min(58rem, 100%);
    min-height: clamp(18rem, 42vw, 30rem);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 2.8rem);
    overflow: visible;
    color: rgba(255, 255, 255, 0.96);
    cursor: crosshair;
    opacity: var(--cta-slogan-opacity);
    transform:
        translateY(var(--cta-slogan-y))
        scale(var(--cta-slogan-scale));
    transition:
        opacity 140ms linear,
        transform 140ms linear;
    user-select: none;
    pointer-events: none;
}

.footer-cta-section.is-slogan-visible:not(.is-join-active) .footer-minimal-slogan {
    pointer-events: auto;
}

.vibenotes-product-page .footer-minimal-slogan::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(20rem, 45vw, 38rem);
    height: clamp(12rem, 30vw, 24rem);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(183, 247, 255, 0.18), rgba(139, 92, 246, 0.11) 48%, transparent 72%);
    opacity: 0.7;
    filter: blur(4px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.footer-cta-loader {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(34rem, 72vw);
    gap: 0.7rem;
    opacity: var(--cta-loader-opacity);
    transform: translateY(var(--cta-loader-y));
    transition:
        opacity 140ms linear,
        transform 140ms linear;
    pointer-events: none;
}

.footer-cta-loader-track {
    position: relative;
    height: 0.42rem;
    overflow: hidden;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 24px rgba(145, 233, 255, 0.08);
}

.footer-cta-loader-fill {
    position: absolute;
    inset: 0;
    width: calc(var(--cta-loader-progress) * 100%);
    border-radius: inherit;
    background:
        linear-gradient(90deg, #8b5cf6 0%, #b7f7ff 48%, #ffffff 100%);
    box-shadow:
        0 0 18px rgba(145, 233, 255, 0.5),
        0 0 42px rgba(139, 92, 246, 0.28);
}

.footer-cta-loader-copy {
    color: rgba(214, 247, 255, 0.62);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(0.68rem, 1.2vw, 0.78rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.footer-raining-title {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(2.7rem, 8.4vw, 8rem);
    font-weight: 820;
    letter-spacing: 0.04em;
    line-height: 0.95;
    text-align: center;
    text-shadow:
        0 0 22px rgba(145, 233, 255, 0.22),
        0 0 64px rgba(34, 197, 94, 0.14);
}

.footer-raining-title .dud {
    color: #00ff66;
    opacity: 0.76;
    text-shadow:
        0 0 10px rgba(0, 255, 102, 0.7),
        0 0 22px rgba(0, 255, 102, 0.32);
}

.footer-raining-letters {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, black 0%, black 58%, transparent 82%);
}

.footer-raining-letter {
    position: absolute;
    left: var(--letter-x);
    top: var(--letter-y);
    color: rgba(100, 116, 139, 0.46);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(0.9rem, 2.2vw, 1.8rem);
    font-weight: 400;
    line-height: 1;
    opacity: 0.42;
    text-shadow: none;
    transform: translate(-50%, -50%) scale(1);
    transition:
        color 90ms linear,
        opacity 90ms linear,
        transform 90ms linear,
        text-shadow 90ms linear;
    will-change: top, transform;
}

.footer-raining-letter.is-active {
    z-index: 3;
    color: #00ff66;
    font-weight: 760;
    opacity: 1;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.74),
        0 0 16px rgba(0, 255, 102, 0.55);
    transform: translate(-50%, -50%) scale(1.25);
}

.footer-token-score {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.85rem;
    justify-items: center;
    opacity: var(--cta-token-opacity);
    transform: translateY(calc(var(--cta-loader-y) * 0.55));
    transition:
        opacity 140ms linear,
        transform 140ms linear;
    pointer-events: none;
}

.footer-token-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.55rem, 1.5vw, 0.9rem);
}

.footer-token-placeholder {
    position: relative;
    min-width: clamp(4.8rem, 10vw, 7.2rem);
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(183, 247, 255, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(255, 255, 255, 0.035);
    color: rgba(214, 247, 255, calc(0.5 + var(--cta-token-progress) * 0.42));
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(0.82rem, 1.6vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 calc(var(--cta-token-progress) * 28px) rgba(145, 233, 255, 0.16);
}

.footer-token-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.26) 42%, transparent 64%);
    opacity: calc(0.48 + var(--cta-token-progress) * 0.42);
    transform: translateX(calc(-115% + (var(--cta-token-progress) * 230%) - (var(--token-index) * 14%)));
}

.footer-token-placeholder::after {
    content: '';
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.42rem;
    height: 1px;
    background:
        linear-gradient(90deg, #8b5cf6, #b7f7ff, #ffffff);
    opacity: 0.85;
    transform: scaleX(var(--cta-token-progress));
    transform-origin: left;
}

.footer-score-readout {
    color: rgba(214, 247, 255, 0.72);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(0.68rem, 1.1vw, 0.76rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.footer-score-readout strong {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.footer-cta-kicker {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(145, 233, 255, 0.28);
    border-radius: 8px;
    background: rgba(145, 233, 255, 0.08);
    color: rgba(214, 247, 255, 0.86);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.footer-cta-title {
    margin: 0;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1.25rem, 2.8vw, 2.5rem);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-wrap: balance;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.footer-cta-title span {
    display: inline-block;
    background: linear-gradient(96deg, #ffffff 0%, #91e9ff 28%, #8b5cf6 58%, #f9a8d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 28px rgba(145, 233, 255, 0.22));
}

.footer-join-pane {
    position: relative;
    z-index: 2;
    grid-area: stage;
    width: 100vw;
    min-height: 100svh;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at var(--pane-x, 50%) var(--pane-y, 50%), rgba(145, 233, 255, 0.12), transparent 24rem),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.13), transparent 58%),
        radial-gradient(circle at 10% 62%, rgba(145, 233, 255, 0.13), transparent 28%),
        radial-gradient(circle at 90% 48%, rgba(34, 211, 238, 0.08), transparent 26%),
        #000000;
    box-shadow: none;
    overflow: visible;
    color: inherit;
    cursor: pointer;
    opacity: var(--cta-join-opacity);
    transform:
        translateY(var(--cta-join-y))
        scale(var(--cta-join-scale));
    text-decoration: none;
    transition:
        opacity 140ms linear,
        transform 140ms linear,
        filter 0.42s var(--ease-shopify);
    pointer-events: none;
}

.footer-cta-section.is-join-active .footer-join-pane {
    display: grid;
    place-items: center;
    pointer-events: auto;
}

.footer-join-pane::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at var(--pane-x, 50%) var(--pane-y, 50%), rgba(145, 233, 255, 0.12), transparent 18rem),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.06));
    opacity: 1;
    filter: none;
    pointer-events: none;
}

.footer-join-pane:hover,
.footer-join-pane:focus-visible {
    transform: translateY(-0.25rem);
    filter: drop-shadow(0 0 34px rgba(145, 233, 255, 0.22));
    outline: none;
}

.footer-particle-typography {
    position: relative;
    z-index: 1;
    display: block;
    width: 100vw;
    height: 100svh;
    min-height: 100svh;
    color: #ffffff;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
}

.footer-particle-typography canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.footer-particle-fallback,
.footer-particle-typography[data-particle-ready="fallback"] {
    display: grid;
    place-items: center;
    color: #ffffff;
    font-family: Inter, "SF Pro Display", system-ui, sans-serif;
    font-size: clamp(4rem, 13vw, 12rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.86;
    text-align: center;
    text-wrap: balance;
    text-shadow:
        0 0 28px rgba(145, 233, 255, 0.26),
        0 0 72px rgba(255, 255, 255, 0.14);
}

.footer-particle-typography[data-particle-ready="true"] .footer-particle-fallback {
    display: none;
}

.footer-particle-typography[data-particle-intro="true"] {
    filter: drop-shadow(0 0 30px rgba(145, 233, 255, 0.2));
}

.footer-particle-typography::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--pane-x, 50%) var(--pane-y, 50%), rgba(145, 233, 255, 0.06), transparent 22rem),
        radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.12) 82%, rgba(0, 0, 0, 0.18) 100%);
    pointer-events: none;
    opacity: 1;
}

.shift-footer {
    --shift-footer-overlay: 0;
    --shift-footer-progress: 0;
    --shift-footer-content-opacity: 0;
    --shift-footer-content-y: 6rem;
    --shift-footer-content-scale-x: 0.42;
    --shift-footer-content-scale-y: 1.8;
    --shift-footer-content-skew: -1.5deg;
    --shift-footer-content-rotate: -5deg;
    --shift-footer-warp-scale: 0;
    --shift-footer-warp-opacity: 0;
    --shift-footer-warp-blur-opacity: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(129, 140, 248, 0.24);
    background:
        radial-gradient(circle at 82% 0%, rgba(0, 200, 255, 0.22), transparent 34%),
        radial-gradient(circle at 8% 100%, rgba(236, 72, 153, 0.2), transparent 34%),
        linear-gradient(135deg, #111827 0%, #2b214e 45%, #05070d 100%);
    color: var(--text-primary);
}

.shift-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 34%),
        radial-gradient(circle at 50% 120%, rgba(99, 102, 241, 0.2), transparent 36%);
    opacity: 0.9;
    pointer-events: none;
}

.shift-footer-warp {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
    pointer-events: none;
}

.shift-footer-warp span {
    position: absolute;
    display: block;
    border-radius: 999px;
    pointer-events: none;
    will-change: transform, opacity;
}

.shift-footer-warp-source {
    left: 25%;
    top: 100%;
    width: 50%;
    height: 50%;
    background: hsl(6, 93%, 56%);
    filter: blur(24px);
    opacity: var(--shift-footer-warp-opacity);
    transform: scale(var(--shift-footer-warp-scale));
    transform-origin: center;
    mix-blend-mode: screen;
}

.shift-footer-warp-left,
.shift-footer-warp-right {
    width: 100%;
    height: 100%;
    background: rgba(239, 68, 68, 0.56);
    filter: blur(64px);
    opacity: var(--shift-footer-warp-blur-opacity);
    animation: shiftFooterWarpBreath 18s ease-in-out infinite;
    mix-blend-mode: screen;
}

.shift-footer-warp-left {
    left: -50%;
    top: -25%;
}

.shift-footer-warp-right {
    left: 50%;
    top: 25%;
    animation-delay: -7.5s;
}

.shift-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--bg-body);
    opacity: var(--shift-footer-overlay);
    pointer-events: none;
}

.shift-footer a {
    color: inherit;
    text-decoration: none;
}

.shift-footer-grid {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - clamp(2rem, 4.4vw, 4rem)));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(240px, 1.55fr) repeat(4, minmax(130px, 0.8fr));
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(1.75rem, 4vw, 4rem);
    align-items: start;
    min-height: 100svh;
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
    opacity: var(--shift-footer-content-opacity);
    transform:
        perspective(1000px)
        translateY(var(--shift-footer-content-y))
        rotateX(var(--shift-footer-content-rotate))
        skewY(var(--shift-footer-content-skew))
        scaleX(var(--shift-footer-content-scale-x))
        scaleY(var(--shift-footer-content-scale-y));
    transform-origin: 50% 0%;
    transition:
        opacity 160ms linear,
        transform 160ms linear;
    will-change: opacity, transform;
}

.shift-footer-brand,
.shift-footer-company,
.shift-footer-product,
.shift-footer-contact,
.shift-footer-connect {
    grid-row: 1;
    align-self: center;
    margin-top: 0;
}

.shift-footer-brand {
    grid-column: 1;
}

.shift-footer-company {
    grid-column: 2;
}

.shift-footer-product {
    grid-column: 3;
}

.shift-footer-contact {
    grid-column: 4;
}

.shift-footer-connect {
    grid-column: 5;
}

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

.shift-footer-logo img {
    width: clamp(11rem, 18vw, 17rem);
    height: auto;
    display: block;
    filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.16));
}

.shift-footer-tagline {
    max-width: 21rem;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    line-height: 1.7;
}

.shift-footer-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shift-footer-list span,
.shift-footer-list a {
    display: inline-block;
}

.shift-footer-list-title {
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shift-footer-list a,
.shift-footer-list span:not(.shift-footer-list-title) {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.96rem, 1.25vw, 1.08rem);
    line-height: 1.75;
    transition: color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.shift-footer-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.shift-footer-list a:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
    border-radius: 4px;
}

.shift-footer-copy {
    grid-row: 2;
    grid-column: 1 / -1;
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.6;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .footer-cta-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-cta-action-row {
        grid-template-columns: 1fr;
        grid-template-areas: "stage";
        gap: 0;
        margin-top: 0.6rem;
    }

    .vibenotes-product-page .footer-minimal-slogan {
        width: 100vw;
        min-height: 100svh;
    }

    .footer-join-pane {
        width: min(42rem, 100%);
        min-height: auto;
    }

    .shift-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto auto;
        align-content: center;
        min-height: 100svh;
    }

    .shift-footer-brand {
        grid-column: 1 / -1;
        align-self: start;
    }

    .shift-footer-company,
    .shift-footer-product,
    .shift-footer-contact,
    .shift-footer-connect {
        grid-row: auto;
        grid-column: auto;
    }

    .shift-footer-copy {
        grid-row: auto;
        grid-column: 1 / -1;
    }
}

@keyframes shiftFooterWarpBreath {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.7);
    }
}

@keyframes noise-animation {
    0% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-2%, -3%);
    }
    20% {
        transform: translate(-4%, 2%);
    }
    30% {
        transform: translate(2%, -4%);
    }
    40% {
        transform: translate(-2%, 5%);
    }
    50% {
        transform: translate(-4%, 2%);
    }
    60% {
        transform: translate(3%, 0);
    }
    70% {
        transform: translate(0, 3%);
    }
    80% {
        transform: translate(-3%, 0);
    }
    90% {
        transform: translate(2%, 2%);
    }
    100% {
        transform: translate(1%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shift-footer {
        --shift-footer-overlay: 0;
        --shift-footer-content-opacity: 1;
        --shift-footer-content-y: 0rem;
        --shift-footer-content-scale-x: 1;
        --shift-footer-content-scale-y: 1;
        --shift-footer-content-skew: 0deg;
        --shift-footer-content-rotate: 0deg;
        --shift-footer-warp-scale: 0;
        --shift-footer-warp-opacity: 0;
        --shift-footer-warp-blur-opacity: 0;
    }

    .shift-footer-grid {
        transition: none;
    }

    .shift-footer-warp-left,
    .shift-footer-warp-right {
        animation: none;
    }
}

@media (max-width: 640px) {
    .footer-cta-section {
        min-height: 225svh;
        padding: 0;
    }

    .footer-cta-inner {
        min-height: 100svh;
        padding: 4.5rem 0 4rem;
    }

    .footer-cta-inner {
        grid-template-columns: 1fr;
    }

    .footer-cta-title {
        font-size: clamp(1.2rem, 6vw, 2rem);
        max-width: 100%;
    }

    .footer-cta-action-row {
        min-height: clamp(22rem, 98vw, 30rem);
        gap: 0;
    }

    .vibenotes-product-page .footer-minimal-slogan {
        width: 100vw;
        min-height: 100svh;
        margin: -0.1rem 0 0.15rem;
    }

    .footer-cta-loader {
        width: min(22rem, 82vw);
        gap: 0.62rem;
    }

    .footer-token-score {
        gap: 0.7rem;
    }

    .footer-token-row {
        gap: 0.45rem;
    }

    .footer-token-placeholder {
        min-width: 4.2rem;
        min-height: 2.05rem;
        border-radius: 8px;
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .footer-join-pane {
        width: min(30rem, 96vw);
        min-height: clamp(15rem, 76vw, 21rem);
    }

    .footer-particle-typography {
        min-height: clamp(15rem, 76vw, 21rem);
    }

    .shift-footer-grid {
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 1.5rem 1.25rem;
        padding: 3rem 0 4.5rem;
    }

    .shift-footer-logo img {
        width: min(60vw, 14rem);
    }

    .shift-footer-brand {
        grid-column: 1 / -1;
    }

    .shift-footer-tagline {
        max-width: 19rem;
        margin-top: 0.95rem;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .shift-footer-company,
    .shift-footer-product,
    .shift-footer-contact,
    .shift-footer-connect {
        align-self: stretch;
        margin-top: 0;
    }

    .shift-footer-list-title {
        margin-bottom: 0.45rem;
        font-size: 0.66rem;
        letter-spacing: 0.11em;
    }

    .shift-footer-list a,
    .shift-footer-list span:not(.shift-footer-list-title) {
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .shift-footer-copy {
        grid-row: auto;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 0.75rem;
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shift-footer-grid {
        transform: none;
        opacity: 1;
        transition: none;
    }

    .shift-footer::after {
        opacity: 0;
    }
}

/* ==========================================================================
   Mindloop-inspired styling scoped only to the first Vibenotes hero
   ========================================================================== */
:root {
    --hero-background: 0 0% 0%;
    --hero-foreground: 0 0% 100%;
    --hero-muted-foreground: 0 0% 65%;
    --hero-border: 0 0% 20%;
    --hero-subtitle: 210 17% 95%;
}

nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    transition:
        background 0.35s var(--ease-shopify),
        border-color 0.35s var(--ease-shopify),
        box-shadow 0.35s var(--ease-shopify);
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--hero-border) / 0.52);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.nav-content {
    height: 74px;
}

.logo-img {
    height: 40px;
    filter: grayscale(1) contrast(1.08);
}

.logo-img:hover {
    transform: scale(1.03);
}

.nav-links {
    gap: 0.78rem;
    border-radius: 999px;
}

.nav-links a {
    color: hsl(var(--hero-muted-foreground));
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: none;
}

.nav-links a + a::before {
    content: '•';
    margin-right: 0.78rem;
    color: hsl(var(--hero-muted-foreground) / 0.5);
}

.nav-links a:hover {
    color: hsl(var(--hero-foreground));
    text-shadow: none;
}

.nav-links a::after {
    display: none;
}

.nav-cta {
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: hsl(var(--hero-foreground));
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nav-cta:hover {
    border-color: transparent;
    color: hsl(var(--hero-foreground));
    background: rgba(255, 255, 255, 0.01);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 18px 48px rgba(255, 255, 255, 0.1);
    transform: scale(1.03);
}

.mobile-menu-btn {
    border-radius: 999px;
    width: 42px;
    height: 42px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn .bar {
    background: hsl(var(--hero-foreground));
}

.nav-links.mobile-open {
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-links.mobile-open a:hover {
    color: hsl(var(--hero-foreground));
}

#introduction.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: hsl(var(--hero-background));
    color: hsl(var(--hero-foreground));
    padding: clamp(7rem, 14vw, 10rem) 0 6rem;
}

#introduction .hero-glow,
#introduction .aurora-bg,
#introduction .morph-bg,
#introduction .dot-grid-bg {
    display: none !important;
}

#introduction .hero-content {
    position: relative;
    z-index: 4;
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

#introduction .hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    color: hsl(var(--hero-muted-foreground));
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

#introduction .hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#introduction h1 {
    margin-top: 1.55rem;
    color: hsl(var(--hero-foreground));
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(3.25rem, 9vw, 8rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

#introduction .hero-title-line,
#introduction .hero-title-typing-line {
    display: block;
}

#introduction .hero-title-typing-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 0.92;
    height: 1.115em;
    min-height: 1.115em;
    white-space: nowrap;
}

#introduction .animated-gradient-text {
    display: inline;
    min-width: 0;
    background: none;
    color: hsl(var(--hero-foreground));
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
    -webkit-text-stroke: 0;
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    white-space: nowrap;
}

#introduction .typing-cursor {
    display: inline-block;
    flex: 0 0 auto;
    width: 0.055em;
    height: 0.78em;
    margin-left: 0.035em;
    color: hsl(var(--hero-foreground));
    background-color: currentColor;
    text-shadow: none;
    transform: translateY(0.08em);
    vertical-align: baseline;
}

#introduction p {
    max-width: 680px !important;
    color: hsl(var(--hero-subtitle));
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.75;
}

#introduction .hero-cta-group {
    margin-top: 2.15rem;
}

#introduction .btn {
    border-radius: 999px;
    min-height: 3rem;
    border: none;
    letter-spacing: 0;
    text-transform: none;
    transition:
        transform 0.32s var(--ease-shopify),
        background 0.32s var(--ease-shopify),
        color 0.32s var(--ease-shopify),
        box-shadow 0.32s var(--ease-shopify);
}

#introduction .btn-primary {
    background: hsl(var(--hero-foreground));
    color: hsl(var(--hero-background));
    box-shadow: none;
}

#introduction .btn-primary:hover {
    background: hsl(var(--hero-foreground));
    color: hsl(var(--hero-background));
    transform: scale(1.03);
    box-shadow: 0 18px 48px rgba(255, 255, 255, 0.16);
}

#introduction .btn-secondary {
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: hsl(var(--hero-foreground));
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

#introduction .btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#introduction .btn-secondary:hover {
    color: hsl(var(--hero-foreground));
    background: rgba(255, 255, 255, 0.01);
}

@media (max-width: 640px) {
    #introduction .hero-content {
        width: min(100% - 2rem, 360px);
    }

    #introduction h1 {
        max-width: 100%;
        font-size: clamp(2.3rem, 10.6vw, 3.1rem);
        line-height: 1.02;
        letter-spacing: -0.045em;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #introduction .animated-gradient-text {
        display: inline;
        min-width: 0;
        white-space: nowrap;
        overflow-wrap: normal;
    }

    #introduction .hero-title-typing-line {
        height: 1.14em;
        min-height: 1.14em;
    }

    #introduction .typing-cursor {
        display: inline-block;
        width: 0.12em;
        overflow: hidden;
        vertical-align: -0.02em;
    }

    #introduction .hero-cta-group {
        width: 100%;
        align-items: stretch;
    }

    #introduction .hero-cta-group .btn {
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   Vibenotes product page refinement: restrained color, colored brand mark
   ========================================================================== */
.vibenotes-product-page {
    --bg-body: #000000;
    --bg-surface: #070708;
    --bg-surface-hover: #101113;
    --bg-glass: rgba(8, 9, 11, 0.68);
    --bg-glass-border: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.68);
    --text-tertiary: rgba(255, 255, 255, 0.46);
    --accent-primary: #F5F5F5;
    --accent-secondary: #CFCFCF;
    --accent-tertiary: #9A9A9A;
    --accent-cyan: #D8D8D8;
    --accent-lime: #E5E5E5;
    --accent-gradient: linear-gradient(100deg, #FFFFFF 0%, #E8E8E8 48%, #BEBEBE 100%);
    --accent-gradient-vibrant: linear-gradient(100deg, #FFFFFF 0%, #DADADA 100%);
    --accent-glow: rgba(255, 255, 255, 0.045);
    --accent-glow-strong: rgba(255, 255, 255, 0.06);
    --accent-glow-cyan: rgba(255, 255, 255, 0.04);
    --brand-violet: 168, 85, 247;
    --brand-indigo: 99, 102, 241;
    --brand-blue: 0, 200, 255;
    --brand-pink: 236, 72, 153;
    --brand-glow-soft: rgba(var(--brand-violet), 0.08);
    --brand-blue-glow-soft: rgba(var(--brand-blue), 0.055);
    --brand-glow-medium: rgba(var(--brand-violet), 0.16);
    --brand-blue-glow-medium: rgba(var(--brand-blue), 0.11);
    --brand-glow-strong: rgba(var(--brand-violet), 0.28);
    --brand-blue-glow-strong: rgba(var(--brand-blue), 0.18);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.24);
    background: #000000;
}

.vibenotes-product-page::before {
    box-shadow:
        inset 0 0 120px rgba(255, 255, 255, 0.025),
        inset 0 0 42px rgba(255, 255, 255, 0.02);
}

.vibenotes-product-page.scrolled::before {
    box-shadow:
        inset 0 0 110px rgba(255, 255, 255, 0.03),
        inset 0 0 44px rgba(255, 255, 255, 0.025);
}

.vibenotes-product-page .floating-orbs {
    opacity: 0.14;
}

.vibenotes-product-page .orb-1 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 68%);
}

.vibenotes-product-page .orb-2 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.vibenotes-product-page .orb-3,
.vibenotes-product-page .orb-4 {
    opacity: 0.1;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.vibenotes-product-page .cursor-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 34%, transparent 72%);
}

.vibenotes-product-page .scroll-progress {
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.62), rgba(255,255,255,0.22));
    box-shadow: none;
}

.vibenotes-product-page .section-divider {
    max-width: min(76rem, calc(100% - 3rem));
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08), transparent);
    animation: none;
    opacity: 0.76;
}

.vibenotes-product-page .section-dark,
.vibenotes-product-page .pricing-section-new,
.vibenotes-product-page .demo-video-section,
.vibenotes-product-page .bento-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.032), transparent 32rem),
        #000000;
}

.vibenotes-product-page .section-glow::after,
.vibenotes-product-page .section-morph::before,
.vibenotes-product-page .flow-section::before,
.vibenotes-product-page .scrollytelling-flow-section::before,
.vibenotes-product-page .scrollytelling-flow-section::after {
    opacity: 0.18;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.035) 0%, transparent 68%);
}

.vibenotes-product-page .color-shift.shift-purple,
.vibenotes-product-page .color-shift.shift-cyan,
.vibenotes-product-page .color-shift.shift-pink {
    background-color: rgba(255, 255, 255, 0.012);
}

.vibenotes-product-page h1,
.vibenotes-product-page h2,
.vibenotes-product-page h3 {
    letter-spacing: -0.025em;
}

.vibenotes-product-page h2 {
    color: #F6F7FB;
}

.vibenotes-product-page p,
.vibenotes-product-page li {
    color: var(--text-secondary);
}

.vibenotes-product-page .text-gradient,
.vibenotes-product-page section:not(#introduction) .animated-gradient-text,
.vibenotes-product-page .gradient-text-flow,
.vibenotes-product-page .flow-main-title .gradient-text-flow,
.vibenotes-product-page .narrative-title,
.vibenotes-product-page .result-value {
    background: var(--accent-gradient);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    filter: none;
    text-shadow: none;
}

.vibenotes-product-page .hero-badge,
.vibenotes-product-page #introduction .hero-badge {
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-shadow: none;
}

.vibenotes-product-page .hero-badge.shimmer::after,
.vibenotes-product-page .hero-badge.glow-border::before {
    display: none;
}

.vibenotes-product-page #introduction .hero-badge {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
        radial-gradient(circle at 30% 0%, rgba(var(--brand-blue), 0.06), transparent 64%),
        radial-gradient(circle at 72% 0%, rgba(var(--brand-violet), 0.065), transparent 68%);
    border-color: rgba(var(--brand-blue), 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(var(--brand-violet), 0.075),
        0 0 22px rgba(var(--brand-blue), 0.09),
        0 0 34px rgba(var(--brand-violet), 0.08);
}

.vibenotes-product-page #introduction .hero-badge::before {
    display: block !important;
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.32), rgba(var(--brand-blue), 0.38), rgba(var(--brand-violet), 0.34), rgba(255, 255, 255, 0.22));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.82;
    pointer-events: none;
}

.vibenotes-product-page .btn {
    border-radius: 999px;
}

.vibenotes-product-page .btn-primary,
.vibenotes-product-page #introduction .btn-primary,
.vibenotes-product-page .pcard-btn {
    background: #ffffff;
    color: #050506;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.vibenotes-product-page .btn-primary:hover,
.vibenotes-product-page #introduction .btn-primary:hover,
.vibenotes-product-page .pcard-btn:hover {
    background: #ffffff;
    color: #050506;
    box-shadow: 0 18px 44px rgba(255, 255, 255, 0.14);
}

.vibenotes-product-page .btn-secondary,
.vibenotes-product-page #introduction .btn-secondary,
.vibenotes-product-page .nav-cta {
    background: rgba(255, 255, 255, 0.025);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vibenotes-product-page .btn-secondary:hover,
.vibenotes-product-page #introduction .btn-secondary:hover,
.vibenotes-product-page .nav-cta:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.vibenotes-product-page .glow-pulse,
.vibenotes-product-page .glow-breathing {
    animation: none;
}

.vibenotes-product-page nav {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

.vibenotes-product-page nav.scrolled:not(.product-site-header) {
    background: rgba(0, 0, 0, 0.64);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.vibenotes-product-page .product-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1080;
    padding: clamp(1.5rem, 2.2vw, 2rem) 0;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
}

.vibenotes-product-page .product-site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.36) 58%, transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.vibenotes-product-page .product-site-header.scrolled::before,
.vibenotes-product-page .product-site-header.is-scrolled::before,
.vibenotes-product-page .product-site-header.is-open::before {
    opacity: 1;
}

.vibenotes-product-page .product-site-header.scrolled,
.vibenotes-product-page .product-site-header.is-scrolled,
.vibenotes-product-page .product-site-header.is-open {
    padding: clamp(1.5rem, 2.2vw, 2rem) 0;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.vibenotes-product-page .product-site-header .nav-content {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 2.85rem;
    box-sizing: border-box;
    padding: 0 clamp(2rem, 3.2vw, 2.8rem);
    margin: 0;
    display: grid;
    grid-template-columns: minmax(9rem, 1fr) auto minmax(9rem, 1fr);
    align-items: center;
    gap: 1rem;
}

.vibenotes-product-page .product-site-header .logo {
    justify-self: start;
}

.vibenotes-product-page .product-site-header .logo-img {
    height: auto;
    width: clamp(7.2rem, 10vw, 9rem);
}

.vibenotes-product-page .product-nav-chip,
.vibenotes-product-page .product-header-chip {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateZ(0);
    transition:
        transform 300ms var(--ease-out),
        color 260ms ease;
}

.vibenotes-product-page .product-nav-chip::before,
.vibenotes-product-page .product-header-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 24% 0%, rgba(255, 255, 255, 0.12), transparent 42%),
        radial-gradient(circle at 74% 105%, rgba(255, 255, 255, 0.06), transparent 44%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018) 48%, rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(9px) saturate(155%) contrast(1.04);
    -webkit-backdrop-filter: blur(9px) saturate(155%) contrast(1.04);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.11),
        inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.9),
        inset -2px -2px 0 -2px rgba(255, 255, 255, 0.72),
        inset -3px -8px 1px -6px rgba(255, 255, 255, 0.48),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.16),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.22),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.2),
        inset 2px -6.5px 1px -4px rgba(0, 0, 0, 0.14),
        0 1px 5px rgba(0, 0, 0, 0.12),
        0 8px 18px rgba(0, 0, 0, 0.14);
    pointer-events: none;
}

.vibenotes-product-page .product-nav-chip::after,
.vibenotes-product-page .product-header-chip::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 1.3px;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.16) 22%,
            rgba(255, 255, 255, 0) 43%,
            rgba(255, 255, 255, 0) 58%,
            rgba(255, 255, 255, 0.13) 78%,
            rgba(255, 255, 255, 0.42) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.92;
    pointer-events: none;
}

.vibenotes-product-page .product-nav-chip {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 0.08rem;
    padding: 0.36rem;
    border-radius: 999px;
}

.vibenotes-product-page .product-nav-chip a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 1.78rem;
    padding: 0 0.88rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.68rem;
    font-weight: 620;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition:
        color 200ms ease,
        background 200ms ease,
        box-shadow 200ms ease;
}

.vibenotes-product-page .product-nav-chip a + a::before,
.vibenotes-product-page .product-nav-chip a::after {
    display: none;
}

.vibenotes-product-page .product-nav-chip a:hover,
.vibenotes-product-page .product-nav-chip a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.vibenotes-product-page .product-site-header .nav-actions {
    justify-self: end;
}

.vibenotes-product-page .product-site-header .nav-cta {
    z-index: 0;
    min-height: 2.6rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.6875rem;
    font-weight: 620;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: none;
}

.vibenotes-product-page .product-site-header .nav-cta > span {
    position: relative;
    z-index: 2;
}

.vibenotes-product-page .product-site-header .nav-cta:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: none;
    transform: scale(1.03);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    max-width: min(100%, 18rem);
    padding: 0.18rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026)),
        rgba(10, 10, 12, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.language-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 1 1 10.5rem;
    min-width: 0;
    max-width: 11.8rem;
}

.language-select {
    width: 100%;
    min-width: 0;
    height: 1.72rem;
    padding: 0 1.5rem 0 0.62rem;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font: inherit;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.language-select:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.language-select-icon {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    line-height: 1;
}

.language-switcher button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.74rem;
    height: 1.72rem;
    padding: 0 0.44rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    font: inherit;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.language-switcher button.is-active {
    color: #050505;
    background: #ffffff;
}

.language-switcher [data-locale-system] {
    min-width: 3.2rem;
    padding-inline: 0.56rem;
}

.footer-language-switcher {
    flex: 0 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vibenotes-product-page .product-site-header .mobile-menu-btn {
    display: none;
}

@media (max-width: 1160px) and (min-width: 981px) {
    .vibenotes-product-page .product-site-header .nav-content {
        grid-template-columns: minmax(7.25rem, 1fr) auto minmax(7.25rem, 1fr);
        gap: 0.55rem;
        padding: 0 clamp(1.25rem, 2.4vw, 2rem);
    }

    .vibenotes-product-page .product-site-header .logo-img {
        width: clamp(6.9rem, 9vw, 8rem);
    }

    .vibenotes-product-page .product-nav-chip a {
        min-height: 1.72rem;
        padding: 0 0.68rem;
        font-size: 0.62rem;
        letter-spacing: 0.095em;
    }

    .vibenotes-product-page .product-site-header .nav-cta {
        min-height: 2.45rem;
        padding: 0 0.82rem;
        font-size: 0.625rem;
        letter-spacing: 0.095em;
    }
}

@media (max-width: 980px) {
    .vibenotes-product-page .product-site-header {
        padding: 0.9rem 0;
    }

    .vibenotes-product-page .product-site-header::before {
        opacity: 1;
    }

    .vibenotes-product-page .product-site-header .nav-content {
        grid-template-columns: 1fr auto;
        min-height: 3rem;
        padding: 0 clamp(1rem, 4vw, 1.5rem);
    }

    .vibenotes-product-page .product-site-header .logo-img {
        width: clamp(6.6rem, 28vw, 7.6rem);
    }

    .vibenotes-product-page .product-site-header .product-nav-chip,
    .vibenotes-product-page .product-site-header .product-nav-chip:not(.mobile-open) {
        display: none !important;
    }

    .vibenotes-product-page .product-site-header .nav-cta {
        display: none;
    }

    .vibenotes-product-page .product-site-header .nav-actions {
        position: relative;
        z-index: 1103;
        gap: 0.55rem;
    }

    .language-switcher {
        padding: 0.14rem;
    }

    .language-switcher button {
        min-width: 1.48rem;
        height: 1.62rem;
        padding: 0 0.32rem;
        font-size: 0.6rem;
    }

    .language-switcher [data-locale-system] {
        min-width: 2.8rem;
        padding-inline: 0.42rem;
    }

    .language-select-wrap {
        max-width: 10.4rem;
    }

    .language-select {
        font-size: 0.6rem;
        padding-right: 1.4rem;
    }

    .vibenotes-product-page .product-site-header .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0.78rem 0.66rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.32);
        background: rgba(8, 8, 10, 0.66);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.18),
            0 10px 30px rgba(0, 0, 0, 0.36);
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
        z-index: 1102;
        touch-action: manipulation;
    }

    .vibenotes-product-page .product-site-header .mobile-menu-btn .bar {
        display: block;
        width: 1.32rem;
        height: 2px;
        flex: 0 0 2px;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 0 9px rgba(255, 255, 255, 0.34);
    }

    .vibenotes-product-page .product-site-header .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .vibenotes-product-page .product-site-header .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .vibenotes-product-page .product-site-header .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .vibenotes-product-page .product-site-header .nav-links.mobile-open {
        display: flex !important;
        position: fixed;
        inset: 0;
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        justify-content: center;
        align-items: stretch;
        gap: 0.25rem;
        padding: clamp(6rem, 16vh, 7.5rem) clamp(1.5rem, 6vw, 3rem) 2rem;
        border: 0;
        border-radius: 0;
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 24rem),
            rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(22px) saturate(140%);
        -webkit-backdrop-filter: blur(22px) saturate(140%);
        box-shadow: none;
        overflow-y: auto;
        z-index: 1100;
    }

    .vibenotes-product-page .product-site-header .nav-links.mobile-open a {
        justify-content: center;
        width: min(100%, 24rem);
        min-height: 3.35rem;
        margin: 0 auto;
        padding: 0 1.25rem;
        border-radius: 999px;
        border-bottom: 0;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.92rem;
        font-weight: 650;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
    }

    .vibenotes-product-page .product-site-header .nav-links.mobile-open a:hover,
    .vibenotes-product-page .product-site-header .nav-links.mobile-open a:focus-visible {
        padding-left: 1.25rem;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }
}

.vibenotes-product-page .logo-img,
.vibenotes-product-page .shift-footer-logo img {
    filter: none;
    opacity: 1;
}

.vibenotes-product-page .logo-img:hover {
    filter: none;
}

.vibenotes-product-page .nav-links a {
    color: rgba(255, 255, 255, 0.62);
    text-shadow: none;
}

.vibenotes-product-page .nav-links a + a::before {
    color: rgba(255, 255, 255, 0.28);
}

.vibenotes-product-page .nav-links a:hover {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: none;
}

.vibenotes-product-page .product-site-header .product-nav-chip a {
    color: rgba(255, 255, 255, 0.86);
}

.vibenotes-product-page .product-site-header .product-nav-chip a:hover,
.vibenotes-product-page .product-site-header .product-nav-chip a:focus-visible {
    color: #ffffff;
}

.vibenotes-product-page .product-site-header .product-header-chip::before {
    padding: 0;
    background:
        radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.14), transparent 45%),
        radial-gradient(circle at 72% 105%, rgba(255, 255, 255, 0.07), transparent 44%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022) 48%, rgba(255, 255, 255, 0.044)),
        rgba(255, 255, 255, 0.042);
    -webkit-mask: none;
    mask: none;
}

.vibenotes-product-page .mobile-menu-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.vibenotes-product-page #introduction h1 {
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.78);
}

.vibenotes-product-page #introduction .animated-gradient-text {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: #F7F7F7;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.vibenotes-product-page #introduction p {
    color: rgba(255, 255, 255, 0.84);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.66);
}

.vibenotes-product-page .spotlight-card,
.vibenotes-product-page .bento-item,
.vibenotes-product-page .demo-video-frame,
.vibenotes-product-page .flow-step-preview,
.vibenotes-product-page .visual-card,
.vibenotes-product-page .step-content,
.vibenotes-product-page .coin-modal,
.vibenotes-product-page .contact-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    border-color: rgba(255, 255, 255, 0.11);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.vibenotes-product-page .spotlight-card:hover,
.vibenotes-product-page .bento-item:hover,
.vibenotes-product-page .demo-video-frame:hover,
.vibenotes-product-page .flow-step-preview:hover,
.vibenotes-product-page .visual-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), 0 0 36px rgba(255, 255, 255, 0.045);
}

.vibenotes-product-page .spotlight-card::after {
    background: radial-gradient(520px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.045), transparent 44%);
}

.vibenotes-product-page .visual-preview {
    background: rgba(255, 255, 255, 0.012);
    border-bottom-color: rgba(255, 255, 255, 0.055);
}

.vibenotes-product-page .bento-item:hover .visual-preview {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012) 68%);
}

.vibenotes-product-page .bento-icon,
.vibenotes-product-page .flow-step-number,
.vibenotes-product-page .step-marker,
.vibenotes-product-page .ll-stage-num,
.vibenotes-product-page .coin-rate-cost,
.vibenotes-product-page .coin-breakdown-total {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #F2F2F2;
    box-shadow: none;
}

.vibenotes-product-page .step-marker.active,
.vibenotes-product-page .step-marker.done,
.vibenotes-product-page .progress-dot.active {
    background: #ffffff;
    color: #050506;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.055);
}

.vibenotes-product-page .progress-dot.active::before {
    border-color: rgba(255, 255, 255, 0.22);
}

.vibenotes-product-page .progress-dot {
    background: rgba(255, 255, 255, 0.2);
}

.vibenotes-product-page #timeline {
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.035), transparent 33rem),
        #000000;
}

.vibenotes-product-page .scene-narrative::before {
    opacity: 0.28;
}

.vibenotes-product-page .ll-ring,
.vibenotes-product-page .ll-orbit-lane,
.vibenotes-product-page .ll-wireframe span {
    border-color: rgba(255, 255, 255, 0.1);
    filter: none;
}

.vibenotes-product-page .ll-hub,
.vibenotes-product-page .ll-stage-inner,
.vibenotes-product-page .feature-card-mini,
.vibenotes-product-page .mobile-feature-pill,
.vibenotes-product-page .ll-mc {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

.vibenotes-product-page .pcard {
    --pcard-tier-color: #D4D4D8;
    --pcard-tier-rgb: 212, 212, 216;
    --pcard-tier-gradient: linear-gradient(135deg, #F4F4F5 0%, #A1A1AA 100%);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--pcard-tier-rgb), 0.07), transparent 13rem),
        #2A2A2E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34), 0 0 34px rgba(var(--pcard-tier-rgb), 0.045);
}

.vibenotes-product-page .pcard-basic {
    --pcard-tier-color: #D4D4D8;
    --pcard-tier-rgb: 212, 212, 216;
    --pcard-tier-gradient: linear-gradient(135deg, #F4F4F5 0%, #A1A1AA 100%);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--pcard-tier-rgb), 0.07), transparent 13rem),
        #2A2A2E;
}

.vibenotes-product-page .pcard-notetaker {
    --pcard-tier-color: #00C8FF;
    --pcard-tier-rgb: 0, 200, 255;
    --pcard-tier-gradient: linear-gradient(135deg, #00C8FF 0%, #6366F1 100%);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--pcard-tier-rgb), 0.12), transparent 13rem),
        #1E2A3A;
}

.vibenotes-product-page .pcard-pro {
    --pcard-tier-color: #F43F5E;
    --pcard-tier-rgb: 244, 63, 94;
    --pcard-tier-gradient: linear-gradient(135deg, #FB7185 0%, #F43F5E 45%, #A855F7 100%);
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--pcard-tier-rgb), 0.15), transparent 16rem),
        #3A1018;
    border-color: rgba(var(--pcard-tier-rgb), 0.22);
    box-shadow: 0 26px 78px rgba(0, 0, 0, 0.4), 0 0 44px rgba(var(--pcard-tier-rgb), 0.15);
}

.vibenotes-product-page .pcard-ultra {
    --pcard-tier-color: #84CC16;
    --pcard-tier-rgb: 132, 204, 22;
    --pcard-tier-gradient: linear-gradient(135deg, #A3E635 0%, #22C55E 100%);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--pcard-tier-rgb), 0.13), transparent 14rem),
        #1A2015;
}

.vibenotes-product-page .pcard:hover.pcard-basic,
.vibenotes-product-page .pcard:hover.pcard-notetaker,
.vibenotes-product-page .pcard:hover.pcard-pro,
.vibenotes-product-page .pcard:hover.pcard-ultra {
    border-color: rgba(var(--pcard-tier-rgb), 0.38);
    box-shadow:
        0 30px 82px rgba(0, 0, 0, 0.44),
        0 0 44px rgba(var(--pcard-tier-rgb), 0.2);
}

.vibenotes-product-page .pcard-pill {
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--pcard-tier-rgb), 0.18), transparent 72%),
        linear-gradient(180deg, #081327 0%, #050B18 100%);
    color: #ffffff;
    border-color: rgba(var(--pcard-tier-rgb), 0.28);
    box-shadow:
        0 0.42rem 0.9rem rgba(0, 0, 0, 0.36),
        0 0 1.2rem rgba(var(--pcard-tier-rgb), 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vibenotes-product-page .pcard-pill-recommended {
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--pcard-tier-rgb), 0.22), transparent 72%),
        linear-gradient(180deg, #081327 0%, #050B18 100%);
    color: #ffffff;
    border-color: rgba(var(--pcard-tier-rgb), 0.36);
    box-shadow:
        0 0.42rem 0.9rem rgba(0, 0, 0, 0.38),
        0 0 1.4rem rgba(var(--pcard-tier-rgb), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.vibenotes-product-page .pcard-price {
    background: var(--pcard-tier-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vibenotes-product-page .pcard-price span {
    color: rgba(255, 255, 255, 0.52);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.52);
}

.vibenotes-product-page .pcard-alt-price,
.vibenotes-product-page .pcard-coin-value,
.vibenotes-product-page .coin-info-btn {
    color: var(--pcard-tier-color);
}

.vibenotes-product-page .pcard-btn {
    border-color: rgba(var(--pcard-tier-rgb), 0.24);
}

.vibenotes-product-page .pcard-btn:hover {
    border-color: rgba(var(--pcard-tier-rgb), 0.46);
    box-shadow: 0 0 28px rgba(var(--pcard-tier-rgb), 0.12);
}

.vibenotes-product-page .pcard-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pcard-tier-color);
    font-size: 0.68rem;
    font-weight: 800;
    background: rgba(var(--pcard-tier-rgb), 0.15);
    background-image: none;
    border: 1px solid rgba(var(--pcard-tier-rgb), 0.34);
    border-radius: 50%;
}

.vibenotes-product-page .pcard-coin-li::before {
    display: none;
}

.vibenotes-product-page #timeline {
    background:
        radial-gradient(circle at 48% 9%, rgba(var(--brand-blue), 0.075), transparent 29rem),
        radial-gradient(circle at 58% 16%, rgba(var(--brand-violet), 0.09), transparent 32rem),
        radial-gradient(circle at 12% 64%, rgba(var(--brand-indigo), 0.042), transparent 25rem),
        #000000;
}

.vibenotes-product-page #timeline.section-glow::after,
.vibenotes-product-page #timeline.section-morph::before {
    background: radial-gradient(ellipse at center, rgba(var(--brand-blue), 0.06) 0%, rgba(var(--brand-violet), 0.085) 42%, transparent 72%);
    opacity: 0.62;
}

.vibenotes-product-page #timeline .hero-badge {
    border-color: rgba(var(--brand-blue), 0.2);
    background: linear-gradient(120deg, rgba(var(--brand-blue), 0.045), rgba(var(--brand-violet), 0.04));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 22px rgba(var(--brand-blue), 0.075),
        0 0 28px rgba(var(--brand-violet), 0.08);
}

.vibenotes-product-page #timeline .reveal-blur {
    opacity: 1;
    filter: none;
    transform: none;
}

.vibenotes-product-page #timeline h2 {
    text-shadow:
        0 0 34px rgba(var(--brand-blue), 0.14),
        0 0 54px rgba(var(--brand-violet), 0.11);
}

.vibenotes-product-page #timeline .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #91e9ff 24%, #6366f1 48%, #a855f7 76%, #f0d7ff 100%);
    background-size: 150% 150%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vibenotes-product-page #timeline .roadmap-steps::before {
    left: calc(0.25rem + (var(--timeline-marker-size) / 2));
    background: linear-gradient(to bottom, rgba(var(--brand-blue), 0.26), rgba(255, 255, 255, 0.1), rgba(var(--brand-violet), 0.16));
    box-shadow: 0 0 18px rgba(var(--brand-blue), 0.09);
}

.vibenotes-product-page #timeline .roadmap-steps {
    --timeline-marker-size: 0.75rem;
    max-width: 48rem;
    gap: 3rem;
    padding-left: 0.25rem;
}

.vibenotes-product-page #timeline .step {
    gap: 1.9rem;
    align-items: flex-start;
}

.vibenotes-product-page #timeline .step-content {
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--brand-blue), 0.026), transparent 16rem),
        rgba(255, 255, 255, 0.028);
    border-color: rgba(255, 255, 255, 0.11);
    border-radius: 0.65rem;
    padding: 1.15rem 1.25rem;
    box-shadow:
        0 12px 38px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(var(--brand-blue), 0.035);
    transition:
        transform 0.35s var(--ease-shopify),
        border-color 0.35s var(--ease-shopify),
        box-shadow 0.35s var(--ease-shopify),
        background 0.35s var(--ease-shopify);
}

.vibenotes-product-page #timeline .step:hover .step-content {
    transform: translateY(-3px);
    border-color: rgba(var(--brand-blue), 0.2);
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--brand-blue), 0.04), transparent 16rem),
        rgba(255, 255, 255, 0.035);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.28),
        0 0 30px rgba(var(--brand-blue), 0.06),
        0 0 36px rgba(var(--brand-violet), 0.04);
}

.vibenotes-product-page #timeline .step-marker {
    margin-top: 1.15rem;
    background: rgb(var(--brand-blue));
    border: 2px solid #000000;
    color: transparent;
    box-shadow:
        0 0 0 4px rgba(0, 0, 0, 0.9),
        0 0 18px rgba(var(--brand-blue), 0.22),
        0 0 34px rgba(var(--brand-violet), 0.08);
    font-size: 0;
}

.vibenotes-product-page #timeline .step-marker.active {
    background: linear-gradient(135deg, rgb(var(--brand-blue)), rgb(var(--brand-violet)));
    color: transparent;
    border-color: #000000;
    box-shadow:
        0 0 0 4px rgba(0, 0, 0, 0.9),
        0 0 24px rgba(var(--brand-blue), 0.28),
        0 0 42px rgba(var(--brand-violet), 0.18);
}

.vibenotes-product-page #timeline .step-content h3 {
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1.05rem, 1.8vw, 1.18rem);
    font-weight: 500;
    letter-spacing: 0;
}

.vibenotes-product-page #timeline .step-month-label,
.vibenotes-product-page #timeline .step-bullets li::before {
    color: #91e9ff;
}

.vibenotes-product-page #timeline .step-month-label {
    margin-bottom: 0.9rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, 0.46);
}

.vibenotes-product-page .coin-modal {
    background: #08080a;
    border-color: rgba(255, 255, 255, 0.14);
}

.vibenotes-product-page .coin-modal-breakdown {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.vibenotes-product-page .footer-cta-section {
    border-top-color: rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 82% 12%, rgba(var(--brand-blue), 0.2), transparent 28rem),
        radial-gradient(circle at 10% 88%, rgba(var(--brand-pink), 0.15), transparent 30rem),
        radial-gradient(circle at 54% 110%, rgba(var(--brand-violet), 0.16), transparent 32rem),
        linear-gradient(180deg, #000000 0%, #09101f 54%, #05070d 100%);
}

.vibenotes-product-page .shift-footer,
.contact-body .shift-footer {
    border-top-color: rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 72% 20%, rgba(239, 68, 68, 0.09), transparent 30rem),
        radial-gradient(circle at 18% 82%, rgba(255, 184, 161, 0.07), transparent 28rem),
        #000000;
}

.contact-body .shift-footer-grid {
    transition:
        opacity 160ms linear,
        transform 160ms linear;
}

.vibenotes-product-page .shift-footer-grid {
    transition:
        opacity 240ms linear,
        transform 240ms linear;
}

.vibenotes-product-page .footer-cta-title span {
    background: linear-gradient(96deg, #ffffff 0%, #91e9ff 34%, #c4b5fd 64%, #f9a8d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vibenotes-product-page .shift-footer::before,
.contact-body .shift-footer::before {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.045), transparent 38%),
        radial-gradient(circle at 50% 115%, rgba(239, 68, 68, 0.18), transparent 38rem);
    opacity: calc(0.36 + var(--shift-footer-progress) * 0.42);
}

.vibenotes-product-page .shift-footer-logo img,
.contact-body .shift-footer-logo img {
    filter: none;
    opacity: 1;
}

.vibenotes-product-page .section-divider {
    background: linear-gradient(90deg, transparent, rgba(var(--brand-blue), 0.18), rgba(var(--brand-violet), 0.22), transparent);
}

.vibenotes-product-page .scroll-progress {
    background: linear-gradient(90deg, rgba(var(--brand-blue), 0.54), rgba(var(--brand-indigo), 0.5), rgba(var(--brand-violet), 0.72), rgba(var(--brand-pink), 0.3));
    box-shadow:
        0 0 18px rgba(var(--brand-violet), 0.22),
        0 0 28px rgba(var(--brand-blue), 0.12);
}

.vibenotes-product-page #introduction .hero-cta-group .btn-primary {
    background: linear-gradient(180deg, #ffffff 0%, #eefaff 42%, #f2eaff 100%);
    border-color: rgba(var(--brand-blue), 0.38);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(var(--brand-blue), 0.16),
        0 0 28px rgba(var(--brand-blue), 0.2),
        0 0 32px rgba(var(--brand-violet), 0.38),
        0 0 86px rgba(var(--brand-indigo), 0.24);
}

.vibenotes-product-page #introduction .hero-cta-group .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 38% 0%, rgba(var(--brand-blue), 0.2), transparent 56%),
        radial-gradient(circle at 66% 0%, rgba(var(--brand-violet), 0.22), transparent 62%),
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.55) 48%, transparent 58%);
    opacity: 0.46;
    pointer-events: none;
}

.vibenotes-product-page #introduction .hero-cta-group .btn-primary:hover {
    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(var(--brand-blue), 0.22),
        0 0 38px rgba(var(--brand-blue), 0.24),
        0 0 44px rgba(var(--brand-violet), 0.48),
        0 0 116px rgba(var(--brand-indigo), 0.28);
}

.vibenotes-product-page #demo-video.demo-video-section {
    background:
        radial-gradient(circle at 44% 12%, rgba(var(--brand-blue), 0.08), transparent 28rem),
        radial-gradient(circle at 62% 16%, rgba(var(--brand-violet), 0.105), transparent 31rem),
        radial-gradient(circle at 15% 76%, rgba(var(--brand-indigo), 0.055), transparent 25rem),
        #000000;
}

.vibenotes-product-page #demo-video.section-glow::after {
    background: radial-gradient(ellipse at center, rgba(var(--brand-blue), 0.075) 0%, rgba(var(--brand-violet), 0.12) 38%, rgba(var(--brand-indigo), 0.055) 55%, transparent 72%);
    opacity: 0.72;
}

.vibenotes-product-page #demo-video .hero-badge,
.vibenotes-product-page #function-section .hero-badge {
    border-color: rgba(var(--brand-blue), 0.22);
    background:
        linear-gradient(120deg, rgba(var(--brand-blue), 0.052), rgba(var(--brand-violet), 0.046));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 22px rgba(var(--brand-blue), 0.08),
        0 0 28px rgba(var(--brand-violet), 0.1);
}

.vibenotes-product-page #demo-video .text-gradient,
.vibenotes-product-page #function-section .animated-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #91e9ff 24%, #6366f1 44%, #a855f7 70%, #f0d7ff 100%);
    background-size: 160% 160%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vibenotes-product-page #demo-video .demo-video-frame {
    border-color: rgba(var(--brand-blue), 0.24);
    background:
        radial-gradient(circle at 36% 0%, rgba(var(--brand-blue), 0.075), transparent 50%),
        radial-gradient(circle at 62% 0%, rgba(var(--brand-violet), 0.08), transparent 52%),
        rgba(5, 5, 10, 0.78);
    box-shadow:
        0 26px 82px rgba(0, 0, 0, 0.54),
        0 0 46px rgba(var(--brand-blue), 0.13),
        0 0 54px rgba(var(--brand-violet), 0.2),
        0 0 118px rgba(var(--brand-indigo), 0.1);
}

.vibenotes-product-page #demo-video .demo-video-frame:hover {
    border-color: rgba(var(--brand-blue), 0.44);
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.68),
        0 0 68px rgba(var(--brand-blue), 0.18),
        0 0 92px rgba(var(--brand-violet), 0.34),
        0 0 150px rgba(var(--brand-indigo), 0.16);
}

.vibenotes-product-page #function-section.bento-section {
    background:
        radial-gradient(circle at 42% 5%, rgba(var(--brand-blue), 0.07), transparent 30rem),
        radial-gradient(circle at 58% 7%, rgba(var(--brand-violet), 0.1), transparent 34rem),
        radial-gradient(circle at 88% 48%, rgba(var(--brand-indigo), 0.05), transparent 25rem),
        #000000;
}

.vibenotes-product-page #function-section.section-glow::after,
.vibenotes-product-page #function-section.section-morph::before {
    background: radial-gradient(ellipse at center, rgba(var(--brand-blue), 0.065) 0%, rgba(var(--brand-violet), 0.11) 42%, rgba(var(--brand-indigo), 0.05) 58%, transparent 72%);
    opacity: 0.64;
}

.vibenotes-product-page #function-section .bento-item {
    background:
        radial-gradient(circle at 36% 0%, rgba(var(--brand-blue), 0.045), transparent 17rem),
        radial-gradient(circle at 64% 0%, rgba(var(--brand-violet), 0.07), transparent 18rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    border-color: rgba(var(--brand-blue), 0.13);
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(var(--brand-blue), 0.052),
        0 0 34px rgba(var(--brand-violet), 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.vibenotes-product-page #function-section .bento-item:hover {
    border-color: rgba(var(--brand-blue), 0.3);
    background:
        radial-gradient(circle at 35% 0%, rgba(var(--brand-blue), 0.075), transparent 19rem),
        radial-gradient(circle at 65% 0%, rgba(var(--brand-violet), 0.12), transparent 20rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.076), rgba(255, 255, 255, 0.024));
    box-shadow:
        0 32px 84px rgba(0, 0, 0, 0.46),
        0 0 46px rgba(var(--brand-blue), 0.11),
        0 0 56px rgba(var(--brand-violet), 0.18),
        0 0 110px rgba(var(--brand-indigo), 0.09);
}

.vibenotes-product-page #function-section .visual-preview {
    background: radial-gradient(circle at 42% 46%, rgba(var(--brand-blue), 0.04), transparent 34%), radial-gradient(circle at center, rgba(var(--brand-violet), 0.055), rgba(255, 255, 255, 0.012) 68%);
    border-bottom-color: rgba(var(--brand-blue), 0.11);
}

.vibenotes-product-page #function-section .bento-icon {
    background: linear-gradient(135deg, rgba(var(--brand-blue), 0.075), rgba(var(--brand-violet), 0.08));
    border-color: rgba(var(--brand-blue), 0.18);
    box-shadow:
        0 0 22px rgba(var(--brand-blue), 0.08),
        0 0 28px rgba(var(--brand-violet), 0.12);
}

.vibenotes-product-page .shift-footer-list-title {
    color: rgba(255, 255, 255, 0.44);
}

@media (max-width: 768px) {
    .vibenotes-product-page .floating-orbs {
        opacity: 0.18;
    }

    .vibenotes-product-page .nav-links.mobile-open {
        background: rgba(0, 0, 0, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

}

/* Journey Plug: Stage 01 Materials */
.vibenotes-product-page #journey-plug {
    --journey-blue: 0, 200, 255;
    --journey-violet: 168, 85, 247;
    --journey-indigo: 99, 102, 241;
    --journey-pink: 236, 72, 153;
    --journey-mint: 45, 212, 191;
    --journey-paper: 248, 250, 252;
    position: relative;
    min-height: 700svh;
    overflow: visible;
    padding: 0;
    background:
        radial-gradient(circle at 24% 18%, rgba(var(--journey-blue), 0.09), transparent 30rem),
        radial-gradient(circle at 76% 20%, rgba(var(--journey-violet), 0.1), transparent 32rem),
        radial-gradient(circle at 50% 88%, rgba(var(--journey-mint), 0.055), transparent 28rem),
        #000000;
}

.vibenotes-product-page .journey-stage-anchor {
    position: absolute;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.vibenotes-product-page .journey-stage-anchor--study {
    top: calc((100% - 100svh) * 0.255);
}

.vibenotes-product-page .journey-stage-anchor--learns {
    top: calc((100% - 100svh) * 0.535);
}

.vibenotes-product-page .journey-stage-anchor--feedback {
    top: calc((100% - 100svh) * 0.85);
}

.vibenotes-product-page .journey-sequence-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    min-height: 42rem;
    overflow: hidden;
    isolation: isolate;
}

.vibenotes-product-page .journey-sequence-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    transition:
        opacity 0.82s var(--ease-shopify),
        transform 0.92s var(--ease-shopify),
        filter 0.92s var(--ease-shopify);
}

.vibenotes-product-page .journey-sequence-panel--materials {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.vibenotes-product-page .journey-sequence-panel--study {
    opacity: 0;
    transform: translate3d(0, 2.4rem, 0) scale(0.985);
    filter: blur(10px);
    pointer-events: none;
}

.vibenotes-product-page .journey-sequence-panel--learns {
    opacity: 0;
    transform: translate3d(0, 2.4rem, 0) scale(0.985);
    filter: blur(10px);
    pointer-events: none;
}

.vibenotes-product-page .journey-sequence-panel--feedback {
    opacity: 0;
    transform: translate3d(0, 2.4rem, 0) scale(0.985);
    filter: blur(10px);
    pointer-events: none;
}

.vibenotes-product-page .journey-sequence.is-study-active .journey-sequence-panel--materials {
    opacity: 0;
    transform: translate3d(0, -2.4rem, 0) scale(0.985);
    filter: blur(10px);
    pointer-events: none;
}

.vibenotes-product-page .journey-sequence.is-study-active .journey-sequence-panel--study {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.vibenotes-product-page .journey-sequence.is-learns-active .journey-sequence-panel--materials,
.vibenotes-product-page .journey-sequence.is-learns-active .journey-sequence-panel--study {
    opacity: 0;
    transform: translate3d(0, -2.4rem, 0) scale(0.985);
    filter: blur(10px);
    pointer-events: none;
}

.vibenotes-product-page .journey-sequence.is-learns-active .journey-sequence-panel--learns {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.vibenotes-product-page .journey-sequence.is-feedback-active .journey-sequence-panel--materials,
.vibenotes-product-page .journey-sequence.is-feedback-active .journey-sequence-panel--study,
.vibenotes-product-page .journey-sequence.is-feedback-active .journey-sequence-panel--learns {
    opacity: 0;
    transform: translate3d(0, -2.4rem, 0) scale(0.985);
    filter: blur(10px);
    pointer-events: none;
}

.vibenotes-product-page .journey-sequence.is-feedback-active .journey-sequence-panel--feedback {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}








.vibenotes-product-page #journey-plug.section-glow::after {
    background: radial-gradient(ellipse at center, rgba(var(--journey-blue), 0.075) 0%, rgba(var(--journey-violet), 0.09) 44%, transparent 72%);
    opacity: 0.6;
}

.vibenotes-product-page .journey-material-panel {
    z-index: 2;
    margin: 0;
}

.vibenotes-product-page .journey-material-cloud {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 42rem;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.075), transparent 0.2rem),
        radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.052), transparent 18rem),
        linear-gradient(180deg, #050505 0%, #0a0a0a 46%, #050505 100%);
    box-shadow: none;
    isolation: isolate;
}

.vibenotes-product-page .journey-material-cloud::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.045), transparent 18rem),
        radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.036), transparent 20rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.62));
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    animation: none;
}

.vibenotes-product-page .journey-material-cloud.is-visible::before {
    animation: journeyMinimalFadeIn 620ms cubic-bezier(.22,.61,.36,1) forwards;
}

.vibenotes-product-page .journey-material-cloud::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 48%, rgba(250, 250, 250, 0.13), transparent 0.32rem),
        radial-gradient(circle at 50% 48%, rgba(250, 250, 250, 0.07), transparent 10rem),
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.045) 48%, transparent 58%);
    opacity: 0;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
    animation: none;
}

.vibenotes-product-page .journey-material-cloud.is-visible::after {
    animation: journeyMinimalFadeIn 620ms cubic-bezier(.22,.61,.36,1) 120ms forwards;
}

.vibenotes-product-page .journey-minimal-particle-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: none;
}

.vibenotes-product-page .journey-material-cloud.is-visible .journey-minimal-particle-canvas {
    animation: journeyMinimalCanvasIn 700ms ease-out 80ms forwards;
}

.vibenotes-product-page .journey-minimal-accent-lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.vibenotes-product-page .journey-minimal-hline,
.vibenotes-product-page .journey-minimal-vline {
    position: absolute;
    background: rgba(250, 250, 250, 0.12);
    opacity: 0.75;
    will-change: transform, opacity;
}

.vibenotes-product-page .journey-minimal-hline {
    left: 0;
    right: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: 50% 50%;
}

.vibenotes-product-page .journey-minimal-vline {
    top: 0;
    bottom: 0;
    width: 1px;
    transform: scaleY(0);
    transform-origin: 50% 0%;
}

.vibenotes-product-page .journey-material-cloud.is-visible .journey-minimal-hline {
    animation: journeyMinimalDrawX 520ms cubic-bezier(.22,.61,.36,1) forwards;
}

.vibenotes-product-page .journey-material-cloud.is-visible .journey-minimal-vline {
    animation: journeyMinimalDrawY 520ms cubic-bezier(.22,.61,.36,1) forwards;
}

.vibenotes-product-page .journey-minimal-hline:nth-child(1) { top: 20%; animation-delay: 0ms; }
.vibenotes-product-page .journey-minimal-hline:nth-child(2) { top: 50%; animation-delay: 70ms; }
.vibenotes-product-page .journey-minimal-hline:nth-child(3) { top: 80%; animation-delay: 140ms; }
.vibenotes-product-page .journey-minimal-vline:nth-child(4) { left: 20%; animation-delay: 210ms; }
.vibenotes-product-page .journey-minimal-vline:nth-child(5) { left: 50%; animation-delay: 285ms; }
.vibenotes-product-page .journey-minimal-vline:nth-child(6) { left: 80%; animation-delay: 360ms; }

.vibenotes-product-page .journey-minimal-hline::after,
.vibenotes-product-page .journey-minimal-vline::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(250, 250, 250, 0.28), transparent);
    opacity: 0;
}

.vibenotes-product-page .journey-material-cloud.is-visible .journey-minimal-hline::after,
.vibenotes-product-page .journey-material-cloud.is-visible .journey-minimal-vline::after {
    animation: journeyMinimalShimmer 480ms ease-out forwards;
}

.vibenotes-product-page .journey-minimal-hline:nth-child(1)::after { animation-delay: 0ms; }
.vibenotes-product-page .journey-minimal-hline:nth-child(2)::after { animation-delay: 70ms; }
.vibenotes-product-page .journey-minimal-hline:nth-child(3)::after { animation-delay: 140ms; }
.vibenotes-product-page .journey-minimal-vline:nth-child(4)::after { animation-delay: 210ms; }
.vibenotes-product-page .journey-minimal-vline:nth-child(5)::after { animation-delay: 285ms; }
.vibenotes-product-page .journey-minimal-vline:nth-child(6)::after { animation-delay: 360ms; }

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

@keyframes journeyMinimalCanvasIn {
    from { opacity: 0; }
    to { opacity: 0.48; }
}

@keyframes journeyMinimalDrawX {
    0% { opacity: 0; transform: scaleX(0); }
    60% { opacity: 0.9; }
    100% { opacity: 0.75; transform: scaleX(1); }
}

@keyframes journeyMinimalDrawY {
    0% { opacity: 0; transform: scaleY(0); }
    60% { opacity: 0.9; }
    100% { opacity: 0.75; transform: scaleY(1); }
}

@keyframes journeyMinimalShimmer {
    0% { opacity: 0; }
    30% { opacity: 0.28; }
    100% { opacity: 0; }
}

@keyframes journeyDocumentBackgroundAppear {
    0% {
        opacity: 0;
        transform: translateX(-115%);
    }

    34% {
        opacity: 0.42;
    }

    100% {
        opacity: 0.18;
        transform: translateX(0);
    }
}

.vibenotes-product-page .journey-context-hub {
    position: absolute;
    left: 50%;
    top: 48%;
    z-index: 6;
    width: min(26rem, calc(100% - 3rem));
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    text-align: center;
    transform: translate(-50%, calc(-50% + 1.3rem)) scale(0.98);
    transition:
        opacity 480ms cubic-bezier(.22,.61,.36,1),
        transform 600ms cubic-bezier(.22,.61,.36,1);
}

.vibenotes-product-page .journey-material-cloud.is-visible .journey-context-hub {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition-delay: 80ms;
}

.vibenotes-product-page .journey-context-hub::before {
    content: '';
    position: absolute;
    inset: -3.5rem -4rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.62), transparent 70%);
    filter: blur(2px);
    pointer-events: none;
    z-index: -1;
}

.vibenotes-product-page .journey-context-hub span,
.vibenotes-product-page .journey-artifact span {
    color: rgba(180, 232, 255, 0.8);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vibenotes-product-page .journey-context-hub h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.8rem, 5.6vw, 5.2rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: 0;
    white-space: pre-line;
    text-wrap: balance;
    text-shadow: 0 16px 44px rgba(0, 0, 0, 0.84), 0 0 30px rgba(var(--journey-blue), 0.14);
}

.vibenotes-product-page .journey-context-hub small {
    max-width: 21rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: clamp(0.82rem, 1.25vw, 0.98rem);
    line-height: 1.45;
}

.vibenotes-product-page .journey-artifact {
    --jx: 0px;
    --jy: 0px;
    --document-glow-x: calc(50% + (var(--journey-cursor-x, 0) * 8%));
    --document-glow-y: calc(50% + (var(--journey-cursor-y, 0) * 8%));
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 3;
    width: var(--w, 9rem);
    height: var(--h, 9rem);
    max-width: none;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.32rem;
    padding: 0.78rem 0.84rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background:
        radial-gradient(circle at var(--document-glow-x) var(--document-glow-y), rgba(250, 250, 250, 0), transparent 0%),
        radial-gradient(circle at 20% 0%, rgba(var(--journey-paper), 0.16), transparent 58%),
        rgba(255, 255, 255, 0.07);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);
    color: #ffffff;
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(var(--jx), calc(var(--jy) + 1.4rem), 0) rotate(calc(var(--r) - 1deg)) scale(0.92);
    transition:
        opacity 360ms cubic-bezier(.22,.61,.36,1),
        transform 520ms cubic-bezier(.22,.61,.36,1),
        background 0.46s ease,
        border-color 0.24s var(--ease-out),
        box-shadow 0.24s var(--ease-out),
        scale 0.24s var(--ease-out),
        filter 480ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.vibenotes-product-page .journey-artifact::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(105deg, transparent 0%, rgba(250, 250, 250, 0.18) 48%, transparent 62%),
        radial-gradient(circle at var(--document-glow-x) var(--document-glow-y), rgba(250, 250, 250, 0.14), transparent 58%);
    opacity: 0;
    transform: translateX(-115%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.vibenotes-product-page .journey-artifact > * {
    position: relative;
    z-index: 1;
}

.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(var(--jx), var(--jy), 0) rotate(var(--r)) scale(1);
}

.vibenotes-product-page .journey-material-cloud.is-visible.is-pointer-active .journey-artifact {
    transition:
        opacity 0.64s cubic-bezier(.22,.61,.36,1),
        background 0.46s ease,
        border-color 0.24s var(--ease-out),
        box-shadow 0.24s var(--ease-out),
        scale 0.24s var(--ease-out),
        filter 0.24s var(--ease-out);
}

.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact::after {
    animation: journeyDocumentBackgroundAppear 480ms cubic-bezier(.22,.61,.36,1) both;
}

.vibenotes-product-page .journey-material-cloud.is-pointer-active .journey-artifact::after {
    opacity: 0.36;
    transform: translateX(0);
    transition:
        opacity 260ms ease,
        transform 460ms cubic-bezier(.22,.61,.36,1);
}

.vibenotes-product-page .journey-artifact:nth-of-type(3) { transition-delay: 0ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(4) { transition-delay: 40ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(5) { transition-delay: 80ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(6) { transition-delay: 120ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(7) { transition-delay: 160ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(8) { transition-delay: 200ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(9) { transition-delay: 240ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(10) { transition-delay: 280ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(11) { transition-delay: 320ms; }
.vibenotes-product-page .journey-artifact:nth-of-type(12) { transition-delay: 360ms; }

.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(3)::after { animation-delay: 0ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(4)::after { animation-delay: 40ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(5)::after { animation-delay: 80ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(6)::after { animation-delay: 120ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(7)::after { animation-delay: 160ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(8)::after { animation-delay: 200ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(9)::after { animation-delay: 240ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(10)::after { animation-delay: 280ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(11)::after { animation-delay: 320ms; }
.vibenotes-product-page .journey-material-cloud.is-visible .journey-artifact:nth-of-type(12)::after { animation-delay: 360ms; }

.vibenotes-product-page .journey-artifact:hover {
    border-color: rgba(var(--journey-blue), 0.34);
    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.42),
        0 0 30px rgba(var(--journey-blue), 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    filter: brightness(1.08);
    scale: 1.03;
}

.vibenotes-product-page .journey-artifact strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.78rem, 1.1vw, 0.96rem);
    line-height: 1.15;
}

.vibenotes-product-page .journey-artifact small {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
    line-height: 1.2;
}

.vibenotes-product-page .journey-artifact::before {
    content: '';
    position: absolute;
    top: 0.22rem;
    right: 0.22rem;
    width: clamp(1.25rem, 24%, 1.95rem);
    height: clamp(1.25rem, 24%, 1.95rem);
    border-radius: 0 0.1rem 0 0.08rem;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.26) 0 1.4px,
            rgba(255, 255, 255, 0) 1.6px),
        linear-gradient(225deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.09) 46%,
            rgba(15, 18, 34, 0.18) 100%);
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.09),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        -0.38rem 0.42rem 0.7rem rgba(0, 0, 0, 0.18);
    opacity: 0.74;
    pointer-events: none;
}

.vibenotes-product-page .journey-artifact--pdf::before,
.vibenotes-product-page .journey-artifact--wide::before {
    background:
        linear-gradient(135deg,
            rgba(213, 240, 255, 0.28) 0 1.4px,
            rgba(213, 240, 255, 0) 1.6px),
        linear-gradient(225deg,
            rgba(213, 240, 255, 0.18) 0%,
            rgba(124, 198, 237, 0.09) 48%,
            rgba(24, 39, 68, 0.22) 100%);
}

.vibenotes-product-page .journey-artifact--pdf {
    background:
        radial-gradient(circle at var(--document-glow-x) var(--document-glow-y), rgba(250, 250, 250, 0.08), transparent 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 42%),
        radial-gradient(circle at 18% 0%, rgba(var(--journey-blue), 0.19), transparent 62%),
        rgba(14, 25, 42, 0.86);
}

.vibenotes-product-page .journey-artifact--note {
    background:
        radial-gradient(circle at var(--document-glow-x) var(--document-glow-y), rgba(250, 250, 250, 0.07), transparent 58%),
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 2.4rem / 100% 1.02rem,
        radial-gradient(circle at 22% 0%, rgba(253, 224, 71, 0.14), transparent 62%),
        rgba(42, 35, 18, 0.72);
}

.vibenotes-product-page .journey-artifact--paper,
.vibenotes-product-page .journey-artifact--sheet {
    background:
        radial-gradient(circle at var(--document-glow-x) var(--document-glow-y), rgba(250, 250, 250, 0.075), transparent 58%),
        radial-gradient(circle at 18% 0%, rgba(var(--journey-mint), 0.14), transparent 58%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
        rgba(15, 34, 31, 0.8);
}

.vibenotes-product-page .journey-artifact--exam {
    min-height: 4.6rem;
    border-color: rgba(var(--journey-pink), 0.24);
    background:
        radial-gradient(circle at var(--document-glow-x) var(--document-glow-y), rgba(250, 250, 250, 0.07), transparent 58%),
        radial-gradient(circle at 18% 0%, rgba(var(--journey-pink), 0.18), transparent 62%),
        rgba(44, 15, 29, 0.78);
}

.vibenotes-product-page .journey-artifact--chip {
    min-width: 0;
    min-height: 0;
    width: max-content;
    height: auto;
    max-width: 11rem;
    display: block;
    padding: 0.5rem 0.72rem;
    border-radius: 999px;
    border-color: rgba(var(--journey-violet), 0.28);
    background:
        radial-gradient(circle at var(--document-glow-x) var(--document-glow-y), rgba(250, 250, 250, 0.08), transparent 58%),
        linear-gradient(135deg, rgba(var(--journey-blue), 0.13), rgba(var(--journey-violet), 0.15)),
        rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.15;
    white-space: nowrap;
    z-index: 4;
}

.vibenotes-product-page .journey-artifact--chip::before {
    display: none;
}

.vibenotes-product-page .journey-artifact--source {
    border-color: rgba(var(--journey-mint), 0.28);
    background:
        radial-gradient(circle at var(--document-glow-x) var(--document-glow-y), rgba(250, 250, 250, 0.08), transparent 58%),
        linear-gradient(135deg, rgba(var(--journey-mint), 0.14), rgba(var(--journey-blue), 0.12)),
        rgba(255, 255, 255, 0.07);
}

.vibenotes-product-page .journey-sequence-panel--study {
    --journey-blue: 0, 200, 255;
    --journey-violet: 168, 85, 247;
    --journey-pink: 236, 72, 153;
    --journey-mint: 45, 212, 191;
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--journey-blue), 0.1), transparent 34rem),
        radial-gradient(circle at 80% 28%, rgba(var(--journey-violet), 0.12), transparent 34rem),
        radial-gradient(circle at 50% 100%, rgba(var(--journey-mint), 0.065), transparent 32rem),
        #000000;
}

.vibenotes-product-page .journey-study-scene {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(5.1rem, 7.4vh, 5.85rem) clamp(1.5rem, 4vw, 4.5rem) clamp(9rem, 15vh, 10rem);
    isolation: isolate;
}

.vibenotes-product-page .journey-study-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px) 0 0 / 100% 2.2rem,
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 2.2rem 100%;
    opacity: 0.28;
    pointer-events: none;
    z-index: -2;
}

.vibenotes-product-page .journey-study-scene::after {
    display: none;
}

.vibenotes-product-page .study-open-file {
    min-width: min(18rem, calc(100vw - 3rem));
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    margin-bottom: clamp(1.15rem, 2.4vh, 1.6rem);
    padding: 0.78rem 0.92rem;
    border: 1px solid rgba(var(--journey-blue), 0.22);
    background:
        radial-gradient(circle at 18% 0%, rgba(var(--journey-blue), 0.18), transparent 60%),
        rgba(12, 22, 35, 0.82);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.34),
        0 0 30px rgba(var(--journey-blue), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);
    color: #ffffff;
    opacity: 0;
    transform: translate3d(0, -2.2rem, 0) scale(0.9);
    transition:
        opacity 0.66s var(--ease-shopify),
        transform 0.86s var(--ease-shopify),
        border-color 0.28s var(--ease-out);
}

.vibenotes-product-page .study-open-file span,
.vibenotes-product-page .study-workspace-topbar span,
.vibenotes-product-page .journey-study-copy span {
    color: rgba(180, 232, 255, 0.78);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vibenotes-product-page .study-open-file strong {
    font-size: 0.95rem;
    line-height: 1.12;
}

.vibenotes-product-page .journey-study-copy {
    width: min(35rem, calc(100vw - 3rem));
    margin: 0 auto clamp(0.62rem, 1.6vh, 0.95rem);
    text-align: center;
}

.vibenotes-product-page .journey-study-copy h2 {
    margin: 0.38rem 0 0.48rem;
    color: #ffffff;
    font-size: clamp(2.3rem, 4.25vw, 3.8rem);
    font-weight: 520;
    line-height: 0.98;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 16px 44px rgba(0, 0, 0, 0.72), 0 0 30px rgba(var(--journey-mint), 0.12);
}

.vibenotes-product-page .journey-study-copy p {
    max-width: 28rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.64);
    font-size: clamp(0.82rem, 1.25vw, 0.98rem);
    line-height: 1.46;
}

.vibenotes-product-page .journey-study-workspace {
    position: relative;
    width: min(72rem, calc(100vw - clamp(2rem, 7vw, 7rem)));
    height: clamp(33rem, 50vh, 38rem);
    min-height: clamp(33rem, 50vh, 38rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(9.5rem, 0.68fr) minmax(20rem, 1.74fr) minmax(9.5rem, 0.68fr);
    grid-template-rows: auto 1fr;
    gap: 0.9rem;
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 8px;
    background:
        radial-gradient(circle at 30% 0%, rgba(var(--journey-blue), 0.11), transparent 42%),
        radial-gradient(circle at 76% 10%, rgba(var(--journey-violet), 0.1), transparent 48%),
        rgba(10, 14, 24, 0.84);
    box-shadow:
        0 34px 94px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translate3d(0, 1.4rem, 0) scale(0.985);
    transition:
        opacity 0.7s var(--ease-shopify),
        transform 0.86s var(--ease-shopify);
}

.vibenotes-product-page .study-workspace-topbar {
    grid-column: 1 / -1;
    min-height: 3.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.72rem 0.84rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
}

.vibenotes-product-page .study-workspace-topbar div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.vibenotes-product-page .study-workspace-topbar strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.94rem;
    line-height: 1.1;
}

.vibenotes-product-page .study-session-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(var(--journey-mint), 0.26);
    border-radius: 999px;
    background: rgba(var(--journey-mint), 0.08);
    color: rgba(216, 255, 250, 0.86) !important;
}

.vibenotes-product-page .study-note-list,
.vibenotes-product-page .study-answer-panel,
.vibenotes-product-page .study-feedback-rail {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vibenotes-product-page .study-note-list {
    display: flex;
    flex-direction: column;
    gap: 0.58rem;
    padding: 0.78rem;
}

.vibenotes-product-page .study-note-list span {
    display: flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.042);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 720;
    line-height: 1.15;
}

.vibenotes-product-page .study-note-list .is-active {
    border-color: rgba(var(--journey-blue), 0.28);
    background: rgba(var(--journey-blue), 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.vibenotes-product-page .study-answer-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(0.82rem, 1.4vw, 1.05rem);
    min-height: clamp(28rem, 39vh, 32rem);
    padding: clamp(1.15rem, 2.1vw, 1.65rem);
    overflow: hidden;
}

.vibenotes-product-page .study-answer-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 100% 2.1rem;
    opacity: 0.3;
    pointer-events: none;
}

.vibenotes-product-page .study-question-label {
    width: max-content;
    max-width: 100%;
    position: relative;
    z-index: 1;
    color: rgba(216, 255, 250, 0.78);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vibenotes-product-page .study-answer-panel strong {
    position: relative;
    z-index: 1;
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1.08rem, 2vw, 1.55rem);
    line-height: 1.15;
    text-wrap: balance;
}

.vibenotes-product-page .study-writing-lines {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.52rem;
    width: min(100%, 25rem);
    margin-top: 0.2rem;
}

.vibenotes-product-page .study-writing-lines i {
    display: block;
    height: 0.48rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(var(--journey-blue), 0.34), rgba(255, 255, 255, 0.1));
    opacity: 0.72;
    transform-origin: left;
    animation: studyLineShimmer 3.2s var(--ease-shopify) infinite;
}

.vibenotes-product-page .study-writing-lines i:nth-child(1) {
    width: 92%;
}

.vibenotes-product-page .study-writing-lines i:nth-child(2) {
    width: 74%;
    animation-delay: 0.22s;
}

.vibenotes-product-page .study-writing-lines i:nth-child(3) {
    width: 84%;
    animation-delay: 0.42s;
}

.vibenotes-product-page .study-input-surface {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(10rem, 0.92fr);
    gap: clamp(0.78rem, 1.1vw, 0.92rem);
    width: min(100%, 35.5rem);
    margin-top: auto;
}

.vibenotes-product-page .study-pencil-input,
.vibenotes-product-page .study-typing-input {
    position: relative;
    min-width: 0;
    min-height: clamp(9.8rem, 12.8vw, 11.25rem);
    padding: 0.82rem 0.9rem 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 7px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 2.1rem / 100% 1.4rem,
        rgba(3, 8, 16, 0.42);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vibenotes-product-page .study-pencil-input::after,
.vibenotes-product-page .study-typing-input::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 58%);
    opacity: 0;
    transform: translateX(-120%);
    pointer-events: none;
}

.vibenotes-product-page .study-input-mode-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.18rem;
}

.vibenotes-product-page .study-input-mode-header span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 1.3rem;
    padding: 0.2rem 0.42rem;
    border: 1px solid rgba(var(--journey-mint), 0.18);
    border-radius: 999px;
    background: rgba(var(--journey-mint), 0.08);
    color: rgba(220, 255, 250, 0.82);
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.vibenotes-product-page .study-input-mode-header small {
    min-width: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.58rem;
    font-weight: 720;
    line-height: 1.12;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vibenotes-product-page .study-pencil-input svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: clamp(5.75rem, 7.8vw, 7rem);
    margin-top: 0.18rem;
    overflow: visible;
}

.vibenotes-product-page .study-written-text,
.vibenotes-product-page .study-scratch-mark {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vibenotes-product-page .study-written-text {
    fill: transparent;
    stroke: rgba(238, 254, 255, 0.9);
    stroke-width: 1.45;
    stroke-dasharray: 760;
    stroke-dashoffset: 760;
    font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
    font-size: 39px;
    font-weight: 700;
    letter-spacing: 0.01em;
    filter: drop-shadow(0 0 8px rgba(var(--journey-blue), 0.24));
}

.vibenotes-product-page .study-written-text--two {
    stroke: rgba(196, 240, 255, 0.82);
    font-size: 36px;
}

.vibenotes-product-page .study-scratch-mark {
    fill: none;
    stroke: rgba(var(--journey-mint), 0.72);
    stroke-width: 5;
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
}

.vibenotes-product-page .study-typing-input {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vibenotes-product-page .study-typing-input strong {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.34rem;
    max-width: none;
    margin-top: 0.72rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(0.72rem, 1vw, 0.9rem);
    font-weight: 650;
    line-height: 1.42;
    letter-spacing: 0;
}

.vibenotes-product-page .study-typing-input strong span {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.vibenotes-product-page .study-soft-keys {
    position: absolute;
    left: 0.82rem;
    right: 2.2rem;
    bottom: 0.85rem;
    z-index: 1;
    display: flex;
    gap: 0.28rem;
}

.vibenotes-product-page .study-soft-keys span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    min-height: 1.3rem;
    padding: 0.14rem 0.34rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.52rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vibenotes-product-page .study-soft-keys span:last-child {
    margin-left: auto;
    min-width: 2.75rem;
    border-color: rgba(var(--journey-mint), 0.18);
    color: rgba(220, 255, 250, 0.78);
}

.vibenotes-product-page .study-typing-input i {
    position: absolute;
    right: 0.92rem;
    top: 5.35rem;
    width: 2px;
    height: 1.28rem;
    border-radius: 999px;
    background: rgba(var(--journey-mint), 0.92);
    box-shadow: 0 0 14px rgba(var(--journey-mint), 0.42);
    opacity: 0.38;
}

.vibenotes-product-page .study-pencil-nib {
    position: absolute;
    left: 72%;
    top: 52%;
    z-index: 3;
    width: 0.42rem;
    height: 2.85rem;
    border-radius: 999px 999px 3px 3px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(188, 238, 255, 0.82) 56%, rgba(var(--journey-mint), 0.86));
    box-shadow:
        0 0 16px rgba(var(--journey-mint), 0.28),
        0 10px 26px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%) rotate(48deg);
    transform-origin: 50% 100%;
}

.vibenotes-product-page .study-pencil-nib::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.34rem;
    width: 0;
    height: 0;
    border-left: 0.21rem solid transparent;
    border-right: 0.21rem solid transparent;
    border-top: 0.42rem solid rgba(var(--journey-mint), 0.92);
    transform: translateX(-50%);
}

.vibenotes-product-page .journey-sequence.is-study-active .study-pencil-input::after,
.vibenotes-product-page .journey-sequence.is-study-active .study-typing-input::after {
    animation: studyInputSweep 2.8s var(--ease-shopify) 0.18s infinite;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-written-text--one {
    animation: studyScratchDraw 2.2s var(--ease-shopify) 0.28s forwards, studyScratchJitter 3.4s steps(2, end) 2.55s infinite;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-written-text--two {
    animation: studyScratchDraw 2.15s var(--ease-shopify) 0.88s forwards, studyScratchJitter 3.2s steps(2, end) 2.75s infinite;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-scratch-mark {
    animation: studyScratchDraw 0.78s var(--ease-shopify) 1.72s forwards;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-typing-input i {
    animation: studyTypingCaret 1.05s steps(1, end) infinite;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-pencil-nib {
    animation: studyPencilWrite 2.8s var(--ease-shopify) 0.22s infinite;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-soft-keys span {
    animation: studyKeyPress 2.4s var(--ease-shopify) infinite;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-soft-keys span:nth-child(2) {
    animation-delay: 0.18s;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-soft-keys span:nth-child(3) {
    animation-delay: 0.36s;
}

.vibenotes-product-page .study-answer-panel mark {
    position: relative;
    z-index: 1;
    width: max-content;
    max-width: 100%;
    padding: 0.42rem 0.54rem;
    border-radius: 5px;
    background: rgba(var(--journey-mint), 0.14);
    color: rgba(225, 255, 251, 0.9);
    font-size: 0.82rem;
    font-weight: 720;
    line-height: 1.18;
}

.vibenotes-product-page .study-feedback-rail {
    display: flex;
    flex-direction: column;
    gap: 0.56rem;
    padding: 0.78rem;
}

.vibenotes-product-page .study-evidence-chip,
.vibenotes-product-page .study-grade-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.5rem 0.62rem;
    border: 1px solid rgba(var(--journey-violet), 0.22);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(var(--journey-blue), 0.08), rgba(var(--journey-violet), 0.1)),
        rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.73rem;
    font-weight: 780;
    line-height: 1.12;
    opacity: 0;
    transform: translate3d(0, 0.5rem, 0);
    transition:
        opacity 0.48s var(--ease-shopify),
        transform 0.56s var(--ease-shopify);
}

.vibenotes-product-page .study-grade-pill {
    border-color: rgba(var(--journey-mint), 0.34);
    background:
        radial-gradient(circle at 22% 0%, rgba(var(--journey-mint), 0.18), transparent 56%),
        rgba(14, 38, 35, 0.78);
    color: rgba(236, 255, 251, 0.95);
}

.vibenotes-product-page .study-evidence-trail {
    position: absolute;
    left: 50%;
    bottom: clamp(5.3rem, 7.5vh, 5.85rem);
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transform: translateX(-50%);
    pointer-events: none;
}

.vibenotes-product-page .study-evidence-trail span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.75rem;
    padding: 0.38rem 0.58rem;
    border: 1px solid rgba(var(--journey-mint), 0.2);
    border-radius: 999px;
    background: rgba(12, 32, 30, 0.78);
    color: rgba(220, 255, 250, 0.84);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transform: translate3d(0, -0.8rem, 0) scale(0.94);
}

.vibenotes-product-page .journey-sequence.is-study-active .study-open-file,
.vibenotes-product-page .journey-sequence.is-study-active .journey-study-workspace {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.vibenotes-product-page .journey-sequence.is-study-active .study-evidence-chip,
.vibenotes-product-page .journey-sequence.is-study-active .study-grade-pill {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.vibenotes-product-page .journey-sequence.is-study-active .study-feedback-rail > :nth-child(1) {
    transition-delay: 0.2s;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-feedback-rail > :nth-child(2) {
    transition-delay: 0.36s;
    animation: studyGradePulse 1.1s var(--ease-shopify) 0.62s 1;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-feedback-rail > :nth-child(3) {
    transition-delay: 0.52s;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-feedback-rail > :nth-child(4) {
    transition-delay: 0.68s;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-evidence-trail span {
    animation: evidenceTrailDrift 3.4s var(--ease-shopify) infinite;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-evidence-trail span:nth-child(1) {
    animation-delay: 0.5s;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-evidence-trail span:nth-child(2) {
    animation-delay: 0.72s;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-evidence-trail span:nth-child(3) {
    animation-delay: 0.94s;
}

.vibenotes-product-page .journey-sequence.is-study-active .study-evidence-trail span:nth-child(4) {
    animation-delay: 1.16s;
}

@keyframes studyLineShimmer {
    0%,
    100% {
        opacity: 0.48;
        transform: scaleX(0.94);
    }
    48% {
        opacity: 0.82;
        transform: scaleX(1);
    }
}

@keyframes studyScratchDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes studyScratchJitter {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0.08rem, -0.04rem, 0);
    }
}

@keyframes studyTypingCaret {
    0%,
    48% {
        opacity: 1;
    }
    49%,
    100% {
        opacity: 0.16;
    }
}

@keyframes studyPencilWrite {
    0% {
        left: 24%;
        top: 48%;
        transform: translate(-50%, -50%) rotate(48deg);
    }
    34% {
        left: 58%;
        top: 38%;
        transform: translate(-50%, -50%) rotate(42deg);
    }
    58% {
        left: 86%;
        top: 48%;
        transform: translate(-50%, -50%) rotate(52deg);
    }
    76% {
        left: 62%;
        top: 73%;
        transform: translate(-50%, -50%) rotate(43deg);
    }
    100% {
        left: 24%;
        top: 48%;
        transform: translate(-50%, -50%) rotate(48deg);
    }
}

@keyframes studyKeyPress {
    0%,
    100% {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.07);
    }
    38% {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.07);
    }
    46% {
        transform: translateY(0.12rem);
        background: rgba(var(--journey-mint), 0.16);
    }
    58% {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.07);
    }
}

@keyframes studyInputSweep {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }
    18%,
    42% {
        opacity: 0.32;
    }
    72%,
    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

@keyframes studyGradePulse {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(var(--journey-mint), 0);
        transform: translate3d(0, 0, 0) scale(1);
    }
    45% {
        box-shadow: 0 0 34px rgba(var(--journey-mint), 0.22);
        transform: translate3d(0, 0, 0) scale(1.045);
    }
}

@keyframes evidenceTrailDrift {
    0% {
        opacity: 0;
        transform: translate3d(-0.45rem, -1rem, 0) scale(0.94);
    }
    26%,
    68% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(0.45rem, 1rem, 0) scale(0.96);
    }
}

/* Journey Plug: Stage 03 AI Learns */
.vibenotes-product-page #journey-learns-panel {
    --journey-blue: 0, 200, 255;
    --journey-violet: 168, 85, 247;
    --journey-pink: 236, 72, 153;
    --journey-mint: 45, 212, 191;
    --journey-amber: 251, 191, 36;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(var(--journey-blue), 0.055), transparent 24rem),
        radial-gradient(circle at 78% 18%, rgba(var(--journey-violet), 0.05), transparent 26rem),
        radial-gradient(circle at 16% 78%, rgba(var(--journey-mint), 0.035), transparent 24rem),
        #000000;
}

.vibenotes-product-page .journey-learns-sticky {
    position: relative;
    top: 0;
    width: 100%;
    height: 100svh;
    min-height: 42rem;
    display: block;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}

.vibenotes-product-page .journey-learns-sticky::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.055), transparent 0.14rem),
        linear-gradient(rgba(255, 255, 255, 0.019) 1px, transparent 1px) 0 0 / 100% 2.45rem,
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px) 0 0 / 2.45rem 100%;
    opacity: 0.18;
    pointer-events: none;
    z-index: -3;
}

.vibenotes-product-page .journey-learns-sticky::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(52rem, 86vw);
    height: min(38rem, 76vh);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), rgba(var(--journey-violet), 0.09) 32%, rgba(var(--journey-blue), 0.04) 52%, transparent 74%);
    filter: blur(26px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -2;
}

.vibenotes-product-page .journey-learns-incoming {
    position: absolute;
    left: 50%;
    z-index: 34;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.82rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background:
        radial-gradient(circle at 15% 0%, rgba(var(--journey-mint), 0.14), transparent 58%),
        radial-gradient(circle at 85% 18%, rgba(var(--journey-violet), 0.12), transparent 62%),
        rgba(16, 20, 32, 0.86);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
    text-align: center;
}

.vibenotes-product-page .journey-learns-incoming {
    top: clamp(7rem, 11vh, 8.2rem);
    opacity: var(--learns-incoming-opacity, 1);
    transform: translateX(-50%) translateY(var(--learns-incoming-y, 0)) scale(var(--learns-incoming-scale, 1));
}

.vibenotes-product-page .journey-learns-incoming span,
.vibenotes-product-page .journey-learns-copy span,
.vibenotes-product-page .journey-analysis-panel span,
.vibenotes-product-page .journey-insight-card span,
.vibenotes-product-page .journey-metric-card small {
    color: rgba(180, 232, 255, 0.78);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vibenotes-product-page .journey-learns-incoming strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.15;
}

.vibenotes-product-page .journey-learns-copy {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 30;
    width: min(52rem, calc(100vw - 3rem));
    margin: 0;
    text-align: center;
    mix-blend-mode: normal;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.vibenotes-product-page .journey-learns-copy h2 {
    margin: 0.5rem 0 0.58rem;
    color: #ffffff;
    font-size: clamp(3.7rem, 8.6vw, 8.6rem);
    font-weight: 560;
    line-height: 0.86;
    letter-spacing: 0;
    white-space: pre-line;
    text-wrap: balance;
    text-shadow:
        0 20px 60px rgba(0, 0, 0, 0.88),
        0 0 36px rgba(var(--journey-blue), 0.16),
        0 0 54px rgba(var(--journey-violet), 0.14);
}

.vibenotes-product-page .journey-learns-copy p {
    max-width: 27rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.64);
    font-size: clamp(0.82rem, 1.25vw, 0.98rem);
    line-height: 1.46;
}

.vibenotes-product-page .journey-learns-body {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    display: block;
    perspective: 980px;
    perspective-origin: 50% 48%;
    transform-style: preserve-3d;
    pointer-events: none;
}

.vibenotes-product-page .journey-metric-strip {
    position: absolute;
    left: clamp(1rem, 4vw, 4rem);
    bottom: clamp(1.15rem, 3vw, 2rem);
    z-index: 33;
    width: min(26rem, calc(100vw - 2rem));
    display: none;
    flex-wrap: wrap;
    gap: 0.46rem;
    opacity: 0.68;
    pointer-events: none;
}

.vibenotes-product-page .journey-metric-card {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.26rem;
    padding: 0.48rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 999px;
    background: rgba(9, 14, 25, 0.62);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.vibenotes-product-page .journey-metric-card strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    line-height: 1.12;
}

.vibenotes-product-page .journey-metric-card.journey-risk {
    border-color: rgba(var(--journey-pink), 0.22);
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--journey-pink), 0.12), transparent 58%),
        rgba(255, 255, 255, 0.045);
}

.vibenotes-product-page .journey-metric-card.journey-gain {
    border-color: rgba(var(--journey-mint), 0.22);
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--journey-mint), 0.12), transparent 58%),
        rgba(255, 255, 255, 0.045);
}

.vibenotes-product-page .journey-folding-stream {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 0;
    perspective: inherit;
    perspective-origin: inherit;
    transform-style: preserve-3d;
}

.vibenotes-product-page .journey-folding-stream::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(54rem, 86vw);
    height: min(26rem, 48vh);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--journey-blue), 0.05), transparent 68%);
    filter: blur(0.3px);
    transform: translate(-50%, -46%) rotateX(70deg);
    pointer-events: none;
}

.vibenotes-product-page .journey-insight-card {
    --stream-y: 0px;
    --stream-z: 0px;
    --stream-x: 0px;
    --stream-fold: 0deg;
    --stream-tilt: 0deg;
    --stream-roll: 0deg;
    --stream-blur: 0px;
    --stream-opacity: 1;
    --stream-scale: 1;
    --stream-curve: 0;
    --stream-z-index: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: var(--stream-z-index);
    width: clamp(10.25rem, 16.4vw, 16.2rem);
    aspect-ratio: 1.13 / 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.58rem;
    padding: clamp(0.78rem, 1.24vw, 1.04rem);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 34%),
        radial-gradient(circle at 14% 0%, rgba(var(--journey-blue), 0.19), transparent 56%),
        radial-gradient(circle at 92% 14%, rgba(var(--journey-violet), 0.18), transparent 58%),
        linear-gradient(180deg, rgba(22, 26, 43, 0.92), rgba(7, 10, 18, 0.88));
    box-shadow:
        0 26px 80px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #ffffff;
    opacity: var(--stream-opacity);
    filter: blur(var(--stream-blur));
    transform:
        translate3d(calc(-50% + var(--stream-x)), calc(-50% + var(--stream-y)), var(--stream-z))
        rotateX(var(--stream-fold))
        rotateY(var(--stream-tilt))
        rotateZ(var(--stream-roll))
        scale(var(--stream-scale));
    transform-origin: 50% 50%;
    transition:
        opacity 0.42s var(--ease-out),
        filter 0.42s var(--ease-out),
        border-color 0.32s var(--ease-out),
        box-shadow 0.32s var(--ease-out);
    will-change: transform, opacity, filter;
}

.vibenotes-product-page .journey-insight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.18), transparent 31%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 38%);
    opacity: 0.22;
    pointer-events: none;
}

.vibenotes-product-page .journey-insight-card::after {
    content: '';
    position: absolute;
    top: 0.22rem;
    right: 0.22rem;
    width: clamp(1.18rem, 16%, 1.7rem);
    height: clamp(1.18rem, 16%, 1.7rem);
    border-radius: 0 0.1rem 0 0.08rem;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    background:
        linear-gradient(135deg,
            rgba(213, 240, 255, 0.28) 0 1.4px,
            rgba(213, 240, 255, 0) 1.6px),
        linear-gradient(225deg,
            rgba(213, 240, 255, 0.18) 0%,
            rgba(124, 198, 237, 0.09) 48%,
            rgba(24, 39, 68, 0.22) 100%);
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.09),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        -0.32rem 0.36rem 0.62rem rgba(0, 0, 0, 0.18);
    opacity: 0.74;
    pointer-events: none;
}

.vibenotes-product-page .journey-insight-card.is-active {
    border-color: rgba(255, 255, 255, 0.18);
    transition:
        border-color 0.32s var(--ease-out),
        box-shadow 0.32s var(--ease-out);
    box-shadow:
        0 34px 92px rgba(0, 0, 0, 0.58),
        0 0 46px rgba(var(--journey-blue), 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.vibenotes-product-page .journey-insight-card strong {
    position: relative;
    z-index: 1;
    max-width: 13rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(0.94rem, 1.34vw, 1.22rem);
    font-weight: 760;
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: balance;
}

.vibenotes-product-page .journey-insight-card p {
    position: relative;
    z-index: 1;
    max-width: 13rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.68rem;
    line-height: 1.32;
}

.vibenotes-product-page .journey-insight-card > small {
    position: relative;
    z-index: 1;
    width: max-content;
    max-width: 100%;
    margin-top: 0;
    padding: 0.32rem 0.46rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(220, 248, 255, 0.78);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vibenotes-product-page .journey-analysis-panel {
    position: absolute;
    right: clamp(1rem, 4vw, 4rem);
    bottom: clamp(1.15rem, 3vw, 2rem);
    z-index: 33;
    width: min(20rem, calc(100vw - 2rem));
    display: none;
    flex-direction: column;
    gap: 0.82rem;
    padding: clamp(0.9rem, 1.7vw, 1.1rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--journey-violet), 0.14), transparent 58%),
        rgba(9, 14, 25, 0.62);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    pointer-events: none;
}

.vibenotes-product-page .journey-analysis-panel strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.55vw, 1.24rem);
    line-height: 1.12;
}

.vibenotes-product-page .journey-analysis-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.82rem;
    line-height: 1.4;
}

.vibenotes-product-page .journey-analysis-path {
    display: grid;
    gap: 0.48rem;
}

.vibenotes-product-page .journey-analysis-path i {
    display: flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.44rem 0.58rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.73rem;
    font-style: normal;
    font-weight: 760;
    line-height: 1.12;
}

/* Journey Plug: Stage 04 Feedback */
.vibenotes-product-page #journey-feedback-panel {
    --journey-blue: 0, 200, 255;
    --journey-violet: 168, 85, 247;
    --journey-pink: 236, 72, 153;
    --journey-mint: 45, 212, 191;
    --journey-amber: 251, 191, 36;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 52%, rgba(var(--journey-mint), 0.075), transparent 24rem),
        radial-gradient(circle at 22% 22%, rgba(var(--journey-blue), 0.06), transparent 26rem),
        radial-gradient(circle at 82% 18%, rgba(var(--journey-violet), 0.07), transparent 28rem),
        #000000;
}

.vibenotes-product-page .journey-feedback-sticky {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 42rem;
    overflow: hidden;
    isolation: isolate;
}

.vibenotes-product-page .journey-feedback-sticky::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 0.12rem),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 100% 2.55rem,
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px) 0 0 / 2.55rem 100%;
    opacity: 0.22;
    pointer-events: none;
    z-index: -3;
}

.vibenotes-product-page .journey-feedback-sticky::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 54%;
    width: min(52rem, 84vw);
    height: min(36rem, 72vh);
    background: radial-gradient(circle, rgba(var(--journey-mint), 0.1), rgba(var(--journey-blue), 0.052) 42%, transparent 74%);
    filter: blur(28px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -2;
}

.vibenotes-product-page .journey-feedback-incoming {
    position: absolute;
    left: 50%;
    z-index: 34;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.82rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background:
        radial-gradient(circle at 15% 0%, rgba(var(--journey-mint), 0.14), transparent 58%),
        radial-gradient(circle at 85% 18%, rgba(var(--journey-violet), 0.12), transparent 62%),
        rgba(16, 20, 32, 0.86);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
    text-align: center;
}

.vibenotes-product-page .journey-feedback-incoming {
    top: clamp(6.1rem, 9.6vh, 6.65rem);
    padding: 0.62rem 0.84rem;
    opacity: var(--feedback-incoming-opacity, 1);
    transform: translateX(-50%) translateY(var(--feedback-incoming-y, 0)) scale(var(--feedback-incoming-scale, 1));
}

.vibenotes-product-page .journey-feedback-incoming span,
.vibenotes-product-page .journey-feedback-copy span,
.vibenotes-product-page .feedback-recommendation span {
    color: rgba(180, 232, 255, 0.78);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vibenotes-product-page .journey-feedback-incoming strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    line-height: 1.15;
}

.vibenotes-product-page .journey-feedback-copy {
    position: absolute;
    left: 50%;
    top: clamp(8.4rem, 13.8vh, 9.4rem);
    z-index: 24;
    width: min(42rem, calc(100vw - 3rem));
    text-align: center;
    transform: translateX(-50%);
    pointer-events: auto;
    isolation: isolate;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.vibenotes-product-page .journey-feedback-copy h2 {
    margin: 0.1rem 0 0.52rem;
    color: #ffffff;
    font-size: clamp(2.6rem, 5.5vw, 5.35rem);
    font-weight: 540;
    line-height: 0.92;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.72),
        0 0 16px rgba(var(--journey-mint), 0.1);
}

.vibenotes-product-page .journey-feedback-copy p {
    max-width: 31rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.82rem, 1.25vw, 0.98rem);
    line-height: 1.46;
    white-space: pre-line;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.68);
}

.vibenotes-product-page .journey-feedback-orbit {
    position: absolute;
    left: 50%;
    top: 62%;
    z-index: 10;
    width: min(68rem, calc(100vw - 2rem));
    height: min(42rem, 68vh);
    min-height: 31rem;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    perspective: 1100px;
}

.vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-cosmos-canvas,
.vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-cosmos-vignette {
    display: none;
}

.vibenotes-product-page .feedback-cosmos-canvas {
    position: absolute;
    inset: -8% -6%;
    z-index: 1;
    width: 112%;
    height: 116%;
    opacity: 0.96;
    filter: saturate(1.08) contrast(1.05);
    pointer-events: none;
}

.vibenotes-product-page .journey-feedback-orbit:not(.is-cosmos-fallback) .feedback-cosmos-canvas {
    -webkit-mask-image:
        linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%),
        linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%),
        linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-composite: intersect;
}

.vibenotes-product-page .journey-feedback-orbit:not(.is-cosmos-fallback) .feedback-cosmos-vignette {
    -webkit-mask-image:
        linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%),
        linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%),
        linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-composite: intersect;
}

.vibenotes-product-page .feedback-cosmos-vignette {
    position: absolute;
    inset: -10%;
    z-index: 2;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 36%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.66) 83%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.28));
    pointer-events: none;
}

.vibenotes-product-page .feedback-output-cloud {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}

.vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud {
    position: absolute;
    inset: auto;
    left: 50%;
    top: 54%;
    width: min(34rem, calc(100vw - 4rem));
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.56rem;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.vibenotes-product-page .feedback-output-chip {
    position: relative;
    left: auto;
    top: auto;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    max-width: 9.8rem;
    padding: 0.48rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background:
        radial-gradient(circle at 22% 0%, rgba(var(--journey-blue), 0.14), transparent 58%),
        rgba(10, 16, 27, 0.86);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: rgba(245, 252, 255, 0.82);
    font-size: clamp(0.68rem, 0.95vw, 0.82rem);
    font-weight: 820;
    line-height: 1.08;
    text-align: center;
    white-space: nowrap;
    transform: none;
    transition:
        border-color 0.32s var(--ease-out),
        background 0.32s var(--ease-out),
        box-shadow 0.32s var(--ease-out),
        color 0.32s var(--ease-out),
        scale 0.32s var(--ease-out);
}

.vibenotes-product-page .feedback-output-chip.is-active {
    z-index: 3;
    border-color: rgba(var(--journey-mint), 0.42);
    background:
        radial-gradient(circle at 24% 0%, rgba(var(--journey-mint), 0.24), transparent 58%),
        rgba(12, 36, 34, 0.9);
    box-shadow:
        0 24px 62px rgba(0, 0, 0, 0.42),
        0 0 34px rgba(var(--journey-mint), 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    color: rgba(236, 255, 251, 0.96);
    scale: 1.08;
}

.vibenotes-product-page .feedback-recommendation-stack {
    position: absolute;
    left: 50%;
    bottom: clamp(2.1rem, 3.4vh, 3rem);
    z-index: 12;
    width: min(21rem, calc(100vw - 3rem));
    display: grid;
    justify-items: center;
    gap: 0.42rem;
    transform: translateX(-50%);
}

.vibenotes-product-page .feedback-recommendation {
    --feedback-card-fold: 0deg;
    --feedback-card-lift: 0rem;
    --feedback-card-skew: 0deg;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    width: 100%;
    padding: 0.62rem 0.74rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--journey-mint), 0.12), transparent 58%),
        rgba(8, 13, 24, 0.78);
    box-shadow:
        0 24px 68px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px);
    text-align: left;
    transform:
        translate3d(0, var(--feedback-card-lift), 0)
        perspective(720px)
        rotateX(var(--feedback-card-fold))
        skewY(var(--feedback-card-skew));
    transform-origin: 50% 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.vibenotes-product-page .feedback-recommendation.is-folding {
    animation: feedbackSuggestionFold 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vibenotes-product-page .feedback-recommendation span,
.vibenotes-product-page .feedback-recommendation strong,
.vibenotes-product-page .feedback-recommendation p,
.vibenotes-product-page .feedback-return-pulse {
    position: relative;
    z-index: 1;
    filter: none;
    transform: translateZ(0);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.62);
}

.vibenotes-product-page .feedback-recommendation strong {
    color: rgba(255, 255, 255, 0.99);
    font-size: clamp(0.88rem, 1.18vw, 1.04rem);
    font-weight: 760;
    line-height: 1.16;
}

.vibenotes-product-page .feedback-recommendation p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.7rem;
    font-weight: 560;
    line-height: 1.34;
}

.vibenotes-product-page .feedback-return-pulse {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0.38rem 0.58rem;
    border: 1px solid rgba(var(--journey-mint), 0.2);
    border-radius: 999px;
    background: rgba(12, 32, 30, 0.72);
    color: rgba(232, 255, 252, 0.9);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
}

@media (max-width: 1100px) and (min-width: 981px) {
    .vibenotes-product-page .journey-study-copy {
        margin-bottom: 0.2rem;
    }
}

@media (max-width: 980px) {
    .vibenotes-product-page .journey-material-panel {
        max-width: 100%;
    }

    .vibenotes-product-page .journey-study-copy {
        margin-bottom: 0.2rem;
    }

    .vibenotes-product-page .journey-study-scene {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: clamp(5.2rem, 8.4vh, 6rem);
        padding-bottom: clamp(8.3rem, 12vh, 9rem);
    }

    .vibenotes-product-page .journey-study-workspace {
        width: min(100%, 44rem);
        height: auto;
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .vibenotes-product-page .study-note-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vibenotes-product-page .study-input-surface {
        grid-template-columns: minmax(0, 1fr);
    }

    .vibenotes-product-page .study-feedback-rail {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vibenotes-product-page .study-evidence-chip,
    .vibenotes-product-page .study-grade-pill {
        justify-content: center;
        text-align: center;
    }

    .vibenotes-product-page .journey-learns-body {
        width: min(100%, 44rem);
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .vibenotes-product-page .journey-metric-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vibenotes-product-page .journey-analysis-panel {
        display: none;
    }

    .vibenotes-product-page .journey-feedback-copy {
        top: clamp(8rem, 14vh, 9.2rem);
    }

    .vibenotes-product-page .journey-feedback-orbit {
        width: min(46rem, calc(100vw - 2rem));
    }
}

@media (max-width: 768px) {
    .vibenotes-product-page #journey-plug {
        min-height: 620svh;
        padding: 0;
    }

    .vibenotes-product-page .journey-sequence-sticky {
        height: 100svh;
        min-height: 38rem;
    }




    .vibenotes-product-page .journey-material-cloud {
        height: 100%;
        min-height: 100svh;
    }

    .vibenotes-product-page .journey-study-scene {
        align-items: center;
        padding: 5.35rem 1rem 7.2rem;
    }

    .vibenotes-product-page .journey-study-scene::after {
        display: none;
    }

    .vibenotes-product-page .study-open-file {
        display: none;
    }

    .vibenotes-product-page .study-open-file span,
    .vibenotes-product-page .study-workspace-topbar span,
    .vibenotes-product-page .journey-study-copy span {
        font-size: 0.52rem;
    }

    .vibenotes-product-page .study-open-file strong {
        font-size: 0.82rem;
    }

    .vibenotes-product-page .journey-study-copy {
        width: min(100%, 19rem);
        margin: 0 auto 0.7rem;
    }

    .vibenotes-product-page .journey-study-copy h2 {
        font-size: clamp(2rem, 10vw, 2.9rem);
        line-height: 1;
    }

    .vibenotes-product-page .journey-study-copy p {
        max-width: 17rem;
        font-size: 0.68rem;
        line-height: 1.34;
    }

    .vibenotes-product-page .journey-study-workspace {
        width: 100%;
        gap: 0.58rem;
        padding: 0.62rem;
        border-radius: 7px;
    }

    .vibenotes-product-page .study-workspace-topbar {
        min-height: 2.65rem;
        padding: 0.58rem 0.62rem;
    }

    .vibenotes-product-page .study-workspace-topbar strong {
        font-size: 0.76rem;
    }

    .vibenotes-product-page .study-session-pill {
        min-height: 1.55rem;
        padding: 0.3rem 0.48rem;
    }

    .vibenotes-product-page .study-note-list {
        gap: 0.4rem;
        padding: 0.48rem;
    }

    .vibenotes-product-page .study-note-list span {
        min-height: 2rem;
        padding: 0.42rem 0.44rem;
        font-size: 0.58rem;
    }

    .vibenotes-product-page .study-answer-panel {
        gap: 0.56rem;
        min-height: 18.2rem;
        padding: 0.72rem;
    }

    .vibenotes-product-page .study-question-label {
        font-size: 0.52rem;
    }

    .vibenotes-product-page .study-answer-panel strong {
        font-size: clamp(0.92rem, 4.6vw, 1.12rem);
        line-height: 1.18;
    }

    .vibenotes-product-page .study-writing-lines {
        gap: 0.38rem;
    }

    .vibenotes-product-page .study-writing-lines i {
        height: 0.36rem;
    }

    .vibenotes-product-page .study-input-surface {
        gap: 0.45rem;
        width: 100%;
    }

    .vibenotes-product-page .study-pencil-input,
    .vibenotes-product-page .study-typing-input {
        min-height: 6.65rem;
        padding: 0.5rem 0.54rem;
    }

    .vibenotes-product-page .study-input-mode-header {
        gap: 0.35rem;
    }

    .vibenotes-product-page .study-input-mode-header span {
        min-height: 1.12rem;
        padding: 0.16rem 0.34rem;
        font-size: 0.48rem;
    }

    .vibenotes-product-page .study-input-mode-header small {
        font-size: 0.46rem;
    }

    .vibenotes-product-page .study-pencil-input svg {
        height: 3.8rem;
    }

    .vibenotes-product-page .study-written-text {
        stroke-width: 1.7;
        font-size: 41px;
    }

    .vibenotes-product-page .study-written-text--two {
        font-size: 38px;
    }

    .vibenotes-product-page .study-typing-input strong {
        max-width: none;
        margin-top: 0.26rem;
        font-size: 0.62rem;
        line-height: 1.28;
    }

    .vibenotes-product-page .study-typing-input i {
        right: 0.56rem;
        top: 3.85rem;
        height: 1rem;
    }

    .vibenotes-product-page .study-soft-keys {
        left: 0.54rem;
        right: 1.7rem;
        bottom: 0.42rem;
        gap: 0.22rem;
    }

    .vibenotes-product-page .study-soft-keys span {
        min-width: 1.16rem;
        min-height: 1rem;
        padding: 0.1rem 0.24rem;
        font-size: 0.46rem;
    }

    .vibenotes-product-page .study-soft-keys span:last-child {
        min-width: 2.2rem;
    }

    .vibenotes-product-page .study-pencil-nib {
        height: 2.05rem;
    }

    .vibenotes-product-page .study-answer-panel mark {
        padding: 0.34rem 0.44rem;
        font-size: 0.62rem;
    }

    .vibenotes-product-page .study-feedback-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.42rem;
        padding: 0.48rem;
    }

    .vibenotes-product-page .study-evidence-chip,
    .vibenotes-product-page .study-grade-pill {
        min-height: 1.8rem;
        padding: 0.38rem 0.44rem;
        font-size: 0.58rem;
    }

    .vibenotes-product-page .study-evidence-trail {
        display: none;
    }

    .vibenotes-product-page .journey-material-cloud::before {
        background-size: 100% 1.75rem, 1.75rem 100%;
    }

    .vibenotes-product-page .journey-context-hub {
        top: 51%;
        width: min(18.5rem, calc(100% - 2rem));
        gap: 0.58rem;
    }

    .vibenotes-product-page .journey-context-hub::before {
        inset: -2.4rem -1.4rem;
        background: radial-gradient(circle, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.38) 44%, transparent 72%);
    }

    .vibenotes-product-page .journey-context-hub span,
    .vibenotes-product-page .journey-artifact span {
        font-size: 0.55rem;
    }

    .vibenotes-product-page .journey-context-hub h2 {
        font-size: clamp(2.18rem, 9.3vw, 3.05rem);
        line-height: 0.98;
    }

    .vibenotes-product-page .journey-context-hub small {
        max-width: 14.5rem;
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .vibenotes-product-page .journey-artifact {
        width: clamp(4.9rem, 23vw, 6.25rem);
        height: clamp(4.6rem, 14.5vw, 6.15rem);
        padding: 0.48rem 0.5rem;
    }

    .vibenotes-product-page .journey-artifact strong {
        font-size: 0.6rem;
    }

    .vibenotes-product-page .journey-artifact small {
        font-size: 0.5rem;
    }

    .vibenotes-product-page .journey-artifact--chip,
    .vibenotes-product-page .journey-artifact[style*="--x: 15%"],
    .vibenotes-product-page .journey-artifact[style*="--x: 32%"] {
        display: none;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 9%"] {
        --x: 6% !important;
        --y: 16% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 30%"] {
        --x: 32% !important;
        --y: 13% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 73%"] {
        --x: 56% !important;
        --y: 15% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 82%"] {
        --x: 68% !important;
        --y: 35% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 2%"] {
        --x: 6% !important;
        --y: 69% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 70%"] {
        --x: 59% !important;
        --y: 70% !important;
    }

    .vibenotes-product-page #journey-learns-panel {
        overflow: hidden;
    }

    .vibenotes-product-page .journey-learns-sticky {
        height: 100svh;
        min-height: 100svh;
        display: block;
        padding: 0;
        overflow: hidden;
    }

    .vibenotes-product-page .journey-learns-progress {
        top: 4.8rem;
        gap: 0.42rem;
        max-width: calc(100vw - 1.5rem);
        padding: 0.36rem 0.5rem;
    }

    .vibenotes-product-page .journey-learns-progress span {
        font-size: 0.48rem;
    }

    .vibenotes-product-page .journey-learns-progress i {
        width: 2.6rem;
    }

    .vibenotes-product-page .journey-learns-incoming {
        display: none;
    }

    .vibenotes-product-page .journey-learns-copy {
        position: absolute;
        left: 50%;
        top: 48%;
        z-index: 30;
        width: min(22rem, calc(100vw - 1.6rem));
        margin: 0;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .journey-learns-copy span,
    .vibenotes-product-page .journey-insight-card span,
    .vibenotes-product-page .journey-metric-card small {
        font-size: 0.52rem;
    }

    .vibenotes-product-page .journey-learns-copy h2 {
        font-size: clamp(2.75rem, 14vw, 4.05rem);
        line-height: 0.9;
    }

    .vibenotes-product-page .journey-learns-copy p {
        max-width: 17.5rem;
        font-size: 0.68rem;
        line-height: 1.32;
    }

    .vibenotes-product-page .journey-learns-body {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        display: block;
        perspective: 620px;
        perspective-origin: 50% 48%;
        transform-style: preserve-3d;
    }

    .vibenotes-product-page .journey-metric-strip {
        position: absolute;
        left: 0.75rem;
        right: 4.9rem;
        bottom: calc(4.45rem + env(safe-area-inset-bottom));
        z-index: 34;
        width: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.34rem;
        opacity: 0.94;
    }

    .vibenotes-product-page .journey-metric-card {
        min-height: 2.32rem;
        padding: 0.34rem 0.48rem;
    }

    .vibenotes-product-page .journey-metric-card strong {
        font-size: 0.66rem;
    }

    .vibenotes-product-page .journey-folding-stream {
        position: absolute;
        inset: 0;
        z-index: 2;
        width: 100%;
        min-height: 0;
        display: block;
        perspective: inherit;
        transform-style: preserve-3d;
    }

    .vibenotes-product-page .journey-folding-stream::before {
        display: block;
        width: min(31rem, 88vw);
        height: min(19rem, 42vh);
    }

    .vibenotes-product-page .journey-insight-card {
        position: absolute;
        left: 50%;
        top: 50%;
        width: clamp(8.4rem, 34vw, 10.2rem);
        aspect-ratio: 1.08 / 1;
        min-height: 0;
        gap: 0.46rem;
        padding: 0.62rem;
        opacity: var(--stream-opacity);
        filter: blur(var(--stream-blur));
        transform:
            translate3d(calc(-50% + var(--stream-x)), calc(-50% + var(--stream-y)), var(--stream-z))
            rotateX(var(--stream-fold))
            rotateY(var(--stream-tilt))
            rotateZ(var(--stream-roll))
            scale(var(--stream-scale));
    }

    .vibenotes-product-page .journey-insight-card.is-mobile-hidden {
        display: none !important;
    }

    .vibenotes-product-page .journey-insight-card strong {
        font-size: clamp(0.92rem, 4.4vw, 1.12rem);
        line-height: 1.12;
    }

    .vibenotes-product-page .journey-insight-card p {
        font-size: 0.62rem;
        line-height: 1.32;
    }

    .vibenotes-product-page .journey-insight-card > small {
        padding: 0.3rem 0.42rem;
        font-size: 0.52rem;
    }

    .vibenotes-product-page .journey-feedback-sticky {
        height: 100svh;
        min-height: 100svh;
        display: block;
        padding: 0;
    }

    .vibenotes-product-page .journey-feedback-incoming {
        display: none;
    }

    .vibenotes-product-page .journey-feedback-copy {
        position: absolute;
        left: 50%;
        top: clamp(7.7rem, 17vh, 8.8rem);
        z-index: 24;
        width: min(21rem, calc(100vw - 1.5rem));
        margin: 0;
        transform: translateX(-50%);
    }

    .vibenotes-product-page .journey-feedback-copy span,
    .vibenotes-product-page .feedback-recommendation span {
        font-size: 0.52rem;
    }

    .vibenotes-product-page .journey-feedback-copy h2 {
        font-size: clamp(2.45rem, 13vw, 3.65rem);
        line-height: 0.92;
        text-shadow:
            0 2px 12px rgba(0, 0, 0, 0.78),
            0 0 10px rgba(var(--journey-mint), 0.08);
    }

    .vibenotes-product-page .journey-feedback-copy p {
        max-width: 17rem;
        color: rgba(255, 255, 255, 0.82);
        font-size: 0.69rem;
        line-height: 1.36;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.76);
    }

    .vibenotes-product-page .journey-feedback-orbit {
        position: absolute;
        left: 50%;
        top: 59%;
        width: min(39rem, 122vw);
        height: min(29rem, 59vh);
        min-height: 21rem;
        display: block;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .feedback-cosmos-canvas,
    .vibenotes-product-page .feedback-cosmos-vignette {
        display: block;
    }

    .vibenotes-product-page .feedback-output-cloud,
    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud {
        position: absolute;
        left: 50%;
        top: 54%;
        inset: auto;
        width: min(21rem, calc(100vw - 1.4rem));
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.38rem;
        opacity: 0.92;
        transform: translate(-50%, -50%);
        pointer-events: auto;
    }

    .vibenotes-product-page .feedback-output-chip {
        position: relative;
        left: auto;
        top: auto;
        min-height: 1.66rem;
        max-width: 8.2rem;
        padding: 0.32rem 0.46rem;
        font-size: 0.56rem;
        transform: none;
    }

    .vibenotes-product-page .feedback-recommendation-stack {
        position: absolute;
        left: 50%;
        bottom: calc(4.35rem + env(safe-area-inset-bottom));
        width: min(18.5rem, calc(100vw - 5.8rem));
        transform: translateX(-50%);
    }

    .vibenotes-product-page .feedback-recommendation {
        padding: 0.58rem 0.66rem;
    }

    .vibenotes-product-page .feedback-recommendation strong {
        font-size: 0.9rem;
        line-height: 1.18;
    }

    .vibenotes-product-page .feedback-recommendation p {
        font-size: 0.66rem;
        line-height: 1.38;
    }
}

@media (max-width: 430px) {
    .vibenotes-product-page .journey-material-cloud {
        min-height: 100svh;
    }

    .vibenotes-product-page .journey-study-scene {
        padding-left: 0.78rem;
        padding-right: 0.78rem;
    }

    .vibenotes-product-page .study-note-list span {
        font-size: 0.54rem;
    }

    .vibenotes-product-page .journey-artifact {
        width: clamp(4.55rem, 24vw, 5.5rem);
        height: clamp(4.35rem, 15vw, 5.6rem);
        padding: 0.44rem 0.46rem;
    }

    .vibenotes-product-page .journey-artifact strong {
        font-size: 0.56rem;
    }

    .vibenotes-product-page .journey-artifact small {
        font-size: 0.47rem;
    }

    .vibenotes-product-page .journey-learns-sticky {
        padding-left: 0.78rem;
        padding-right: 0.78rem;
    }

    .vibenotes-product-page .journey-feedback-sticky {
        padding-left: 0.78rem;
        padding-right: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vibenotes-product-page .journey-sequence-panel {
        transition: none !important;
    }

    .vibenotes-product-page .journey-material-cloud::before,
    .vibenotes-product-page .journey-material-cloud::after,
    .vibenotes-product-page .journey-minimal-particle-canvas,
    .vibenotes-product-page .journey-minimal-hline,
    .vibenotes-product-page .journey-minimal-vline,
    .vibenotes-product-page .journey-minimal-hline::after,
    .vibenotes-product-page .journey-minimal-vline::after,
    .vibenotes-product-page .journey-artifact::after {
        animation: none !important;
    }

    .vibenotes-product-page .journey-material-cloud::before,
    .vibenotes-product-page .journey-material-cloud::after {
        opacity: 1;
    }

    .vibenotes-product-page .journey-minimal-particle-canvas {
        opacity: 0;
    }

    .vibenotes-product-page .journey-minimal-hline {
        transform: scaleX(1);
    }

    .vibenotes-product-page .journey-minimal-vline {
        transform: scaleY(1);
    }

    .vibenotes-product-page .journey-artifact::after {
        opacity: 0.18;
        transform: translateX(0);
    }

    .vibenotes-product-page .journey-context-hub {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        transition: none !important;
    }

    .vibenotes-product-page .journey-sequence.is-materials-active .journey-sequence-panel--materials,
    .vibenotes-product-page .journey-sequence.is-study-active .journey-sequence-panel--study,
    .vibenotes-product-page .journey-sequence.is-learns-active .journey-sequence-panel--learns,
    .vibenotes-product-page .journey-sequence.is-feedback-active .journey-sequence-panel--feedback {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        pointer-events: auto;
    }

    .vibenotes-product-page .journey-artifact {
        transform: translate3d(var(--jx), var(--jy), 0) rotate(var(--r)) !important;
        transition-delay: 0s !important;
    }

    .vibenotes-product-page .study-open-file,
    .vibenotes-product-page .journey-study-workspace,
    .vibenotes-product-page .study-evidence-chip,
    .vibenotes-product-page .study-grade-pill,
    .vibenotes-product-page .study-evidence-trail span {
        opacity: 1 !important;
        transform: none !important;
        transition-delay: 0s !important;
        animation: none !important;
    }

    .vibenotes-product-page .study-writing-lines i {
        animation: none !important;
    }

    .vibenotes-product-page .study-pencil-input::after,
    .vibenotes-product-page .study-typing-input::after,
    .vibenotes-product-page .study-typing-input i {
        animation: none !important;
    }

    .vibenotes-product-page .study-written-text,
    .vibenotes-product-page .study-scratch-mark {
        stroke-dashoffset: 0;
        animation: none !important;
    }

    .vibenotes-product-page #journey-learns-panel {
        min-height: auto;
        overflow: hidden;
    }

    .vibenotes-product-page .journey-learns-sticky {
        position: relative;
        height: auto;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 6.75rem 1rem 5.4rem;
        overflow: hidden;
    }

    .vibenotes-product-page .journey-learns-incoming {
        display: none;
    }

    .vibenotes-product-page .journey-learns-copy {
        position: relative;
        left: auto;
        top: auto;
        z-index: 2;
        width: min(100%, 36rem);
        margin: 0 auto 1.05rem;
        transform: none;
    }

    .vibenotes-product-page .journey-learns-body {
        position: relative;
        inset: auto;
        z-index: 1;
        width: min(100%, 44rem);
        display: grid;
        gap: 0.75rem;
        perspective: none;
        transform-style: flat;
    }

    .vibenotes-product-page .journey-metric-strip {
        position: relative;
        left: auto;
        bottom: auto;
        z-index: 1;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.48rem;
        opacity: 1;
    }

    .vibenotes-product-page .journey-analysis-panel {
        display: none;
    }

    .vibenotes-product-page .journey-folding-stream {
        position: relative;
        inset: auto;
        z-index: 1;
        width: 100%;
        min-height: 0;
        display: grid;
        gap: 0.72rem;
        perspective: none;
        transform-style: flat;
    }

    .vibenotes-product-page .journey-folding-stream::before {
        display: none;
    }

    .vibenotes-product-page .journey-insight-card {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        aspect-ratio: auto;
        min-height: 0;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }

    .vibenotes-product-page .journey-feedback-sticky {
        height: auto;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 6.75rem 1rem 5.4rem;
        overflow: hidden;
    }

    .vibenotes-product-page .journey-feedback-incoming {
        display: none;
    }

    .vibenotes-product-page .journey-feedback-copy {
        position: relative;
        left: auto;
        top: auto;
        z-index: 2;
        width: min(100%, 36rem);
        margin: 0 auto 1.05rem;
        transform: none;
    }

    .vibenotes-product-page .journey-feedback-orbit {
        position: relative;
        left: auto;
        top: auto;
        width: min(100%, 44rem);
        height: auto;
        min-height: 0;
        display: grid;
        gap: 0.75rem;
        transform: none;
    }

    .vibenotes-product-page .feedback-cosmos-canvas,
    .vibenotes-product-page .feedback-cosmos-vignette {
        display: none;
    }

    .vibenotes-product-page .feedback-output-cloud,
    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud {
        position: relative;
        left: auto;
        top: auto;
        inset: auto;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.52rem;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .vibenotes-product-page .feedback-output-chip {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }

    .vibenotes-product-page .feedback-recommendation-stack {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(100%, 19rem);
        justify-self: center;
        transform: none;
    }

    .vibenotes-product-page .feedback-recommendation {
        padding: 0.58rem 0.66rem;
    }
}

@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
    .vibenotes-product-page #journey-learns-panel {
        min-height: 0;
    }

    .vibenotes-product-page .journey-learns-sticky {
        position: relative;
        height: 100svh;
        min-height: 100svh;
        display: block;
        padding: 0;
        overflow: hidden;
    }

    .vibenotes-product-page .journey-learns-copy {
        position: absolute;
        left: 50%;
        top: 48%;
        width: min(22rem, calc(100vw - 1.6rem));
        margin: 0;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .journey-learns-body {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        display: block;
        perspective: 620px;
        perspective-origin: 50% 48%;
        transform-style: preserve-3d;
    }

    .vibenotes-product-page .journey-folding-stream {
        position: absolute;
        inset: 0;
        z-index: 2;
        width: 100%;
        display: block;
        perspective: inherit;
        transform-style: preserve-3d;
    }

    .vibenotes-product-page .journey-folding-stream::before {
        display: block;
    }

    .vibenotes-product-page .journey-insight-card {
        position: absolute;
        left: 50%;
        top: 50%;
        width: clamp(8.4rem, 34vw, 10.2rem);
        aspect-ratio: 1.08 / 1;
        opacity: var(--stream-opacity) !important;
        filter: blur(var(--stream-blur)) !important;
        transform:
            translate3d(calc(-50% + var(--stream-x)), calc(-50% + var(--stream-y)), var(--stream-z))
            rotateX(var(--stream-fold))
            rotateY(var(--stream-tilt))
            rotateZ(var(--stream-roll))
            scale(var(--stream-scale)) !important;
    }

    .vibenotes-product-page .journey-feedback-sticky {
        height: 100svh;
        min-height: 100svh;
        display: block;
        padding: 0;
        overflow: hidden;
    }

    .vibenotes-product-page .journey-feedback-copy {
        position: absolute;
        left: 50%;
        top: clamp(7.7rem, 17vh, 8.8rem);
        width: min(21rem, calc(100vw - 1.5rem));
        margin: 0;
        transform: translateX(-50%);
    }

    .vibenotes-product-page .journey-feedback-orbit {
        position: absolute;
        left: 50%;
        top: 59%;
        width: min(39rem, 122vw);
        height: min(29rem, 59vh);
        min-height: 21rem;
        display: block;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .feedback-cosmos-canvas,
    .vibenotes-product-page .feedback-cosmos-vignette {
        display: block;
    }
}

@media (max-width: 768px) {
    .vibenotes-product-page .journey-sequence-panel {
        transition:
            opacity 0.56s var(--ease-shopify),
            transform 0.64s var(--ease-shopify) !important;
    }

    .vibenotes-product-page .journey-sequence-panel--study,
    .vibenotes-product-page .journey-sequence-panel--learns,
    .vibenotes-product-page .journey-sequence-panel--feedback,
    .vibenotes-product-page .journey-sequence.is-study-active .journey-sequence-panel--materials,
    .vibenotes-product-page .journey-sequence.is-learns-active .journey-sequence-panel--materials,
    .vibenotes-product-page .journey-sequence.is-learns-active .journey-sequence-panel--study,
    .vibenotes-product-page .journey-sequence.is-feedback-active .journey-sequence-panel--materials,
    .vibenotes-product-page .journey-sequence.is-feedback-active .journey-sequence-panel--study,
    .vibenotes-product-page .journey-sequence.is-feedback-active .journey-sequence-panel--learns {
        filter: none;
    }

    .vibenotes-product-page .journey-learns-sticky::after,
    .vibenotes-product-page .journey-feedback-sticky::after {
        filter: none;
        opacity: 0.58;
    }

    .vibenotes-product-page .journey-learns-incoming,
    .vibenotes-product-page .journey-feedback-incoming,
    .vibenotes-product-page .journey-metric-card,
    .vibenotes-product-page .journey-analysis-panel,
    .vibenotes-product-page .feedback-recommendation {
        backdrop-filter: none;
    }










    .vibenotes-product-page .journey-context-hub {
        top: 48%;
    }

    .vibenotes-product-page .journey-artifact {
        justify-content: center;
        overflow: hidden;
    }

    .vibenotes-product-page .journey-artifact span,
    .vibenotes-product-page .journey-artifact strong {
        max-width: 100%;
        overflow: hidden;
        overflow-wrap: normal;
    }

    .vibenotes-product-page .journey-artifact strong {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .vibenotes-product-page .journey-artifact small {
        display: none;
    }

    .vibenotes-product-page .journey-study-scene {
        justify-content: center;
        padding: clamp(4.85rem, 10vh, 5.45rem) 0.78rem calc(4.65rem + env(safe-area-inset-bottom));
    }

    .vibenotes-product-page .journey-study-copy {
        width: min(100%, 18.5rem);
        margin-bottom: 0.5rem;
    }

    .vibenotes-product-page .journey-study-copy h2 {
        font-size: clamp(2.08rem, 10.4vw, 2.72rem);
        line-height: 0.96;
    }

    .vibenotes-product-page .journey-study-copy p {
        max-width: 16.5rem;
        font-size: 0.64rem;
        line-height: 1.28;
    }

    .vibenotes-product-page .journey-study-workspace {
        gap: 0.45rem;
        padding: 0.5rem;
        overflow: hidden;
    }

    .vibenotes-product-page .study-workspace-topbar {
        min-height: 2.32rem;
        padding: 0.46rem 0.5rem;
    }

    .vibenotes-product-page .study-workspace-topbar strong {
        font-size: 0.68rem;
    }

    .vibenotes-product-page .study-session-pill {
        min-height: 1.36rem;
        padding: 0.24rem 0.38rem;
        font-size: 0.5rem;
        white-space: nowrap;
    }

    .vibenotes-product-page .study-note-list {
        gap: 0.32rem;
        padding: 0.38rem;
    }

    .vibenotes-product-page .study-note-list span {
        min-height: 1.72rem;
        padding: 0.34rem 0.38rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vibenotes-product-page .study-answer-panel {
        gap: 0.42rem;
        min-height: 14.3rem;
        padding: 0.58rem;
    }

    .vibenotes-product-page .study-answer-panel strong {
        max-width: 100%;
        font-size: clamp(0.86rem, 4vw, 1rem);
        line-height: 1.12;
    }

    .vibenotes-product-page .study-input-surface {
        gap: 0.36rem;
    }

    .vibenotes-product-page .study-pencil-input,
    .vibenotes-product-page .study-typing-input {
        min-height: 5.1rem;
        padding: 0.42rem 0.46rem;
    }

    .vibenotes-product-page .study-input-mode-header small,
    .vibenotes-product-page .study-soft-keys,
    .vibenotes-product-page .study-typing-input i,
    .vibenotes-product-page .study-answer-panel mark {
        display: none;
    }

    .vibenotes-product-page .study-pencil-input svg {
        height: 2.85rem;
    }

    .vibenotes-product-page .study-written-text {
        font-size: 33px;
    }

    .vibenotes-product-page .study-written-text--two {
        font-size: 31px;
    }

    .vibenotes-product-page .study-pencil-nib {
        height: 1.55rem;
    }

    .vibenotes-product-page .study-typing-input strong {
        margin-top: 0.12rem;
        gap: 0.22rem;
        font-size: 0.55rem;
        line-height: 1.18;
    }

    .vibenotes-product-page .study-feedback-rail {
        gap: 0.34rem;
        padding: 0.38rem;
    }

    .vibenotes-product-page .study-evidence-chip,
    .vibenotes-product-page .study-grade-pill {
        min-height: 1.52rem;
        padding: 0.28rem 0.36rem;
        font-size: 0.52rem;
        overflow-wrap: anywhere;
    }

    .vibenotes-product-page .journey-learns-sticky {
        height: 100svh;
        min-height: 100svh;
        display: block;
        padding: 0;
    }

    .vibenotes-product-page .journey-learns-copy {
        position: absolute;
        left: 50%;
        top: 39%;
        width: min(18.8rem, calc(100vw - 1.6rem));
        margin: 0;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .journey-learns-copy h2 {
        margin: 0.32rem 0 0.38rem;
        font-size: clamp(1.92rem, 9.4vw, 2.86rem);
        line-height: 0.96;
    }

    .vibenotes-product-page .journey-learns-copy p {
        max-width: 16.5rem;
        font-size: 0.64rem;
        line-height: 1.28;
    }

    .vibenotes-product-page .journey-learns-body {
        position: absolute;
        inset: 0;
        width: 100%;
        display: block;
        perspective: 620px;
        perspective-origin: 50% 48%;
        transform-style: preserve-3d;
    }

    .vibenotes-product-page .journey-metric-strip {
        position: absolute;
        left: 0.75rem;
        right: 4.9rem;
        bottom: calc(4.45rem + env(safe-area-inset-bottom));
        z-index: 34;
        width: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.34rem;
    }

    .vibenotes-product-page .journey-metric-card {
        min-height: 2.42rem;
        gap: 0.16rem;
        padding: 0.34rem 0.46rem;
        overflow: hidden;
    }

    .vibenotes-product-page .journey-metric-card:nth-child(n+5) {
        display: none;
    }

    .vibenotes-product-page .journey-metric-card small,
    .vibenotes-product-page .journey-metric-card strong {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vibenotes-product-page .journey-metric-card small {
        font-size: 0.46rem;
    }

    .vibenotes-product-page .journey-metric-card strong {
        font-size: 0.6rem;
    }

    .vibenotes-product-page .journey-folding-stream {
        position: absolute;
        inset: 0;
        z-index: 2;
        width: 100%;
        display: block;
        perspective: inherit;
        transform-style: preserve-3d;
    }

    .vibenotes-product-page .journey-insight-card {
        position: absolute;
        left: 50%;
        top: 50%;
        width: clamp(8.1rem, 34vw, 9.8rem);
        aspect-ratio: 1.02 / 1;
        max-height: none;
        gap: 0.24rem;
        padding: 0.5rem 0.54rem;
        overflow: hidden;
        box-sizing: border-box;
        contain: layout paint;
        opacity: var(--stream-opacity) !important;
        filter: none !important;
        transform:
            translate3d(calc(-50% + var(--stream-x)), calc(-50% + var(--stream-y)), var(--stream-z))
            rotateX(var(--stream-fold))
            rotateY(var(--stream-tilt))
            rotateZ(var(--stream-roll))
            scale(var(--stream-scale)) !important;
        box-shadow:
            0 18px 44px rgba(0, 0, 0, 0.34),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition:
            opacity 0.28s var(--ease-out),
            border-color 0.24s var(--ease-out),
            box-shadow 0.24s var(--ease-out);
        will-change: transform, opacity;
    }

    .vibenotes-product-page .journey-insight-card:nth-child(n+3) {
        display: flex;
    }

    .vibenotes-product-page .journey-insight-card span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        font-size: 0.42rem;
        letter-spacing: 0.055em;
        line-height: 1.05;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vibenotes-product-page .journey-insight-card strong,
    .vibenotes-product-page .journey-insight-card p {
        display: -webkit-box;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        overflow-wrap: normal;
        word-break: normal;
        -webkit-box-orient: vertical;
    }

    .vibenotes-product-page .journey-insight-card strong {
        -webkit-line-clamp: 2;
        font-size: 0.72rem;
        line-height: 1.05;
    }

    .vibenotes-product-page .journey-insight-card p {
        -webkit-line-clamp: 1;
        font-size: 0.48rem;
        line-height: 1.18;
    }

    .vibenotes-product-page .journey-insight-card > small {
        display: none;
    }

    .vibenotes-product-page .journey-feedback-sticky {
        height: 100svh;
        min-height: 100svh;
        display: block;
        padding: 0;
    }

    .vibenotes-product-page .journey-feedback-copy {
        position: absolute;
        left: 50%;
        top: clamp(5.75rem, 12.6svh, 6.9rem);
        width: min(19.25rem, calc(100vw - 1.6rem));
        margin: 0;
        transform: translateX(-50%);
    }

    .vibenotes-product-page .journey-feedback-copy h2 {
        max-width: 17.25rem;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(1.96rem, 10vw, 2.86rem);
        line-height: 0.94;
    }

    .vibenotes-product-page .journey-feedback-copy p {
        max-width: 17.75rem;
        font-size: 0.64rem;
        line-height: 1.34;
    }

    .vibenotes-product-page .journey-feedback-orbit {
        position: absolute;
        left: 50%;
        top: 58.5%;
        width: min(29rem, 104vw);
        height: min(27rem, 53svh);
        min-height: 18rem;
        display: block;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .feedback-cosmos-canvas,
    .vibenotes-product-page .feedback-cosmos-vignette {
        display: block;
    }

    .vibenotes-product-page .feedback-cosmos-canvas {
        inset: -2% -2%;
        width: 104%;
        height: 104%;
        opacity: 0.96;
        filter: saturate(1.04) contrast(1.04);
    }

    .vibenotes-product-page .feedback-cosmos-vignette {
        inset: -3%;
        background:
            radial-gradient(circle at 50% 48%, transparent 0 38%, rgba(0, 0, 0, 0.08) 61%, rgba(0, 0, 0, 0.78) 92%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 23%, transparent 76%, rgba(0, 0, 0, 0.66));
    }

    .vibenotes-product-page .feedback-output-cloud,
    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud {
        position: absolute;
        left: 50%;
        top: 54%;
        width: min(21rem, calc(100vw - 1.4rem));
        gap: 0.38rem;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .journey-feedback-orbit:not(.is-cosmos-fallback) .feedback-output-cloud {
        opacity: 0;
        pointer-events: none;
    }

    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud {
        --feedback-scan-angle: calc(var(--feedback-active-index, 0) * 36deg);
        inset: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: block;
        transform: none;
    }

    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud::before,
    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 44%;
        z-index: 1;
        pointer-events: none;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud::before {
        width: min(10.8rem, 44vw);
        aspect-ratio: 1;
        border: 1px solid rgba(var(--journey-mint), 0.18);
        border-radius: 50%;
        background:
            conic-gradient(from var(--feedback-scan-angle), transparent 0 58%, rgba(var(--journey-mint), 0.28) 64%, rgba(var(--journey-blue), 0.18) 69%, transparent 78%),
            radial-gradient(circle at 50% 50%, rgba(var(--journey-mint), 0.18), transparent 0 31%),
            radial-gradient(circle at 50% 50%, rgba(var(--journey-blue), 0.1), transparent 55%),
            radial-gradient(circle at 50% 50%, rgba(var(--journey-violet), 0.08), transparent 72%);
        box-shadow:
            0 0 38px rgba(var(--journey-blue), 0.1),
            inset 0 0 28px rgba(var(--journey-mint), 0.08);
        transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
        animation: feedbackMobileScan 2.6s linear infinite;
    }

    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud::after {
        content: 'Vibenotes AI';
        min-height: 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 0.72rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        background: rgba(7, 13, 24, 0.84);
        color: rgba(236, 255, 251, 0.92);
        font-size: 0.52rem;
        font-weight: 850;
        letter-spacing: 0.075em;
        text-transform: uppercase;
        box-shadow:
            0 18px 38px rgba(0, 0, 0, 0.3),
            0 0 24px rgba(var(--journey-mint), 0.12);
        animation: feedbackMobileHubPulse 2.6s ease-in-out infinite;
    }

    .vibenotes-product-page .feedback-output-chip {
        min-height: 1.82rem;
        max-width: 8rem;
        padding: 0.36rem 0.54rem;
        color: rgba(246, 253, 255, 0.92);
        font-size: 0.64rem;
        font-weight: 820;
        line-height: 1.1;
        overflow-wrap: anywhere;
        white-space: normal;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.74);
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip {
        position: absolute;
        left: var(--mobile-orbit-x);
        top: var(--mobile-orbit-y);
        opacity: var(--mobile-orbit-opacity, 0.86);
        z-index: 2;
        transform:
            translate(-50%, -50%)
            rotate(var(--mobile-orbit-r, 0deg))
            scale(var(--mobile-orbit-scale, 1));
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.36),
            0 0 12px rgba(var(--journey-blue), 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        contain: layout paint;
        will-change: transform, opacity;
        animation: feedbackMobileOrbitFloat 7.5s ease-in-out infinite;
        transition:
            border-color 0.34s var(--ease-out),
            background 0.34s var(--ease-out),
            box-shadow 0.34s var(--ease-out),
            color 0.34s var(--ease-out),
            opacity 0.34s var(--ease-out);
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip.is-active {
        --mobile-orbit-scale-active: calc(var(--mobile-orbit-scale, 1) * 1.34);
        opacity: 1;
        scale: 1;
        z-index: 5;
        min-height: 2.04rem;
        max-width: 8.9rem;
        font-size: 0.76rem;
        line-height: 1.08;
        border-color: rgba(var(--journey-mint), 0.66);
        background:
            radial-gradient(circle at 24% 0%, rgba(var(--journey-mint), 0.34), transparent 58%),
            linear-gradient(135deg, rgba(var(--journey-blue), 0.16), rgba(var(--journey-mint), 0.18)),
            rgba(10, 36, 34, 0.94);
        box-shadow:
            0 14px 34px rgba(0, 0, 0, 0.42),
            0 0 14px rgba(var(--journey-mint), 0.22),
            0 0 18px rgba(var(--journey-blue), 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        color: rgba(240, 255, 252, 0.98);
        animation:
            feedbackMobileOrbitFloatActive 2.6s ease-in-out infinite,
            feedbackMobileChipPulse 2.6s ease-in-out infinite;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(1) {
        --mobile-orbit-x: 50%;
        --mobile-orbit-y: 20%;
        --mobile-orbit-scale: 1;
        animation-delay: -0.6s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(2) {
        --mobile-orbit-x: 24%;
        --mobile-orbit-y: 29%;
        --mobile-orbit-r: -8deg;
        --mobile-orbit-scale: 0.94;
        animation-delay: -1.7s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(3) {
        --mobile-orbit-x: 76%;
        --mobile-orbit-y: 29%;
        --mobile-orbit-r: 7deg;
        --mobile-orbit-scale: 0.94;
        animation-delay: -2.5s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(4) {
        --mobile-orbit-x: 19%;
        --mobile-orbit-y: 43%;
        --mobile-orbit-r: 6deg;
        --mobile-orbit-scale: 0.86;
        animation-delay: -3.2s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(5) {
        --mobile-orbit-x: 81%;
        --mobile-orbit-y: 43%;
        --mobile-orbit-r: -6deg;
        --mobile-orbit-scale: 0.86;
        animation-delay: -4.1s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(6) {
        --mobile-orbit-x: 27%;
        --mobile-orbit-y: 58%;
        --mobile-orbit-r: 5deg;
        --mobile-orbit-scale: 0.82;
        animation-delay: -5s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(7) {
        --mobile-orbit-x: 73%;
        --mobile-orbit-y: 58%;
        --mobile-orbit-r: -5deg;
        --mobile-orbit-scale: 0.82;
        animation-delay: -5.8s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(8) {
        --mobile-orbit-x: 50%;
        --mobile-orbit-y: 66%;
        --mobile-orbit-r: 4deg;
        --mobile-orbit-scale: 0.82;
        animation-delay: -6.6s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(9) {
        --mobile-orbit-x: 35%;
        --mobile-orbit-y: 73%;
        --mobile-orbit-r: -5deg;
        --mobile-orbit-scale: 0.76;
        animation-delay: -7.2s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip:nth-child(10) {
        --mobile-orbit-x: 65%;
        --mobile-orbit-y: 73%;
        --mobile-orbit-r: 5deg;
        --mobile-orbit-scale: 0.76;
        animation-delay: -7.8s;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip.is-active {
        --mobile-orbit-r: 0deg;
    }

    .vibenotes-product-page .feedback-recommendation-stack {
        position: absolute;
        left: 50%;
        bottom: calc(0.72rem + env(safe-area-inset-bottom));
        width: min(18.4rem, calc(100vw - 2.2rem));
        gap: 0.24rem;
        transform: translateX(-50%);
    }

    .vibenotes-product-page .feedback-return-pulse {
        min-height: 1.28rem;
        max-width: 100%;
        padding: 0.2rem 0.42rem;
        font-size: 0.48rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vibenotes-product-page .feedback-recommendation {
        padding: 0.46rem 0.54rem;
        overflow: hidden;
        box-shadow:
            0 14px 34px rgba(0, 0, 0, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .vibenotes-product-page .feedback-recommendation strong {
        font-size: 0.82rem;
        line-height: 1.18;
    }

    .vibenotes-product-page .feedback-recommendation p {
        font-size: 0.58rem;
        line-height: 1.36;
    }
}

@keyframes feedbackSuggestionFold {
    0% {
        transform: translate3d(0, 0.48rem, 0) perspective(720px) rotateX(19deg) rotateY(-2deg) skewY(-1.2deg);
        opacity: 0.64;
    }

    46% {
        transform: translate3d(0, -0.1rem, 0) perspective(720px) rotateX(-5deg) rotateY(1deg) skewY(0.4deg);
        opacity: 1;
    }

    100% {
        transform: translate3d(0, 0, 0) perspective(720px) rotateX(0deg) rotateY(0deg) skewY(0deg);
        opacity: 1;
    }
}

@keyframes feedbackMobileOrbitFloat {
    0%,
    100% {
        transform:
            translate(-50%, -50%)
            translate3d(0, 0, 0)
            rotate(var(--mobile-orbit-r, 0deg))
            scale(var(--mobile-orbit-scale, 1));
    }

    50% {
        transform:
            translate(-50%, -50%)
            translate3d(0, -0.22rem, 0)
            rotate(calc(var(--mobile-orbit-r, 0deg) + 1.5deg))
            scale(calc(var(--mobile-orbit-scale, 1) * 1.025));
    }
}

@keyframes feedbackMobileOrbitFloatActive {
    0%,
    100% {
        transform:
            translate(-50%, -50%)
            translate3d(0, 0, 0)
            rotate(var(--mobile-orbit-r, 0deg))
            scale(var(--mobile-orbit-scale-active, 1.12));
    }

    50% {
        transform:
            translate(-50%, -50%)
            translate3d(0, -0.28rem, 0)
            rotate(calc(var(--mobile-orbit-r, 0deg) + 2.5deg))
            scale(calc(var(--mobile-orbit-scale-active, 1.12) * 1.04));
    }
}

@keyframes feedbackMobileChipPulse {
    0%,
    100% {
        filter: saturate(1);
    }

    50% {
        filter: saturate(1.25);
    }
}

@keyframes feedbackMobileScan {
    to {
        rotate: 360deg;
    }
}

@keyframes feedbackMobileHubPulse {
    0%,
    100% {
        box-shadow:
            0 18px 38px rgba(0, 0, 0, 0.3),
            0 0 24px rgba(var(--journey-mint), 0.12);
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        box-shadow:
            0 20px 42px rgba(0, 0, 0, 0.32),
            0 0 36px rgba(var(--journey-mint), 0.24),
            0 0 48px rgba(var(--journey-blue), 0.12);
        transform: translate(-50%, -50%) scale(1.035);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vibenotes-product-page .journey-sequence-panel {
        transition: none !important;
    }

    .vibenotes-product-page .journey-insight-card {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    .vibenotes-product-page .journey-feedback-orbit .feedback-output-chip {
        animation: none !important;
    }

    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud::before,
    .vibenotes-product-page .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud::after {
        animation: none !important;
    }
}

@media (max-width: 380px) {
    .vibenotes-product-page .journey-context-hub h2,
    .vibenotes-product-page .journey-study-copy h2,
    .vibenotes-product-page .journey-learns-copy h2,
    .vibenotes-product-page .journey-feedback-copy h2 {
        font-size: clamp(1.92rem, 10vw, 2.46rem);
    }

    .vibenotes-product-page .journey-artifact {
        width: clamp(5rem, 26vw, 5.75rem);
        height: clamp(4.55rem, 17vw, 5.7rem);
    }

    .vibenotes-product-page .journey-insight-card {
        width: clamp(8.5rem, 38vw, 10rem);
    }
}

/* Minimal black slogan section */
.vibenotes-product-page .footer-cta-section {
    min-height: 280svh;
    overflow: visible;
    border: 0;
    background: #000000 !important;
}

.vibenotes-product-page .footer-cta-section::before,
.vibenotes-product-page .footer-cta-section::after,
.vibenotes-product-page .footer-minimal-slogan::before {
    display: none;
}

.vibenotes-product-page .footer-cta-inner {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 100svh;
    padding: 0;
}

.vibenotes-product-page .footer-cta-message,
.vibenotes-product-page .footer-cta-action-row {
    width: 100%;
    min-height: 100svh;
    display: grid;
    place-items: center;
    margin: 0;
    gap: 0;
}

.vibenotes-product-page .footer-minimal-slogan {
    --reveal-opacity: 1;
    width: 100vw;
    height: 100svh;
    min-height: 100svh;
    margin-left: calc(50% - 50vw);
    gap: 0;
    cursor: crosshair;
    overflow: hidden;
    background: #000000;
}

.vibenotes-product-page .footer-join-pane {
    width: 100vw;
    height: 100svh;
    min-height: 100svh;
    margin-left: calc(50% - 50vw);
    display: grid;
    align-items: center;
    justify-items: center;
}

.vibenotes-product-page .footer-particle-typography {
    width: 100vw;
    height: 100svh;
    min-height: 100svh;
    align-self: center;
}

.vibenotes-product-page .footer-particle-fallback,
.vibenotes-product-page .footer-particle-typography[data-particle-ready="fallback"] {
    font-size: clamp(3rem, 9vw, 8rem);
}

@media (max-width: 640px) {
    .vibenotes-product-page .footer-cta-section {
        min-height: 260svh;
    }

    .vibenotes-product-page .footer-join-pane,
    .vibenotes-product-page .footer-minimal-slogan,
    .vibenotes-product-page .footer-particle-typography {
        width: 100vw;
        height: 100svh;
        min-height: 100svh;
        margin-left: calc(50% - 50vw);
    }
}

/* Vibenotes viewport runtime and Journey rendering contract */
html:has(> body.vibenotes-product-page) {
	    overflow-x: clip;
	    overflow-y: auto;
}

body.vibenotes-product-page {
	min-height: 100%;
	overflow-x: visible;
	overflow-y: visible;
	touch-action: pan-x pan-y pinch-zoom;
}

body.vibenotes-product-page.menu-open {
	overflow-y: visible;
}

html.menu-open,
html:has(> body.vibenotes-product-page.menu-open) {
	overflow-y: hidden;
}

.vibenotes-product-page .floating-orbs,
.vibenotes-product-page .cursor-glow,
.vibenotes-product-page .hero-glow,
.vibenotes-product-page .morph-bg,
.vibenotes-product-page .aurora-bg,
.vibenotes-product-page .section-glow::before,
.vibenotes-product-page .section-glow::after,
.vibenotes-product-page .journey-minimal-particle-canvas,
.vibenotes-product-page .journey-minimal-accent-lines,
.vibenotes-product-page .feedback-cosmos-canvas,
.vibenotes-product-page .feedback-cosmos-vignette,
.vibenotes-product-page .journey-feedback-orbit::before,
.vibenotes-product-page .journey-feedback-orbit::after {
    pointer-events: none;
}

html.is-viewport-zoomed,
html.is-runtime-suspended,
html.is-pinch-zooming,
.vibenotes-product-page.is-viewport-zoomed,
.vibenotes-product-page.is-runtime-suspended,
.vibenotes-product-page.is-pinch-zooming {
    scroll-behavior: auto;
}

html.is-runtime-suspended .vibenotes-product-page :is(
	.floating-orb,
	.morph-shape,
	.hero-glow,
	.aurora-bg,
	.journey-artifact,
	.journey-minimal-accent-lines,
	.journey-minimal-particle-canvas,
	.study-writing-lines i,
	.study-written-text,
	.study-scratch-mark,
	.study-typing-input i,
	.study-pencil-nib,
	.study-soft-keys span,
	.study-grade-pill,
	.study-evidence-trail span,
	.journey-insight-card,
	.feedback-output-chip,
	.feedback-recommendation,
	.feedback-return-pulse,
	.footer-raining-letter,
	.footer-raining-title
),
.vibenotes-product-page .is-effect-paused,
.vibenotes-product-page .is-effect-paused *,
.vibenotes-product-page .is-effect-offscreen,
.vibenotes-product-page .is-effect-offscreen *,
.vibenotes-product-page .journey-sequence-panel.is-panel-inert,
.vibenotes-product-page .journey-sequence-panel.is-panel-inert * {
	animation-play-state: paused !important;
}

html.is-runtime-suspended .vibenotes-product-page :is(
	.study-pencil-input,
	.study-typing-input
)::after {
	animation-play-state: paused !important;
}

html.is-runtime-suspended .vibenotes-product-page :is(
	.journey-sequence-panel,
	.journey-feedback-orbit,
	.feedback-cosmos-canvas,
	.feedback-output-chip,
	.feedback-recommendation
) {
	transition: none !important;
}

.vibenotes-product-page .journey-sequence-panel.is-panel-inert,
.vibenotes-product-page .journey-sequence-panel[aria-hidden="true"] {
	visibility: hidden;
	pointer-events: none !important;
}

@media (max-width: 768px) {
	body.vibenotes-product-page.is-journey-effects-active .floating-orbs {
		display: none;
	}
}

/* Stage 04 keeps its labels as native DOM text; WebGL only supplies depth. */
.vibenotes-product-page #journey-feedback-panel {
	filter: none !important;
}

.vibenotes-product-page .journey-sequence.is-feedback-active #journey-feedback-panel {
	transform: none;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 46%;
    z-index: 0;
    width: clamp(13rem, 31vw, 23rem);
    aspect-ratio: 1;
    border: 1px solid rgba(var(--journey-mint), 0.2);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(7, 20, 27, 0.94) 0 30%, rgba(var(--journey-mint), 0.12) 31%, transparent 33%),
        repeating-radial-gradient(circle, transparent 0 14%, rgba(var(--journey-blue), 0.1) 14.4% 14.7%, transparent 15.1% 23%),
        conic-gradient(from 218deg, transparent 0 66%, rgba(var(--journey-mint), 0.22) 72%, rgba(var(--journey-blue), 0.12) 78%, transparent 84%);
    box-shadow:
        0 0 42px rgba(var(--journey-blue), 0.09),
        inset 0 0 48px rgba(var(--journey-mint), 0.08);
    opacity: 0.3;
    transform: translate(-50%, -50%);
    transition: opacity 220ms ease;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit::after {
    content: 'VIBENOTES AI';
    position: absolute;
    left: 50%;
    top: 46%;
    z-index: 4;
    min-height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(5, 12, 20, 0.9);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(var(--journey-mint), 0.12);
    color: rgba(239, 255, 252, 0.94);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.vibenotes-product-page #journey-feedback-panel .feedback-cosmos-canvas {
    opacity: 0.94;
    visibility: visible;
    filter: none;
    -webkit-mask-image: none;
    mask-image: none;
    image-rendering: auto;
    transition:
        opacity 220ms ease,
        visibility 0s linear;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-ready::before {
	opacity: 0.32;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-suspended::before,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback::before,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-rebuilding::before {
	opacity: 0.58;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-suspended .feedback-cosmos-canvas,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-rebuilding .feedback-cosmos-canvas {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 160ms ease,
        visibility 0s linear 160ms;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback .feedback-cosmos-canvas {
	display: none;
}

.vibenotes-product-page #journey-feedback-panel .feedback-cosmos-vignette,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback .feedback-cosmos-vignette,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-suspended .feedback-cosmos-vignette,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-rebuilding .feedback-cosmos-vignette {
	display: block;
	inset: 0;
	overflow: hidden;
	background: radial-gradient(ellipse at 50% 48%, rgba(var(--journey-mint), 0.09), rgba(var(--journey-blue), 0.035) 42%, transparent 72%);
	opacity: 0.72;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.vibenotes-product-page #journey-feedback-panel .feedback-cosmos-vignette::before {
	content: '';
	position: absolute;
	inset: 5% 3%;
	background:
		radial-gradient(circle at 8% 43%, rgba(var(--journey-blue), 0.86) 0 1px, transparent 1.6px),
		radial-gradient(circle at 13% 61%, rgba(var(--journey-mint), 0.74) 0 1.2px, transparent 1.8px),
		radial-gradient(circle at 17% 28%, rgba(var(--journey-violet), 0.72) 0 1px, transparent 1.7px),
		radial-gradient(circle at 21% 74%, rgba(var(--journey-amber), 0.78) 0 1px, transparent 1.6px),
		radial-gradient(circle at 25% 48%, rgba(var(--journey-blue), 0.68) 0 1.2px, transparent 1.9px),
		radial-gradient(circle at 29% 18%, rgba(var(--journey-mint), 0.72) 0 1px, transparent 1.7px),
		radial-gradient(circle at 33% 66%, rgba(var(--journey-violet), 0.76) 0 1.2px, transparent 1.9px),
		radial-gradient(circle at 37% 37%, rgba(var(--journey-amber), 0.74) 0 1px, transparent 1.6px),
		radial-gradient(circle at 41% 81%, rgba(var(--journey-blue), 0.78) 0 1px, transparent 1.7px),
		radial-gradient(circle at 45% 24%, rgba(var(--journey-mint), 0.74) 0 1.2px, transparent 1.9px),
		radial-gradient(circle at 49% 58%, rgba(var(--journey-violet), 0.72) 0 1px, transparent 1.6px),
		radial-gradient(circle at 53% 13%, rgba(var(--journey-amber), 0.82) 0 1px, transparent 1.7px),
		radial-gradient(circle at 57% 72%, rgba(var(--journey-blue), 0.72) 0 1.2px, transparent 1.9px),
		radial-gradient(circle at 61% 42%, rgba(var(--journey-mint), 0.78) 0 1px, transparent 1.7px),
		radial-gradient(circle at 65% 86%, rgba(var(--journey-violet), 0.72) 0 1px, transparent 1.6px),
		radial-gradient(circle at 69% 27%, rgba(var(--journey-amber), 0.78) 0 1.2px, transparent 1.9px),
		radial-gradient(circle at 73% 59%, rgba(var(--journey-blue), 0.72) 0 1px, transparent 1.7px),
		radial-gradient(circle at 77% 16%, rgba(var(--journey-mint), 0.74) 0 1px, transparent 1.6px),
		radial-gradient(circle at 81% 76%, rgba(var(--journey-violet), 0.76) 0 1.2px, transparent 1.9px),
		radial-gradient(circle at 85% 38%, rgba(var(--journey-amber), 0.76) 0 1px, transparent 1.7px),
		radial-gradient(circle at 89% 64%, rgba(var(--journey-blue), 0.74) 0 1px, transparent 1.6px),
		radial-gradient(circle at 93% 29%, rgba(var(--journey-mint), 0.78) 0 1.2px, transparent 1.9px),
		radial-gradient(circle at 35% 52%, rgba(var(--journey-blue), 0.62) 0 0.8px, transparent 1.4px),
		radial-gradient(circle at 55% 34%, rgba(var(--journey-amber), 0.68) 0 0.8px, transparent 1.4px),
		radial-gradient(circle at 71% 49%, rgba(var(--journey-mint), 0.64) 0 0.8px, transparent 1.4px),
		radial-gradient(circle at 46% 70%, rgba(var(--journey-violet), 0.66) 0 0.8px, transparent 1.4px);
	opacity: 0.88;
}

.vibenotes-product-page #journey-feedback-panel .feedback-cosmos-vignette::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 48%;
	width: 72%;
	height: 27%;
	border: 1px solid rgba(var(--journey-blue), 0.12);
	border-radius: 50%;
	box-shadow:
		0 0 0 1.45rem rgba(var(--journey-mint), 0.055),
		0 0 0 3rem rgba(var(--journey-violet), 0.035);
	transform: translate(-50%, -50%) rotate(-4deg);
}

.vibenotes-product-page #journey-feedback-panel .feedback-output-cloud,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit:not(.is-cosmos-fallback) .feedback-output-cloud,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 1;
    pointer-events: none;
    transform: none;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud::before,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud::after {
    content: none;
    animation: none;
}

.vibenotes-product-page #journey-feedback-panel .feedback-output-chip {
    --orbit-x: 50%;
    --orbit-y: 46%;
    --orbit-rotate: 0deg;
    --orbit-scale: 1;
    --orbit-opacity: 0.9;
    --orbit-active-scale: 1;
    position: absolute;
    left: var(--orbit-x);
    top: var(--orbit-y);
    z-index: var(--orbit-z, 6);
    min-height: 2.15rem;
    max-width: 10.25rem;
    padding: 0.48rem 0.76rem;
    opacity: var(--orbit-opacity);
    filter: none;
    scale: 1 !important;
    transform:
        translate(-50%, -50%)
        rotate(var(--orbit-rotate))
        scale(calc(var(--orbit-scale) * var(--orbit-active-scale)));
    transform-origin: center;
    contain: none;
    will-change: auto;
    animation: none;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.vibenotes-product-page #journey-feedback-panel .feedback-output-chip.is-active {
    /* Projection code supplies depth and active scaling in --orbit-scale. */
    --orbit-active-scale: 1;
    --orbit-opacity: 1;
    z-index: 12;
    scale: 1 !important;
    animation: none;
}

.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(1) { --orbit-x: 85.3%; --orbit-y: 50.4%; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(2) { --orbit-x: 74.4%; --orbit-y: 65%; --orbit-rotate: 3deg; --orbit-scale: 0.94; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(3) { --orbit-x: 54.2%; --orbit-y: 68.5%; --orbit-rotate: -3deg; --orbit-scale: 0.9; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(4) { --orbit-x: 32.4%; --orbit-y: 65.8%; --orbit-rotate: 3deg; --orbit-scale: 0.9; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(5) { --orbit-x: 17.3%; --orbit-y: 55.5%; --orbit-rotate: -3deg; --orbit-scale: 0.9; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(6) { --orbit-x: 14.7%; --orbit-y: 41.6%; --orbit-scale: 0.92; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(7) { --orbit-x: 25.6%; --orbit-y: 29.3%; --orbit-rotate: 3deg; --orbit-scale: 0.9; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(8) { --orbit-x: 45.8%; --orbit-y: 23.5%; --orbit-rotate: -3deg; --orbit-scale: 0.94; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(9) { --orbit-x: 67.6%; --orbit-y: 26.2%; --orbit-rotate: 3deg; --orbit-scale: 0.9; }
.vibenotes-product-page #journey-feedback-panel .feedback-output-chip:nth-child(10) { --orbit-x: 82.7%; --orbit-y: 36.5%; --orbit-rotate: -3deg; --orbit-scale: 0.94; }

.vibenotes-product-page #journey-feedback-panel .feedback-recommendation span,
.vibenotes-product-page #journey-feedback-panel .feedback-recommendation strong,
.vibenotes-product-page #journey-feedback-panel .feedback-recommendation p,
.vibenotes-product-page #journey-feedback-panel .feedback-return-pulse {
    filter: none;
    transform: none;
}

@media (max-width: 768px) {
	.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit {
		top: 55%;
		width: min(34rem, calc(100vw - 1rem));
		height: clamp(21.5rem, 52svh, 24rem);
		min-height: 21.5rem;
	}

    .vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit::before {
        top: 45%;
        width: clamp(10.5rem, 52vw, 13rem);
    }

    .vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit::after {
        top: 45%;
        min-height: 1.9rem;
        padding: 0 0.68rem;
        font-size: 0.5rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-output-chip {
        min-height: 1.72rem;
		max-width: 9.25rem;
        padding: 0.34rem 0.5rem;
        font-size: clamp(0.58rem, 2.5vw, 0.68rem);
        line-height: 1.08;
        overflow-wrap: normal;
		white-space: nowrap;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-output-chip.is-active {
        --orbit-active-scale: 1;
        min-height: 1.92rem;
		max-width: 9.5rem;
        font-size: clamp(0.65rem, 2.8vw, 0.76rem);
    }

	.vibenotes-product-page #journey-feedback-panel .feedback-recommendation-stack {
		bottom: -2.75rem;
		width: min(19rem, calc(100vw - 2.25rem));
	}
}

@media (prefers-reduced-motion: reduce) {
	.vibenotes-product-page .journey-feedback-sticky {
		height: 100svh;
		min-height: 100svh;
		display: block;
		padding: 0;
	}

	.vibenotes-product-page .journey-feedback-copy {
		position: absolute;
		left: 50%;
		top: clamp(8.4rem, 13.8vh, 9.4rem);
		width: min(42rem, calc(100vw - 3rem));
		margin: 0;
		transform: translateX(-50%);
	}

	.vibenotes-product-page .journey-feedback-orbit {
		position: absolute;
		left: 50%;
		top: 62%;
		width: min(68rem, calc(100vw - 2rem));
		height: min(42rem, 68vh);
		min-height: 31rem;
		display: block;
		gap: 0;
		transform: translate(-50%, -50%);
	}

	.vibenotes-product-page #journey-feedback-panel .feedback-output-chip {
		animation: none !important;
		transition: none !important;
	}

	.vibenotes-product-page .feedback-recommendation-stack {
		position: absolute;
		left: 50%;
		bottom: clamp(2.1rem, 3.4vh, 3rem);
		width: min(21rem, calc(100vw - 3rem));
		justify-self: auto;
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
	.vibenotes-product-page .journey-feedback-sticky {
		min-height: 100svh;
	}

	.vibenotes-product-page .journey-feedback-copy {
		top: clamp(5.75rem, 12.6svh, 6.9rem);
		width: min(19.25rem, calc(100vw - 1.6rem));
	}

	.vibenotes-product-page .journey-feedback-orbit {
		top: 55%;
		width: min(34rem, calc(100vw - 1rem));
		height: clamp(21.5rem, 52svh, 24rem);
		min-height: 21.5rem;
	}

	.vibenotes-product-page .feedback-recommendation-stack {
		bottom: -2.75rem;
		width: min(19rem, calc(100vw - 2.25rem));
	}
}

/* Compact Journey compositions keep short browser windows fully usable. */
@media (max-height: 700px) {
    .vibenotes-product-page .journey-sequence-sticky,
    .vibenotes-product-page .journey-material-cloud,
    .vibenotes-product-page .journey-learns-sticky,
    .vibenotes-product-page .journey-feedback-sticky {
        height: 100svh;
        min-height: 100svh;
    }

    .vibenotes-product-page .journey-sequence-panel {
        height: 100svh;
    }




    .vibenotes-product-page .scroll-top-btn {
        right: calc(0.62rem + env(safe-area-inset-right));
        bottom: calc(0.42rem + env(safe-area-inset-bottom));
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (max-height: 700px) and (orientation: landscape) {
    .vibenotes-product-page .product-site-header,
    .vibenotes-product-page .product-site-header.scrolled,
    .vibenotes-product-page .product-site-header.is-scrolled,
    .vibenotes-product-page .product-site-header.is-open {
        padding: max(0.52rem, env(safe-area-inset-top)) 0 0.52rem;
    }

    .vibenotes-product-page .product-site-header .nav-content {
        min-height: 2.5rem;
    }

    .vibenotes-product-page .product-site-header .logo-img {
        width: 6.25rem;
    }

    .vibenotes-product-page .product-site-header .mobile-menu-btn {
        width: 2.5rem;
        height: 2.5rem;
        padding: 0.7rem 0.58rem;
    }

    .vibenotes-product-page .journey-context-hub {
        top: 51%;
        width: min(32rem, calc(100% - 16rem));
        gap: 0.42rem;
    }

    .vibenotes-product-page .journey-context-hub h2 {
        font-size: 2.7rem;
        line-height: 0.94;
    }

    .vibenotes-product-page .journey-context-hub small {
        max-width: 25rem;
        font-size: 0.68rem;
        line-height: 1.3;
    }

    .vibenotes-product-page .journey-artifact {
        width: min(var(--w, 7rem), 7rem);
        height: min(var(--h, 5.6rem), 5.6rem);
        padding: 0.5rem 0.56rem;
    }

    .vibenotes-product-page .journey-artifact strong {
        font-size: 0.67rem;
    }

    .vibenotes-product-page .journey-artifact small {
        display: none;
    }

    .vibenotes-product-page .journey-artifact--chip,
    .vibenotes-product-page .journey-artifact--exam {
        display: none;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 9%"] {
        --x: 3% !important;
        --y: 24% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 30%"] {
        --x: 18% !important;
        --y: 12% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 73%"] {
        --x: 70% !important;
        --y: 12% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 82%"] {
        --x: 86% !important;
        --y: 24% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 2%"] {
        --x: 3% !important;
        --y: 63% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 70%"] {
        --x: 84% !important;
        --y: 63% !important;
    }

    .vibenotes-product-page .journey-study-scene {
        display: grid;
        grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1.45fr);
        align-items: center;
        gap: clamp(0.7rem, 2vw, 1.4rem);
        padding: 4.2rem 4.6rem 2.55rem 1.1rem;
    }

    .vibenotes-product-page .journey-study-copy {
        width: 100%;
        margin: 0;
        text-align: left;
    }

    .vibenotes-product-page .journey-study-copy h2 {
        margin: 0.34rem 0 0.42rem;
        font-size: 2.25rem;
        line-height: 0.96;
    }

    .vibenotes-product-page .journey-study-copy p {
        margin: 0;
        font-size: 0.68rem;
        line-height: 1.34;
    }

    .vibenotes-product-page .journey-study-workspace {
        width: 100%;
        height: min(30rem, calc(100svh - 6.8rem));
        min-height: 0;
        grid-template-columns: minmax(5.5rem, 0.58fr) minmax(0, 1.55fr) minmax(5.5rem, 0.58fr);
        grid-template-rows: auto minmax(0, 1fr);
        gap: 0.42rem;
        padding: 0.5rem;
        overflow: hidden;
    }

    .vibenotes-product-page .study-workspace-topbar {
        min-height: 2.35rem;
        padding: 0.42rem 0.52rem;
    }

    .vibenotes-product-page .study-workspace-topbar span,
    .vibenotes-product-page .journey-study-copy span {
        font-size: 0.49rem;
    }

    .vibenotes-product-page .study-workspace-topbar strong {
        font-size: 0.68rem;
    }

    .vibenotes-product-page .study-session-pill {
        min-height: 1.35rem;
        padding: 0.22rem 0.38rem;
        font-size: 0.48rem;
    }

    .vibenotes-product-page .study-note-list {
        display: flex;
        flex-direction: column;
        gap: 0.28rem;
        padding: 0.34rem;
    }

    .vibenotes-product-page .study-note-list span {
        min-height: 1.55rem;
        padding: 0.28rem 0.34rem;
        font-size: 0.52rem;
    }

    .vibenotes-product-page .study-answer-panel {
        min-height: 0;
        gap: 0.34rem;
        padding: 0.48rem;
    }

    .vibenotes-product-page .study-question-label {
        font-size: 0.47rem;
    }

    .vibenotes-product-page .study-answer-panel strong {
        font-size: 0.76rem;
        line-height: 1.12;
    }

    .vibenotes-product-page .study-input-surface {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.32rem;
        width: 100%;
    }

    .vibenotes-product-page .study-pencil-input,
    .vibenotes-product-page .study-typing-input {
        min-height: 4.8rem;
        padding: 0.34rem 0.38rem;
    }

    .vibenotes-product-page .study-input-mode-header small,
    .vibenotes-product-page .study-soft-keys,
    .vibenotes-product-page .study-answer-panel mark {
        display: none;
    }

    .vibenotes-product-page .study-input-mode-header span {
        min-height: 1rem;
        padding: 0.12rem 0.26rem;
        font-size: 0.42rem;
    }

    .vibenotes-product-page .study-pencil-input svg {
        height: 2.7rem;
    }

    .vibenotes-product-page .study-typing-input strong {
        margin-top: 0.1rem;
        font-size: 0.48rem;
        line-height: 1.18;
    }

    .vibenotes-product-page .study-feedback-rail {
        gap: 0.24rem;
        padding: 0.32rem;
    }

    .vibenotes-product-page .study-evidence-chip,
    .vibenotes-product-page .study-grade-pill {
        min-height: 1.35rem;
        padding: 0.24rem 0.3rem;
        font-size: 0.46rem;
    }

    .vibenotes-product-page .journey-learns-incoming,
    .vibenotes-product-page .journey-feedback-incoming {
        display: none;
    }

    .vibenotes-product-page .journey-learns-copy {
        left: 28%;
        top: 49%;
        width: min(28rem, 48%);
        text-align: left;
        transform: translate(-50%, -50%);
    }

    .vibenotes-product-page .journey-learns-copy h2 {
        margin: 0.35rem 0 0.42rem;
        font-size: 2.55rem;
        line-height: 0.9;
    }

    .vibenotes-product-page .journey-learns-copy p {
        margin: 0;
        font-size: 0.68rem;
        line-height: 1.34;
    }

    .vibenotes-product-page .journey-folding-stream {
        inset: 4.1rem 4.8rem 2.65rem 54%;
        width: calc(46vw - 4.8rem);
    }

    .vibenotes-product-page .journey-folding-stream::before {
        width: 100%;
        height: 72%;
    }

    .vibenotes-product-page .journey-insight-card {
        width: min(11rem, 46%);
        aspect-ratio: 1.18 / 1;
        padding: 0.62rem;
        opacity: 0.9 !important;
        filter: none !important;
        transform: none !important;
        will-change: auto;
    }

    .vibenotes-product-page .journey-insight-card:nth-child(1) {
        left: 1%;
        top: 8%;
    }

    .vibenotes-product-page .journey-insight-card:nth-child(2) {
        left: 52%;
        right: auto;
        top: 44%;
    }

    .vibenotes-product-page .journey-insight-card:nth-child(n+3) {
        display: none !important;
    }

    .vibenotes-product-page .journey-insight-card strong {
        font-size: 0.74rem;
    }

    .vibenotes-product-page .journey-insight-card p {
        font-size: 0.52rem;
    }

    .vibenotes-product-page .journey-insight-card > small {
        padding: 0.22rem 0.34rem;
        font-size: 0.46rem;
    }

    .vibenotes-product-page .journey-metric-strip {
        display: none;
    }

    .vibenotes-product-page .journey-feedback-copy {
        left: 1.35rem;
        top: 4.55rem;
        width: min(24rem, 43%);
        text-align: left;
        transform: none;
    }

    .vibenotes-product-page .journey-feedback-copy h2 {
        margin: 0.3rem 0 0.42rem;
        font-size: 2.3rem;
        line-height: 0.94;
    }

    .vibenotes-product-page .journey-feedback-copy p {
        margin: 0;
        font-size: 0.68rem;
        line-height: 1.34;
    }

    .vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit {
        left: 69%;
        top: 50%;
        width: min(30rem, 50%);
        height: min(18rem, 70svh);
        min-height: 0;
    }

    .vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit::before,
    .vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit::after {
        top: 45%;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-output-chip {
        min-height: 1.52rem;
        max-width: 7.15rem;
        padding: 0.26rem 0.42rem;
        font-size: 0.56rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-output-chip.is-active {
        min-height: 1.72rem;
        max-width: 7.7rem;
        font-size: 0.64rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-recommendation-stack {
		bottom: -1.4rem;
        width: min(18rem, calc(100% - 1rem));
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-return-pulse {
        min-height: 1.15rem;
        padding: 0.16rem 0.36rem;
        font-size: 0.43rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-recommendation {
        gap: 0.18rem;
        padding: 0.42rem 0.5rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-recommendation strong {
        font-size: 0.75rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-recommendation p {
        font-size: 0.54rem;
        line-height: 1.28;
    }
}

@media (max-width: 480px) and (max-height: 640px) and (orientation: portrait) {
    .vibenotes-product-page .journey-context-hub {
        top: 50%;
        width: calc(100% - 1.2rem);
        gap: 0.38rem;
    }

    .vibenotes-product-page .journey-context-hub h2 {
        max-width: 19rem;
        font-size: 1.92rem;
        line-height: 0.98;
    }

    .vibenotes-product-page .journey-context-hub small {
        max-width: 16rem;
        font-size: 0.59rem;
        line-height: 1.3;
    }

    .vibenotes-product-page .journey-artifact {
        width: 5.15rem;
        height: 4.7rem;
        padding: 0.4rem 0.42rem;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 9%"] {
        --x: 3% !important;
        --y: 18% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 30%"] {
        --x: 34% !important;
        --y: 14% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 73%"] {
        --x: 58% !important;
        --y: 17% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 82%"] {
        --x: 71% !important;
        --y: 21% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 2%"] {
        --x: 4% !important;
        --y: 70% !important;
    }

    .vibenotes-product-page .journey-artifact[style*="--x: 70%"] {
        --x: 67% !important;
        --y: 69% !important;
    }

    .vibenotes-product-page .journey-study-scene {
        justify-content: flex-start;
        padding: 4.35rem 0.48rem 2.75rem;
    }

    .vibenotes-product-page .journey-study-copy {
        margin-bottom: 0.28rem;
    }

    .vibenotes-product-page .journey-study-copy h2 {
        margin: 0.28rem 0 0.34rem;
        font-size: 1.9rem;
    }

    .vibenotes-product-page .journey-study-copy p {
        max-width: 17rem;
        font-size: 0.58rem;
        line-height: 1.25;
    }

    .vibenotes-product-page .journey-study-workspace {
        height: 18rem;
        min-height: 0;
        gap: 0.32rem;
        padding: 0.38rem;
        overflow: hidden;
    }

    .vibenotes-product-page .study-workspace-topbar {
        min-height: 2.15rem;
        padding: 0.35rem 0.42rem;
    }

    .vibenotes-product-page .study-workspace-topbar strong {
        font-size: 0.62rem;
    }

    .vibenotes-product-page .study-session-pill {
        min-height: 1.2rem;
        padding: 0.18rem 0.28rem;
        font-size: 0.43rem;
    }

    .vibenotes-product-page .study-note-list {
        gap: 0.25rem;
        padding: 0.3rem;
    }

    .vibenotes-product-page .study-note-list span {
        min-height: 1.45rem;
        padding: 0.24rem 0.28rem;
        font-size: 0.48rem;
    }

    .vibenotes-product-page .study-answer-panel {
        min-height: 0;
        gap: 0.3rem;
        padding: 0.42rem;
    }

    .vibenotes-product-page .study-answer-panel strong {
        font-size: 0.76rem;
        line-height: 1.1;
    }

    .vibenotes-product-page .study-input-surface {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.28rem;
    }

    .vibenotes-product-page .study-pencil-input,
    .vibenotes-product-page .study-typing-input {
        min-height: 4.35rem;
        padding: 0.3rem 0.32rem;
    }

    .vibenotes-product-page .study-input-mode-header small,
    .vibenotes-product-page .study-soft-keys,
    .vibenotes-product-page .study-answer-panel mark,
    .vibenotes-product-page .study-feedback-rail {
        display: none;
    }

    .vibenotes-product-page .study-pencil-input svg {
        height: 2.35rem;
    }

    .vibenotes-product-page .study-typing-input strong {
        margin-top: 0.05rem;
        font-size: 0.43rem;
        line-height: 1.12;
    }

    .vibenotes-product-page .journey-learns-incoming,
    .vibenotes-product-page .journey-feedback-incoming {
        display: none;
    }

    .vibenotes-product-page .journey-learns-copy {
        top: 29%;
        width: calc(100% - 1.2rem);
    }

    .vibenotes-product-page .journey-learns-copy h2 {
        margin: 0.28rem 0 0.32rem;
        font-size: 1.86rem;
        line-height: 0.96;
    }

    .vibenotes-product-page .journey-learns-copy p {
        max-width: 17rem;
        font-size: 0.57rem;
        line-height: 1.26;
    }

    .vibenotes-product-page .journey-insight-card {
        top: 52%;
        width: 7rem;
        aspect-ratio: 1.12 / 1;
        gap: 0.2rem;
        padding: 0.42rem;
        opacity: 0.88 !important;
        filter: none !important;
        transform: none !important;
        will-change: auto;
    }

    .vibenotes-product-page .journey-insight-card:nth-child(1) {
        left: 0.72rem;
    }

    .vibenotes-product-page .journey-insight-card:nth-child(2) {
        left: auto;
        right: 4.35rem;
        top: 55%;
    }

    .vibenotes-product-page .journey-insight-card:nth-child(n+3) {
        display: none !important;
    }

    .vibenotes-product-page .journey-insight-card span {
        font-size: 0.39rem;
    }

    .vibenotes-product-page .journey-insight-card strong {
        font-size: 0.61rem;
        line-height: 1.08;
    }

    .vibenotes-product-page .journey-insight-card p,
    .vibenotes-product-page .journey-insight-card > small {
        display: none;
    }

    .vibenotes-product-page .journey-metric-strip {
        left: 0.72rem;
        right: 4.35rem;
        bottom: calc(3rem + env(safe-area-inset-bottom));
        display: grid;
        width: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.28rem;
    }

    .vibenotes-product-page .journey-metric-card {
        min-height: 2.15rem;
        padding: 0.28rem 0.4rem;
    }

    .vibenotes-product-page .journey-metric-card:nth-child(n+3) {
        display: none;
    }

    .vibenotes-product-page .journey-feedback-copy {
        top: 4.75rem;
        width: calc(100% - 1.2rem);
    }

    .vibenotes-product-page .journey-feedback-copy h2 {
        margin: 0.26rem 0 0.34rem;
        font-size: 1.92rem;
        line-height: 0.96;
    }

    .vibenotes-product-page .journey-feedback-copy p {
        max-width: 18rem;
        font-size: 0.58rem;
        line-height: 1.3;
    }

	.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit {
		top: 55%;
		width: calc(100% - 0.75rem);
		height: clamp(19.75rem, 54svh, 21.5rem);
		min-height: 0;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-output-chip {
        min-height: 1.35rem;
        max-width: 5.8rem;
        padding: 0.22rem 0.32rem;
        font-size: 0.47rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-output-chip.is-active {
        min-height: 1.55rem;
        max-width: 6.5rem;
        font-size: 0.56rem;
    }

	.vibenotes-product-page #journey-feedback-panel .feedback-recommendation-stack {
		bottom: -3rem;
        width: min(18rem, calc(100% - 0.8rem));
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-return-pulse {
        min-height: 1.08rem;
        padding: 0.14rem 0.3rem;
        font-size: 0.4rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-recommendation {
        gap: 0.16rem;
        padding: 0.38rem 0.46rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-recommendation strong {
        font-size: 0.72rem;
    }

    .vibenotes-product-page #journey-feedback-panel .feedback-recommendation p {
        font-size: 0.5rem;
        line-height: 1.25;
    }
}

html.coin-modal-open,
html.coin-modal-open body {
    overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
    html,
    body {
        scroll-behavior: auto !important;
    }

    .vibenotes-product-page *,
    .vibenotes-product-page *::before,
    .vibenotes-product-page *::after {
        animation-delay: 0ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Stage 04 historical WebGL card orbit (July 14 composition). */
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit::before,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit::after,
.vibenotes-product-page #journey-feedback-panel .feedback-cosmos-vignette::before,
.vibenotes-product-page #journey-feedback-panel .feedback-cosmos-vignette::after {
    content: none;
    display: none;
}

.vibenotes-product-page #journey-feedback-panel .feedback-cosmos-canvas {
    inset: -8% -6%;
    width: 112%;
    height: 116%;
    opacity: 0.96;
    visibility: visible;
    filter: saturate(1.08) contrast(1.05);
    -webkit-mask-image:
        linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%),
        linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%),
        linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-composite: intersect;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit:not(.is-cosmos-fallback) .feedback-cosmos-vignette {
    display: block;
    inset: -10%;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 36%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.66) 83%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.28));
    opacity: 1;
    -webkit-mask-image:
        linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%),
        linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%),
        linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-composite: intersect;
}

.vibenotes-product-page #journey-feedback-panel .feedback-output-cloud,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit:not(.is-cosmos-fallback) .feedback-output-cloud {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: none;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback .feedback-cosmos-canvas {
    display: none;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback .feedback-cosmos-vignette {
    display: none;
}

.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-fallback .feedback-output-cloud,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-suspended .feedback-output-cloud,
.vibenotes-product-page #journey-feedback-panel .journey-feedback-orbit.is-cosmos-rebuilding .feedback-output-cloud {
    position: absolute;
    inset: auto;
    left: 50%;
    top: 54%;
    width: min(34rem, calc(100vw - 4rem));
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.56rem;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.vibenotes-product-page #journey-feedback-panel .feedback-output-chip {
    position: relative;
    left: auto;
    top: auto;
    z-index: 1;
    min-height: 2.15rem;
    max-width: 9.8rem;
    padding: 0.48rem 0.72rem;
    opacity: 1;
    scale: 1 !important;
    transform: none;
    animation: none;
}

.vibenotes-product-page #journey-feedback-panel .feedback-output-chip.is-active {
    z-index: 3;
    scale: 1.08 !important;
    transform: none;
}

/* Avoid rectangular iOS blur surfaces without changing the stage composition. */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    .vibenotes-product-page #journey-plug.section-glow::after,
    .vibenotes-product-page .journey-learns-sticky::after,
    .vibenotes-product-page .journey-feedback-sticky::after {
        content: none;
        display: none;
    }
}

@media (hover: none), (pointer: coarse) {
    .vibenotes-product-page .demo-video-frame:hover,
    .vibenotes-product-page .demo-video-frame:hover .demo-video-player {
        transform: none;
        filter: none;
    }

    .vibenotes-product-page .custom-video-player:hover .custom-video-controls {
        opacity: 0;
        filter: blur(10px);
        transform: translate(-50%, 1.25rem);
        pointer-events: none;
    }

    .vibenotes-product-page .custom-video-player.is-controls-visible .custom-video-controls,
    .vibenotes-product-page .custom-video-player:focus-within .custom-video-controls {
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, 0);
        pointer-events: auto;
    }
}

.vibenotes-product-page .custom-video-player.has-media-error .custom-video-center-play,
.vibenotes-product-page .custom-video-player.has-media-error .custom-video-controls {
    display: none;
}

/* Preserve the original paper landscape and reserve clear space for the copy. */
.vibenotes-product-page #introduction.paper-landing-hero {
    isolation: isolate;
    min-height: max(760px, 100svh);
    padding: 148px 24px 110px;
    background: #07070a;
}
.vibenotes-product-page #introduction.paper-landing-hero::before { content: none; }

.vibenotes-product-page .vibenotes-paper-world {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #07070a;
}

.vibenotes-product-page :is(.vibenotes-paper-poster, .vibenotes-paper-poster img, #vibenotes-paper-canvas, .vibenotes-paper-shade) {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.vibenotes-product-page .vibenotes-paper-poster img { object-fit: cover; }

.vibenotes-product-page #vibenotes-paper-canvas {
    opacity: 0;
}

.vibenotes-product-page [data-scene-state='ready'] #vibenotes-paper-canvas { opacity: 1; }

.vibenotes-product-page .vibenotes-paper-shade {
    background:
        radial-gradient(ellipse 36% 35% at 50% 59%, rgba(7, 7, 10, 0.88), rgba(7, 7, 10, 0.7) 35%, transparent 100%),
        linear-gradient(180deg, rgba(7, 7, 10, 0.1), transparent 24%, transparent 80%, #000 100%);
}

.vibenotes-product-page #introduction.paper-landing-hero .hero-content {
    width: min(780px, 100%);
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.vibenotes-product-page #introduction.paper-landing-hero .hero-badge {
    isolation: isolate;
    gap: 7px;
    min-height: 34px;
    max-width: 100%;
    margin: 0;
    padding: 8px 15px;
    color: #e0dbe9;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.01em;
    background:
        linear-gradient(180deg, rgba(239, 232, 255, 0.045), rgba(239, 232, 255, 0.012)),
        rgba(19, 17, 25, 0.46);
    background-blend-mode: normal;
    border: 1px solid rgba(225, 215, 242, 0.12);
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 3px 12px rgba(0, 0, 0, 0.12);
    cursor: default;
}
.vibenotes-product-page #introduction.paper-landing-hero .hero-badge::before {
    content: '';
    inset: 0;
    padding: 1px;
    background: linear-gradient(145deg, rgba(244, 238, 255, 0.24), transparent 38%, transparent 72%, rgba(224, 214, 242, 0.09));
    opacity: 0.5;
}
.vibenotes-product-page #introduction.paper-landing-hero .hero-badge > * { position: relative; z-index: 1; }
.vibenotes-product-page #introduction.paper-landing-hero .hero-badge::after {
    content: '';
    position: absolute;
    inset: -50% -20%;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 32%, rgba(245, 239, 255, 0.065) 50%, transparent 68%);
    transform: translateX(-110%);
    pointer-events: none;
}
.vibenotes-product-page #introduction.paper-landing-hero .hero-badge .hero-study-badge-icon { width: 14px; height: 14px; color: #c4b5dc; stroke-width: 1.35; }
@keyframes paper-badge-reflection { to { transform: translateX(110%); } }
@media (prefers-reduced-motion: no-preference) {
    .vibenotes-product-page #introduction.paper-landing-hero .hero-badge::after { animation: paper-badge-reflection 1800ms cubic-bezier(.2,.7,.2,1) 600ms both; }
}

@keyframes paper-hero-arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
    .vibenotes-product-page #introduction.paper-landing-hero .hero-content > * {
        animation: paper-hero-arrive 900ms cubic-bezier(.16, 1, .3, 1) both;
    }
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-heading { animation-delay: 80ms; }
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-lede { animation-delay: 160ms; }
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions { animation-delay: 240ms; }
}

.vibenotes-product-page .hero-study-badge-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #c4b5dc;
}

.vibenotes-product-page #introduction.paper-landing-hero h1 {
    margin: 30px 0 24px;
    font-size: clamp(58px, 7.5vw, 96px) !important;
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-shadow: 0 3px 28px rgba(0, 0, 0, 0.35);
}

.vibenotes-product-page #introduction.paper-landing-hero .hero-title-typing-line {
    position: relative;
    height: 1.2em;
    min-height: 1.2em;
    margin-top: 3px;
    line-height: 1.08;
}

.vibenotes-product-page #paper-tutor-word {
    display: inline-block;
    color: #e9e4f0;
    text-shadow: none;
}

.vibenotes-product-page #introduction p.paper-hero-lede {
    max-width: 400px !important;
    margin: 0 auto;
    padding: 0;
    color: #ded9e5;
    font-size: 16px !important;
    line-height: 1.8;
    text-wrap: balance;
    text-shadow: 0 2px 18px #07070a;
}

.vibenotes-product-page .paper-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 29px;
}

.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn {
    width: auto;
    min-height: 48px;
    padding: 13px 25px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    gap: 10px;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    transition: transform 350ms cubic-bezier(.2,.7,.2,1), background 250ms ease, box-shadow 350ms ease;
}

.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #15111c;
    background: #f0edf6;
    box-shadow: 0 0 32px rgba(168, 139, 230, 0.12), inset 0 1px 0 #fff;
}

.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn-primary::before { content: none; }
.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn-primary::after {
    content: '';
    position: absolute;
    inset: -50% -15%;
    z-index: -1;
    background: linear-gradient(110deg, transparent 36%, rgba(255, 255, 255, 0.7) 50%, transparent 64%);
    transform: translateX(-110%);
    pointer-events: none;
}
@keyframes paper-action-sheen {
    to { transform: translateX(110%); }
}
@media (prefers-reduced-motion: no-preference) {
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn-primary:is(:hover, :focus-visible)::after {
        animation: paper-action-sheen 850ms cubic-bezier(.2,.7,.2,1) both;
    }
}

.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 139, 230, 0.18);
}

.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn-secondary {
    background: rgba(16, 14, 22, 0.64);
    color: #dedbe5;
    border: 1px solid rgba(221, 212, 240, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn-secondary::before { content: none; }

.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn-secondary:hover {
    background: rgba(39, 33, 51, 0.78);
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(221, 212, 240, 0.42), 0 8px 28px rgba(168, 139, 230, 0.1);
}

.vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn:active { transform: translateY(0) scale(0.98); }

.vibenotes-product-page .paper-action-arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform 350ms cubic-bezier(.2,.7,.2,1); }
.vibenotes-product-page .paper-hero-actions .btn-primary:is(:hover, :focus-visible) .paper-action-arrow { transform: translateX(3px); }

.vibenotes-product-page .paper-hero-actions a:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 5px; }

@media (max-width: 767px), (max-width: 1199px) and (orientation: portrait) {
    .vibenotes-product-page #introduction.paper-landing-hero {
        display: block;
        min-height: max(740px, min(90svh, 840px));
        padding: 108px 24px 362px;
    }
    .vibenotes-product-page #introduction.paper-landing-hero h1 {
        margin: 26px 0 21px;
        font-size: clamp(40px, 11.5vw, 64px) !important;
        line-height: 1.08;
        white-space: normal;
    }
    .vibenotes-product-page #introduction.paper-landing-hero .hero-badge { font-size: 11px; padding: 7px 13px; }
    .vibenotes-product-page #introduction p.paper-hero-lede { max-width: 320px !important; font-size: 14px !important; }
    .vibenotes-product-page .paper-hero-actions { gap: 12px; margin-top: 25px; }
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn { padding: 12px 22px; min-height: 46px; font-size: 12px; }
    .vibenotes-product-page .vibenotes-paper-world { inset: auto 0 0; width: 100%; height: 350px; transform: none; }
    .vibenotes-product-page .vibenotes-paper-poster img { object-fit: cover; }
    .vibenotes-product-page .vibenotes-paper-shade { background: linear-gradient(180deg, #07070a, transparent 24%, transparent 76%, #000); }
    .vibenotes-product-page #introduction.paper-landing-hero .scroll-indicator { display: none; }
}

@media (max-width: 389px) {
    .vibenotes-product-page .vibenotes-paper-poster img { object-fit: contain; }
}

@media (max-width: 360px) {
    .vibenotes-product-page #introduction.paper-landing-hero { padding-inline: 20px; }
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn { padding-inline: 18px; }
}

@media (min-width: 768px) and (max-height: 600px) {
    .vibenotes-product-page #introduction.paper-landing-hero { min-height: max(430px, 100svh); padding: 88px 24px 30px; }
    .vibenotes-product-page #introduction.paper-landing-hero .hero-badge { min-height: 28px; padding: 6px 12px; font-size: 10px; }
    .vibenotes-product-page #introduction.paper-landing-hero h1 { margin: 14px 0; font-size: 40px !important; }
    .vibenotes-product-page #introduction p.paper-hero-lede { font-size: 13px !important; }
    .vibenotes-product-page .paper-hero-actions { margin-top: 18px; }
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn { min-height: 42px; padding-block: 10px; }
    .vibenotes-product-page #introduction.paper-landing-hero .scroll-indicator { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn { transition: none; }
    .vibenotes-product-page #introduction.paper-landing-hero .paper-hero-actions .btn:is(:hover, :active) { transform: none; }
    .vibenotes-product-page .paper-action-arrow { transition: none; transform: none !important; }
}

/* A quiet product narrative: one learning stage and one demonstration at a time. */
.vibenotes-product-page #demo-video.demo-video-section,
.vibenotes-product-page #function-section.bento-section,
.vibenotes-product-page #pricing.pricing-section-new {
    background: #07070a;
}
.vibenotes-product-page :is(#demo-video, #function-section).section-glow::after,
.vibenotes-product-page #function-section.section-morph::before { content: none; }
.vibenotes-product-page :is(#demo-video, #function-section) :is(.text-gradient, .animated-gradient-text) {
    background: none;
    color: #d5c9eb;
    -webkit-text-fill-color: currentColor;
}
.vibenotes-product-page #demo-video .demo-video-frame,
.vibenotes-product-page #demo-video .demo-video-frame:hover {
    border-color: rgba(217, 207, 237, 0.2);
    background: #101015;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    transform: none;
}
.vibenotes-product-page #function-section { padding: clamp(76px, 9vw, 120px) 0; }
.vibenotes-product-page #function-section > .container { width: min(1160px, calc(100% - 64px)); max-width: none; padding: 0; }
.vibenotes-product-page #function-section .feature-section-heading { max-width: 740px; margin: 0 0 44px; text-align: left; }
.vibenotes-product-page #function-section .feature-section-heading .hero-badge {
    min-height: 0;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #b8a9ce;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
}
.vibenotes-product-page #function-section .feature-section-heading .hero-badge::before,
.vibenotes-product-page #function-section .feature-section-heading .hero-badge::after { content: none !important; }
.vibenotes-product-page #function-section .feature-section-heading h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 48px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.vibenotes-product-page #function-section .feature-section-heading p { margin: 0; font-size: 16px; line-height: 1.7; color: #bcb6c6 !important; }
.vibenotes-product-page #function-section .learning-stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: stretch;
    gap: 24px;
    margin: 0;
    padding: 0;
}
.vibenotes-product-page #function-section .learning-stage-grid .bento-item {
    grid-column: auto !important;
    display: flex;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 0;
    border-radius: 22px;
    border: 1px solid rgba(221, 212, 240, 0.12);
    background: #101014;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    backdrop-filter: none;
    opacity: 1;
    filter: none !important;
    transform: none;
    animation: none !important;
    cursor: default;
    transition: transform 550ms cubic-bezier(.2,.75,.2,1), border-color 450ms ease, box-shadow 550ms ease;
    will-change: auto;
}
.vibenotes-product-page #function-section .learning-stage-grid .bento-item:hover {
    border-color: rgba(196, 181, 253, 0.26);
    background: #101014;
    box-shadow: none;
}
.vibenotes-product-page #function-section .learning-stage-grid .bento-item::before,
.vibenotes-product-page #function-section .learning-stage-grid .bento-item::after { content: none; }
.vibenotes-product-page #function-section .learning-stage-grid .visual-preview {
    position: relative;
    order: 0 !important;
    width: calc(100% - 32px) !important;
    height: 230px !important;
    min-height: 230px !important;
    margin: 16px 16px 0;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(221, 212, 240, .065);
    border-radius: 14px;
    background: #18171f;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    perspective: none;
    transform: none !important;
    transition: border-color 500ms ease, background-color 500ms ease;
}
.vibenotes-product-page #function-section .learning-stage-grid .visual-preview > * { transform: none !important; }
.vibenotes-product-page #function-section .learning-stage-grid .visual-preview *,
.vibenotes-product-page #function-section .learning-stage-grid .visual-preview *::before,
.vibenotes-product-page #function-section .learning-stage-grid .visual-preview *::after {
    animation: none !important;
    transition-duration: 450ms;
}
.vibenotes-product-page #function-section .learning-stage-grid .bento-content {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 12px;
    align-content: start;
    width: 100% !important;
    height: auto !important;
    order: 1 !important;
    padding: 24px 24px 28px !important;
    background: none !important;
    justify-content: flex-start !important;
}
.vibenotes-product-page #function-section .learning-stage-grid h3 { grid-column: 2; align-self: center; font-size: 19px; font-weight: 500; line-height: 1.4; margin: 0; color: #f4f1f8; }
.vibenotes-product-page #function-section .learning-stage-grid p { grid-column: 1 / -1; font-size: 14px; line-height: 1.8; color: #c0bbc9; margin: 0; }
.vibenotes-product-page #function-section .learning-stage-grid .bento-icon {
    grid-column: 1;
    grid-row: 1;
    width: 26px;
    height: 27px;
    margin: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    color: #c9b8e4;
}
.vibenotes-product-page .bento-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.vibenotes-product-page #function-section .learning-stage-grid .review-dashboard { width: 100%; height: 100%; }
.vibenotes-product-page #function-section .learning-stage-grid .visual-preview .app-card { transform: none !important; box-shadow: none; }
.vibenotes-product-page #function-section .learning-stage-grid .hw-letter,
.vibenotes-product-page #function-section .learning-stage-grid .hw-underline { stroke-dashoffset: 0; }
.vibenotes-product-page #function-section .learning-stage-grid :is(.text-line, .h-line, .progress-fill) { transform-origin: left center; }
.vibenotes-product-page #function-section .learning-stage-grid .h-line { filter: none; }
.vibenotes-product-page #function-section .learning-stage-grid .hint-box { border-style: solid; }
.vibenotes-product-page #function-section .learning-stage-grid .sound-wave-mini span { transform-origin: center; }
.vibenotes-product-page #function-section .learning-stage-grid .circle { stroke: #b8a3d8; filter: none; }
.vibenotes-product-page #function-section .learning-stage-grid .check { display: inline-block; }
.vibenotes-product-page #function-section .learning-stage-grid .weakness-card { background: #211c28; border-color: rgba(196,181,220,.24); box-shadow: none; backdrop-filter: none; transform: none; }
.vibenotes-product-page #function-section .learning-stage-grid .w-header { color: #b8a9ce; }
.vibenotes-product-page #function-section .learning-stage-grid .ai-writing-popup { box-shadow: 0 8px 18px rgba(0,0,0,.2); border-color: rgba(196,181,220,.22); }
.vibenotes-product-page #function-section .learning-stage-grid .bento-icon svg { transition: color 500ms ease; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .vibenotes-product-page #function-section .learning-stage-grid .bento-item:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.18); }
    .vibenotes-product-page #function-section .learning-stage-grid .bento-item:hover .visual-preview { background-color: #1c1924; border-color: rgba(196,181,220,.16); }
    .vibenotes-product-page #function-section .learning-stage-grid .bento-item:hover .bento-icon svg { color: #e1d3f3; }
}
@media (prefers-reduced-motion: reduce) {
    .vibenotes-product-page #function-section .learning-stage-grid .bento-item,
    .vibenotes-product-page #function-section .learning-stage-grid .visual-preview,
    .vibenotes-product-page #function-section .learning-stage-grid .bento-icon svg { transition: none; }
}
@media (max-width: 1199px) {
    .vibenotes-product-page #function-section .learning-stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 679px) {
    .vibenotes-product-page #function-section > .container { width: calc(100% - 40px); }
    .vibenotes-product-page #function-section .feature-section-heading { margin-bottom: 32px; }
    .vibenotes-product-page #function-section .feature-section-heading p { font-size: 14px; }
    .vibenotes-product-page #function-section .learning-stage-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .vibenotes-product-page #function-section .learning-stage-grid .visual-preview { height: 230px !important; min-height: 230px !important; }
    .vibenotes-product-page #function-section .learning-stage-grid .bento-content { padding: 22px !important; }
}




/* Fit the complete study workspace inside its sticky scene at every aspect ratio. */
.vibenotes-product-page #journey-study-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-content: start;
    gap: clamp(16px, 2.5svh, 26px);
    padding: 96px clamp(18px, 4vw, 56px) 32px;
    box-sizing: border-box;
}
.vibenotes-product-page #journey-study-panel .journey-study-copy { width: min(100%, 720px); margin: 0 auto; text-align: center; }
.vibenotes-product-page #journey-study-panel .journey-study-copy > span { font-size: 10px; font-weight: 500; letter-spacing: 0.09em; }
.vibenotes-product-page #journey-study-panel .journey-study-copy h2 { margin: 8px 0 10px; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; text-shadow: none; }
.vibenotes-product-page #journey-study-panel .journey-study-copy p { max-width: 620px; margin: 0 auto; font-size: 14px; line-height: 1.55; text-wrap: balance; }
.vibenotes-product-page #journey-study-panel .journey-study-workspace {
    width: min(100%, 1080px);
    height: 100%;
    min-height: 0;
    max-height: 560px;
    align-self: start;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: 'topbar topbar' 'notes answer' 'feedback feedback';
    gap: 12px;
    padding: 16px;
    overflow: hidden;
    border-radius: 18px;
}
.vibenotes-product-page #journey-study-panel .study-workspace-topbar { grid-area: topbar; min-height: 0; padding: 10px 14px; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; background: none; }
.vibenotes-product-page #journey-study-panel .study-workspace-topbar span { font-size: 10px; font-weight: 500; }
.vibenotes-product-page #journey-study-panel .study-workspace-topbar strong { font-size: 15px; line-height: 1.4; }
.vibenotes-product-page #journey-study-panel .study-session-pill { min-height: 0; padding: 6px 10px; max-width: 45%; text-align: center; white-space: normal; }
.vibenotes-product-page #journey-study-panel .study-note-list { grid-area: notes; display: flex; flex-direction: column; gap: 8px; padding: 10px; min-height: 0; }
.vibenotes-product-page #journey-study-panel .study-note-list span { min-height: 34px; padding: 8px 10px; font-size: 12px; line-height: 1.4; white-space: normal; }
.vibenotes-product-page #journey-study-panel .study-answer-panel { grid-area: answer; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; justify-content: stretch; min-height: 0; gap: 10px; padding: 18px; }
.vibenotes-product-page #journey-study-panel .study-question-label { font-size: 10px; font-weight: 500; }
.vibenotes-product-page #journey-study-panel .study-answer-panel > strong { max-width: none; font-size: clamp(16px, 1.7vw, 21px); font-weight: 500; line-height: 1.4; }
.vibenotes-product-page #journey-study-panel .study-input-surface { width: 100%; min-height: 0; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vibenotes-product-page #journey-study-panel :is(.study-pencil-input, .study-typing-input) { display: flex; flex-direction: column; min-height: 0; padding: 12px; }
.vibenotes-product-page #journey-study-panel .study-input-mode-header { flex-shrink: 0; gap: 6px; }
.vibenotes-product-page #journey-study-panel .study-input-mode-header span { min-height: 0; padding: 4px 6px; font-size: 9px; line-height: 1.3; }
.vibenotes-product-page #journey-study-panel .study-input-mode-header small { display: none; }
.vibenotes-product-page #journey-study-panel .study-pencil-input svg { flex: 1; width: 100%; height: 100%; max-height: 160px; min-height: 0; overflow: hidden; }
.vibenotes-product-page #journey-study-panel .study-written-text { fill: #e6f0f2; stroke: none; filter: none; font-weight: 400; }
@keyframes study-copy-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: no-preference) {
    .vibenotes-product-page .is-study-active #journey-study-panel .study-written-text--one { animation: study-copy-reveal 1800ms cubic-bezier(.2,.7,.2,1) 280ms both; }
    .vibenotes-product-page .is-study-active #journey-study-panel .study-written-text--two { animation: study-copy-reveal 1800ms cubic-bezier(.2,.7,.2,1) 880ms both; }
}
.vibenotes-product-page #journey-study-panel .study-typing-input strong { max-width: 100%; margin-top: 12px; font-size: 12px; line-height: 1.5; }
.vibenotes-product-page #journey-study-panel .study-typing-input strong span { width: auto; white-space: normal; overflow-wrap: anywhere; }
.vibenotes-product-page #journey-study-panel .study-soft-keys { position: static; margin-top: auto; padding-top: 10px; }
.vibenotes-product-page #journey-study-panel .study-soft-keys span { min-width: 24px; min-height: 22px; font-size: 9px; }
.vibenotes-product-page #journey-study-panel .study-type-caret { display: none; }
.vibenotes-product-page #journey-study-panel .study-answer-panel mark { display: block; max-width: 100%; padding: 6px 8px; font-size: 11px; line-height: 1.4; }
.vibenotes-product-page #journey-study-panel .study-feedback-rail { grid-area: feedback; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px; }
.vibenotes-product-page #journey-study-panel :is(.study-evidence-chip, .study-grade-pill) { min-height: 0; padding: 6px 10px; font-size: 10px; line-height: 1.4; }
.vibenotes-product-page #journey-study-panel .study-evidence-trail { display: none; }
@media (max-width: 980px) {
    .vibenotes-product-page #journey-study-panel .journey-study-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: 'topbar' 'notes' 'answer' 'feedback'; }
    .vibenotes-product-page #journey-study-panel .study-note-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px; gap: 8px; }
    .vibenotes-product-page #journey-study-panel .study-note-list span { justify-content: center; text-align: center; }
}
@media (max-width: 599px) {
    .vibenotes-product-page #journey-study-panel { padding: 88px 16px 24px; gap: 16px; }
    .vibenotes-product-page #journey-study-panel .journey-study-copy h2 { font-size: 28px; }
    .vibenotes-product-page #journey-study-panel .journey-study-copy p { max-width: 340px; font-size: 12px; line-height: 1.5; }
    .vibenotes-product-page #journey-study-panel .journey-study-workspace { padding: 10px; gap: 8px; border-radius: 14px; }
    .vibenotes-product-page #journey-study-panel .study-workspace-topbar { padding: 6px 4px 10px; gap: 8px; }
    .vibenotes-product-page #journey-study-panel .study-workspace-topbar strong { font-size: 13px; }
    .vibenotes-product-page #journey-study-panel .study-session-pill { font-size: 9px; padding: 5px 8px; }
    .vibenotes-product-page #journey-study-panel .study-note-list { padding: 4px; gap: 4px; }
    .vibenotes-product-page #journey-study-panel .study-note-list span { min-height: 28px; padding: 5px 3px; font-size: 10px; }
    .vibenotes-product-page #journey-study-panel .study-answer-panel { padding: 12px; gap: 8px; }
    .vibenotes-product-page #journey-study-panel .study-answer-panel > strong { font-size: 16px; }
    .vibenotes-product-page #journey-study-panel .study-input-surface { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .vibenotes-product-page #journey-study-panel :is(.study-pencil-input, .study-typing-input) { padding: 8px; }
    .vibenotes-product-page #journey-study-panel .study-pencil-input svg { min-height: 50px; max-height: 92px; }
    .vibenotes-product-page #journey-study-panel .study-typing-input strong { margin-top: 6px; font-size: 11px; }
    .vibenotes-product-page #journey-study-panel .study-soft-keys { display: none; }
    .vibenotes-product-page #journey-study-panel .study-feedback-rail { gap: 4px; padding: 4px; }
    .vibenotes-product-page #journey-study-panel :is(.study-evidence-chip, .study-grade-pill) { padding: 4px 6px; font-size: 9px; }
}
@media (max-height: 700px) {
    .vibenotes-product-page #journey-study-panel { padding-top: 76px; padding-bottom: 18px; gap: 12px; }
    .vibenotes-product-page #journey-study-panel .journey-study-copy h2 { font-size: 26px; margin: 6px 0; }
    .vibenotes-product-page #journey-study-panel .journey-study-copy p { font-size: 11px; line-height: 1.4; }
    .vibenotes-product-page #journey-study-panel .journey-study-workspace { gap: 6px; padding: 8px; }
    .vibenotes-product-page #journey-study-panel .study-answer-panel { gap: 6px; padding: 10px; }
    .vibenotes-product-page #journey-study-panel .study-answer-panel mark { display: none; }
}
@media (max-height: 700px) and (max-width: 599px) {
    .vibenotes-product-page #journey-study-panel .study-input-surface { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vibenotes-product-page #journey-study-panel .study-pencil-input svg { min-height: 0; }
    .vibenotes-product-page #journey-study-panel .study-typing-input strong { font-size: 10px; line-height: 1.4; }
}
@media (max-height: 600px) and (max-width: 599px) {
    .vibenotes-product-page #journey-study-panel .journey-study-workspace { grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: 'topbar' 'answer' 'feedback'; }
    .vibenotes-product-page #journey-study-panel .study-note-list,
    .vibenotes-product-page #journey-study-panel .study-question-label,
    .vibenotes-product-page #journey-study-panel .study-workspace-topbar > div > span { display: none; }
    .vibenotes-product-page #journey-study-panel .study-answer-panel { grid-template-rows: auto minmax(0, 1fr); }
    .vibenotes-product-page #journey-study-panel .study-input-surface { grid-template-columns: minmax(0, 1fr); }
    .vibenotes-product-page #journey-study-panel .study-pencil-input svg { min-height: 0; }
    .vibenotes-product-page #journey-study-panel .study-workspace-topbar strong { font-size: 12px; line-height: 1.3; }
    .vibenotes-product-page #journey-study-panel .study-input-mode-header span { font-size: 8px; }
    .vibenotes-product-page #journey-study-panel .study-typing-input strong { font-size: 10px; line-height: 1.35; }
}
@media (max-height: 600px) and (min-width: 680px) {
    .vibenotes-product-page #journey-study-panel { grid-template-columns: minmax(170px, .7fr) minmax(0, 1.8fr); grid-template-rows: minmax(0, 1fr); gap: 20px; padding: 76px 24px 20px; }
    .vibenotes-product-page #journey-study-panel .journey-study-copy { text-align: left; align-self: center; }
    .vibenotes-product-page #journey-study-panel .journey-study-copy p { margin: 0; }
    .vibenotes-product-page #journey-study-panel .study-workspace-topbar { padding: 5px; }
    .vibenotes-product-page #journey-study-panel .study-note-list { padding: 3px; }
    .vibenotes-product-page #journey-study-panel .study-note-list span { min-height: 20px; padding: 4px; font-size: 10px; }
    .vibenotes-product-page #journey-study-panel :is(.study-pencil-input, .study-typing-input) { padding: 6px; }
    .vibenotes-product-page #journey-study-panel .study-soft-keys { display: none; }
    .vibenotes-product-page #journey-study-panel .study-answer-panel > strong { font-size: 14px; }
    .vibenotes-product-page #journey-study-panel .study-typing-input strong { font-size: 10px; margin-top: 5px; }
    .vibenotes-product-page #journey-study-panel :is(.study-evidence-chip, .study-grade-pill) { padding: 4px 6px; font-size: 9px; }
}

.vibenotes-product-page #journey-plug .journey-study-workspace {
    background: #111117;
    box-shadow: 0 22px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
}
.vibenotes-product-page .section-progress { display: none !important; }
