/* Autoshift PRO — Cinematic Landing
   Premium Automotive Technology */

:root {
    --as-bg: #070809;
    --as-bg-elevated: #101214;
    --as-bg-soft: #16191d;
    --as-graphite: #1c2128;
    --as-line: rgba(255, 255, 255, 0.08);
    --as-line-strong: rgba(255, 255, 255, 0.16);
    --as-text: #f4f5f7;
    --as-muted: #9aa3af;
    --as-muted-2: #6b7280;
    --as-accent: #E67440;
    --as-accent-soft: rgba(230, 116, 64, 0.16);
    --as-accent-glow: rgba(230, 116, 64, 0.35);
    --as-white: #ffffff;
    --as-radius: 18px;
    --as-nav-h: 72px;
    --as-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --as-font-display: "Syne", sans-serif;
    --as-font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.as-cinematic {
    margin: 0;
    font-family: var(--as-font-body);
    color: var(--as-text);
    background: var(--as-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.as-cinematic .loader {
    display: none !important;
}

.as-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--as-accent);
    color: #fff;
    padding: 8px 14px;
    z-index: 10000;
}

.as-skip:focus {
    left: 12px;
    top: 12px;
}

.as-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.as-container-wide {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

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

.as-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--as-accent);
}

.as-display {
    font-family: var(--as-font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

.as-lead {
    color: var(--as-muted);
    font-size: clamp(16px, 1.5vw, 19px);
    max-width: 42rem;
    margin: 18px 0 0;
}

.as-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: transform 0.35s var(--as-ease), background 0.35s var(--as-ease), border-color 0.35s, box-shadow 0.35s;
    cursor: pointer;
}

.as-btn:hover {
    transform: translateY(-2px);
}

.as-btn-primary {
    background: var(--as-accent);
    color: #fff;
    box-shadow: 0 12px 40px var(--as-accent-glow);
}

.as-btn-primary:hover {
    background: #ef8352;
}

.as-btn-ghost {
    background: transparent;
    color: var(--as-text);
    border-color: var(--as-line-strong);
}

.as-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.as-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* ---------- NAV ---------- */
.as-nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--as-nav-h);
    z-index: 200;
    transition: background 0.35s var(--as-ease), border-color 0.35s, backdrop-filter 0.35s;
    border-bottom: 1px solid transparent;
}

.as-nav.is-scrolled {
    background: rgba(7, 8, 9, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--as-line);
}

.as-nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.as-logo img {
    display: block;
    height: 34px;
    width: auto;
}

.as-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.as-nav-links a {
    color: var(--as-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 0.25s, background 0.25s;
}

.as-nav-links a:hover,
.as-nav-links a.is-active {
    color: var(--as-text);
    background: rgba(255, 255, 255, 0.05);
}

.as-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.as-nav-cta {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
}

.as-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--as-line-strong);
    background: transparent;
    color: var(--as-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.as-icon-btn:hover {
    border-color: var(--as-accent);
    color: var(--as-accent);
}

.as-menu-btn {
    display: none;
}

.as-mobile-menu {
    display: none;
    position: fixed;
    top: var(--as-nav-h);
    right: 16px;
    left: 16px;
    background: rgba(16, 18, 20, 0.96);
    border: 1px solid var(--as-line);
    border-radius: 16px;
    padding: 12px;
    z-index: 199;
    backdrop-filter: blur(18px);
}

.as-mobile-menu.is-open {
    display: block;
}

.as-mobile-menu a {
    display: block;
    color: var(--as-text);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.as-mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ---------- HERO ---------- */
.as-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--as-nav-h) + 28px) 0 64px;
    overflow: hidden;
}

.as-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 55% at 75% 35%, rgba(230, 116, 64, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 80%, rgba(80, 100, 130, 0.12), transparent 60%),
        linear-gradient(180deg, #050607 0%, #0b0d10 45%, #070809 100%);
}

