/* ============================================
   CONCEPT BUBBLE — IMMERSIVE SCROLL EXPERIENCE
   ============================================ */

:root {
    /* Brand Colors */
    --color-bg: #050507;
    --color-bg-elevated: #0a0a0f;
    --color-purple: #A855F7;
    --color-purple-dark: #8F24F5;
    --color-purple-light: #C084FC;
    --color-purple-glow: rgba(168, 85, 247, 0.5);
    --color-amber: #FFA500;
    --color-amber-light: #FFB833;
    --color-amber-glow: rgba(255, 165, 0, 0.5);
    --color-white: #FFFFFF;
    --color-gray-100: #F3F4F6;
    --color-gray-400: #9CA3AF;
    --color-gray-600: #4B5563;
    --color-gray-800: #1F2937;
    --color-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    background: var(--color-bg);
    color: var(--color-white);
    line-height: 1.65;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* ============================================
   INTRO LOADER
   ============================================ */
.intro-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.intro-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#formingCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Loader glow orbs */
.intro-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0;
    animation: introOrbPulse 3s ease-in-out infinite;
}

.intro-orb--purple {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(143, 36, 245, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-70%, -60%);
    animation-delay: 0.2s;
}

.intro-orb--amber {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-30%, -40%);
    animation-delay: 0.6s;
}

.intro-orb--subtle {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

@keyframes introOrbPulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    30% { opacity: 1; }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
    70% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

.intro-orb--purple { animation-name: introOrbFloat1; }
.intro-orb--amber { animation-name: introOrbFloat2; }

@keyframes introOrbFloat1 {
    0% { opacity: 0; transform: translate(-70%, -60%) scale(0.8); }
    30% { opacity: 0.7; }
    50% { opacity: 0.5; transform: translate(-65%, -55%) scale(1.15); }
    70% { opacity: 0.8; }
    100% { opacity: 0; transform: translate(-70%, -60%) scale(0.8); }
}

@keyframes introOrbFloat2 {
    0% { opacity: 0; transform: translate(-30%, -40%) scale(0.8); }
    30% { opacity: 0.6; }
    50% { opacity: 0.4; transform: translate(-35%, -45%) scale(1.1); }
    70% { opacity: 0.7; }
    100% { opacity: 0; transform: translate(-30%, -40%) scale(0.8); }
}

.intro-text {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.intro-word {
    display: block;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    animation: introReveal 1.2s var(--ease-out-expo) forwards;
}

.intro-word:nth-child(1) {
    animation-delay: 0.6s;
    background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-amber-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 165, 0, 0.3);
}

.intro-word:nth-child(2) {
    animation-delay: 1.1s;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

@keyframes introReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
        filter: blur(4px);
    }
    60% {
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* ============================================
   BACKGROUND CANVAS
   ============================================ */
.bg-canvas-wrap {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

#bgCanvas {
    width: 100%;
    height: 100%;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease 0.3s;
}

.content.visible {
    opacity: 1;
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-lg) var(--space-md);
    overflow: hidden;
}

.section__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================
   HERO SECTION
   ============================================ */
.section--hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 80px;
    padding-right: 80px;
}

.section--hero .section__inner {
    margin: 0;
}

.hero__title {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(4rem, 10vw, 120px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

/* Subtitle (from Figma) */
.hero__subtitle {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out-expo) 0.7s;
}

.section--hero.is-visible .hero__subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Button */
.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--color-purple);
    border-radius: 100px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 0.9s, background 0.3s ease, border-color 0.3s ease;
}

.section--hero.is-visible .hero__cta {
    opacity: 1;
    transform: translateY(0);
}

.hero__cta:hover {
    background: var(--color-purple);
    border-color: var(--color-purple);
}

.hero__cta svg {
    transition: transform 0.3s ease;
}

.hero__cta:hover svg {
    transform: translateY(3px);
}

.hero__line {
    display: block;
    overflow: hidden;
}

.char-wrap {
    display: inline-block;
    overflow: hidden;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s var(--ease-out-expo);
}

