/* === Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif
}

body {
    background: #fff;
    color: #111827;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px
}

.center {
    text-align: center
}

/* === Icons Helpers === */
i.ph,
i.ph-fill,
i.ph-bold {
    font-size: inherit
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-weight: 500;
    border-radius: 10px;
    transition: all .2s;
    text-decoration: none
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12)
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111827;
    font-weight: 500;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    transition: all .2s;
    text-decoration: none
}

.btn-outline:hover {
    border-color: #111827;
    background: #F9FAFB
}

.large {
    padding: 14px 28px;
    font-size: 15px
}

.small {
    padding: 8px 18px;
    font-size: 14px
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    z-index: 100
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -.02em
}

.logo-mark {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: #9CA3AF;
    border-radius: 50%
}

.logo-dot.accent {
    background: #111827
}

.logo-mark.small .logo-dot {
    width: 4px;
    height: 4px
}

/* === Sections === */
.section {
    padding: 100px 0
}

.alt-bg {
    background: #F9FAFB
}

h2 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -.03em;
    margin-bottom: 16px
}

.sub {
    font-size: 18px;
    color: #6B7280;
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.6
}

/* === Hero === */
.hero {
    padding: 150px 0 80px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.hero-badge {
    display: inline-block;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 28px
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin-bottom: 24px
}

.hero-desc {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 440px
}

/* Float cards */
.hero-visual {
    position: relative;
    height: 460px
}

.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px;
    width: 260px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .05);
    transition: transform .3s, box-shadow .3s
}

.float-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08)
}

.card-left {
    top: 10px;
    left: 0;
    transform: rotate(-2deg);
    z-index: 3
}

.card-right {
    top: 130px;
    right: 0;
    transform: rotate(3deg);
    z-index: 2
}

.card-bottom {
    bottom: 10px;
    left: 40px;
    transform: rotate(-1deg);
    z-index: 4
}

.card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9CA3AF;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #F3F4F6
}

.card-head img {
    display: block;
}

.float-card h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px
}

.status {
    font-size: 13px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px
}

.status.green {
    color: #16a34a
}

.status.muted {
    color: #9CA3AF
}

.card-btns {
    display: flex;
    gap: 8px;
    margin-top: 14px
}

.ghost-btn {
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #6B7280;
    cursor: pointer;
    transition: all .15s
}

.ghost-btn:hover {
    border-color: #111827;
    color: #111827
}

.solid-btn {
    background: #111827;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    cursor: pointer
}

.msg-preview {
    font-size: 13px;
    color: #6B7280;
    background: #F9FAFB;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-style: italic
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #F3F4F6;
    border-radius: 2px;
    margin: 12px 0;
    overflow: hidden
}

.progress-fill {
    width: 100%;
    height: 100%;
    background: #111827;
    border-radius: 2px
}

/* === Logo strip === */
.logo-section {
    padding: 40px 0;
    text-align: center;
    background: #fff
}

.logo-section p {
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 24px
}

.logo-section strong {
    color: #374151
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 24px
}

.brand-logo {
    transition: transform .2s;
}

.brand-logo:hover {
    transform: scale(1.05);
    filter: grayscale(0%) opacity(1);
}

/* ======================================== */
/* === WHY CHAPTER — SCROLL EXPANDING  === */
/* ======================================== */

.why-chapter-track {
    position: relative;
    height: 760vh;
    background: #000;
}