.as-hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.as-hero-orbit {
    position: absolute;
    right: -8%;
    top: 8%;
    width: min(62vw, 780px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.as-hero-orbit::before,
.as-hero-orbit::after {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px solid rgba(230, 116, 64, 0.12);
}

.as-hero-orbit::after {
    inset: 26%;
    border-color: rgba(255, 255, 255, 0.05);
}

.as-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.as-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
}

.as-hero-copy h1 {
    font-size: clamp(40px, 6.2vw, 78px);
    max-width: 11ch;
}

.as-hero-copy h1 span {
    display: block;
    color: var(--as-muted);
    font-weight: 600;
}

.as-hero-brand {
    font-family: var(--as-font-display);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--as-text);
    margin-bottom: 22px;
}

.as-hero-brand em {
    font-style: normal;
    color: var(--as-accent);
}

.as-hero-visual {
    position: relative;
    min-height: 420px;
    perspective: 1200px;
}

.as-device-desktop,
.as-device-phone {
    position: absolute;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    will-change: transform;
}

.as-device-desktop {
    inset: 4% 0 auto auto;
    width: 94%;
    transform: rotateY(-8deg) rotateX(4deg);
}

.as-device-desktop img,
.as-device-phone img {
    display: block;
    width: 100%;
    height: auto;
}

.as-device-phone {
    width: 40%;
    right: -4%;
    bottom: -6%;
    border-radius: 0;
    z-index: 3;
    transform: rotateY(-14deg) rotateX(5deg) translateY(20px);
    transform-origin: center bottom;
    box-shadow: none;
}

.as-hero-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    right: 10%;
    top: 20%;
    background: radial-gradient(circle, var(--as-accent-glow), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 1;
}

.as-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--as-muted-2);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.as-scroll-hint span {
    width: 1px;
    height: 42px;
    background: linear-gradient(to bottom, var(--as-accent), transparent);
    animation: asPulse 2.2s ease-in-out infinite;
}

@keyframes asPulse {
    0%, 100% { opacity: 0.25; transform: scaleY(0.7); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* reveal helpers */
.as-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--as-ease), transform 0.9s var(--as-ease);
}

.as-reveal.is-in {
    opacity: 1;
    transform: none;
}

.as-reveal-delay-1 { transition-delay: 0.08s; }
.as-reveal-delay-2 { transition-delay: 0.16s; }
.as-reveal-delay-3 { transition-delay: 0.24s; }
.as-reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- IMMERSION ---------- */
.as-immersion {
    position: relative;
    padding: 40px 0 20px;
}

.as-immersion-sticky {
    position: sticky;
    top: calc(var(--as-nav-h) + 8px);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - var(--as-nav-h) - 16px);
    padding: 12px 0;
}

.as-immersion-copy .as-lead {
    margin-top: 12px;
    font-size: 15px;
}

.as-immersion-copy h2 {
    font-size: clamp(34px, 4.8vw, 58px);
    max-width: 10ch;
    line-height: 1.05;
}

.as-feature-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.as-feature-list button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-left: 2px solid transparent;
    color: var(--as-muted-2);
    padding: 10px 0 10px 16px;
    cursor: pointer;
    font: inherit;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.as-feature-list button strong {
    display: block;
    font-family: var(--as-font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    color: inherit;
}

.as-feature-list button span {
    font-size: 14px;
    line-height: 1.45;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s var(--as-ease), opacity 0.35s;
}

.as-feature-list button.is-active {
    color: var(--as-text);
    border-left-color: var(--as-accent);
    background: linear-gradient(90deg, var(--as-accent-soft), transparent);
}

.as-feature-list button.is-active span {
    max-height: 80px;
    opacity: 1;
    margin-top: 6px;
    color: var(--as-muted);
}

.as-immersion-stage {
    position: relative;
    min-height: 0;
    max-height: calc(100vh - var(--as-nav-h) - 32px);
}

.as-stage-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    aspect-ratio: 16 / 10;
    max-height: calc(100vh - var(--as-nav-h) - 72px);
    width: 100%;
}

.as-stage-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.55s var(--as-ease), transform 0.7s var(--as-ease);
}

.as-stage-frame img.is-active {
    opacity: 1;
    transform: scale(1);
}

.as-stage-phone {
    position: absolute;
    width: min(38%, 230px);
    right: -4%;
    bottom: 2%;
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    z-index: 2;
    aspect-ratio: 9 / 17;
}

