:root {
    --bg-dark: #09090b;
    --primary: #2563eb;
    --secondary: #f97316;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #14b8a6;
    --panel: rgba(15, 23, 42, 0.72);
    --line: rgba(255,255,255,0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
}

/* 16:9 Video Container */
.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(20, 184, 166, 0.18), transparent 34%),
        radial-gradient(circle at 82% 28%, rgba(249, 115, 22, 0.16), transparent 30%),
        linear-gradient(135deg, #08111f 0%, #0b0d12 55%, #111827 100%);
}

.video-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(circle at center, black, transparent 76%);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Typography styles */
.gradient-text {
    background: linear-gradient(110deg, var(--accent), #60a5fa 45%, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Timeline */
.timeline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(to right, var(--accent), var(--primary), var(--secondary));
    width: 0%;
    z-index: 100;
}

.voice-caption {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 220;
    width: min(760px, calc(100vw - 48px));
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
    padding: 14px 22px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(9, 9, 11, 0.62);
    color: rgba(248, 250, 252, 0.92);
    text-align: center;
    font-size: clamp(0.9rem, 1.35vw, 1.08rem);
    line-height: 1.35;
    box-shadow: 0 20px 60px rgba(0,0,0,0.34);
    backdrop-filter: blur(16px);
    pointer-events: none;
}

.voice-caption.is-live {
    animation: caption-in 0.8s ease forwards;
}

@keyframes caption-in {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Overlay */
.play-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(37, 99, 235, 0.16), transparent 42%),
        rgba(9, 9, 11, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
}

.play-overlay h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 10px;
}

.play-overlay p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 30px;
}

.overlay-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.play-overlay button,
.replay-button {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.36);
    transition: transform 0.2s, box-shadow 0.2s;
}

.play-overlay button:hover,
.replay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(20, 184, 166, 0.36);
}

.runtime-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Scenes */
.scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(12vw) scale(0.9);
    filter: blur(8px);
    transition: transform 1.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.2s ease-in-out, filter 1s ease-out;
    padding: clamp(28px, 5vw, 86px);
    isolation: isolate;
}

.scene.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    filter: blur(0px);
}

.scene.previous {
    opacity: 0;
    transform: translateX(-12vw) scale(1.05);
    filter: blur(8px);
}

/* Scene 1: Intro */
.intro-content {
    text-align: center;
    z-index: 10;
    transform: scale(0.9);
    transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s;
}
.scene.active .intro-content {
    transform: scale(1);
}

.hero-intro {
    width: min(940px, 92vw);
    margin: 0 auto;
    padding-top: 12vh;
}