.why-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.why-title {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.04em;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 5;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.why-title.faded {
    opacity: 0;
    transform: translateY(-70%);
    pointer-events: none;
}

.why-box {
    position: relative;
    width: var(--why-width, 82%);
    height: var(--why-height, 65vh);
    border-radius: var(--why-radius, 28px);
    overflow: hidden;
    will-change: width, height, border-radius;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* --- Scenes shared --- */
.why-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0d0d0d;
}

.why-scene.active {
    opacity: 1;
    pointer-events: auto;
}

.why-scene-black {
    background: #0d0d0d;
}

.why-scene-text {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 40px;
}

.why-scene-headline {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0;
}

.why-center-word {
    font-size: 72px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0;
    position: relative;
    z-index: 10;
}

/* ============================== */
/* SCENE 0: Icon Burst            */
/* ============================== */
.why-icon-burst {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.why-burst-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    top: 50%;
    left: 50%;
    opacity: 0;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
    will-change: transform, opacity;
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}

.why-scene.active .why-burst-icon {
    opacity: 0.8;
}

/* Scattered positions for 12 icons */
.why-scene.active .why-burst-icon:nth-child(1) {
    transform: translate(-390%, -320%) rotate(-12deg);
}

.why-scene.active .why-burst-icon:nth-child(2) {
    transform: translate(300%, -330%) rotate(8deg);
}

.why-scene.active .why-burst-icon:nth-child(3) {
    transform: translate(-480%, -70%) rotate(15deg);
}

.why-scene.active .why-burst-icon:nth-child(4) {
    transform: translate(460%, -90%) rotate(-20deg);
}

.why-scene.active .why-burst-icon:nth-child(5) {
    transform: translate(-330%, 250%) rotate(10deg);
}

.why-scene.active .why-burst-icon:nth-child(6) {
    transform: translate(390%, 290%) rotate(-8deg);
}

.why-scene.active .why-burst-icon:nth-child(7) {
    transform: translate(-130%, -430%) rotate(22deg);
}

.why-scene.active .why-burst-icon:nth-child(8) {
    transform: translate(190%, 380%) rotate(-15deg);
}

.why-scene.active .why-burst-icon:nth-child(9) {
    transform: translate(-430%, 200%) rotate(5deg);
}

.why-scene.active .why-burst-icon:nth-child(10) {
    transform: translate(70%, -460%) rotate(-25deg);
}

.why-scene.active .why-burst-icon:nth-child(11) {
    transform: translate(500%, 130%) rotate(18deg);
}

.why-scene.active .why-burst-icon:nth-child(12) {
    transform: translate(-70%, 430%) rotate(-10deg);
}

/* stagger transitions */
.why-burst-icon:nth-child(1) {
    transition-delay: 0s;
}

.why-burst-icon:nth-child(2) {
    transition-delay: 0.05s;
}

.why-burst-icon:nth-child(3) {
    transition-delay: 0.1s;
}

.why-burst-icon:nth-child(4) {
    transition-delay: 0.15s;
}

.why-burst-icon:nth-child(5) {
    transition-delay: 0.2s;
}

.why-burst-icon:nth-child(6) {
    transition-delay: 0.25s;
}

.why-burst-icon:nth-child(7) {
    transition-delay: 0.3s;
}

.why-burst-icon:nth-child(8) {
    transition-delay: 0.35s;
}

.why-burst-icon:nth-child(9) {
    transition-delay: 0.4s;
}

.why-burst-icon:nth-child(10) {
    transition-delay: 0.45s;
}

.why-burst-icon:nth-child(11) {
    transition-delay: 0.5s;
}

.why-burst-icon:nth-child(12) {
    transition-delay: 0.55s;
}

/* When not active — all converge to center */
.why-burst-icon {
    transform: translate(-50%, -50%) scale(0.3);
}

/* ============================== */
/* SCENE 1: Tab Wall              */
/* ============================== */
.why-tab-wall {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
    padding: 52px 0;
    z-index: 1;
}

.why-tab-row {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.why-tab-speed-fast {
    animation: whyTabL 18s linear infinite;
}

.why-tab-speed-med {
    animation: whyTabR 25s linear infinite;
}

.why-tab-speed-slow {
    animation: whyTabL 35s linear infinite;
}

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

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

@keyframes whyTabR {
    0% {
        transform: translateX(-50%);
    }

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

.why-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 20px;
    white-space: nowrap;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.why-tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.why-tab-dot.red {
    background: #ff5f57;
}

.why-tab-dot.yellow {
    background: #febc2e;
}

.why-tab-dot.green {
    background: #28c840;
}

.why-tab-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ============================== */
/* SCENE 2: Kinetic line          */
/* ============================== */
.why-kinetic-line {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin: 0;
}

.why-kinetic-line span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-scene.active .why-kinetic-line span {
    opacity: 1;
    transform: translateY(0);
}

.why-scene.active .why-kinetic-line span:nth-child(1) {
    transition-delay: 0s;
}

.why-scene.active .why-kinetic-line span:nth-child(2) {
    transition-delay: 0.12s;
}

.why-scene.active .why-kinetic-line span:nth-child(3) {
    transition-delay: 0.24s;
}

.why-scene.active .why-kinetic-line span:nth-child(4) {
    transition-delay: 0.36s;
}

/* ============================== */
/* SCENE 3: Chapter slam          */
/* ============================== */
.why-chapter-slam {
    font-size: 120px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.06em;
    line-height: 1;
    margin: 0;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.15), 0 0 160px rgba(255, 255, 255, 0.05);
    animation: whyChapterBreathe 4s ease-in-out infinite;
}

@keyframes whyChapterBreathe {

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

    50% {
        transform: scale(1.03);
    }
}

/* ============================== */
/* SCENE 4: Memoji orbit          */
/* ============================== */
.why-memoji-stage {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-orbit-ring {
    position: absolute;
    inset: 0;
    animation: whyOrbitSpin 20s linear infinite;
}

.why-memoji {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    background: #fff;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    object-fit: cover;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
    transform:
        translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(var(--orbit-radius, -190px)) rotate(calc(var(--i) * -45deg));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes whyOrbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================== */
/* SCENE 5: Agent stage           */
/* ============================== */
/* ============================== */
/* SCENE 5: Agents (centered)     */
/* ============================== */

/* AI logo strip — absolute top center */
.why-ai-logos {
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    z-index: 5;
}

.why-ai-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-12px) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.why-scene.active .why-ai-pill {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.why-scene[data-scene="5"].active .why-ai-pill:nth-child(1) {
    transition-delay: 4.9s;
}

.why-scene[data-scene="5"].active .why-ai-pill:nth-child(2) {
    transition-delay: 5.05s;
}

.why-scene[data-scene="5"].active .why-ai-pill:nth-child(3) {
    transition-delay: 5.2s;
}

.why-scene[data-scene="5"].active .why-ai-pill:nth-child(4) {
    transition-delay: 5.35s;
}

/* Absolute chat bubbles floating left/right sides */
.why-chat-abs {
    position: absolute;
    max-width: 42%;
}

.why-chat-bubble {
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-chat-left {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
    transform: translateX(-20px);
}

.why-chat-right {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom-right-radius: 4px;
    transform: translateX(20px);
}

.why-chat-center {
    left: 50%;
    bottom: 6%;
    max-width: 54%;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    transform: translateX(-50%) translateY(20px);
}

.why-scene.active .why-chat-bubble {
    opacity: 1;
    transform: translateX(0);
}

.why-scene.active .why-chat-bubble.why-chat-center {
    transform: translateX(-50%);
}

.why-scene[data-scene="5"].active .why-chat-abs {
    transition-delay: var(--bd, 0.1s);
}

/* ============================== */
/* SCENE 6: App orbit             */
/* ============================== */
.why-app-orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Place icons in 12-point clock positions around center */
.why-orbit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Evenly distribute 12 icons in a circle — using margin offsets based on index */
/* radius ≈ 240px. positions: i * 30deg */
.why-orbit-icon[style*="--oi:0"] {
    margin-top: -240px;
    margin-left: 0;
}

.why-orbit-icon[style*="--oi:1"] {
    margin-top: -207px;
    margin-left: 120px;
}

.why-orbit-icon[style*="--oi:2"] {
    margin-top: -120px;
    margin-left: 208px;
}

.why-orbit-icon[style*="--oi:3"] {
    margin-top: 0;
    margin-left: 240px;
}

.why-orbit-icon[style*="--oi:4"] {
    margin-top: 120px;
    margin-left: 208px;
}

.why-orbit-icon[style*="--oi:5"] {
    margin-top: 207px;
    margin-left: 120px;
}

.why-orbit-icon[style*="--oi:6"] {
    margin-top: 240px;
    margin-left: 0;
}

.why-orbit-icon[style*="--oi:7"] {
    margin-top: 207px;
    margin-left: -120px;
}

.why-orbit-icon[style*="--oi:8"] {
    margin-top: 120px;
    margin-left: -208px;
}

.why-orbit-icon[style*="--oi:9"] {
    margin-top: 0;
    margin-left: -240px;
}

.why-orbit-icon[style*="--oi:10"] {
    margin-top: -120px;
    margin-left: -208px;
}

.why-orbit-icon[style*="--oi:11"] {
    margin-top: -207px;
    margin-left: -120px;
}

.why-scene.active .why-orbit-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Stagger entry for each icon */
.why-scene.active .why-orbit-icon[style*="--oi:0"] {
    transition-delay: 0.00s;
}

.why-scene.active .why-orbit-icon[style*="--oi:1"] {
    transition-delay: 0.06s;
}

.why-scene.active .why-orbit-icon[style*="--oi:2"] {
    transition-delay: 0.12s;
}

.why-scene.active .why-orbit-icon[style*="--oi:3"] {
    transition-delay: 0.18s;
}

.why-scene.active .why-orbit-icon[style*="--oi:4"] {
    transition-delay: 0.24s;
}

.why-scene.active .why-orbit-icon[style*="--oi:5"] {
    transition-delay: 0.30s;
}

.why-scene.active .why-orbit-icon[style*="--oi:6"] {
    transition-delay: 0.36s;
}

.why-scene.active .why-orbit-icon[style*="--oi:7"] {
    transition-delay: 0.42s;
}

.why-scene.active .why-orbit-icon[style*="--oi:8"] {
    transition-delay: 0.48s;
}

.why-scene.active .why-orbit-icon[style*="--oi:9"] {
    transition-delay: 0.54s;
}

.why-scene.active .why-orbit-icon[style*="--oi:10"] {
    transition-delay: 0.60s;
}

.why-scene.active .why-orbit-icon[style*="--oi:11"] {
    transition-delay: 0.66s;
}



.why-scene.active .why-app-card:nth-child(6) {
    transition-delay: 0.30s;
}

.why-scene.active .why-app-card:nth-child(7) {
    transition-delay: 0.36s;
}

.why-scene.active .why-app-card:nth-child(8) {
    transition-delay: 0.42s;
}

.why-scene.active .why-app-card:nth-child(9) {
    transition-delay: 0.48s;
}

.why-scene.active .why-app-card:nth-child(10) {
    transition-delay: 0.54s;
}

.why-scene.active .why-app-card:nth-child(11) {
    transition-delay: 0.60s;
}

.why-scene.active .why-app-card:nth-child(12) {
    transition-delay: 0.66s;
}

/* ============================== */
/* SCENE 7: Finale                */
/* ============================== */
.why-finale-headline {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin: 0 0 32px;
}

.why-finale-pills {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.why-finale-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-scene.active .why-finale-pill {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.why-scene.active .why-finale-pill:nth-child(1) {
    transition-delay: 0.15s;
}

.why-scene.active .why-finale-pill:nth-child(2) {
    transition-delay: 0.30s;
}

.why-scene.active .why-finale-pill:nth-child(3) {
    transition-delay: 0.45s;
}



/* === Scatter === */
.scatter-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap
}

.scatter-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 140px;
    flex: 1;
    max-width: 200px
}

.scatter-card span {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500
}

.scatter-card img {
    display: block;
}

/* =============================== */
/* ===  HOW IT WORKS SECTION  === */
/* =============================== */

/* Creating the scrollytelling track */
.how-scroll-track {
    position: relative;
    height: 350vh;
    /* gives scroll length */
    background: #FAFAFA;
}

/* The viewport container that stays sticky on screen */
.how-sticky {
    position: sticky;
    top: 64px;
    /* start exactly under navbar */
    height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Progress bar wrapper */
.how-progress-wrap {
    padding: 30px 24px 10px;
    z-index: 10;
}

.how-progress-track {
    position: relative;
    max-width: 560px;
    margin: 0 auto 14px;
    height: 3px;
    background: transparent;
    border-radius: 2px;
    overflow: visible;
}

.how-progress-track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: var(--line-left, 0px);
    width: var(--line-width, 100%);
    height: 3px;
    background: #E5E7EB;
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
}

.how-progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    transform: translateY(-50%);
    background: #111827;
    border-radius: 2px;
    z-index: 2;
    /* transition removed to let JS manage smooth sync cleanly */
}

.how-progress-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.how-progress-dot {
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #D1D5DB;
    background: #FAFAFA;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}

.how-progress-dot.active {
    border-color: #111827;
    background: #111827;
}

.how-steps-row {
    display: flex;
    justify-content: space-between;
    max-width: 560px;
    margin: 0 auto;
    gap: 4px;
}

.hp-step {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #9CA3AF;
    padding: 6px 0;
    transition: color .2s;
    flex: 1;
    text-align: center;
}

.hp-step.active {
    color: #111827
}

/* Panels container */
.how-panels {
    position: relative;
    flex: 1;
    width: 100%;
}

/* Each panel layer */
.how-panel {
    position: absolute;
    inset: 0;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.how-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.panel-inner {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.panel-text {
    max-width: 420px
}

.step-num {
    font-size: 12px;
    font-weight: 600;
    color: #9CA3AF;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 12px
}

.panel-text h3 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.02em;
    margin-bottom: 12px
}

.panel-text p {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.7
}

/* Panel cards */
.example-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04)
}

.tag-green {
    margin-left: auto;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    color: #16a34a
}

.tag-default {
    margin-left: auto;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    color: #6B7280
}

.conn-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px
}

.conn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #374151
}

.detect-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    color: #9CA3AF
}

/* Approve card */
.approve-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04)
}