.section--hero.is-visible .char {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger character animations */
.hero__line:nth-child(1) .char-wrap:nth-child(1) .char { transition-delay: 0.1s; }
.hero__line:nth-child(1) .char-wrap:nth-child(2) .char { transition-delay: 0.15s; }
.hero__line:nth-child(1) .char-wrap:nth-child(3) .char { transition-delay: 0.2s; }
.hero__line:nth-child(1) .char-wrap:nth-child(4) .char { transition-delay: 0.25s; }
.hero__line:nth-child(1) .char-wrap:nth-child(5) .char { transition-delay: 0.3s; }
.hero__line:nth-child(1) .char-wrap:nth-child(6) .char { transition-delay: 0.35s; }
.hero__line:nth-child(1) .char-wrap:nth-child(7) .char { transition-delay: 0.4s; }

.hero__line:nth-child(2) .char-wrap:nth-child(1) .char { transition-delay: 0.45s; }
.hero__line:nth-child(2) .char-wrap:nth-child(2) .char { transition-delay: 0.5s; }
.hero__line:nth-child(2) .char-wrap:nth-child(3) .char { transition-delay: 0.55s; }
.hero__line:nth-child(2) .char-wrap:nth-child(4) .char { transition-delay: 0.6s; }
.hero__line:nth-child(2) .char-wrap:nth-child(5) .char { transition-delay: 0.65s; }
.hero__line:nth-child(2) .char-wrap:nth-child(6) .char { transition-delay: 0.7s; }

/* ============================================
   HERO FLOATING BUBBLES
   ============================================ */
.hero-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-bubble {
    position: absolute;
    border-radius: 50%;
    /* Outer shell: purple edge fading inward */
    background: radial-gradient(circle,
        rgba(255, 200, 60, 0.8) 0%,
        rgba(255, 165, 0, 0.5) 15%,
        rgba(200, 120, 200, 0.35) 35%,
        rgba(168, 85, 247, 0.45) 55%,
        rgba(143, 36, 245, 0.2) 75%,
        transparent 100%
    );
    filter: blur(3px);
    animation: heroBubbleFloat ease-in-out infinite;
}

/* Inner orb highlight — bright amber core inside each bubble */
.hero-bubble::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 200, 60, 0.7) 0%,
        rgba(255, 165, 0, 0.3) 40%,
        transparent 70%
    );
    filter: blur(2px);
}

/* Large bubble */
.hero-bubble:nth-child(1) {
    width: 200px;
    height: 200px;
    right: 15%;
    top: 20%;
    filter: blur(4px);
    animation-duration: 20s;
    animation-delay: 0s;
}

/* Medium bubble */
.hero-bubble:nth-child(2) {
    width: 160px;
    height: 160px;
    right: 8%;
    bottom: 22%;
    filter: blur(3px);
    animation-duration: 24s;
    animation-delay: -5s;
}

/* Small accent */
.hero-bubble:nth-child(3) {
    width: 90px;
    height: 90px;
    right: 25%;
    top: 12%;
    filter: blur(2px);
    animation-duration: 16s;
    animation-delay: -8s;
}

/* Tiny accent */
.hero-bubble:nth-child(4) {
    width: 60px;
    height: 60px;
    right: 32%;
    top: 40%;
    filter: blur(2px);
    animation-duration: 14s;
    animation-delay: -3s;
}

/* Large subtle */
.hero-bubble:nth-child(5) {
    width: 240px;
    height: 240px;
    right: 5%;
    bottom: 5%;
    opacity: 0.5;
    filter: blur(6px);
    animation-duration: 28s;
    animation-delay: -12s;
}

/* Medium — upper */
.hero-bubble:nth-child(6) {
    width: 130px;
    height: 130px;
    right: 20%;
    top: 8%;
    filter: blur(3px);
    animation-duration: 18s;
    animation-delay: -7s;
}

/* Small — mid */
.hero-bubble:nth-child(7) {
    width: 70px;
    height: 70px;
    right: 38%;
    bottom: 35%;
    filter: blur(2px);
    animation-duration: 15s;
    animation-delay: -2s;
}

/* Tiny — scattered */
.hero-bubble:nth-child(8) {
    width: 50px;
    height: 50px;
    right: 22%;
    top: 55%;
    filter: blur(1px);
    animation-duration: 13s;
    animation-delay: -9s;
}