.intro-kicker {
    color: var(--accent);
    font-size: clamp(0.9rem, 1.4vw, 1.08rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 8px 24px rgba(0,0,0,0.65);
}

.intro-title {
    font-size: clamp(4.4rem, 10vw, 10rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 24px;
    text-shadow: 0 20px 70px rgba(0,0,0,0.82);
}

.chaos-stack {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.chaos-card {
    position: absolute;
    min-width: 220px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 24px 70px rgba(0,0,0,0.44);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(22px) rotate(-4deg);
}

.chaos-card span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.chaos-card strong {
    display: block;
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
}

.card-one { left: 8vw; top: 22vh; }
.card-two { right: 10vw; top: 28vh; transform: translateY(22px) rotate(5deg); }
.card-three { left: 16vw; bottom: 17vh; transform: translateY(22px) rotate(3deg); }

.scene.active .chaos-card {
    animation: chaos-resolve 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scene.active .card-one { animation-delay: 0.15s; }
.scene.active .card-two { animation-delay: 0.35s; }
.scene.active .card-three { animation-delay: 0.55s; }

@keyframes chaos-resolve {
    0% { opacity: 0; filter: blur(8px); }
    24% { opacity: 0.92; filter: blur(0); }
    68% { opacity: 0.72; }
    100% { opacity: 0; transform: translateY(-18px) rotate(0deg) scale(0.92); filter: blur(10px); }
}

.logo-mark {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--accent) 62%, var(--secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin: 0 auto 30px;
    box-shadow: 0 0 58px rgba(20, 184, 166, 0.44);
}

.logo-mark.small {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    border-radius: 18px;
}

.logo-text {
    font-size: clamp(4rem, 9vw, 7.5rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 15px;
}

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

.subtitle {
    font-size: clamp(1rem, 2.2vw, 1.55rem);
    color: var(--text-muted);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
}

.background-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(20,184,166,0.18) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 5s infinite alternate;
}

.background-glow.final {
    background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, rgba(0,0,0,0) 70%);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0.9; }
}

/* Split Layouts for Features */
.split-layout {
    display: flex;
    width: 100%;
    max-width: 1600px;
    align-items: center;
    gap: clamp(36px, 6vw, 104px);
    position: relative;
    z-index: 2;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 0.92;
    min-width: 340px;
    transform: translateX(-120px) translateY(30px);
    filter: blur(5px);
    opacity: 0;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s, opacity 1s ease 0.6s, filter 1s ease 0.6s;
}

.split-layout.reverse .text-content {
    transform: translateX(120px) translateY(30px);
}

.scene.active .text-content {
    transform: translateX(0) translateY(0);
    filter: blur(0px);
    opacity: 1;
}

.text-content h2 {
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: 0;
}

.text-content p {
    font-size: clamp(1.08rem, 1.7vw, 1.55rem);
    color: var(--text-muted);
    margin-bottom: 45px;
    line-height: 1.6;
    max-width: 700px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    background: currentColor;
    opacity: 0.85;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: clamp(1rem, 1.35vw, 1.28rem);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scene.active .feature-list li:nth-child(1) { transition-delay: 1.2s; opacity: 1; transform: translateY(0); }
.scene.active .feature-list li:nth-child(2) { transition-delay: 1.4s; opacity: 1; transform: translateY(0); }
.scene.active .feature-list li:nth-child(3) { transition-delay: 1.6s; opacity: 1; transform: translateY(0); }

.feature-list li::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%2338bdf8" stroke-width="3" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"></path></svg>');
    background-size: cover;
}

.stat-strip {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: -16px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease 1.85s, transform 0.7s ease 1.85s;
}

.scene.active .stat-strip {
    opacity: 1;
    transform: translateY(0);
}

.stat-strip div {
    min-width: 150px;
    padding: 16px 18px;
    border: 1px solid rgba(20, 184, 166, 0.28);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(20, 184, 166, 0.12), rgba(37, 99, 235, 0.08));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.stat-strip strong {
    display: block;
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 2.7vw, 2.5rem);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-strip span {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.visual-content {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.split-layout.reverse .visual-content {
    flex: 1;
}

.mockup-container {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--panel);
    box-shadow: 0 42px 90px rgba(0,0,0,0.56), 0 0 0 1px var(--line), 0 0 48px rgba(20,184,166,0.12);
    transform: translateY(120px) rotateX(25deg) rotateY(-15deg) scale(0.85);
    filter: blur(10px);
    opacity: 0;
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s, opacity 1.5s ease 0.8s, filter 1.5s ease 0.8s, box-shadow 2s ease 0.8s;
}

.mockup-container::before {
    content: '';
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(20, 184, 166, 0.34);
    border-radius: 14px;
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    z-index: 3;
}

.scene.active .mockup-container::before {
    animation: product-focus 2.7s ease 1.25s forwards;
}

@keyframes product-focus {
    0% { opacity: 0; transform: scale(0.92); }
    30% { opacity: 0.88; transform: scale(1); box-shadow: 0 0 42px rgba(20,184,166,0.24); }
    100% { opacity: 0; transform: scale(1.08); }
}

.focus-callout {
    position: absolute;
    z-index: 4;
    min-width: 142px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    background: rgba(9, 9, 11, 0.72);
    box-shadow: 0 18px 48px rgba(0,0,0,0.38);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(18px) scale(0.94);
}

.focus-callout strong {
    display: block;
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    line-height: 1;
    margin-bottom: 5px;
}

.focus-callout span {
    display: block;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.scene.active .focus-callout {
    animation: callout-pop 2.75s cubic-bezier(0.16, 1, 0.3, 1) 1.55s forwards;
}

@keyframes callout-pop {
    0% { opacity: 0; transform: translateY(18px) scale(0.94); }
    18%, 78% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-8px) scale(0.98); }
}

.callout-dashboard { right: 6%; top: 16%; }
.callout-people { left: 7%; top: 28%; }
.callout-attendance { right: 9%; top: 24%; }
.callout-leave { right: 7%; top: 32%; }
.callout-payroll { left: 8%; top: 20%; }
.callout-mobile { left: 50%; bottom: 7%; transform: translateX(-50%) translateY(18px) scale(0.94); }

.scene.active .callout-mobile {
    animation-name: callout-pop-mobile;
}

@keyframes callout-pop-mobile {
    0% { opacity: 0; transform: translateX(-50%) translateY(18px) scale(0.94); }
    18%, 78% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(0.98); }
}

.scene.active .mockup-container {
    transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
    filter: blur(0px);
    opacity: 1;
    box-shadow: 0 62px 110px rgba(0,0,0,0.66), 0 0 0 1px var(--line), 0 0 68px rgba(20,184,166,0.22);
}

.dashboard-mockup {
    width: 100%;
    aspect-ratio: 16/9;
}

.mobile-mockup {
    height: min(74vh, 760px);
    width: auto;
    aspect-ratio: 9/19;
    border-radius: 34px;
    box-shadow: 0 44px 90px rgba(0,0,0,0.62), 0 0 0 10px #111827, 0 0 0 12px rgba(255,255,255,0.1), 0 0 80px rgba(249,115,22,0.18);
}

.mockup-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mobile-layout {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: clamp(36px, 7vw, 110px);
    z-index: 2;
}

.mobile-copy {
    transform: translateX(-120px) translateY(40px);
    filter: blur(5px);
    opacity: 0;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, opacity 1s ease 0.5s, filter 1s ease 0.5s;
}

.scene.active .mobile-copy {
    transform: translateX(0) translateY(0);
    filter: blur(0px);
    opacity: 1;
}

.mobile-copy h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.04;
    margin-bottom: 26px;
}