.approve-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid #F3F4F6
}

.approve-icon {
    width: 36px;
    height: 36px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.approve-title {
    font-size: 14px;
    font-weight: 600
}

.approve-sub {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 2px
}

.plan-steps {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.plan-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151
}

.plan-num {
    width: 22px;
    height: 22px;
    background: #F3F4F6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    flex-shrink: 0
}

.approve-actions {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    border-top: 1px solid #F3F4F6
}

.approve-btn {
    flex: 1;
    background: #111827;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer
}

/* Agent steps */
.agent-steps {
    display: flex;
    flex-direction: column
}

.agent-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0 14px 18px;
    border-left: 2px solid #F3F4F6;
    position: relative
}

.agent-step:last-child {
    border-left: 2px solid transparent
}

.astep-icon {
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    background: #fff;
}

.pulse-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111827;
    animation: pulse 1.5s ease-in-out infinite
}

@keyframes pulse {

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

    50% {
        opacity: .5;
        transform: scale(.8)
    }
}

.astep-content {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.astep-label {
    font-size: 14px;
    font-weight: 500
}

.agent-step.pending .astep-label {
    color: #9CA3AF
}

.astep-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    max-width: 280px;
}

/* Knowledge mini */
.km-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start
}

.km-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px
}

.km-icon {
    color: #6B7280;
    font-size: 16px;
    margin-top: 2px
}