@keyframes heroBubbleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }
    25% {
        transform: translate(20px, -30px) scale(1.06);
        opacity: 0.9;
    }
    50% {
        transform: translate(-15px, -10px) scale(0.94);
        opacity: 0.65;
    }
    75% {
        transform: translate(10px, 20px) scale(1.04);
        opacity: 0.85;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }
}

/* Line 1 "CONCEPT" = solid white */
.hero__line:nth-child(1) .char {
    color: #FFFFFF;
}

/* Line 2 "BUBBLE" = orange → purple gradient spanning the full word */
.hero__line:nth-child(2) .char {
    background: linear-gradient(90deg, #FFA500 0%, #E07EF7 50%, #A855F7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 600% 100%;
}

.hero__line:nth-child(2) .char-wrap:nth-child(1) .char { background-position: 0% 50%; }
.hero__line:nth-child(2) .char-wrap:nth-child(2) .char { background-position: 20% 50%; }
.hero__line:nth-child(2) .char-wrap:nth-child(3) .char { background-position: 40% 50%; }
.hero__line:nth-child(2) .char-wrap:nth-child(4) .char { background-position: 60% 50%; }
.hero__line:nth-child(2) .char-wrap:nth-child(5) .char { background-position: 80% 50%; }
.hero__line:nth-child(2) .char-wrap:nth-child(6) .char { background-position: 100% 50%; }


@keyframes fadeInUp {
    to {
        opacity: 1;
    }
}

/* ============================================
   BELIEF SECTION (Core Philosophy)
   ============================================ */
.section--belief {
    background: radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.belief__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.belief__statement {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.6rem;
    margin-bottom: var(--space-lg);
}

.belief__statement--second {
    margin-bottom: 0;
}

/* ============================================
   PROBLEM SECTION (The Reality)
   ============================================ */
.section--problem {
    background: radial-gradient(ellipse at 30% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
    padding-top: var(--space-md);
    align-items: flex-start;
    padding-bottom: var(--space-lg);
}

.section--problem .section__inner {
    margin-top: 8vh;
}

.problem__label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s var(--ease-out-expo);
}

.section.is-visible .problem__label {
    opacity: 1;
    transform: translateX(0);
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--color-amber);
}

.problem__label span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-amber);
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.problem__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s var(--ease-out-expo), border-color 0.3s ease, background 0.3s ease;
}

.problem__item:hover {
    border-color: var(--color-amber-glow);
    background: rgba(245, 158, 11, 0.05);
}

.section--problem.is-visible .problem__item:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0) scale(1); }
.section--problem.is-visible .problem__item:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0) scale(1); }
.section--problem.is-visible .problem__item:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0) scale(1); }
.section--problem.is-visible .problem__item:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0) scale(1); }

.problem-icon {
    width: 48px;
    height: 48px;
    color: var(--color-amber);
    transition: transform 0.3s ease;
}

.problem__item:hover .problem-icon {
    transform: scale(1.1);
}

.problem-icon svg {
    width: 100%;
    height: 100%;
}

.problem-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-100);
}

.problem-desc {
    font-size: 0.8rem;
    font-weight: var(--font-weight-regular);
    color: var(--color-gray-400);
    line-height: 1.5;
}

.problem__statement {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.word-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out-expo);
}

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

.section.is-visible .word-reveal:nth-child(1) { transition-delay: 0.6s; }
.section.is-visible .word-reveal:nth-child(2) { transition-delay: 0.7s; }
.section.is-visible .word-reveal:nth-child(3) { transition-delay: 0.8s; }
.section.is-visible .word-reveal:nth-child(4) { transition-delay: 0.9s; }
.section.is-visible .word-reveal:nth-child(5) { transition-delay: 1s; }
.section.is-visible .word-reveal:nth-child(6) { transition-delay: 1.1s; }
.section.is-visible .word-reveal:nth-child(7) { transition-delay: 1.2s; }
.section.is-visible .word-reveal:nth-child(8) { transition-delay: 1.3s; }
.section.is-visible .word-reveal:nth-child(9) { transition-delay: 1.4s; }
.section.is-visible .word-reveal:nth-child(10) { transition-delay: 1.5s; }

.highlight-amber { color: var(--color-amber); }
.highlight-purple { color: var(--color-purple); }
.highlight-gradient {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
}

.floating-shapes--amber .float-shape {
    background: radial-gradient(circle, var(--color-amber) 0%, transparent 70%);
}