.mobile-copy p {
    color: var(--text-muted);
    font-size: clamp(1.08rem, 1.7vw, 1.45rem);
    line-height: 1.65;
    max-width: 680px;
}

.phone-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78vh;
}

.phone-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    animation: orbit 10s linear infinite;
}

.phone-orbit.one {
    width: min(54vw, 560px);
    height: min(54vw, 560px);
}

.phone-orbit.two {
    width: min(38vw, 400px);
    height: min(38vw, 400px);
    animation-direction: reverse;
    border-color: rgba(20,184,166,0.24);
}

@keyframes orbit {
    from { transform: rotate(0deg) scale(0.96); }
    to { transform: rotate(360deg) scale(1.04); }
}

.glass-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.08) 25%, transparent 30%);
    background-size: 200% 100%;
    animation: shine 5s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { background-position: 150% 0; }
    100% { background-position: -50% 0; }
}

/* Scene 4: Impact */
.impact-content {
    text-align: center;
    z-index: 10;
}

.massive-text {
    font-size: clamp(4.5rem, 9vw, 9rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 60px;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(0.8) translateY(60px);
    opacity: 0;
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.scene.active .massive-text {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.animated-metrics {
    display: flex;
    gap: clamp(18px, 3vw, 46px);
    justify-content: center;
    flex-wrap: wrap;
}

.metric {
    font-size: clamp(1rem, 1.25vw, 1.35rem);
    color: var(--text-muted);
    background: rgba(255,255,255,0.055);
    padding: 28px 42px;
    border-radius: 10px;
    border: 1px solid var(--line);
    backdrop-filter: blur(15px);
    transform: translateY(40px);
    opacity: 0;
    transition: all 1.2s ease;
    text-align: center;
}

.metric:nth-child(2) {
    border-color: rgba(249, 115, 22, 0.24);
}

.metric:nth-child(3) {
    border-color: rgba(96, 165, 250, 0.24);
}

.metric span {
    color: var(--accent);
    font-weight: 800;
    font-size: clamp(2.9rem, 4.5vw, 4.2rem);
    display: block;
    margin-bottom: 5px;
}

.scene.active .metric:nth-child(1) { transition-delay: 1.4s; transform: translateY(0); opacity: 1; }
.scene.active .metric:nth-child(2) { transition-delay: 1.7s; transform: translateY(0); opacity: 1; }
.scene.active .metric:nth-child(3) { transition-delay: 2s; transform: translateY(0); opacity: 1; }

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

/* Scene 5: Outro */
.outro-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
    z-index: 10;
}

.scene.active .outro-content {
    transform: translateY(0);
    opacity: 1;
}

.outro-content h2 {
    font-size: clamp(2.25rem, 4.4vw, 4.7rem);
    line-height: 1.08;
    max-width: 1120px;
    margin-bottom: 34px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 24px 80px;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.35);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: cta-shine 3s infinite;
}

@keyframes cta-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.website-url {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: var(--accent);
    letter-spacing: 0.16em;
    margin-bottom: 22px;
}

.replay-button {
    padding: 12px 24px;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--line);
    box-shadow: none;
}