.km-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px
}

.km-desc {
    font-size: 13px;
    color: #6B7280;
    max-width: 260px;
}

/* === Knowledge Section === */
.kn-label {
    display: inline-flex;
    align-items: center;
    background: #111827;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 20px
}

.knowledge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
    text-align: left
}

.kn-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .02)
}

.kn-card.wide {
    grid-column: 1/-1
}

.kn-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F3F4F6
}

.kn-card-head i {
    font-size: 18px
}

.kn-profiles {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.kn-profile {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.kn-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    flex-shrink: 0
}

.kn-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px
}

.kn-detail {
    font-size: 13px;
    color: #6B7280
}

.kn-projects {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.kn-proj {
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.proj-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0
}

.proj-dot.green {
    background: #16a34a
}

.proj-dot.yellow {
    background: #d97706
}

.proj-dot.blue {
    background: #2563eb
}

.kn-decisions {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.kn-decision {
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6
}

.kn-decision:last-child {
    border-bottom: none;
    padding-bottom: 0
}

/* === Collaboration === */
.badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 48px;
    flex-wrap: wrap
}

.badge {
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 6px
}

.badge i {
    color: #111827
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.feat {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .02)
}

.feat.border-accent {
    border-color: #111827
}

.feat-icon-box {
    width: 40px;
    height: 40px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px
}

.feat h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px
}