.floating-shapes--purple .float-shape {
    background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
}

.float-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.float-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -50px;
    animation-delay: -7s;
}

.float-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ============================================
   DIFFERENCE SECTION (Why This Works)
   ============================================ */
.section--difference {
    background: var(--color-bg);
}

.difference__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.difference__side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.difference__orb {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 1s var(--ease-out-expo);
    position: relative;
}

.orb-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.difference__orb--faded {
    background: radial-gradient(circle, rgba(100, 100, 100, 0.3) 0%, rgba(100, 100, 100, 0.1) 50%, transparent 70%);
    border: 1px dashed var(--color-gray-600);
    color: var(--color-gray-600);
}

.difference__orb--active {
    background: radial-gradient(circle, var(--color-purple) 0%, rgba(168, 85, 247, 0.3) 50%, transparent 70%);
    box-shadow: 0 0 60px var(--color-purple-glow);
    color: var(--color-white);
}

.section--difference.is-visible .difference__orb {
    opacity: 1;
    transform: scale(1);
}

.section--difference.is-visible .difference__orb--active {
    animation: pulsePurple 3s ease-in-out infinite;
}

@keyframes pulseAmber {
    0%, 100% { box-shadow: 0 0 60px var(--color-amber-glow); }
    50% { box-shadow: 0 0 100px var(--color-amber-glow); }
}

@keyframes pulsePurple {
    0%, 100% { box-shadow: 0 0 60px var(--color-purple-glow); }
    50% { box-shadow: 0 0 100px var(--color-purple-glow); }
}

.difference__gap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 var(--space-md);
}

.gap-line {
    width: 80px;
    height: 1px;
    background: var(--color-border);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.6s var(--ease-out-expo);
}

.section--difference.is-visible .gap-line:nth-child(1) { transition-delay: 0.3s; opacity: 1; transform: scaleX(1); }
.section--difference.is-visible .gap-line:nth-child(2) { transition-delay: 0.4s; opacity: 0.6; transform: scaleX(0.7); }
.section--difference.is-visible .gap-line:nth-child(3) { transition-delay: 0.5s; opacity: 0.3; transform: scaleX(0.4); }

.difference__text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.difference__text h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.difference__body {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: var(--font-weight-regular);
    color: var(--color-gray-400);
    line-height: 1.7;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out-expo) 0.8s;
    margin-bottom: var(--space-md);
}

.section--difference.is-visible .difference__body {
    opacity: 1;
    transform: translateY(0);
}

.difference__emphasis {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-purple);
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out-expo) 1s;
}

.section--difference.is-visible .difference__emphasis {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ROLE SECTION (Your Role)
   ============================================ */
.section--role {
    background: radial-gradient(ellipse at 70% 30%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
    padding: var(--space-xl) var(--space-md);
}

.role__header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.role__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-purple);
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.section--role.is-visible .role__eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.role__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--color-gray-400);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 0.1s;
}

.section--role.is-visible .role__title {
    opacity: 1;
    transform: translateY(0);
}

.role__reveal {
    text-align: center;
}

.role__statement {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.6rem;
    margin-bottom: var(--space-lg);
}

.role__details {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.role__detail {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo), border-color 0.3s ease;
}

.role__detail:hover {
    border-color: var(--color-purple-glow);
}

.section--role.is-visible .role__detail:nth-child(1) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.section--role.is-visible .role__detail:nth-child(2) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.section--role.is-visible .role__detail:nth-child(3) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }

.detail-icon {
    width: 20px;
    height: 20px;
    color: var(--color-purple);
}

.detail-icon svg {
    width: 100%;
    height: 100%;
}

.role__detail span:last-child {
    font-size: 0.9rem;
    color: var(--color-gray-100);
}

.role__footer {
    font-size: 1rem;
    color: var(--color-gray-400);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 1s;
}