.as-stage-phone img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0;
    transition: opacity 0.45s var(--as-ease);
}

.as-stage-phone img.is-active {
    opacity: 1;
}

.as-immersion-spacer {
    height: 280vh;
}

/* ---------- JOURNEY ---------- */
.as-journey {
    padding: 120px 0;
    position: relative;
}

.as-journey-head {
    max-width: 720px;
    margin-bottom: 56px;
}

.as-journey-head h2 {
    font-size: clamp(34px, 4.6vw, 56px);
}

.as-journey-track {
    position: relative;
    display: grid;
    gap: 0;
}

.as-journey-line {
    position: absolute;
    left: 28px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--as-line);
}

.as-journey-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--as-accent), #f0a07a);
    transform-origin: top;
}

.as-journey-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
    padding: 36px 0;
    opacity: 0.45;
    transition: opacity 0.45s var(--as-ease);
}

.as-journey-step.is-active {
    opacity: 1;
}

.as-journey-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--as-line-strong);
    background: var(--as-bg);
    display: grid;
    place-items: center;
    font-family: var(--as-font-display);
    font-weight: 700;
    color: var(--as-muted);
    position: relative;
    z-index: 1;
    transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.as-journey-step.is-active .as-journey-dot {
    background: var(--as-accent);
    color: #fff;
    border-color: var(--as-accent);
    box-shadow: 0 0 0 8px var(--as-accent-soft);
}

.as-journey-text h3 {
    font-family: var(--as-font-display);
    font-size: clamp(22px, 2.4vw, 30px);
    margin: 0 0 10px;
}

.as-journey-text p {
    margin: 0;
    color: var(--as-muted);
    max-width: 36ch;
}

.as-journey-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--as-line);
    background: #fff;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.8s var(--as-ease);
}

.as-journey-step.is-active .as-journey-visual {
    clip-path: inset(0 0 0 0);
}

.as-journey-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
    background: transparent;
}

/* ---------- ECOSYSTEM ---------- */
.as-ecosystem {
    padding: 100px 0 120px;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(230, 116, 64, 0.08), transparent 60%),
        var(--as-bg);
}

.as-ecosystem-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.as-ecosystem-head .as-eyebrow {
    justify-content: center;
}

.as-ecosystem-head h2 {
    font-size: clamp(34px, 4.8vw, 58px);
}

.as-eco-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: stretch;
}

.as-eco-app {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px 40px;
    border: 1px solid var(--as-line);
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    overflow: hidden;
    min-height: 100%;
}

.as-eco-app::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--as-accent);
    opacity: 0.9;
}

.as-eco-app.client::before {
    background: #7aa2ff;
}

.as-eco-copy {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.as-eco-app h3 {
    font-family: var(--as-font-display);
    font-size: clamp(26px, 3vw, 34px);
    margin: 0 0 8px;
}

.as-eco-role {
    color: var(--as-muted);
    margin: 0 0 28px;
    font-size: 15px;
    min-height: 48px;
}

.as-eco-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    align-content: start;
}

.as-eco-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--as-text);
    font-size: 15px;
}

.as-eco-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 8px;
    flex: 0 0 auto;
    background: var(--as-accent);
}

.as-eco-app.client .as-eco-list li::before {
    background: #7aa2ff;
}

.as-eco-cta {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 28px;
    min-width: 132px;
    justify-content: center;
    text-align: center;
}

.as-eco-bridge {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--as-muted);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    align-self: center;
    width: 168px;
    min-width: 132px;
    margin: 0 -28px;
    padding: 0;
    z-index: 3;
    pointer-events: none;
}

.as-eco-bridge-line {
    position: relative;
    flex: 1 1 auto;
    height: 2px;
    min-height: 2px;
    min-width: 36px;
    overflow: visible;
}

.as-eco-bridge-line-left {
    background: linear-gradient(
        to right,
        transparent,
        rgba(230, 116, 64, 0.2) 15%,
        rgba(230, 116, 64, 0.85)
    );
    box-shadow: 0 0 12px rgba(230, 116, 64, 0.35);
}