.feat p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6
}

/* === Security === */
.security-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .02)
}

.sec-point {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center
}

.sec-point span {
    font-size: 14px;
    font-weight: 500
}

.sec-div {
    width: 1px;
    height: 40px;
    background: #E5E7EB
}

/* === Agent Infrastructure / Magic Input === */
.agent-section {
    background: #fff
}

.magic-input-wrap {
    max-width: 580px;
    margin: 48px auto 0;
}

.magic-input {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
    font-size: 15px;
    color: #111827;
    text-align: left;
}

.magic-text {
    white-space: nowrap;
    overflow: hidden;
    min-height: 1.2em
}

.magic-cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: #111827;
    border-radius: 1px;
    animation: blink .8s infinite;
    flex-shrink: 0;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.agent-feed {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 290px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 18px;
    text-align: left;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease;
}

.feed-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feed-icon {
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.feed-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1
}

.feed-label {
    font-size: 14px;
    font-weight: 500;
    color: #111827
}

.feed-desc {
    font-size: 13px;
    color: #9CA3AF
}

.feed-status {
    font-size: 16px;
    color: #16a34a;
    flex-shrink: 0
}

.feed-status.final {
    color: #16a34a;
    font-weight: 600
}

.enterprise-tag {
    margin-top: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #9CA3AF;
    letter-spacing: .02em;
}

/* === Bottom CTA === */
.final-cta {
    padding-bottom: 120px
}

.final-cta h2 {
    font-size: 40px;
    margin-bottom: 18px
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 36px
}