@media (max-width: 900px) {
    .scene {
        padding: 90px 20px 40px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .split-layout,
    .split-layout.reverse,
    .mobile-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .text-content,
    .split-layout.reverse .text-content,
    .mobile-copy {
        min-width: 0;
        transform: translateY(28px);
        margin-top: 2vh;
    }
    
    .text-content p, .mobile-copy p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .scene.active .text-content,
    .scene.active .mobile-copy {
        transform: translateY(0);
    }

    .visual-content {
        max-height: 35vh;
        width: 100%;
    }

    .dashboard-mockup {
        max-height: 35vh;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }

    .feature-list li {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .stat-strip {
        justify-content: center;
        margin-top: 0;
    }

    .stat-strip div {
        min-width: 120px;
        padding: 10px 12px;
    }

    .stat-strip strong {
        font-size: 1.5rem;
    }

    .phone-stage {
        min-height: 35vh;
    }

    .mobile-mockup {
        height: 35vh;
    }

    .voice-caption {
        bottom: 12px;
        padding: 8px 12px;
        border-radius: 14px;
        font-size: 0.75rem;
    }

    .hero-intro {
        padding-top: 5vh;
    }

    .intro-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .subtitle {
        font-size: clamp(0.8rem, 4vw, 1.2rem);
    }

    .chaos-card {
        min-width: 140px;
        padding: 10px 12px;
    }

    .chaos-card strong {
        font-size: 1.2rem;
    }

    .card-one { left: 2vw; top: 12vh; }
    .card-two { right: 2vw; top: 18vh; }
    .card-three { left: 5vw; bottom: 12vh; }

    .focus-callout {
        min-width: 100px;
        padding: 8px 10px;
        transform: translateY(10px) scale(0.8);
    }

    .focus-callout strong {
        font-size: 1rem;
    }

    .scene.active .focus-callout {
        animation: callout-pop-mobile-small 2.75s cubic-bezier(0.16, 1, 0.3, 1) 1.55s forwards;
    }

    @keyframes callout-pop-mobile-small {
        0% { opacity: 0; transform: translateY(10px) scale(0.8); }
        18%, 78% { opacity: 1; transform: translateY(0) scale(0.9); }
        100% { opacity: 0; transform: translateY(-5px) scale(0.85); }
    }

    .phone-orbit.one {
        width: 280px;
        height: 280px;
    }

    .phone-orbit.two {
        width: 200px;
        height: 200px;
    }
    
    .massive-text {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 20px;
    }

    .animated-metrics {
        flex-direction: column;
        gap: 12px;
    }

    .metric {
        padding: 15px 20px;
    }

    .metric span {
        font-size: 2.2rem;
    }

    .review-card {
        padding: 25px;
    }

    .quote {
        font-size: 1.1rem;
    }

    .orbit-system {
        display: none !important; /* Hide original 3D orbit on mobile */
    }

    .mobile-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
        max-width: 360px;
        padding: 0 20px;
        margin-top: 5vh;
        z-index: 10;
        margin-bottom: 30px;
    }

    .mobile-grid .orbit-icon {
        position: relative;
        top: auto;
        left: auto;
        margin: 0;
        transform: none;
        width: 100%;
        height: auto;
        padding: 16px;
        font-size: 1.05rem;
        background: rgba(15, 23, 42, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(12px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    }
    
    .mobile-grid .orbit-icon img {
        width: 24px;
        height: 24px;
        margin-right: 12px;
        object-fit: contain;
        filter: invert(1) brightness(2);
    }

    /* Pulsing Glow Animation */
    @keyframes grid-pulse {
        0%, 100% { 
            box-shadow: 0 8px 30px rgba(0,0,0,0.4);
            border-color: rgba(255, 255, 255, 0.1);
            background: rgba(15, 23, 42, 0.7);
        }
        50% { 
            box-shadow: 0 0 25px rgba(20, 184, 166, 0.4), inset 0 0 15px rgba(20, 184, 166, 0.1);
            border-color: rgba(20, 184, 166, 0.6);
            background: rgba(20, 184, 166, 0.15);
        }
    }

    .scene.active .mobile-grid .icon-1 { animation: grid-pulse 4s infinite 0.0s; }
    .scene.active .mobile-grid .icon-2 { animation: grid-pulse 4s infinite 0.6s; }
    .scene.active .mobile-grid .icon-3 { animation: grid-pulse 4s infinite 1.2s; }
    .scene.active .mobile-grid .icon-4 { animation: grid-pulse 4s infinite 1.8s; }
    .scene.active .mobile-grid .icon-5 { animation: grid-pulse 4s infinite 2.4s; }
    .scene.active .mobile-grid .icon-6 { animation: grid-pulse 4s infinite 3.0s; }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .pricing-card {
        width: 100%;
        max-width: 320px;
        padding: 20px 24px;
        transform: translateY(30px);
        margin-bottom: 5px;
    }

    .scene.active .pricing-card.highlight {
        transform: translateY(0) scale(1);
    }

    .pricing-card h3 {
        font-size: 1.8rem;
    }

    .plan-features li {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .outro-content h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 1rem;
    }

    .nav-btn {
        display: none !important;
    }

    .play-overlay h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .play-overlay p {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .overlay-actions {
        flex-direction: column;
        gap: 10px;
    }

    .play-overlay button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

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

/* Brand Logo Overrides */
.brand-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.brand-logo.large {
    width: 600px;
    max-width: 80vw;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.3));
}
.brand-logo.medium {
    width: 400px;
    max-width: 60vw;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.2));
}
.brand-logo.small {
    width: 250px;
    max-width: 40vw;
    margin-bottom: 15px;
}

/* Video Controls */
.video-controls {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    gap: 15px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: background 0.2s, transform 0.2s;
}

.video-controls button svg {
    width: 20px;
    height: 20px;
}

.video-controls button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Pause State */
body.is-paused * {
    animation-play-state: paused !important;
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}
.nav-btn:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}
.nav-btn svg {
    width: 28px;
    height: 28px;
}
.prev-btn { left: 32px; }
.next-btn { right: 32px; }