.as-eco-bridge-line-right {
    background: linear-gradient(
        to right,
        rgba(122, 162, 255, 0.85),
        rgba(122, 162, 255, 0.2) 85%,
        transparent
    );
    box-shadow: 0 0 12px rgba(122, 162, 255, 0.35);
}

.as-eco-bridge-pulse {
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--as-accent);
    box-shadow: 0 0 14px rgba(230, 116, 64, 0.9);
    animation: as-eco-flow-x-in 2.2s linear infinite;
}

.as-eco-bridge-pulse-2 {
    animation-delay: 1.1s;
}

.as-eco-bridge-line-right .as-eco-bridge-pulse {
    background: #7aa2ff;
    box-shadow: 0 0 14px rgba(122, 162, 255, 0.9);
    animation-name: as-eco-flow-x-in-left;
}

.as-eco-bridge-line-right .as-eco-bridge-pulse:not(.as-eco-bridge-pulse-2) {
    animation-delay: 0.35s;
}

.as-eco-bridge-line-right .as-eco-bridge-pulse-2 {
    animation-delay: 1.45s;
}

.as-eco-sync {
    position: relative;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.as-eco-sync::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 116, 64, 0.22), rgba(122, 162, 255, 0.12) 55%, transparent 70%);
    animation: as-eco-glow 2.8s var(--as-ease) infinite;
}

.as-eco-sync-core {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(16, 18, 20, 0.95);
    border: 1px solid rgba(230, 116, 64, 0.55);
    color: var(--as-text);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow:
        0 0 0 1px rgba(122, 162, 255, 0.25),
        0 0 28px rgba(230, 116, 64, 0.3),
        0 0 40px rgba(122, 162, 255, 0.18);
}

.as-eco-sync-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(230, 116, 64, 0.6);
    animation: as-eco-ring 2.6s var(--as-ease) infinite;
}

.as-eco-sync-ring-2 {
    border-color: rgba(122, 162, 255, 0.55);
    animation-delay: 0.85s;
}

.as-eco-sync-ring-3 {
    inset: -8px;
    border-color: rgba(255, 255, 255, 0.18);
    animation-delay: 1.7s;
    animation-duration: 3.2s;
}