/* === Footer === */
footer {
    padding: 36px 0
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

footer p {
    font-size: 14px;
    color: #9CA3AF
}

/* ========================================= */
/* ===  RESPONSIVE — TABLET (≤1024px)   === */
/* ========================================= */
@media(max-width:1024px) {
    .hero-content h1 {
        font-size: 42px
    }

    h2 {
        font-size: 34px
    }

    .hero-grid {
        gap: 40px
    }

    .hero-visual {
        height: 380px
    }

    .float-card {
        width: 230px;
        padding: 16px
    }

    .features {
        grid-template-columns: 1fr 1fr
    }

    .panel-inner {
        gap: 32px;
        grid-template-columns: 1fr 1fr
    }
}

/* ========================================= */
/* ===  RESPONSIVE — MOBILE (≤768px)    === */
/* ========================================= */
@media(max-width:768px) {
    .section {
        padding: 72px 0
    }

    .hero {
        padding: 110px 0 60px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px
    }

    .hero-content h1 {
        font-size: 34px
    }

    .hero-desc {
        font-size: 16px;
        margin-inline: auto;
        max-width: 100%
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 12px
    }

    .hero-content .btn-primary {
        margin-inline: auto
    }

    .hero-visual {
        height: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center
    }

    .float-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none !important;
        width: 100%;
        max-width: 340px
    }

    .logo-row {
        gap: 24px
    }

    .brand-logo {
        height: 20px
    }

    h2 {
        font-size: 28px
    }

    .sub {
        font-size: 16px
    }

    .scatter-row {
        flex-direction: column;
        align-items: center;
        gap: 10px
    }

    .scatter-card {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        padding: 18px 16px;
        gap: 12px
    }

    /* Fix scrollytelling track for mobile */
    .how-scroll-track {
        height: 350vh;
    }

    .how-progress-wrap {
        padding: 16px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .how-progress-track {
        max-width: 100%;
        margin: 0 24px 10px;
        min-width: 420px;
    }

    .how-steps-row {
        max-width: 100%;
        min-width: 420px;
        padding: 0 24px;
    }

    .hp-step {
        font-size: 12px;
        padding: 4px 2px
    }

    /* Stack panel contents and center vertically in viewport */
    .how-panel {
        padding: 20px 24px;
    }

    .panel-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
    }

    .panel-text {
        max-width: 100%
    }

    .panel-text h3 {
        font-size: 22px
    }

    .step-num {
        font-size: 11px
    }

    .knowledge-grid {
        grid-template-columns: 1fr
    }

    .kn-card.wide {
        grid-column: 1
    }

    .features {
        grid-template-columns: 1fr
    }

    .security-bar {
        flex-direction: column;
        gap: 28px;
        padding: 28px
    }

    .sec-div {
        width: 100%;
        height: 1px
    }

    .final-cta h2 {
        font-size: 28px
    }

    .cta-row {
        flex-direction: column;
        align-items: center;
        gap: 12px
    }

    .cta-row a {
        width: 100%;
        max-width: 300px;
        text-align: center
    }

    .footer-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center
    }
}

/* ========================================= */
/* ===  RESPONSIVE — SMALL PHONE (≤420) === */
/* ========================================= */
@media(max-width:420px) {
    .container {
        padding: 0 16px
    }

    .hero-content h1 {
        font-size: 28px
    }

    h2 {
        font-size: 24px
    }

    .float-card {
        max-width: 100%;
        padding: 14px
    }

    .approve-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .how-progress-track {
        min-width: 360px
    }

    .how-steps-row {
        min-width: 360px
    }

    .hp-step {
        font-size: 11px
    }
}

/* ============================== */
/* NEW SCENE 5 EVENT: Task Scanning */
/* ============================== */

.why-scan-sequence {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 16;
}

.why-task-rail {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: min(860px, 86%);
    transform: translate(-50%, -50%);
}

.why-task-list {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.why-task-node {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px) scale(0.92);
}

.wt-tick {
    position: absolute;
    right: 14px;
    display: inline-flex;
    color: #5ce292;
    font-size: 18px;
    opacity: 0;
    transform: scale(0.45);
}

.why-task-link {
    position: absolute;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.12));
    opacity: 0;
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 1;
}

.why-task-link.tl-1 {
    left: calc(33.333% + 34px);
    width: calc(33.333% - 68px);
}

.why-task-link.tl-2 {
    left: calc(66.666% + 34px);
    width: calc(33.333% - 68px);
}

.why-task-focus {
    position: absolute;
    top: 50%;
    left: 16.666%;
    width: calc(33.333% - 12px);
    height: 62px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    z-index: 3;
}

.why-scene[data-scene="5"].active .why-task-node.tn-1 {
    animation: whyTaskNodeIn 0.42s forwards 0.2s, whyTaskPulse 0.55s forwards 1.25s, whyTaskNodeClear 0.35s forwards 3.05s;
}

.why-scene[data-scene="5"].active .why-task-node.tn-2 {
    animation: whyTaskNodeIn 0.42s forwards 0.38s, whyTaskPulse 0.55s forwards 2.15s, whyTaskNodeClear 0.35s forwards 3.05s;
}

.why-scene[data-scene="5"].active .why-task-node.tn-3 {
    animation: whyTaskNodeIn 0.42s forwards 0.56s, whyTaskPulse 0.55s forwards 3.05s, whyTaskAgentCenter 0.72s forwards 4.05s, whyTaskCardToText 0.38s forwards 4.62s;
}