.section--role.is-visible .role__footer {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BRIDGE SECTION (Bubble Forms)
   ============================================ */
.section--bridge {
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

.bridge__canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#bridgeCanvas {
    width: 100%;
    height: 100%;
}

.bridge__bubble {
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
}

.bubble-container {
    position: relative;
    width: clamp(200px, 40vw, 350px);
    height: clamp(200px, 40vw, 350px);
    opacity: 0;
    transform: scale(0.5);
    transition: all 1.2s var(--ease-out-expo);
}

.section--bridge.is-visible .bubble-container {
    opacity: 1;
    transform: scale(1);
}

.bubble-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.bubble-glow--purple {
    background: var(--color-purple);
    animation: glowPulse 4s ease-in-out infinite;
}

.bubble-glow--amber {
    background: var(--color-amber);
    animation: glowPulse 4s ease-in-out infinite 2s;
    opacity: 0.4;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

.bubble-core {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(255, 200, 60, 0.4) 0%,
        rgba(255, 165, 0, 0.3) 20%,
        var(--color-purple) 45%,
        rgba(168, 85, 247, 0.5) 70%,
        rgba(143, 36, 245, 0.2) 100%
    );
    animation: coreBreathe 4s ease-in-out infinite;
}

@keyframes coreBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bubble-ring {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.4);
    animation: ringRotate 20s linear infinite;
}

.bubble-ring--2 {
    inset: 5%;
    border-color: rgba(245, 158, 11, 0.3);
    animation-direction: reverse;
    animation-duration: 25s;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bridge__text {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo) 0.5s;
}

.section--bridge.is-visible .bridge__text {
    opacity: 1;
    transform: translateY(0);
}

.bridge__title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-white) 50%, var(--color-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.bridge__tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray-400);
}

.bridge__lines {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}

.bridge-line {
    position: absolute;
    top: 0;
    height: 2px;
    width: 0;
    transition: width 1.5s var(--ease-out-expo) 0.8s;
}

.bridge-line--left {
    right: calc(50% + 200px);
    background: linear-gradient(to left, var(--color-amber), transparent);
}

.bridge-line--right {
    left: calc(50% + 200px);
    background: linear-gradient(to right, var(--color-purple), transparent);
}

.section--bridge.is-visible .bridge-line {
    width: calc(50% - 220px);
}

/* Bridge sub-tagline (consulting language) */
.bridge__sub-tagline {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--color-gray-400);
    margin-top: var(--space-xs);
    letter-spacing: 0.05em;
}

/* ============================================
   APPROACH SECTION (5 Steps)
   ============================================ */
.section--approach {
    padding: var(--space-xl) var(--space-md);
    background: radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
}

.approach__header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.approach__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-purple);
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.section--approach.is-visible .approach__eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.approach__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 0.1s;
}

.section--approach.is-visible .approach__title {
    opacity: 1;
    transform: translateY(0);
}

.approach__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.approach__step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s var(--ease-out-expo);
}

.section--approach.is-visible .approach__step:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
.section--approach.is-visible .approach__step:nth-child(2) { transition-delay: 0.35s; opacity: 1; transform: translateX(0); }
.section--approach.is-visible .approach__step:nth-child(3) { transition-delay: 0.5s; opacity: 1; transform: translateX(0); }
.section--approach.is-visible .approach__step:nth-child(4) { transition-delay: 0.65s; opacity: 1; transform: translateX(0); }
.section--approach.is-visible .approach__step:nth-child(5) { transition-delay: 0.8s; opacity: 1; transform: translateX(0); }

.step__number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-purple);
    letter-spacing: 0.05em;
    padding-top: 0.25rem;
}

.step__content h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-xs);
    color: var(--color-white);
}

.step__content p {
    font-size: 1rem;
    color: var(--color-gray-400);
    line-height: 1.6;
}

.step__line {
    position: absolute;
    left: 28px;
    top: calc(var(--space-md) + 1.5rem);
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--color-purple), transparent);
    opacity: 0.3;
}

.approach__step:last-child .step__line {
    display: none;
}

/* ============================================
   EXAMPLES SECTION
   ============================================ */
.section--examples {
    padding: var(--space-xl) var(--space-md);
    background: radial-gradient(ellipse at 30% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
}

.examples__header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.examples__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.section--examples.is-visible .examples__eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.examples__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 0.1s;
}

.section--examples.is-visible .examples__title {
    opacity: 1;
    transform: translateY(0);
}

.examples__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.example__card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: var(--space-md);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--ease-out-expo), border-color 0.3s ease;
}

.example__card:hover {
    border-color: var(--color-amber-glow);
}