@keyframes as-eco-ring {
    0% {
        transform: scale(0.7);
        opacity: 0.9;
    }
    70% {
        opacity: 0.2;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes as-eco-glow {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.92);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes as-eco-flow-y-in {
    0% {
        top: -8%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        top: 108%;
        opacity: 0;
    }
}

@keyframes as-eco-flow-y-in-up {
    0% {
        top: 108%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        top: -8%;
        opacity: 0;
    }
}

@keyframes as-eco-flow-x-in {
    0% {
        left: -8%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        left: 108%;
        opacity: 0;
    }
}

@keyframes as-eco-flow-x-in-left {
    0% {
        left: 108%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        left: -8%;
        opacity: 0;
    }
}

.as-eco-preview {
    position: relative;
    margin-top: 28px;
    border-radius: 12px;
    overflow: visible;
    border: none;
    background: transparent;
    height: 420px;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 0 0 auto;
}

.as-eco-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.as-eco-preview-duo {
    width: 100%;
    perspective: 900px;
}

.as-eco-preview-duo .as-eco-desktop {
    position: absolute;
    left: 0;
    bottom: 36px;
    width: 86%;
    margin: 0;
    border-radius: 12px;
    opacity: 0.92;
    z-index: 1;
}

.as-eco-preview-duo .as-eco-phone,
.as-eco-preview-client .as-eco-phone {
    position: relative;
    z-index: 2;
    width: 196px;
    max-width: 196px;
    height: 380px;
    margin: 0;
    object-fit: cover;
    object-position: top center;
    border-radius: 28px;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.as-eco-preview-duo .as-eco-phone {
    margin-left: auto;
    margin-right: 2%;
}

.as-eco-preview-client {
    width: 100%;
}

.as-eco-preview-client .as-eco-phone {
    margin: 0 auto;
}

/* ---------- SHOWCASE ---------- */
.as-showcase {
    padding: 80px 0 120px;
    overflow: hidden;
}

.as-showcase-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: end;
    margin-bottom: 48px;
}

.as-showcase-head h2 {
    font-size: clamp(34px, 4.8vw, 56px);
}

.as-showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.as-showcase-tabs button {
    border: 1px solid var(--as-line-strong);
    background: transparent;
    color: var(--as-muted);
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.as-showcase-tabs button.is-active {
    color: #fff;
    background: var(--as-accent);
    border-color: var(--as-accent);
}

.as-showcase-stage {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}

.as-phone-stack {
    position: relative;
    width: min(100%, 980px);
    height: 560px;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--as-ease), visibility 0.35s;
}

.as-phone-frame {
    position: absolute;
    top: 40px;
    width: min(260px, 28vw);
    aspect-ratio: 9 / 17;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.45s var(--as-ease), opacity 0.35s;
}

.as-phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.as-phone-frame:nth-child(1) {
    left: 10%;
    transform: rotate(-7deg);
    z-index: 1;
    opacity: 0.72;
}

.as-phone-frame:nth-child(2) {
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    z-index: 3;
    width: min(280px, 30vw);
    opacity: 1;
}

.as-phone-frame:nth-child(3) {
    right: 10%;
    left: auto;
    transform: rotate(7deg);
    z-index: 2;
    opacity: 0.72;
}

.as-desktop-frame {
    position: absolute;
    width: min(78%, 820px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -46%) scale(0.98);
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.35s var(--as-ease), transform 0.45s var(--as-ease), visibility 0.35s;
}

.as-desktop-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.as-showcase-stage[data-mode="desktop"] .as-phone-stack {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.as-showcase-stage[data-mode="desktop"] .as-desktop-frame {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.as-showcase-stage[data-mode="phone"] .as-desktop-frame {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ---------- BENEFITS ---------- */
.as-benefits {
    padding: 100px 0 120px;
    border-top: 1px solid var(--as-line);
}

.as-benefits-head {
    margin-bottom: 64px;
    max-width: 18ch;
}

.as-benefits-head h2 {
    font-size: clamp(40px, 6vw, 72px);
}

.as-benefits-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px 24px;
}

.as-benefit {
    padding: 28px 0;
    border-top: 1px solid var(--as-line);
}

.as-benefit:nth-child(1) { grid-column: 1 / 7; }
.as-benefit:nth-child(2) { grid-column: 8 / 13; }
.as-benefit:nth-child(3) { grid-column: 1 / 5; }
.as-benefit:nth-child(4) { grid-column: 5 / 9; }
.as-benefit:nth-child(5) { grid-column: 9 / 13; }
.as-benefit:nth-child(6) { grid-column: 3 / 11; }

.as-benefit-index {
    font-family: var(--as-font-display);
    color: var(--as-accent);
    font-size: 14px;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}

.as-benefit h3 {
    font-family: var(--as-font-display);
    font-size: clamp(24px, 2.8vw, 36px);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.as-benefit p {
    margin: 0;
    color: var(--as-muted);
    max-width: 36ch;
}

/* ---------- WHY (ответы на сомнения) ---------- */
.as-why {
    padding: 100px 0 120px;
    border-top: 1px solid var(--as-line);
}

.as-why-head {
    max-width: 820px;
    margin-bottom: 56px;
}

.as-why-head h2 {
    font-size: clamp(34px, 5vw, 60px);
}

.as-why-lead {
    color: var(--as-muted);
    font-size: 18px;
    margin: 16px 0 0;
}

.as-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.as-why-card {
    padding: 28px;
    border-radius: var(--as-radius);
    border: 1px solid var(--as-line);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s;
}

.as-why-card:hover {
    border-color: var(--as-line-strong);
}

.as-why-index {
    font-family: var(--as-font-display);
    color: var(--as-accent);
    font-size: 14px;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
}

.as-why-card h3 {
    font-family: var(--as-font-display);
    font-size: clamp(22px, 2.2vw, 28px);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.as-why-card p {
    margin: 0;
    color: var(--as-muted);
}

.as-why-card .as-why-doubt {
    font-style: italic;
    color: var(--as-text);
    opacity: 0.8;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 2px solid var(--as-accent);
}

.as-why-roi {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    border-radius: var(--as-radius);
    border: 1px solid rgba(230, 116, 64, 0.45);
    background: linear-gradient(90deg, var(--as-accent-soft), transparent 70%);
}

.as-why-roi-num {
    font-family: var(--as-font-display);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--as-accent);
    white-space: nowrap;
}

.as-why-roi-num span {
    font-size: 0.4em;
    color: var(--as-text);
    letter-spacing: 0;
}

.as-why-roi p {
    margin: 0;
    font-size: 18px;
    max-width: 44ch;
}

.as-why-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 48px;
}

@media (max-width: 767px) {
    .as-why {
        padding: 72px 0 84px;
    }

    .as-why-grid {
        grid-template-columns: 1fr;
    }

    .as-why-card {
        padding: 22px;
    }

    .as-why-roi {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 24px;
    }

    .as-why-cta .as-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- PRICING ---------- */
.as-pricing {
    padding: 100px 0 120px;
    background: var(--as-bg-elevated);
}

.as-pricing-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.as-pricing-head .as-eyebrow {
    justify-content: center;
}

.as-pricing-head h2 {
    font-size: clamp(34px, 4.6vw, 54px);
}

.as-pricing-note {
    color: var(--as-muted);
    margin-top: 12px;
}

.as-pricing-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--as-line);
    background: rgba(0, 0, 0, 0.25);
    margin: 0 auto 40px;
}

.as-pricing-tabs-wrap {
    display: flex;
    justify-content: center;
}

.as-pricing-tabs button {
    border: 0;
    background: transparent;
    color: var(--as-muted);
    border-radius: 999px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.as-pricing-tabs button.is-active {
    background: var(--as-accent);
    color: #fff;
}

.as-pricing-tabs .as-save {
    position: absolute;
    top: -10px;
    right: -6px;
    background: #fff;
    color: #111;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 800;
}

.as-pricing-period {
    display: none;
}

.as-pricing-period.is-active {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.as-plan {
    position: relative;
    padding: 32px 28px;
    border-radius: 24px;
    border: 1px solid var(--as-line);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: border-color 0.3s, transform 0.35s var(--as-ease), background 0.3s;
}

.as-plan:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.as-plan.is-popular {
    border-color: rgba(230, 116, 64, 0.55);
    background:
        linear-gradient(180deg, rgba(230, 116, 64, 0.12), transparent 40%),
        rgba(255, 255, 255, 0.02);
}

.as-plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    background: var(--as-accent);
    padding: 6px 10px;
    border-radius: 999px;
}

.as-plan h3 {
    font-family: var(--as-font-display);
    font-size: 28px;
    margin: 0 0 12px;
}

.as-plan-price {
    font-family: var(--as-font-display);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.as-plan-price span {
    font-size: 16px;
    color: var(--as-muted);
    font-weight: 600;
    letter-spacing: 0;
}

.as-plan-old {
    color: var(--as-muted-2);
    text-decoration: line-through;
    font-size: 15px;
    margin-bottom: 6px;
}

.as-plan-save {
    color: var(--as-accent);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
}

.as-plan ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 10px;
    flex: 1;
}

.as-plan li {
    font-size: 14px;
    color: var(--as-muted);
}

.as-plan li.ok {
    color: var(--as-text);
}

.as-plan li.ok::before {
    content: "✓ ";
    color: #4ade80;
}

.as-plan li.no::before {
    content: "✕ ";
    color: #f87171;
}

.as-plan li.head {
    color: var(--as-accent);
    font-weight: 700;
}

.as-plan-audience {
    color: var(--as-muted-2);
    font-size: 13px;
    margin: 0 0 20px;
}

/* ---------- FINAL CTA ---------- */
.as-final {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    text-align: center;
}

.as-final-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 30%, rgba(230, 116, 64, 0.2), transparent 60%),
        radial-gradient(ellipse 40% 30% at 20% 80%, rgba(122, 162, 255, 0.08), transparent 60%),
        linear-gradient(180deg, #070809, #0d1014 50%, #070809);
}

.as-final-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.as-final h2 {
    font-size: clamp(36px, 5.5vw, 64px);
}

.as-final .as-lead {
    margin-left: auto;
    margin-right: auto;
}

.as-final-apps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.as-final-logo {
    margin-top: 48px;
    opacity: 0.9;
}

.as-final-logo img {
    height: 36px;
    width: auto;
}

/* ---------- SOCIAL / FAQ / FOOTER ---------- */
.as-social {
    padding: 80px 0;
    border-top: 1px solid var(--as-line);
}

.as-social h2,
.as-faq h2,
.as-related h2 {
    font-family: var(--as-font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    margin: 0 0 28px;
}

.as-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.as-review {
    padding: 24px;
    border: 1px solid var(--as-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

.as-review .stars {
    color: #f59e0b;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.as-review p {
    margin: 0 0 16px;
    color: var(--as-muted);
    font-size: 14px;
}

.as-review .author {
    font-weight: 700;
    font-size: 14px;
}

.as-aggregate {
    margin-bottom: 24px;
    color: var(--as-muted);
}

.as-play-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--as-accent);
    text-decoration: none;
    font-weight: 700;
}

.as-related {
    padding: 40px 0 80px;
}

.as-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.as-related-links a {
    color: var(--as-muted);
    text-decoration: none;
    border: 1px solid var(--as-line);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.as-related-links a:hover {
    color: var(--as-text);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.as-faq {
    padding: 40px 0 100px;
}

.as-faq-item {
    border-top: 1px solid var(--as-line);
    padding: 0;
}

.as-faq-item:last-child {
    border-bottom: 1px solid var(--as-line);
}

.as-faq-item h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.as-faq-item h3 i {
    color: var(--as-muted);
    transition: transform 0.3s;
}

.as-faq-item.open h3 i {
    transform: rotate(180deg);
}

.as-faq-answer {
    display: none;
    margin: 0;
    padding: 0 0 20px;
    color: var(--as-muted);
}

.as-faq-item.open .as-faq-answer {
    display: block;
}

.as-faq-answer a {
    color: var(--as-accent);
}

.as-footer {
    border-top: 1px solid var(--as-line);
    padding: 64px 0 28px;
    background: #050607;
}

.as-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.as-footer h4,
.as-footer h5 {
    margin: 0 0 14px;
    font-family: var(--as-font-display);
    font-size: 16px;
}

.as-footer p,
.as-footer a {
    color: var(--as-muted);
    font-size: 14px;
    text-decoration: none;
}

.as-footer a {
    display: block;
    margin-bottom: 8px;
}

.as-footer a:hover {
    color: var(--as-text);
}

.as-footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--as-line);
    color: var(--as-muted-2);
    font-size: 13px;
}

.as-scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--as-line-strong);
    background: rgba(16, 18, 20, 0.9);
    color: var(--as-text);
    display: none;
    place-items: center;
    cursor: pointer;
    z-index: 180;
}

.as-scroll-top.is-visible {
    display: grid;
}

/* ---------- MOBILE ---------- */
@media (max-width: 1024px) {
    .as-hero-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .as-hero-visual {
        min-height: 320px;
    }

    .as-device-desktop {
        transform: none;
        width: 88%;
        left: 0;
        right: auto;
    }

    .as-immersion-sticky {
        grid-template-columns: 1fr;
        position: relative;
        top: auto;
        min-height: auto;
    }

    .as-immersion-spacer {
        display: none;
    }

    .as-journey-step {
        grid-template-columns: 48px 1fr;
    }

    .as-journey-visual {
        grid-column: 2;
    }

    .as-eco-grid {
        grid-template-columns: 1fr auto 1fr;
        gap: 10px;
    }

    .as-eco-app {
        padding: 28px 22px 32px;
    }

    .as-eco-bridge {
        width: 120px;
        min-width: 96px;
        margin: 0 -18px;
    }

    .as-eco-sync {
        width: 72px;
        height: 72px;
    }

    .as-eco-sync-core {
        width: 46px;
        height: 46px;
        font-size: 10px;
    }

    .as-eco-cta {
        min-width: 120px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .as-eco-preview {
        height: 340px;
        min-height: 340px;
    }

    .as-eco-preview-duo .as-eco-phone,
    .as-eco-preview-client .as-eco-phone {
        width: 156px;
        max-width: 156px;
        height: 302px;
    }

    .as-showcase-head {
        grid-template-columns: 1fr;
    }

    .as-showcase-tabs {
        justify-content: flex-start;
    }

    .as-pricing-period.is-active {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .as-reviews-grid {
        grid-template-columns: 1fr;
    }

    .as-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .as-benefits-grid {
        grid-template-columns: 1fr;
    }

    .as-benefit:nth-child(n) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .as-nav-links,
    .as-nav-cta {
        display: none;
    }

    .as-menu-btn {
        display: inline-flex;
    }

    .as-hero {
        padding-top: calc(var(--as-nav-h) + 20px);
        padding-bottom: 48px;
        align-items: flex-start;
        min-height: auto;
    }

    .as-hero-copy h1 {
        max-width: none;
        font-size: clamp(32px, 9vw, 42px);
    }

    .as-hero-visual {
        min-height: 240px;
        margin-top: 8px;
    }

    .as-device-phone {
        width: 40%;
        bottom: -2%;
        right: 0;
    }

    .as-hero-brand {
        margin-bottom: 14px;
    }

    .as-btn-row {
        margin-top: 22px;
    }

    .as-scroll-hint {
        display: none;
    }

    .as-feature-list button span {
        max-height: none;
        opacity: 1;
        margin-top: 6px;
        color: var(--as-muted);
    }

    .as-immersion-stage {
        min-height: 0;
    }

    .as-stage-frame {
        aspect-ratio: 16 / 11;
    }

    .as-stage-phone {
        display: none;
    }

    .as-phone-stack {
        height: 460px;
    }

    .as-phone-frame:nth-child(1),
    .as-phone-frame:nth-child(3) {
        display: none;
    }

    .as-phone-frame:nth-child(2) {
        width: min(240px, 70vw);
    }

    .as-showcase-stage {
        min-height: 460px;
    }

    .as-footer-grid {
        grid-template-columns: 1fr;
    }

    .as-btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    .as-btn {
        width: 100%;
    }

    .as-eco-cta {
        width: auto;
        max-width: 100%;
        align-self: flex-start;
    }
}

@media (max-width: 900px) {
    .as-eco-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .as-eco-bridge {
        flex-direction: column;
        align-self: center;
        width: auto;
        min-width: 0;
        height: 120px;
        margin: 0;
        padding: 4px 0;
    }

    .as-eco-bridge-line {
        width: 2px;
        min-width: 2px;
        height: auto;
        min-height: 28px;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .as-eco-bridge-line-left {
        background: linear-gradient(
            to bottom,
            transparent,
            rgba(230, 116, 64, 0.2) 15%,
            rgba(230, 116, 64, 0.85)
        );
        box-shadow: 0 0 12px rgba(230, 116, 64, 0.35);
    }

    .as-eco-bridge-line-right {
        background: linear-gradient(
            to bottom,
            rgba(122, 162, 255, 0.85),
            rgba(122, 162, 255, 0.2) 85%,
            transparent
        );
        box-shadow: 0 0 12px rgba(122, 162, 255, 0.35);
    }

    .as-eco-bridge-pulse {
        left: 50%;
        top: auto;
        margin-left: -3.5px;
        margin-top: 0;
        animation-name: as-eco-flow-y-in;
    }

    .as-eco-bridge-line-right .as-eco-bridge-pulse {
        animation-name: as-eco-flow-y-in-up;
    }

    .as-eco-preview {
        height: 300px;
        min-height: 300px;
    }

    .as-eco-preview-duo .as-eco-phone,
    .as-eco-preview-client .as-eco-phone {
        width: 148px;
        max-width: 148px;
        height: 286px;
    }
}

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

    .as-reveal,
    .as-device-desktop,
    .as-device-phone,
    .as-journey-visual,
    .as-stage-frame img,
    .as-phone-frame,
    .as-eco-sync-ring,
    .as-eco-sync::before,
    .as-eco-bridge-pulse {
        transition: none !important;
        animation: none !important;
    }

    .as-reveal {
        opacity: 1;
        transform: none;
    }
}