.why-scene[data-scene="5"].active .why-task-node.tn-3 .wt-label {
    animation: whyTaskLabelCenter 0.38s forwards 4.62s;
}

.why-scene[data-scene="5"].active .why-task-node.tn-1 .wt-tick {
    animation: whyTickBeat 0.82s forwards 1.4s;
}

.why-scene[data-scene="5"].active .why-task-node.tn-2 .wt-tick {
    animation: whyTickBeat 0.82s forwards 2.3s;
}

.why-scene[data-scene="5"].active .why-task-node.tn-3 .wt-tick {
    animation: whyTickBeat 0.82s forwards 3.2s;
}

.why-scene[data-scene="5"].active .why-task-focus {
    animation: whyTaskFocusRun 3.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.9s;
}

.why-scene[data-scene="5"].active .why-task-link.tl-1 {
    animation: whyTaskLinkDraw 0.42s ease forwards 1.05s, whyTaskLinkFade 0.35s ease forwards 3.85s;
}

.why-scene[data-scene="5"].active .why-task-link.tl-2 {
    animation: whyTaskLinkDraw 0.42s ease forwards 1.95s, whyTaskLinkFade 0.35s ease forwards 3.85s;
}

@keyframes whyTaskNodeIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes whyTaskPulse {
    0% {
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    50% {
        border-color: rgba(255, 255, 255, 0.92);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 20px rgba(255, 255, 255, 0.18);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.22);
    }
}

@keyframes whyTaskNodeClear {
    to {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(-10px) scale(0.84);
    }
}

@keyframes whyTaskAgentCenter {
    0% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }

    72% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-108%, -8px) scale(1.06);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-108%, -8px) scale(1.06);
    }
}

@keyframes whyTaskCardToText {
    to {
        justify-content: center;
        gap: 0;
        padding: 0;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        backdrop-filter: blur(0);
    }
}

@keyframes whyTaskLabelCenter {
    to {
        font-size: 72px;
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 1;
    }
}

@keyframes whyTaskLabelCenterMobile {
    to {
        font-size: 52px;
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 1;
    }
}