.section--examples.is-visible .example__card:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.section--examples.is-visible .example__card:nth-child(2) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.section--examples.is-visible .example__card:nth-child(3) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

.card__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.card__icon {
    width: 32px;
    height: 32px;
    color: var(--color-amber);
}

.card__icon svg {
    width: 100%;
    height: 100%;
}

.card__header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card__list li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    font-size: 0.9rem;
    color: var(--color-gray-400);
    position: relative;
}

.card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-amber);
    border-radius: 50%;
    opacity: 0.6;
}

/* ============================================
   IMPACT SECTION (Why Prototypes Win)
   ============================================ */
.section--impact {
    padding: var(--space-xl) var(--space-md);
    background: radial-gradient(ellipse at 50% 30%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
}

.impact__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.section--impact.is-visible .impact__title {
    opacity: 1;
    transform: translateY(0);
}

.impact__subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 0.1s;
}

.section--impact.is-visible .impact__subtitle {
    opacity: 1;
    transform: translateY(0);
}

.impact__metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto var(--space-xl);
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo), border-color 0.3s ease;
}

.metric:hover {
    border-color: var(--color-purple-glow);
}

.section--impact.is-visible .metric:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.section--impact.is-visible .metric:nth-child(2) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.section--impact.is-visible .metric:nth-child(3) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.section--impact.is-visible .metric:nth-child(4) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

.metric__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--color-purple);
}

.metric__icon svg {
    width: 100%;
    height: 100%;
}

.metric__label {
    font-size: 0.9rem;
    color: var(--color-gray-100);
    line-height: 1.4;
}

.impact__evolution {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.evolution__text,
.evolution__conclusion {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 0.5rem;
    margin-bottom: var(--space-xs);
}

.evolution__conclusion {
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.section--cta {
    min-height: 70vh;
    background: radial-gradient(ellipse at center bottom, rgba(168, 85, 247, 0.1) 0%, transparent 60%);
    position: relative;
}

.cta__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#ctaCanvas {
    width: 100%;
    height: 100%;
}

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta__title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.cta__subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 0.3s;
}

.section--cta.is-visible .cta__subtitle {
    opacity: 1;
    transform: translateY(0);
}

.cta__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-family);
    color: var(--color-white);
    background: transparent;
    border: 1px solid var(--color-purple);
    border-radius: 100px;
    text-decoration: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 0.5s;
}

.section--cta.is-visible .cta__button {
    opacity: 1;
    transform: translateY(0);
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 2;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.cta__button:hover .btn-icon {
    transform: translateX(4px);
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 1;
}

.cta__button:hover .btn-bg {
    transform: scaleX(1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid var(--color-border);
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__brand {
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__copy {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

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

    .examples__grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

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

    .role__details {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
    }

    .problem__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .difference__visual {
        flex-direction: column;
    }

    .difference__gap {
        flex-direction: row;
        padding: var(--space-md) 0;
    }

    .gap-line {
        width: 1px;
        height: 40px;
    }

    .bridge-line {
        display: none;
    }

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

    .approach__step {
        grid-template-columns: 50px 1fr;
    }

    .step__line {
        left: 23px;
    }

    .footer__inner {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .belief__statement {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .role__statement {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-md) var(--space-sm);
    }

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

    .hero__title {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .cta__title {
        flex-direction: column;
        gap: 0;
    }

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

    .evolution__text,
    .evolution__conclusion {
        font-size: 1.125rem;
    }

    .difference__orb {
        width: 100px;
        height: 100px;
    }

    .orb-label {
        font-size: 0.7rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .intro-loader {
        display: none;
    }

    .content {
        opacity: 1;
    }

    .char,
    .word-reveal,
    .problem__item,
    .problem__label,
    .difference__orb,
    .gap-line,
    .bubble-container,
    .bridge__text,
    .bridge-line,
    .approach__eyebrow,
    .approach__title,
    .approach__step,
    .examples__eyebrow,
    .examples__title,
    .example__card,
    .impact__title,
    .impact__subtitle,
    .metric,
    .cta__button,
    .cta__subtitle,
    .hero__subtitle,
    .role__eyebrow,
    .role__title,
    .role__detail,
    .role__footer,
    .difference__body,
    .difference__emphasis {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-bubble {
        animation: none !important;
        opacity: 0.4 !important;
    }
}