/* Branch Options */
.branch-options {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease 1s;
    pointer-events: none;
}
.scene.active .branch-options {
    opacity: 1;
    pointer-events: auto;
}
.branch-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}
.branch-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

/* Integrations Orbit */
.orbit-system {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8) rotateX(60deg);
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.16,1,0.3,1) 0.5s;
}
.scene.active .orbit-system {
    transform: scale(1) rotateX(45deg);
    opacity: 1;
}
.center-logo {
    width: 150px;
    z-index: 10;
    transform: rotateX(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
}
.center-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(56,189,248,0.5));
}
.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 50%;
    box-shadow: inset 0 0 40px rgba(14,165,233,0.05);
}
.ring-1 { width: 280px; height: 280px; animation: spin 20s linear infinite; }
.ring-2 { width: 440px; height: 440px; animation: spin-reverse 35s linear infinite; }
.ring-3 { width: 600px; height: 600px; animation: spin 50s linear infinite; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }

/* Laser Beams */
.laser-beam {
    position: absolute;
    z-index: 1;
}
.laser-beam.top { top: 0; left: 50%; width: 2px; height: 50%; transform: translateX(-50%); background: linear-gradient(to bottom, rgba(56,189,248,0.6), transparent); }
.laser-beam.bottom { bottom: 0; left: 50%; width: 2px; height: 50%; transform: translateX(-50%); background: linear-gradient(to top, rgba(56,189,248,0.6), transparent); }
.laser-beam.left { top: 50%; left: 0; width: 50%; height: 2px; transform: translateY(-50%); background: linear-gradient(to right, rgba(56,189,248,0.6), transparent); }
.laser-beam.right { top: 50%; right: 0; width: 50%; height: 2px; transform: translateY(-50%); background: linear-gradient(to left, rgba(56,189,248,0.6), transparent); }