@keyframes whyTickBeat {
    0% {
        opacity: 0;
        transform: scale(0.45);
    }

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

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

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

@keyframes whyTaskFocusRun {
    0% {
        opacity: 0;
        left: 16.666%;
        transform: translate(-50%, -50%) scale(0.82);
    }

    8% {
        opacity: 1;
    }

    33% {
        left: 16.666%;
        transform: translate(-50%, -50%) scale(1.06);
    }

    52% {
        left: 50%;
        transform: translate(-50%, -50%) scale(0.92);
    }

    70% {
        left: 50%;
        transform: translate(-50%, -50%) scale(1.06);
    }

    88% {
        left: 83.333%;
        transform: translate(-50%, -50%) scale(0.92);
    }

    96% {
        left: 83.333%;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.06);
    }

    100% {
        left: 83.333%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@keyframes whyTaskLinkDraw {
    to {
        opacity: 0.82;
        transform: scaleX(1);
    }
}

@keyframes whyTaskLinkFade {
    to {
        opacity: 0;
        transform: scaleX(0.6);
    }
}

@media (max-width: 768px) {
    .why-chapter-track {
        height: 620vh;
    }

    .why-title {
        font-size: 38px;
        top: 46%;
    }

    .why-box {
        width: min(94%, 94vw);
        height: 72vh;
        border-radius: 20px;
    }

    .why-scene-text {
        padding: 0 20px;
    }

    .why-scene-headline {
        font-size: 31px;
        line-height: 1.16;
    }

    .why-center-word {
        font-size: 52px;
    }

    .why-tab-wall {
        padding: 38px 0;
        gap: 12px;
    }

    .why-tab-row {
        gap: 12px;
    }

    .why-tab {
        gap: 8px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .why-tab-title {
        font-size: 12px;
    }

    .why-kinetic-line {
        font-size: 44px;
    }

    .why-chapter-slam {
        font-size: 76px;
    }

    .why-memoji-stage {
        width: 320px;
        height: 320px;
    }

    .why-memoji {
        width: 58px;
        height: 58px;
    }

    .why-ai-logos {
        top: 10%;
        gap: 6px;
    }

    .why-ai-pill {
        font-size: 11px;
        padding: 6px 10px;
        gap: 6px;
    }

    .why-chat-abs {
        max-width: 74%;
    }

    .why-chat-bubble {
        font-size: 12px;
        padding: 9px 12px;
    }

    .why-chat-center {
        max-width: 78%;
        bottom: 8%;
    }

    .why-orbit-icon {
        width: 34px;
        height: 34px;
    }

    .why-orbit-icon[style*="--oi:0"] {
        margin-top: -148px;
        margin-left: 0;
    }

    .why-orbit-icon[style*="--oi:1"] {
        margin-top: -128px;
        margin-left: 74px;
    }

    .why-orbit-icon[style*="--oi:2"] {
        margin-top: -74px;
        margin-left: 128px;
    }

    .why-orbit-icon[style*="--oi:3"] {
        margin-top: 0;
        margin-left: 148px;
    }

    .why-orbit-icon[style*="--oi:4"] {
        margin-top: 74px;
        margin-left: 128px;
    }

    .why-orbit-icon[style*="--oi:5"] {
        margin-top: 128px;
        margin-left: 74px;
    }

    .why-orbit-icon[style*="--oi:6"] {
        margin-top: 148px;
        margin-left: 0;
    }

    .why-orbit-icon[style*="--oi:7"] {
        margin-top: 128px;
        margin-left: -74px;
    }

    .why-orbit-icon[style*="--oi:8"] {
        margin-top: 74px;
        margin-left: -128px;
    }

    .why-orbit-icon[style*="--oi:9"] {
        margin-top: 0;
        margin-left: -148px;
    }

    .why-orbit-icon[style*="--oi:10"] {
        margin-top: -74px;
        margin-left: -128px;
    }

    .why-orbit-icon[style*="--oi:11"] {
        margin-top: -128px;
        margin-left: -74px;
    }

    .why-finale-headline {
        font-size: 38px;
        line-height: 1.12;
    }

    .why-finale-pills {
        gap: 8px;
    }

    .why-finale-pill {
        padding: 8px 16px;
        font-size: 12px;
    }

    .why-task-rail {
        top: 50%;
        width: min(520px, 92%);
    }

    .why-task-list {
        gap: 10px;
    }

    .why-task-node {
        padding: 12px 10px;
        font-size: 12px;
    }

    .why-scene[data-scene="5"].active .why-task-node.tn-3 .wt-label {
        animation: whyTaskLabelCenterMobile 0.38s forwards 4.62s;
    }

    .why-task-link {
        display: none;
    }

    .why-task-focus {
        width: calc(33.333% - 8px);
        height: 54px;
    }

}

@media (max-width: 420px) {
    .why-chapter-track {
        height: 600vh;
    }

    .why-title {
        font-size: 32px;
    }

    .why-box {
        width: 96%;
        height: 70vh;
    }

    .why-scene-headline {
        font-size: 26px;
    }

    .why-center-word {
        font-size: 44px;
    }

    .why-kinetic-line {
        font-size: 36px;
    }

    .why-chapter-slam {
        font-size: 62px;
    }

    .why-memoji-stage {
        width: 276px;
        height: 276px;
    }

    .why-memoji {
        width: 50px;
        height: 50px;
    }

    .why-orbit-icon {
        width: 30px;
        height: 30px;
    }

    .why-orbit-icon[style*="--oi:0"] {
        margin-top: -124px;
    }

    .why-orbit-icon[style*="--oi:1"] {
        margin-top: -107px;
        margin-left: 62px;
    }

    .why-orbit-icon[style*="--oi:2"] {
        margin-top: -62px;
        margin-left: 107px;
    }

    .why-orbit-icon[style*="--oi:3"] {
        margin-left: 124px;
    }

    .why-orbit-icon[style*="--oi:4"] {
        margin-top: 62px;
        margin-left: 107px;
    }

    .why-orbit-icon[style*="--oi:5"] {
        margin-top: 107px;
        margin-left: 62px;
    }

    .why-orbit-icon[style*="--oi:6"] {
        margin-top: 124px;
    }

    .why-orbit-icon[style*="--oi:7"] {
        margin-top: 107px;
        margin-left: -62px;
    }

    .why-orbit-icon[style*="--oi:8"] {
        margin-top: 62px;
        margin-left: -107px;
    }

    .why-orbit-icon[style*="--oi:9"] {
        margin-left: -124px;
    }

    .why-orbit-icon[style*="--oi:10"] {
        margin-top: -62px;
        margin-left: -107px;
    }

    .why-orbit-icon[style*="--oi:11"] {
        margin-top: -107px;
        margin-left: -62px;
    }

    .why-task-node {
        font-size: 11px;
        padding: 10px 8px;
    }

    .why-task-focus {
        height: 48px;
    }

    .why-finale-headline {
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-scan-sequence {
        display: none;
    }

    .why-scene[data-scene="5"].active .why-ai-pill,
    .why-scene[data-scene="5"].active .why-chat-bubble {
        transition-delay: 0s !important;
    }
}