/* Orbit Icons */
.orbit-icon {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    border: 1px solid rgba(56,189,248,0.3);
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(56,189,248,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    margin-left: -60px;
    margin-top: -22px;
    width: 120px;
    height: 44px;
    font-size: 0.9rem;
}
.orbit-icon img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    object-fit: contain;
    filter: invert(1) brightness(2);
}
.ring-1 .orbit-icon { animation: spin-reverse 20s linear infinite; }
.ring-2 .orbit-icon { animation: spin 35s linear infinite; }
.ring-3 .orbit-icon { animation: spin-reverse 50s linear infinite; }

.pos-top { top: 0; left: 50%; }
.pos-bottom { top: 100%; left: 50%; }
.pos-left { top: 50%; left: 0; }
.pos-right { top: 50%; left: 100%; }

/* Mobile Grid */
@media (min-width: 901px) {
    .mobile-grid {
        display: none;
    }
}

/* Testimonial */
.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.review-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--line);
    padding: 50px;
    border-radius: 24px;
    max-width: 600px;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    transform: translateY(60px);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16,1,0.3,1) 0.5s;
}
.scene.active .review-card {
    transform: translateY(0);
    opacity: 1;
}
.stars {
    color: #fbbf24;
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.quote {
    font-size: 1.6rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-light);
}
.author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}
.author-info strong { display: block; font-size: 1.1rem; }
.author-info span { color: var(--text-muted); font-size: 0.9rem; }

/* Plans */
.pricing-content { text-align: center; width: 100%; }
.pricing-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 44px;
}
.pricing-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    padding: 38px 34px;
    border-radius: 12px;
    width: 320px;
    transform: translateY(60px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.scene.active .pricing-card {
    transform: translateY(0);
    opacity: 1;
}
.pricing-card:nth-child(1) { transition-delay: 0.4s; }
.pricing-card:nth-child(2) { transition-delay: 0.6s; }
.pricing-card:nth-child(3) { transition-delay: 0.8s; }
.pricing-card.highlight {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.15), 0 20px 40px rgba(0, 0, 0, 0.4);
}
.scene.active .pricing-card.highlight {
    transform: translateY(-14px) scale(1.04);
}

/* Outline Button */
.cta-button.outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    box-shadow: none;
}
.cta-button.outline:hover {
    background: rgba(14,165,233,0.1);
}

/* Interactive Demo Mode overrides */
.interactive-mode .scene {
    pointer-events: auto !important;
}
.interactive-mode .timeline, .interactive-mode .play-overlay {
    display: none !important;
}

/* Pricing Feature Lists overrides */
.pricing-card h3 { font-size: 2.2rem; color: #f8fafc; margin-bottom: 5px; font-weight: 800; letter-spacing: 0; }
.plan-target { color: var(--secondary); font-weight: 500; margin-bottom: 30px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }
.plan-features { list-style: none; padding: 0; text-align: left; }
.plan-features li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text-muted); display: flex; align-items: center; font-size: 1.02rem; line-height: 1.35; }
.plan-features li::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.plan-features li:last-child { border-bottom: none; }
