/* =====================================================
   ЦЕЛИКОМ - WMS для фулфилментов
   Стили сайта (на основе Lovable дизайна)
   ===================================================== */

/* CSS Variables - цветовая схема Lovable */
:root {
    /* Основные цвета */
    --primary: hsl(248, 53%, 15%);           /* Тёмно-фиолетовый #1E1145 */
    --primary-light: hsl(248, 35%, 25%);     /* Светлее */
    --primary-foreground: hsl(0, 0%, 100%);  /* Белый текст на primary */
    
    --background: hsl(0, 0%, 100%);          /* Белый фон */
    --foreground: hsl(240, 24%, 10%);        /* Почти чёрный текст */
    
    --secondary: hsl(220, 14%, 96%);         /* Светло-серый */
    --secondary-foreground: hsl(240, 24%, 10%);
    
    --muted: hsl(220, 14%, 96%);
    --muted-foreground: hsl(220, 9%, 46%);   /* Серый текст */
    
    --accent: hsl(248, 53%, 15%);
    --accent-foreground: hsl(0, 0%, 100%);
    
    --border: hsl(220, 13%, 91%);
    --input: hsl(220, 13%, 91%);
    
    --section-light: hsl(0, 0%, 100%);
    --section-gray: hsl(220, 14%, 97%);
    
    /* Типографика */
    --font-family: 'Inter', system-ui, sans-serif;
    
    /* Радиусы */
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Отступы */
    --section-padding-y: 5rem;
    --container-padding-x: 1rem;
    --container-max: 80rem;

    /* Fixed header height (for sticky math) */
    --header-h: 64px;
}

@media (min-width: 640px) {
    :root {
        --container-padding-x: 1.5rem;
    }
}

@media (min-width: 768px) {
    :root {
        --section-padding-y: 7rem;
        --header-h: 72px;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-padding-y: 8rem;
        --container-padding-x: 2rem;
    }
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

section,
.hero,
.trust,
.support-section {
    scroll-margin-top: 90px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container-wide {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container-max);
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}

/* Narrow container (Apple-style text width) */
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 68rem;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}

/* Section padding */
.section-padding {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

/* =====================================================
   APPLE-LIKE DESIGN SYSTEM LAYER
   ===================================================== */
.section {
    padding: 7rem 0;
}

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

.section--learn {
    background: linear-gradient(180deg, var(--section-gray) 0%, var(--background) 100%);
}

.section--how {
    background: var(--section-gray);
}

.section--pricing {
    background: linear-gradient(180deg, var(--background) 0%, var(--section-gray) 100%);
}

.section--contact {
    background: var(--section-gray);
}

.section--better {
    background: linear-gradient(180deg, var(--section-gray) 0%, var(--background) 100%);
}

/* =====================================================
   BETTER (Apple-like story visuals)
   ===================================================== */
.better-story .story__container {
    height: 300vh;
}

.better-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: radial-gradient(720px 320px at 15% 10%, rgba(99,102,241,0.16), transparent 60%),
                radial-gradient(620px 260px at 85% 20%, rgba(34,197,94,0.12), transparent 62%),
                var(--background);
    padding: 1.25rem 1.25rem;
    box-shadow: 0 40px 110px -95px rgba(0,0,0,0.75);
    display: grid;
    gap: 1rem;
}

.better-panel__head {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.better-panel__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 950;
    color: var(--primary);
    background: color-mix(in hsl, var(--primary) 12%, var(--background) 88%);
}

.better-panel__icon--violet {
    color: white;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.better-panel__icon--green {
    color: white;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.better-panel__icon--ink {
    color: white;
    background: linear-gradient(135deg, #0b1220 0%, #111827 100%);
    box-shadow: 0 18px 55px -45px rgba(0,0,0,0.8);
}

.better-panel__title {
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.25rem;
}

.better-panel__sub {
    color: var(--muted-foreground);
    line-height: 1.55;
}

.better-panel__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

@media (min-width: 768px) {
    .better-panel__grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }
}

.better-chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.55rem 0.75rem;
    background: color-mix(in hsl, var(--background) 70%, var(--section-gray) 30%);
    font-weight: 750;
    color: var(--foreground);
    letter-spacing: -0.01em;
    box-shadow: 0 18px 55px -55px rgba(0,0,0,0.7);
}

.better-timeline {
    display: grid;
    gap: 0.55rem;
}

.better-tl {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 0.65rem;
    align-items: center;
    color: var(--muted-foreground);
}

.better-tl__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 70%, var(--primary) 30%);
}

.better-tl--accent {
    color: var(--foreground);
    font-weight: 800;
}

.better-tl--accent .better-tl__dot {
    background: var(--primary);
}

.better-chat {
    display: grid;
    gap: 0.55rem;
}

.better-bubble {
    max-width: 78%;
    padding: 0.65rem 0.8rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: color-mix(in hsl, var(--background) 70%, var(--section-gray) 30%);
    color: var(--foreground);
    line-height: 1.35;
    box-shadow: 0 20px 60px -55px rgba(0,0,0,0.75);
}

.better-bubble--in {
    justify-self: start;
}

.better-bubble--out {
    justify-self: end;
    background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
    border-color: transparent;
    color: white;
}

/* Release board (slide 02) */
.better-release {
    position: relative;
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .better-release {
        grid-template-columns: 1.35fr 0.65fr;
        gap: 1rem;
        align-items: start;
    }
}

.better-release__feed {
    display: grid;
    gap: 0.6rem;
}

.better-release__item {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0.75rem 0.85rem;
    background:
        radial-gradient(420px 180px at 20% 10%, hsl(270 90% 60% / 0.14), transparent 60%),
        color-mix(in hsl, var(--background) 74%, var(--section-gray) 26%);
    box-shadow: 0 26px 70px -70px rgba(0,0,0,0.75);
}

.better-release__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: white;
    width: fit-content;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6 0%, #4338ca 100%);
}

.better-release__name {
    margin-top: 0.45rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.better-release__meta {
    margin-top: 0.25rem;
    color: var(--muted-foreground);
    font-size: 0.92rem;
    line-height: 1.4;
}

.better-release__rail {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0.85rem 0.85rem;
    background:
        radial-gradient(520px 220px at 30% 20%, rgba(99,102,241,0.14), transparent 62%),
        color-mix(in hsl, var(--background) 78%, var(--section-gray) 22%);
    overflow: hidden;
    position: relative;
}

.better-release__rail::after {
    content: "";
    position: absolute;
    inset: -60% -60%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 55%);
    transform: rotate(18deg);
    opacity: 0.9;
    pointer-events: none;
}

.better-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.better-rail__node {
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in hsl, var(--background) 72%, var(--section-gray) 28%);
    color: var(--muted-foreground);
}

.better-rail__node.is-done {
    border-color: color-mix(in hsl, var(--primary) 35%, var(--border) 65%);
    color: var(--foreground);
}

.better-rail__node.is-active {
    border-color: transparent;
    color: white;
    background: linear-gradient(135deg, #8b5cf6 0%, #4338ca 100%);
    box-shadow: 0 20px 60px -55px rgba(0,0,0,0.75);
}

.better-mini-bars {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.55rem;
    position: relative;
    z-index: 1;
}

.better-mini-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
    align-items: center;
}

.better-mini-bar em {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--muted-foreground);
    white-space: nowrap;
}

.better-mini-bar span {
    height: 10px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 70%, transparent 30%);
    overflow: hidden;
    position: relative;
}

.better-mini-bar span::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(99,102,241,0.95), rgba(34,197,94,0.9));
    transform-origin: left;
    transform: scaleX(0.001);
    transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated reveal inside active story panel */
.better-panel--release .better-release__item,
.better-panel--release .better-mini-bar,
.better-panel--release .better-rail__node {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-panel.is-active .better-panel--release .better-release__item,
.story-panel.is-active .better-panel--release .better-mini-bar,
.story-panel.is-active .better-panel--release .better-rail__node {
    opacity: 1;
    transform: translateY(0);
}

.story-panel.is-active .better-panel--release .better-release__item:nth-child(1) { transition-delay: 60ms; }
.story-panel.is-active .better-panel--release .better-release__item:nth-child(2) { transition-delay: 120ms; }
.story-panel.is-active .better-panel--release .better-release__item:nth-child(3) { transition-delay: 180ms; }

.story-panel.is-active .better-panel--release .better-rail__node:nth-child(1) { transition-delay: 90ms; }
.story-panel.is-active .better-panel--release .better-rail__node:nth-child(2) { transition-delay: 130ms; }
.story-panel.is-active .better-panel--release .better-rail__node:nth-child(3) { transition-delay: 170ms; }
.story-panel.is-active .better-panel--release .better-rail__node:nth-child(4) { transition-delay: 210ms; }

.story-panel.is-active .better-panel--release .better-mini-bar:nth-child(1) { transition-delay: 220ms; }
.story-panel.is-active .better-panel--release .better-mini-bar:nth-child(2) { transition-delay: 260ms; }
.story-panel.is-active .better-panel--release .better-mini-bar:nth-child(3) { transition-delay: 300ms; }

.story-panel.is-active .better-panel--release .better-mini-bar span::before {
    transform: scaleX(var(--v, 1));
}

@media (prefers-reduced-motion: no-preference) {
    .story-panel.is-active .better-panel--release .better-release__rail::after {
        animation: betterRailSheen 2.6s ease-in-out infinite;
    }

    @keyframes betterRailSheen {
        0% { transform: rotate(18deg) translate3d(-18px, 0, 0); opacity: 0.6; }
        50% { transform: rotate(18deg) translate3d(18px, 0, 0); opacity: 0.95; }
        100% { transform: rotate(18deg) translate3d(-18px, 0, 0); opacity: 0.6; }
    }
}

.center-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.section-head {
    max-width: 52rem;
    margin-bottom: 3.25rem;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.h2 {
    font-size: 2.1rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .h2 {
        font-size: 3.4rem;
    }
}

.h3 {
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .h3 {
        font-size: 1.35rem;
    }
}

.lead {
    font-size: 1.05rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}

@media (min-width: 768px) {
    .lead {
        font-size: 1.15rem;
    }
}

.text {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reveal animation for data-animate */
[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Cards */
.cards-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cards-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card--soft {
    background: color-mix(in hsl, var(--background) 70%, var(--section-gray) 30%);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px -25px rgba(0,0,0,0.25);
    border-color: color-mix(in hsl, var(--primary) 35%, var(--border) 65%);
}

.card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in hsl, var(--primary) 12%, var(--background) 88%);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.step {
    display: flex;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.5rem;
}

.step__num {
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    min-width: 48px;
}

.step__body p {
    margin: 0;
}

/* Pills and mini rows (story visual) */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--foreground);
    font-size: 0.8rem;
    font-weight: 600;
}

.pill--muted {
    color: var(--muted-foreground);
    background: var(--section-gray);
}

.ok {
    color: #16a34a;
}

.panel-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    box-shadow: 0 22px 55px -35px rgba(0,0,0,0.35);
    overflow: hidden;
}

.panel-card__header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--section-gray);
}

.panel-card__body {
    padding: 1.25rem;
    display: grid;
    gap: 0.75rem;
}

.mini-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--muted-foreground);
}

.mini-row strong {
    color: var(--foreground);
    font-weight: 700;
}

/* =====================================================
   FEATURES STORY (Sticky)
   ===================================================== */
.story__container {
    position: relative;
    height: 320vh;
}

.story__sticky {
    position: sticky;
    top: 88px;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 1023px) {
    .story__container {
        height: auto;
    }
    .story__sticky {
        position: relative;
        top: auto;
        min-height: auto;
        padding: 0 0;
    }
    .story__progress {
        display: none;
    }
}

.story__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .story__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

.story__steps {
    display: grid;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.story-step {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.25rem 1.25rem;
    opacity: 0.55;
    transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.story-step.is-active {
    opacity: 1;
    transform: translateY(-2px);
    border-color: color-mix(in hsl, var(--primary) 35%, var(--border) 65%);
    box-shadow: 0 25px 60px -45px rgba(0,0,0,0.45);
}

.story-step__kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.story-step__title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.story-step__text {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    line-height: 1.55;
}

.story__visual {
    position: relative;
    min-height: 320px;
}

.story-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

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

@media (max-width: 1023px) {
    .story__visual {
        min-height: auto;
    }
    .story-panel {
        position: relative;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        margin-top: 1.25rem;
    }
    .story-panel:not(.is-active) {
        display: none;
    }
}

.story__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 4px;
    background: color-mix(in hsl, var(--border) 70%, transparent 30%);
    border-radius: 9999px;
    overflow: hidden;
}

.story__progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 9999px;
    transition: width 0.08s linear;
}

/* =====================================================
   PRICING STORY
   ===================================================== */
.pricing-story__container {
    position: relative;
}

.pricing-story__sticky {
    top: 88px;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: stretch;
    overflow: hidden; /* viewport for vertical “slide” */
}

/* Desktop: viewport-like container (JS translates stages vertically) */
@media (min-width: 1024px) {
    .pricing-story__sticky > .container-wide {
        position: relative;
        width: 100%;
        min-height: calc(100vh - 88px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-story__progress span {
        transition: none;
    }
}

@media (max-width: 1023px) {
    .pricing-story__container {
        height: auto;
    }
    .pricing-story__sticky {
        position: relative;
        top: auto;
        min-height: auto;
    }
    .pricing-stage {
        display: block;
    }
    .pricing-stage + .pricing-stage {
        margin-top: 1.25rem;
    }
    .pricing-story__progress {
        display: none;
    }
}

.pricing-stage {
    width: 100%;
}

@media (min-width: 1024px) {
    .pricing-stage {
        inset: 0;
        will-change: transform, opacity;
    }
}

.plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .plans {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.plan {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 2rem 1.75rem;
    position: relative;
    box-shadow: 0 18px 55px -40px rgba(0,0,0,0.35);
}

.plan--soft {
    background: color-mix(in hsl, var(--background) 70%, var(--section-gray) 30%);
}

.plan--featured {
    border-color: color-mix(in hsl, var(--primary) 45%, var(--border) 55%);
    box-shadow: 0 30px 80px -55px rgba(30,17,69,0.6);
    background-color: #cdd3f8;
}
[data-theme=dark] .plan--featured {
    background-color: #0b1655;
}

.plan.is-picked {
    border-color: color-mix(in hsl, var(--primary) 65%, var(--border) 35%);
    box-shadow: 0 42px 110px -85px rgba(30,17,69,0.9);
}

[data-plan-pick].is-picked {
    filter: saturate(1.05);
}

.plan__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    background: var(--primary);
    color: var(--primary-foreground);
}

.plan__title {
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.plan__price {
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.plan__desc {
    color: var(--muted-foreground);
    line-height: 1.55;
    margin: 0;
}

.compare {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--background);
    box-shadow: 0 25px 70px -55px rgba(0,0,0,0.55);
    will-change: transform, opacity;
}

.compare__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--section-gray);
    border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
    .compare__head {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.compare__title {
    font-weight: 750;
    letter-spacing: -0.01em;
}

.compare__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-weight: 650;
}

.compare__table {
    display: grid;
}

.compare__row {
    --r: 1;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 0.5rem;
    align-items: center;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    opacity: var(--r, 1);
    transform: translateY(calc((1 - var(--r, 1)) * 14px));
    filter: blur(calc((1 - var(--r, 1)) * 1.5px));
    will-change: opacity, transform, filter;
}

.compare__row:last-child {
    border-bottom: none;
}

.compare__cell {
    text-align: center;
    color: var(--foreground);
}

.compare__cell--label {
    text-align: left;
    color: var(--muted-foreground);
    font-weight: 550;
}

.is-strong {
    color: var(--foreground);
    font-weight: 800;
}

.pricing-cta {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
}

.pricing-story__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 4px;
    background: color-mix(in hsl, var(--border) 70%, transparent 30%);
    border-radius: 9999px;
    overflow: hidden;
}

.pricing-story__progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 9999px;
    transition: width 0.08s linear;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.about-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.75rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3rem;
    }
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.contact-form {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.5rem;
}

.field {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.field span {
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--muted-foreground);
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--background);
    color: var(--foreground);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    border-color: color-mix(in hsl, var(--primary) 45%, var(--border) 55%);
    box-shadow: 0 0 0 4px color-mix(in hsl, var(--primary) 18%, transparent 82%);
}

.form-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

/* Typography */
.heading-1 {
    font-size: 1.875rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .heading-1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .heading-1 {
        font-size: 3rem;
        line-height: 1.1;
    }
}

.heading-2 {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .heading-2 {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .heading-2 {
        font-size: 2.25rem;
    }
}

.heading-3 {
    font-size: 1.25rem;
    line-height: 1.375;
    font-weight: 600;
}

@media (min-width: 768px) {
    .heading-3 {
        font-size: 1.5rem;
    }
}

.body-large {
    font-size: 1.125rem;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .body-large {
        font-size: 1.25rem;
    }
}

.body-regular {
    font-size: 1rem;
    line-height: 1.625;
}

.text-muted {
    color: var(--muted-foreground);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    border-radius: var(--radius);
    background-color: var(--primary);
    color: var(--primary-foreground);
    transition: all 0.2s ease;
    white-space: normal;
    text-align: center;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    border-radius: var(--radius);
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    background-color: var(--muted);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Cards */
.card-elevated {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background-color: var(--background);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.card-elevated:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

@media (min-width: 768px) {
    .header__container {
        height: 72px;
    }
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--foreground);
    letter-spacing: 0.5px;
}

.header__logo-icon {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
    padding: 6px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
    color: white;
    box-shadow: 0 20px 55px -45px rgba(0,0,0,0.55);
    filter: drop-shadow(0 14px 22px rgba(0,0,0,0.12));
}

.header__nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .header__nav {
        display: flex;
    }
}

.header__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.header__link:hover {
    color: var(--foreground);
}

.header__cta {
    display: none;
}

@media (min-width: 768px) {
    .header__cta {
        display: inline-flex;
    }
}

.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
}

@media (min-width: 768px) {
    .header__burger {
        display: none;
    }
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--foreground);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu__link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

/* =====================================================
   HERO SECTION - Экран 1
   ===================================================== */
.hero {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
    display: block;
    background-color: var(--section-light);
}

@media (min-width: 768px) {
    .hero {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* =====================================================
   HERO FOLD (Apple-like reversible scroll)
   ===================================================== */
.hero-fold {
    position: relative;
    height: 220vh;
}

.hero-fold__sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 3rem;
}
/*
@media (min-width: 768px) {
    .hero-fold__sticky {
        padding-top: calc(var(--header-h) + 4rem);
        padding-bottom: 4rem;
    }
}
@media (max-width: 1023px) {
*/
    .hero-fold {
        height: auto;
        min-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-fold__sticky {
        position: relative;
        top: auto;
        min-height: auto;
        padding-top: calc(var(--header-h) + 3rem);
    }
/*}*/

/* When fold is active, JS owns transforms */
.hero-fold.is-active .hero__float-card {
    animation: none;
}

@media (min-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.hero__content {
    max-width: 600px;
}

@media (max-width: 1023px) {
    .hero__content {
        text-align: center;
        margin: 0 auto;
    }
}

.hero__title {
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.hero__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 1023px) {
    .hero__features {
        align-items: center;
    }
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--foreground);
}

.hero__feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 1023px) {
    .hero__cta {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero__cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__cta .btn-primary,
    .hero__cta .btn-secondary {
        width: 100%;
        max-width: 320px;
    }
}

/* Hero Visual */
.hero__visual {
    position: relative;
}

/* =====================================================
   MOCKUP — Dashboard Interface (без поворота)
   ===================================================== */
.hero__mockup {
    position: relative;
}

/* Browser Frame */
.mockup__browser {
    background: var(--background);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px var(--border);
    overflow: hidden;
    transform-origin: 50% 35%;
    will-change: transform, opacity;
}

.mockup__browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--secondary);
    border-bottom: 1px solid var(--border);
}

.mockup__browser-dots {
    display: flex;
    gap: 6px;
}

.mockup__browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.mockup__browser-dots span:nth-child(1) { background: #ff5f57; }
.mockup__browser-dots span:nth-child(2) { background: #ffbd2e; }
.mockup__browser-dots span:nth-child(3) { background: #28c840; }

.mockup__browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--background);
    border-radius: var(--radius);
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.mockup__browser-url svg {
    color: #28c840;
}

/* Dashboard Content */
.mockup__content {
    display: flex;
    min-height: 320px;
}

@media (min-width: 640px) {
    .mockup__content {
        min-height: 380px;
    }
}

/* Sidebar - стиль реальной системы */
.mockup__sidebar {
    width: 120px;
    background: #1a1f4e;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .mockup__sidebar {
        display: flex;
        width: 145px;
    }
}

.mockup__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
}

.mockup__logo-svg {
    height: 24px;
    width: auto;
    color: white;
}

.mockup__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mockup__logo-wms {
    font-size: 0.45rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    letter-spacing: 1px;
}

.mockup__logo-name {
    font-size: 0.7rem;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* User Profile */
.mockup__user {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    margin-bottom: 0.25rem;
}

.mockup__user-avatar {
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 600;
    color: white;
}

.mockup__user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mockup__user-name {
    font-size: 0.55rem;
    color: white;
    font-weight: 500;
}

.mockup__user-role {
    font-size: 0.45rem;
    color: rgba(255,255,255,0.5);
}

/* Navigation */
.mockup__nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mockup__nav-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.55rem;
    transition: all 0.15s;
    position: relative;
}

.mockup__nav-item--active {
    background: #3b82f6;
    color: white;
}

.mockup__nav-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    opacity: 0.8;
}

.mockup__nav-badge {
    margin-left: auto;
    background: #3b82f6;
    color: white;
    font-size: 0.45rem;
    padding: 0.1rem 0.3rem;
    border-radius: 9999px;
    font-weight: 600;
}

.mockup__nav-badge--red {
    background: #ef4444;
}

/* Main Area - как в реальной системе */
.mockup__main {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    overflow: hidden;
}

/* Toolbar - как на скриншоте */
.mockup__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.6rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    gap: 0.5rem;
}

.mockup__toolbar-tabs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.mockup__tab {
    font-size: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    padding: 0.2rem 0;
}

.mockup__tab--active {
    color: #2563eb;
}

.mockup__tab--accent {
    color: #16a34a;
}

.mockup__toolbar-pagination {
    display: none;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.45rem;
    color: #6b7280;
}

@media (min-width: 640px) {
    .mockup__toolbar-pagination {
        display: flex;
    }
}

.mockup__page {
    min-width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 0.45rem;
    padding: 0 0.15rem;
}

.mockup__page--active {
    background: #2563eb;
    color: white;
}

/* Filters - как на скриншоте */
.mockup__filters {
    display: flex;
    gap: 0.3rem;
    padding: 0.4rem 0.6rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.mockup__filter-input {
    flex: 1;
    min-width: 45px;
    max-width: 70px;
    padding: 0.2rem 0.35rem;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    font-size: 0.45rem;
    color: #6b7280;
    background: white;
}

.mockup__filter-input--sm {
    max-width: 45px;
}

.mockup__filter-input::placeholder {
    color: #9ca3af;
}

/* Products Table - максимально близко к реальной системе */
.mockup__table {
    flex: 1;
    background: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup__table-row {
    display: grid;
    grid-template-columns: 16px 1.1fr 0.5fr 1.4fr 0.7fr 26px 0.5fr;
    gap: 0.2rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.48rem;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
    min-height: 30px;
}

@media (min-width: 640px) {
    .mockup__table-row {
        padding: 0.45rem 0.6rem;
        font-size: 0.52rem;
        min-height: 36px;
    }
}

.mockup__table-row:last-child {
    border-bottom: none;
}

.mockup__table-row--header {
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
    font-weight: 600;
    color: #1e40af;
    font-size: 0.42rem;
    min-height: 26px;
    border-bottom: 1px solid #93c5fd;
}

@media (min-width: 640px) {
    .mockup__table-row--header {
        font-size: 0.48rem;
        min-height: 30px;
    }
}

.mockup__table-row:not(.mockup__table-row--header):hover {
    background: #f8fafc;
}

.mockup__cell--check {
    color: #9ca3af;
    font-size: 0.55rem;
}

.mockup__cell--code {
    color: #111827;
    font-weight: 500;
    font-size: 0.48rem;
}

.mockup__cell--name {
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup__cell--img {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.mockup__cell--img svg {
    width: 14px;
    height: 14px;
    color: #64748b;
}

.mockup__cell--link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #93c5fd;
}

/* Floating Cards around Mockup */
.hero__float-card {
    position: absolute;
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1rem;
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
    will-change: transform, opacity;
}

.hero__float-card--1 {
    top: -5%;
    left: -8%;
    animation-delay: 0s;
}

.hero__float-card--2 {
    top: 25%;
    right: -12%;
    animation-delay: 1.3s;
}

.hero__float-card--3 {
    bottom: 5%;
    left: -5%;
    animation-delay: 0.6s;
}

@media (max-width: 1200px) {
    .hero__float-card--1 {
        left: -3%;
    }
    
    .hero__float-card--2 {
        right: -5%;
    }
    
    .hero__float-card--3 {
        left: 0;
    }
}

@media (max-width: 1023px) {
    .hero__float-card {
        display: none;
    }
}

.hero__float-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.hero__float-card-icon--green {
    background: #22c55e;
}

.hero__float-card-icon--blue {
    background: #3b82f6;
}

.hero__float-card-icon svg {
    width: 18px;
    height: 18px;
}

.hero__float-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__float-card-label {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.hero__float-card-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.9;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

/* =====================================================
   THEME TOGGLE
   ===================================================== */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--muted);
}

.theme-toggle__icon {
    width: 20px;
    height: 20px;
    color: var(--foreground);
}

.theme-toggle__icon--dark {
    display: none;
}

/* Dark Theme */
[data-theme="dark"] {
    --background: hsl(222, 47%, 8%);
    --foreground: hsl(210, 40%, 98%);
    --secondary: hsl(217, 33%, 12%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(217, 33%, 15%);
    --muted-foreground: hsl(215, 20%, 55%);
    --border: hsl(217, 33%, 18%);
    --primary: hsl(248, 53%, 55%);
    --primary-foreground: hsl(0, 0%, 100%);
    --section-light: hsl(222, 47%, 8%);
    --section-gray: hsl(217, 33%, 10%);
}

[data-theme="dark"] .theme-toggle__icon--light {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--dark {
    display: block;
}

[data-theme="dark"] .header {
    background-color: hsla(222, 47%, 8%, 0.95);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .header__logo {
    color: white;
}

[data-theme="dark"] .header__logo-icon {
    fill: white;
}

[data-theme="dark"] .mockup__browser {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero__float-card {
    background: var(--secondary);
    border-color: var(--border);
}

[data-theme="dark"] .footer {
    background: hsl(217, 33%, 5%);
}

/* =====================================================
   ЭКРАН 2 — ПОЧЕМУ НАМ ДОВЕРЯЮТ
   ===================================================== */
.trust {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.trust__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.trust__bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--section-gray) 0%, var(--background) 100%);
}

.trust__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--border) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.trust .container-wide {
    position: relative;
    z-index: 1;
}

/* Статистика */
.trust__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .trust__stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.trust__stat {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.trust__stat:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -12px rgba(30, 17, 69, 0.15);
}

.trust__stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .trust__stat-value {
        font-size: 3rem;
    }
}

.trust__stat-label {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    line-height: 1.3;
}

/* Header */
.trust__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.trust__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.trust__title {
    margin-bottom: 1rem;
}

.trust__subtitle {
    color: var(--muted-foreground);
}

/* Партнёры */
.trust__partners {
    margin-bottom: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* =====================================================
   CASES SHOWCASE (Apple-like density)
   ===================================================== */
.cases-showcase {
    margin: 3.25rem 0 4rem;
}

.cases-showcase__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .cases-showcase__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.25rem;
        align-items: center;
    }
}

.cases-showcase__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.cases-showcase__title {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
    .cases-showcase__title {
        font-size: 2.6rem;
    }
}

.cases-showcase__lead {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0 0 1.25rem;
    max-width: 46rem;
}

.cases-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
    .cases-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cases-metric {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(135deg, color-mix(in hsl, var(--background) 72%, var(--section-gray) 28%) 0%, var(--background) 100%);
    padding: 1rem 1rem;
    box-shadow: 0 26px 70px -60px rgba(0,0,0,0.6);
}

.cases-metric__value {
    font-size: 1.6rem;
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.cases-metric__label {
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.cases-metric__sub {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    line-height: 1.45;
}

.cases-metric--green .cases-metric__value { color: #16a34a; }
.cases-metric--violet .cases-metric__value { color: #6366f1; }
.cases-metric--blue .cases-metric__value { color: #0ea5e9; }

.cases-showcase__cta {
    display: grid;
    gap: 0.55rem;
    justify-items: start;
}

.cases-showcase__note {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

.cases-visual-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: radial-gradient(900px 340px at 15% 10%, rgba(99,102,241,0.18), transparent 60%),
                radial-gradient(700px 320px at 90% 20%, rgba(34,197,94,0.14), transparent 62%),
                var(--background);
    padding: 1.25rem 1.25rem;
    box-shadow: 0 40px 110px -95px rgba(0,0,0,0.75);
}

.cases-visual-card__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.cases-visual-card__title {
    font-weight: 900;
    letter-spacing: -0.02em;
}

.cases-visual-card__pill {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--muted-foreground);
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in hsl, var(--background) 70%, var(--section-gray) 30%);
}

.cases-bars {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.cases-bar__label {
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.cases-bar__track {
    height: 10px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 75%, transparent 25%);
    overflow: hidden;
}

.cases-bar__track span {
    display: block;
    height: 100%;
    width: var(--w, 50%);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(239,68,68,0.95), rgba(34,197,94,0.95));
    transform-origin: left;
    transform: scaleX(0.001);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-visible .cases-bar__track span {
    transform: scaleX(1);
}

.cases-bar__meta {
    margin-top: 0.35rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cases-logos {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
}

.cases-logos__img {
    height: 22px;
    width: auto;
    opacity: 0.9;
    filter: saturate(0.95);
}

.cases-logos__chip {
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: -0.01em;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in hsl, var(--background) 70%, var(--section-gray) 30%);
    color: var(--foreground);
    box-shadow: 0 28px 80px -70px rgba(0,0,0,0.75);
}

[data-theme="dark"] .cases-logos__chip {
    background: rgba(255,255,255,0.03);
}

.cases-logos__img--dark {
    display: none;
}

[data-theme="dark"] .cases-logos__img--light { display: none; }
[data-theme="dark"] .cases-logos__img--dark { display: inline-block; }

.trust__partners-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust__partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.trust__partner:hover {
    transform: scale(1.05);
}

.trust__partner-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
    overflow: hidden;
}

.trust__partner:hover .trust__partner-logo {
    box-shadow: 0 8px 30px -8px rgba(0,0,0,0.15);
}

.trust__partner-logo svg {
    width: 50px;
    height: 50px;
}

.trust__partner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.trust__partner-img--dark {
    display: none;
}

[data-theme="dark"] .trust__partner-logo {
    background: rgba(255,255,255,0.02);
    box-shadow: 0 18px 60px -50px rgba(0,0,0,0.75);
}

[data-theme="dark"] .trust__partner-img--light {
    display: none;
}

[data-theme="dark"] .trust__partner-img--dark {
    display: block;
}

.trust__partner-logo--dashed {
    background: transparent;
    box-shadow: none;
    border: 2px dashed var(--border);
    color: var(--muted-foreground);
}

.trust__partner--join {
    opacity: 0.6;
}

.trust__partner--join:hover {
    opacity: 1;
}

.trust__partner-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

/* Testimonials */
.trust__testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .trust__testimonials {
        grid-template-columns: 1fr 1.3fr 1fr;
        align-items: start;
    }
}

.trust__testimonial {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.trust__testimonial:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px -20px rgba(30, 17, 69, 0.15);
}

.trust__testimonial--featured {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(248, 53%, 25%) 100%);
    border-color: transparent;
    color: white;
}

@media (min-width: 768px) {
    .trust__testimonial--featured {
        padding: 2.5rem;
        transform: scale(1.05);
        z-index: 2;
    }
}

.trust__testimonial-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 0.75rem;
    background: #f59e0b;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    white-space: nowrap;
}

.trust__testimonial-quote {
    margin-bottom: 1.5rem;
}

.trust__testimonial-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 0.75rem;
}

.trust__testimonial--featured .trust__testimonial-icon {
    color: white;
    opacity: 0.4;
}

.trust__testimonial-quote p {
    font-size: 1rem;
    line-height: 1.7;
}

.trust__testimonial--featured .trust__testimonial-quote p {
    font-size: 1.1rem;
}

.trust__testimonial-quote strong {
    color: var(--primary);
}

.trust__testimonial--featured .trust__testimonial-quote strong {
    color: #fbbf24;
}

.trust__testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust__testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.trust__testimonial-info {
    flex: 1;
}

.trust__testimonial-info strong {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--foreground);
}

.trust__testimonial--featured .trust__testimonial-info strong {
    color: white;
}

.trust__testimonial-info span {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.trust__testimonial--featured .trust__testimonial-info span {
    color: rgba(255,255,255,0.7);
}

.trust__testimonial-company {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.trust__testimonial-company svg {
    width: 100%;
    height: 100%;
}

.trust__testimonial-stars {
    display: flex;
    gap: 4px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trust__testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
}

/* CTA */
.trust__cta {
    text-align: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    gap: 0.75rem;
    white-space: wrap;
}

.trust__cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* =====================================================
   ЭКРАН 3 — ТЕХПОДДЕРЖКА (Clean Design)
   ===================================================== */
.support-section {
    background: var(--background);
}

/* Header */
.support-header {
    padding: 8rem 0 4rem;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-title-xl {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-title-xl {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title-xl {
        font-size: 4rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Metrics Row */
.support-metrics {
    padding: 2rem 0 6rem;
}

.metrics-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .metrics-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.metric-card {
    background: var(--section-gray);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
}

.metric-card--accent {
    background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
    color: white;
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.metric-icon svg {
    width: 28px;
    height: 28px;
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .metric-number {
        font-size: 3.5rem;
    }
}

.metric-card--accent .metric-number {
    color: white;
    font-size: 2rem;
}

@media (min-width: 768px) {
    .metric-card--accent .metric-number {
        font-size: 2.25rem;
    }
}

.metric-unit {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.metric-card--accent .metric-unit {
    color: rgba(255,255,255,0.8);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin-top: 0.75rem;
}

.metric-card--accent .metric-label {
    color: rgba(255,255,255,0.7);
}

/* Chat Section */
.support-chat-section {
    padding: 4rem 0 6rem;
    background: var(--section-gray);
}

.chat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .chat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

/* Chat Info */
.chat-info {
    order: 2;
}

@media (min-width: 1024px) {
    .chat-info {
        order: 1;
    }
}

.chat-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .chat-title {
        font-size: 2.5rem;
    }
}

.chat-desc {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    opacity: 0.4;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.is-active {
    opacity: 1;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: -2rem;
    margin-top: 4px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-item.is-active .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 17, 69, 0.15);
}

.timeline-dot--success {
    background: #22c55e !important;
}

.timeline-item.is-active .timeline-dot--success {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.timeline-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--muted-foreground);
}

.timeline-item.is-active .timeline-text {
    color: var(--foreground);
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #22c55e;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
}

.timeline-item--success {
    margin-top: 0.5rem;
}

/* Chat Visual */
.chat-visual {
    order: 1;
}

@media (min-width: 1024px) {
    .chat-visual {
        order: 2;
    }
}

/* Telegram Window - Clean Design */
.telegram-window {
    background: #17212b;
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

@media (min-width: 1024px) {
    .telegram-window {
        margin: 0;
    }
}

.telegram-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #232e3c;
}

.telegram-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.telegram-avatar svg {
    width: 24px;
    height: 24px;
}

.telegram-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.telegram-status {
    font-size: 0.8rem;
}

.status-online {
    color: #3daaeb;
}

.status-typing {
    color: #3daaeb;
    display: none;
}

.telegram-window.is-typing .status-typing {
    display: inline;
}

.telegram-window.is-typing .status-online {
    display: none;
}

.telegram-body {
    padding: 1rem;
    min-height: 300px;
    background: 
        linear-gradient(rgba(23, 33, 43, 0.9), rgba(23, 33, 43, 0.9)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.telegram-date {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    display: inline-block;
}

.telegram-date::before,
.telegram-date::after {
    content: none !important;
}

/* Messages */
.msg {
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.msg.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.msg-bubble {
    max-width: 85%;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.msg-bubble p {
    margin: 0;
}

.msg--out {
    text-align: right;
}

.msg--out .msg-bubble {
    display: inline-block;
    background: #2b5278;
    color: white;
    border-bottom-right-radius: 4px;
    text-align: left;
}

.msg--in .msg-bubble {
    display: inline-block;
    background: #182533;
    color: white;
    border-bottom-left-radius: 4px;
}

.msg-time {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-align: right;
    margin-top: 0.25rem;
}

.msg-resolved {
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.msg-resolved.is-visible {
    opacity: 1;
    transform: scale(1);
}

.msg-resolved span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
}

/* Support CTA */
.support-cta {
    padding: 4rem 0 6rem;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    background: var(--section-gray);
    border-radius: var(--radius-xl);
    text-align: center;
}

@media (min-width: 768px) {
    .cta-card {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 3rem 4rem;
    }
}

.cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.cta-content p {
    color: var(--muted-foreground);
}

.cta-button--telegram {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(33, 150, 243, 0.5);
    flex-shrink: 0;
}

.cta-button--telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(33, 150, 243, 0.6);
}

.cta-button--telegram svg {
    width: 22px;
    height: 22px;
}

/* =====================================================
   TELEGRAM CHAT MOCKUP
   ===================================================== */
.telegram {
    background: #17212b;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.3);
}

/* Telegram Header */
.telegram__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #232e3c;
}

.telegram__back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7e9cb9;
    border-radius: 50%;
    transition: background 0.2s;
}

.telegram__back:hover {
    background: rgba(255,255,255,0.1);
}

.telegram__back svg {
    width: 22px;
    height: 22px;
}

.telegram__avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.telegram__avatar svg {
    width: 24px;
    height: 24px;
    color: white;
}

.telegram__info {
    flex: 1;
}

.telegram__info strong {
    display: block;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.telegram__info span {
    font-size: 0.8rem;
    color: #3daaeb;
}

.telegram__actions {
    display: flex;
    gap: 0.25rem;
}

.telegram__action {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7e9cb9;
    border-radius: 50%;
    transition: background 0.2s;
}

.telegram__action:hover {
    background: rgba(255,255,255,0.1);
}

.telegram__action svg {
    width: 22px;
    height: 22px;
}

/* Telegram Messages Area */
.telegram__messages {
    position: relative;
    padding: 1rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.telegram__bg {
    position: absolute;
    inset: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #0e1621 0%, #17212b 100%);
    z-index: 0;
}

.telegram__messages > * {
    position: relative;
    z-index: 1;
}

.telegram__date {
    text-align: center;
    margin: 0.5rem 0;
}

.telegram__date span {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

/* Messages */
.telegram__msg {
    display: flex;
    margin-bottom: 0.25rem;
}

.telegram__msg--out {
    justify-content: flex-end;
}

.telegram__msg--in {
    justify-content: flex-start;
}

.telegram__bubble {
    max-width: 80%;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    position: relative;
}

.telegram__msg--out .telegram__bubble {
    background: #2b5278;
    border-bottom-right-radius: 4px;
}

.telegram__msg--in .telegram__bubble {
    background: #182533;
    border-bottom-left-radius: 4px;
}

.telegram__bubble p {
    color: white;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

.telegram__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.telegram__time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
}

.telegram__msg--out .telegram__time {
    color: rgba(255, 255, 255, 0.5);
}

.telegram__check {
    width: 16px;
    height: 11px;
}

.telegram__check--read {
    color: #5eb5f7;
}

/* Resolved badge */
.telegram__resolved {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(61, 170, 235, 0.15);
    border: 1px solid rgba(61, 170, 235, 0.3);
    border-radius: 12px;
    margin-top: 0.75rem;
}

.telegram__resolved svg {
    width: 18px;
    height: 18px;
    color: #3daaeb;
}

.telegram__resolved span {
    font-size: 0.85rem;
    color: #7ec4ee;
}

.telegram__resolved strong {
    color: #3daaeb;
}

/* Telegram Input */
.telegram__input-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #17212b;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.telegram__attach,
.telegram__voice {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7e9cb9;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s;
}

.telegram__attach:hover,
.telegram__voice:hover {
    background: rgba(255,255,255,0.1);
}

.telegram__attach svg,
.telegram__voice svg {
    width: 22px;
    height: 22px;
}

.telegram__input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: #242f3d;
    border-radius: 20px;
    padding: 0 0.5rem;
}

.telegram__input-wrapper input {
    flex: 1;
    padding: 0.65rem 0.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
}

.telegram__input-wrapper input::placeholder {
    color: #6c7883;
}

.telegram__emoji {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7e9cb9;
    border-radius: 50%;
}

.telegram__emoji svg {
    width: 22px;
    height: 22px;
}



/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 3rem 0 1.25rem;
    background: color-mix(in hsl, var(--section-gray) 85%, var(--background) 15%);
    color: var(--foreground);
    border-top: 1px solid var(--border);
}

.footer--apple .footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer--apple .footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 2.5rem;
    }
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.footer__logo-icon {
    width: 28px;
    height: auto;
}

.footer__logo-text {
    font-size: 1rem;
}

.footer__tagline {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
    max-width: 38rem;
}

.footer__col {
    display: grid;
    gap: 0.6rem;
    align-content: start;
}

.footer__title {
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.footer__link {
    font-size: 0.95rem;
    color: var(--foreground);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer__link:hover {
    opacity: 1;
}

.footer__bottom {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.footer__copyright {
    font-size: 0.875rem;
    text-align: center;
    color: var(--muted-foreground);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   SKELETON-BASED SECTIONS (Functionality / Implementation / Pricing / FAQ / About)
   ===================================================== */

/* Section backgrounds */
.section--functionality {
    background: linear-gradient(180deg, var(--background) 0%, var(--section-gray) 100%);
}

.section--implementation {
    background: var(--section-gray);
}

.section--faq {
    background: linear-gradient(180deg, var(--section-gray) 0%, var(--background) 100%);
}

.section--about {
    background: var(--background);
}

/* =====================================================
   LIVE METRICS (admin-driven counters)
   ===================================================== */
.live-metrics {
    margin-top: 2.25rem;
    border: 1px solid var(--border);
    border-radius: 26px;
    background:
        radial-gradient(900px 380px at 18% 10%, rgba(99,102,241,0.18), transparent 60%),
        radial-gradient(740px 360px at 88% 18%, rgba(34,197,94,0.14), transparent 62%),
        radial-gradient(820px 420px at 55% 115%, rgba(14,165,233,0.12), transparent 58%),
        var(--background);
    box-shadow: 0 60px 140px -120px rgba(0,0,0,0.8);
    padding: 1.25rem 1.25rem;
}

@media (min-width: 768px) {
    .live-metrics {
        padding: 1.5rem 1.75rem;
    }
}

.live-metrics__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.1rem;
}

@media (min-width: 900px) {
    .live-metrics__head {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.live-metrics__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.live-metrics__title {
    font-size: 1.65rem;
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0;
}

@media (min-width: 768px) {
    .live-metrics__title {
        font-size: 2.05rem;
    }
}

.live-metrics__meta {
    border: 1px solid color-mix(in hsl, var(--border) 70%, transparent 30%);
    background: color-mix(in hsl, var(--background) 78%, var(--section-gray) 22%);
    border-radius: 18px;
    padding: 0.85rem 0.95rem;
    box-shadow: 0 26px 70px -65px rgba(0,0,0,0.75);
}

.live-metrics__meta-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.live-metrics__meta-value {
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 0.15rem;
}

.live-metrics__meta-sub {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.live-metrics__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .live-metrics__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .live-metrics__grid {
        /* Denser, less “stretched” tiles (Apple-like rhythm) */
        grid-template-columns: repeat(12, 1fr);
        gap: 0.8rem;
    }
}

.live-metric {
    border: 1px solid color-mix(in hsl, var(--border) 70%, transparent 30%);
    border-radius: 18px;
    background: color-mix(in hsl, var(--background) 92%, var(--section-gray) 8%);
    padding: 0.9rem 0.95rem;
    box-shadow: 0 24px 70px -62px rgba(0,0,0,0.78);
    overflow: hidden;
    position: relative;
    text-align: center;
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 92px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease;
}

.live-metric::after {
    content: "";
    position: absolute;
    inset: -60% -40%;
    background:
        radial-gradient(closest-side at 30% 30%, rgba(255,255,255,0.22), transparent 62%),
        radial-gradient(closest-side at 70% 60%, rgba(99,102,241,0.20), transparent 70%);
    opacity: 0.22;
    transform: rotate(14deg);
    pointer-events: none;
}

.live-metric:hover {
    transform: translateY(-2px);
    border-color: color-mix(in hsl, var(--primary) 25%, var(--border) 75%);
    box-shadow: 0 34px 88px -72px rgba(0,0,0,0.85);
}

.live-metric__label {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.15;
    max-width: 18ch;
}

@media (max-width: 639px) {
    .live-metric__label {
        max-width: 24ch;
    }
}

.live-metric__value {
    margin-top: 0.42rem;
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    .live-metric__value {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .live-metric {
        grid-column: span 3; /* 4 tiles per row */
    }
    .live-metric--wide {
        grid-column: span 6; /* 2 tiles per row */
    }
    .live-metric__value {
        font-size: 1.95rem;
    }
}

.live-metrics__foot {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
    align-items: center;
}

@media (min-width: 900px) {
    .live-metrics__foot {
        grid-template-columns: 1fr auto;
    }
}

.live-metrics__note {
    color: var(--muted-foreground);
    line-height: 1.5;
}

.live-metrics__cta {
    justify-self: start;
}

@media (min-width: 900px) {
    .live-metrics__cta {
        justify-self: end;
    }
}

/* =====================================================
   PICKED TARIFF (contact form)
   ===================================================== */
.picked-tariff {
    display: inline-flex;
    align-items: baseline;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in hsl, var(--background) 76%, var(--section-gray) 24%);
    margin: 0 0 1rem;
}

.picked-tariff__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted-foreground);
}

.picked-tariff__value {
    font-weight: 950;
    letter-spacing: -0.02em;
}

/* =====================================================
   ECOSYSTEM (roles diagram)
   ===================================================== */
.ecosystem {
    margin-top: 2rem;
}

.ecosystem__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* connection lines overlay (desktop) */
.ecosystem__lines {
    display: none;
}

@media (min-width: 1024px) {
    .ecosystem__lines {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
        overflow: visible;
    }
}

.ecosystem__line {
    fill: none;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    filter: drop-shadow(0 16px 30px rgba(0,0,0,0.12));
}

.ecosystem__line--blue { stroke: rgba(59,130,246,0.7); }
.ecosystem__line--green { stroke: rgba(34,197,94,0.7); }
.ecosystem__line--violet { stroke: rgba(139,92,246,0.7); }
.ecosystem__line--orange { stroke: rgba(249,115,22,0.7); }

.ecosystem__line::after { content: none; }

@media (min-width: 1024px) {
    .ecosystem__grid {
        grid-template-columns: 1fr 180px 1fr;
        grid-template-rows: auto auto;
        gap: 1.25rem 2rem;
        align-items: stretch;
    }
    .role-card--seller { grid-column: 1; grid-row: 1; }
    .role-card--manager { grid-column: 3; grid-row: 1; }
    .ecosystem__center { grid-column: 2; grid-row: 1 / span 2; }
    .role-card--warehouse { grid-column: 1; grid-row: 2; }
    .role-card--logistics { grid-column: 3; grid-row: 2; }
}

.ecosystem__center {
    display: none;
}

@media (min-width: 1024px) {
    .ecosystem__center {
        display: grid;
        place-items: center;
        position: relative;
    }
    .ecosystem__center::before {
        content: "";
        position: absolute;
        inset: -34px;
        background:
            radial-gradient(circle at center, color-mix(in hsl, var(--primary) 16%, transparent 84%), transparent 60%),
            radial-gradient(circle at 1px 1px, color-mix(in hsl, var(--border) 80%, transparent 20%) 1px, transparent 0);
        background-size: auto, 26px 26px;
        border-radius: 999px;
        opacity: 0.7;
        pointer-events: none;
    }
}

.ecosystem__badge {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-foreground);
    background: radial-gradient(circle at 30% 30%, color-mix(in hsl, var(--primary) 85%, #ffffff 15%), var(--primary));
    box-shadow: 0 35px 80px -60px rgba(30, 17, 69, 0.7);
    border: 1px solid color-mix(in hsl, var(--primary) 40%, var(--border) 60%);
}

.ecosystem__badge--logo img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    /* logo.svg is dark → invert for dark badge */
    filter: invert(1) saturate(0) brightness(1.35) drop-shadow(0 12px 24px rgba(0,0,0,0.18));
}

@media (prefers-reduced-motion: reduce) {
    .ecosystem__line { filter: none; }
}

/* keep cards above lines */
@media (min-width: 1024px) {
    .role-card,
    .ecosystem__center {
        position: relative;
        z-index: 1;
    }
}

.role-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.25rem 1.25rem 1.1rem;
    box-shadow: 0 22px 60px -55px rgba(0,0,0,0.55);
}

.role-card__head {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.role-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: white;
}

.role-card__icon svg {
    width: 20px;
    height: 20px;
}

.role-card__icon--blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.role-card__icon--green { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.role-card__icon--violet { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.role-card__icon--orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }

.role-card__title {
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.role-card__list {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 0.85rem 0;
    padding: 0;
}

.role-card__list li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--muted-foreground);
    line-height: 1.45;
    font-size: 0.95rem;
}

.role-card__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: color-mix(in hsl, var(--primary) 75%, #22c55e 25%);
    font-weight: 900;
}

.role-card__result {
    background: var(--section-gray);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    color: var(--foreground);
    font-weight: 650;
}

/* =====================================================
   BASE FUNCTIONALITY GRID
   ===================================================== */
.base {
    margin-top: 5rem;
}

.base-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .base-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .base-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.feature-tile {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(820px 420px at var(--tile-x, 18%) var(--tile-y, 0%), hsl(var(--icon-h) 90% 60% / 0.10), transparent 60%),
        radial-gradient(560px 380px at 92% 92%, hsl(var(--icon-h) 90% 60% / 0.06), transparent 62%),
        var(--background);
    padding: 1.5rem 1.35rem;
    box-shadow: 0 20px 55px -55px rgba(0,0,0,0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    --icon-h: 220;
    --orb-x: 78%;
    --orb-y: 22%;
    --icon-r: 16deg;
    --grid-o: 0.14;
    --grid-step: 10px;
    --grid-a: 90deg;
    --grid-b: 0deg;
    --tile-x: 18%;
    --tile-y: 0%;
}

.base-grid .feature-tile:nth-child(4n + 1) { --icon-h: 220; } /* blue */
.base-grid .feature-tile:nth-child(4n + 2) { --icon-h: 145; } /* green */
.base-grid .feature-tile:nth-child(4n + 3) { --icon-h: 270; } /* violet */
.base-grid .feature-tile:nth-child(4n) { --icon-h: 28; }     /* orange */

.base-grid .feature-tile.feature-tile--api { --icon-h: 205; --orb-x: 76%; --orb-y: 26%; --icon-r: 14deg; --grid-o: 0.18; --grid-step: 9px; }
.base-grid .feature-tile.feature-tile--clients { --icon-h: 142; --orb-x: 26%; --orb-y: 74%; --icon-r: -12deg; --grid-o: 0.10; --grid-step: 14px; --tile-x: 10%; }
.base-grid .feature-tile.feature-tile--mark { --icon-h: 275; --orb-x: 70%; --orb-y: 22%; --icon-r: 22deg; --grid-o: 0.16; --grid-step: 7px; --grid-b: 90deg; --tile-x: 22%; }
.base-grid .feature-tile.feature-tile--logistics { --icon-h: 28; --orb-x: 24%; --orb-y: 26%; --icon-r: -16deg; --grid-o: 0.08; --grid-step: 12px; --grid-a: 45deg; --grid-b: 135deg; --tile-x: 12%; }
.base-grid .feature-tile.feature-tile--address { --icon-h: 175; --orb-x: 66%; --orb-y: 70%; --icon-r: 10deg; --grid-o: 0.12; --tile-x: 28%; }
.base-grid .feature-tile.feature-tile--docs { --icon-h: 242; --orb-x: 30%; --orb-y: 24%; --icon-r: -10deg; --grid-o: 0.14; }
.base-grid .feature-tile.feature-tile--print { --icon-h: 330; --orb-x: 78%; --orb-y: 68%; --icon-r: 12deg; --grid-o: 0.12; --grid-step: 13px; --grid-a: 0deg; --grid-b: 90deg; --tile-x: 16%; }
.base-grid .feature-tile.feature-tile--portal { --icon-h: 210; --orb-x: 26%; --orb-y: 30%; --icon-r: 18deg; --grid-o: 0.10; }
.base-grid .feature-tile.feature-tile--marketplaces { --icon-h: 38; --orb-x: 74%; --orb-y: 26%; --icon-r: -8deg; --grid-o: 0.08; --grid-step: 12px; --grid-a: 30deg; --grid-b: 120deg; --tile-x: 24%; }
.base-grid .feature-tile.feature-tile--import { --icon-h: 158; --orb-x: 32%; --orb-y: 66%; --icon-r: 10deg; --grid-o: 0.12; }
.base-grid .feature-tile.feature-tile--analytics { --icon-h: 196; --orb-x: 72%; --orb-y: 60%; --icon-r: 16deg; --grid-o: 0.12; }

.feature-tile:hover {
    transform: translateY(-3px);
    border-color: color-mix(in hsl, var(--primary) 35%, var(--border) 65%);
    box-shadow: 0 30px 80px -65px rgba(30,17,69,0.65);
}

.feature-tile__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
    background:
        radial-gradient(60px 34px at 25% 18%, rgba(255,255,255,0.35), transparent 60%),
        linear-gradient(135deg,
            hsl(var(--icon-h) 82% 58%) 0%,
            hsl(var(--icon-h) 82% 44%) 100%);
    color: white;
    box-shadow: 0 20px 55px -40px rgba(0,0,0,0.35);
    margin-bottom: 0.85rem;
}

.feature-tile__icon::before {
    content: "";
    position: absolute;
    inset: -55% -55%;
    background:
        radial-gradient(circle at var(--orb-x) var(--orb-y),
            rgba(255,255,255,0.95) 0 2px,
            rgba(255,255,255,0.28) 2.5px,
            transparent 18px),
        radial-gradient(42px 42px at var(--orb-x) var(--orb-y),
            rgba(255,255,255,0.22),
            transparent 60%),
        linear-gradient(var(--grid-a, 90deg), rgba(255,255,255,var(--grid-o)) 0 1px, transparent 1px var(--grid-step, 10px)),
        linear-gradient(var(--grid-b, 0deg), rgba(255,255,255,calc(var(--grid-o) * 0.6)) 0 1px, transparent 1px var(--grid-step, 10px));
    opacity: 0.9;
    transform: rotate(var(--icon-r));
    pointer-events: none;
}

.feature-tile__icon::after {
    content: "";
    position: absolute;
    inset: -40% -40%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 55%);
    transform: rotate(18deg);
    opacity: 0.9;
    pointer-events: none;
}

.feature-tile:hover .feature-tile__icon {
    transform: translate3d(0, -1px, 0) scale(1.03);
    filter: saturate(1.05);
}

.feature-tile--soon {
    opacity: 0.92;
}

@media (prefers-reduced-motion: no-preference) {
    .feature-tile.is-visible .feature-tile__icon::before {
        animation: featureIconDrift 7.5s ease-in-out infinite;
    }

    .feature-tile:hover .feature-tile__icon::before {
        animation-duration: 4.8s;
    }

    @keyframes featureIconDrift {
        0% { transform: rotate(var(--icon-r)) translate3d(0, 0, 0); }
        50% { transform: rotate(calc(var(--icon-r) + 10deg)) translate3d(4px, -3px, 0); }
        100% { transform: rotate(var(--icon-r)) translate3d(0, 0, 0); }
    }
}

.feature-tile__icon svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
}

.feature-tile__title {
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.feature-tile__text {
    color: var(--muted-foreground);
    line-height: 1.55;
    margin: 0;
}

.feature-tile__tag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--section-gray);
    color: var(--muted-foreground);
    font-weight: 650;
}

.base-footnote {
    margin-top: 1.25rem;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

/* =====================================================
   WOW SECTION (carousel + order mock)
   ===================================================== */
.wow {
    margin-top: 5rem;
}

.wow__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .wow__grid {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 3.5rem;
        align-items: center;
    }
}

.wow-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 2rem 2.25rem 2.25rem;
    box-shadow: 0 30px 90px -70px rgba(0,0,0,0.55);
    min-height: 280px;
    overflow: hidden;
}

.wow-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: color-mix(in hsl, var(--primary) 10%, var(--background) 90%);
    color: var(--primary);
    margin-bottom: 1rem;
}

.wow-card__icon svg {
    width: 24px;
    height: 24px;
}

.wow-card__title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.wow-card__text {
    color: var(--muted-foreground);
    line-height: 1.65;
    margin: 0;
    font-size: 1.05rem;
}

.carousel__viewport {
    position: relative;
    min-height: 220px;
}

.carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

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

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in hsl, var(--background) 85%, var(--section-gray) 15%);
    box-shadow: 0 18px 50px -38px rgba(0,0,0,0.5);
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--foreground);
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.carousel__btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.03);
}

.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.25rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 70%, transparent 30%);
}

.dot.is-active {
    background: var(--primary);
}

/* Order mock card */
.wow-mockup .order-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    box-shadow: 0 30px 90px -70px rgba(0,0,0,0.55);
    overflow: hidden;
}

.order-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--border);
    background: var(--section-gray);
}

.order-card__title {
    font-weight: 750;
    letter-spacing: -0.01em;
}

.order-card__status {
    font-size: 0.8rem;
    font-weight: 650;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: color-mix(in hsl, #f59e0b 35%, var(--background) 65%);
    border: 1px solid color-mix(in hsl, #f59e0b 25%, var(--border) 75%);
    color: color-mix(in hsl, var(--foreground) 85%, #b45309 15%);
    white-space: nowrap;
}

.order-card__kit {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--border);
}

.order-card__kit-row {
    display: grid;
    gap: 0.35rem;
}

.order-card__kit-title {
    font-weight: 700;
}

.order-card__chip {
    display: inline-flex;
    width: fit-content;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--section-gray);
    color: var(--muted-foreground);
    font-size: 0.8rem;
    font-weight: 600;
}

.order-card__body {
    padding: 0.85rem 1.1rem 1.05rem;
}

.order-card__label {
    color: var(--muted-foreground);
    font-weight: 650;
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.order-item {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: color-mix(in hsl, var(--background) 75%, var(--section-gray) 25%);
    margin-bottom: 0.6rem;
}

.order-item__icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: var(--primary);
}

.order-item__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.order-item__icon--cream { color: color-mix(in hsl, var(--primary) 85%, #ec4899 15%); }
.order-item__icon--oil { color: color-mix(in hsl, var(--primary) 80%, #22c55e 20%); }
.order-item__icon--box { color: color-mix(in hsl, var(--primary) 75%, #f59e0b 25%); }

.order-item__meta {
    display: grid;
    gap: 0.15rem;
}

.order-item__name {
    font-weight: 650;
}

.order-item__sub {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.order-item__check {
    color: #16a34a;
    font-weight: 900;
}

.order-item--scan {
    border-style: dashed;
    background: transparent;
}

.order-item__scan {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.order-progress {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.order-progress__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.order-progress__row strong {
    color: var(--foreground);
}

.order-progress__bar {
    height: 7px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 80%, transparent 20%);
    overflow: hidden;
}

.order-progress__bar span {
    display: block;
    height: 100%;
    background: var(--primary);
    border-radius: 999px;
}

.fbs-meter {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border);
}

.fbs-meter__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.45rem;
    color: var(--muted-foreground);
    font-size: 0.85rem;
}

.fbs-meter__row strong {
    color: var(--foreground);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.fbs-meter__label {
    display: inline-flex;
    gap: 0.5rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.fbs-meter__bar {
    height: 9px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 78%, transparent 22%);
    overflow: hidden;
}

.fbs-meter__bar span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(99,102,241,0.25), rgba(99,102,241,0.95));
    transform-origin: left;
    transform: scaleX(var(--fill, 0));
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 999px;
}

.fbs-meter__hint {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    line-height: 1.25;
}

/* Kits card */
.kits {
    margin-top: 1.25rem;
    display: grid;
    gap: 1rem;
}

.kits__card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.25rem 1.25rem;
    box-shadow: 0 22px 60px -55px rgba(0,0,0,0.55);
}

.kits__title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.kits__steps {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
}

.kits__steps li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.75rem;
    align-items: start;
    color: var(--muted-foreground);
    line-height: 1.55;
}

.kits__num {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.8rem;
    font-weight: 800;
}

/* =====================================================
   CASES: bullets + quote grid (trust section)
   ===================================================== */
.trust__bullets {
    margin: 1.25rem auto 0;
    padding: 0;
    max-width: 46rem;
    display: grid;
    gap: 0.55rem;
    text-align: left;
}

.trust__bullets li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--muted-foreground);
    line-height: 1.55;
}

.trust__bullets li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--muted-foreground);
}

.trust__testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .trust__testimonials {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.15rem;
    }
}

.case-poem,
.case-quote {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.5rem;
    box-shadow: 0 22px 60px -55px rgba(0,0,0,0.55);
}

.case-quote {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(520px 220px at 20% 0%, rgba(99,102,241,0.12), transparent 60%),
        radial-gradient(440px 220px at 90% 20%, rgba(34,197,94,0.10), transparent 62%),
        var(--background);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-quote::before {
    content: "“";
    position: absolute;
    left: 16px;
    top: -8px;
    font-size: 88px;
    line-height: 1;
    color: color-mix(in hsl, var(--primary) 30%, transparent 70%);
    opacity: 0.22;
    pointer-events: none;
}

.case-quote:hover {
    transform: translateY(-3px);
    border-color: color-mix(in hsl, var(--primary) 30%, var(--border) 70%);
    box-shadow: 0 34px 90px -75px rgba(0,0,0,0.7);
}

@media (min-width: 1024px) {
    .case-poem {
        grid-column: 1 / span 2;
        grid-row: 1 / span 2;
    }
}

.case-poem {
    background: linear-gradient(135deg, color-mix(in hsl, var(--primary) 10%, var(--background) 90%) 0%, var(--background) 55%);
}

.case-poem__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.case-poem__kicker {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.case-poem__meta {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    white-space: nowrap;
}

.case-poem__text {
    margin: 0;
    white-space: pre-wrap;
    font-family: var(--font-family);
    color: var(--foreground);
    line-height: 1.65;
    font-size: 0.98rem;
}

.case-quote__text {
    margin: 0 0 0.9rem 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--foreground);
    letter-spacing: -0.01em;
}

.case-quote__meta {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.case-quote__meta::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--primary) 40%, var(--border) 60%);
    opacity: 0.85;
}

/* =====================================================
   IMPLEMENTATION (process line)
   ===================================================== */
.process {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.25rem;
}

@media (min-width: 768px) {
    .process {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}

.process__line {
    display: none;
}

@media (min-width: 768px) {
    .process__line {
        display: block;
        position: absolute;
        left: 8%;
        right: 8%;
        top: 36px;
        height: 2px;
        background: color-mix(in hsl, var(--border) 85%, transparent 15%);
        border-radius: 999px;
    }
}

.process__step {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.1rem 1rem 1.15rem;
    text-align: center;
    box-shadow: 0 22px 60px -55px rgba(0,0,0,0.55);
}

.process__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin: 0 auto 0.7rem;
    background: color-mix(in hsl, var(--primary) 12%, var(--background) 88%);
    color: var(--primary);
    border: 1px solid color-mix(in hsl, var(--primary) 16%, var(--border) 84%);
}

.process__icon svg {
    width: 24px;
    height: 24px;
}

.process__num {
    position: absolute;
    top: 14px;
    left: 14px;
    font-weight: 900;
    color: color-mix(in hsl, var(--primary) 60%, var(--muted-foreground) 40%);
    font-size: 0.9rem;
}

.process__title {
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.process__text {
    color: var(--muted-foreground);
    line-height: 1.45;
    font-size: 0.92rem;
}

/* =====================================================
   IMPLEMENTATION STORY (Apple-like)
   ===================================================== */
.impl-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: radial-gradient(900px 360px at 15% 10%, rgba(99,102,241,0.14), transparent 60%),
                radial-gradient(720px 320px at 90% 20%, rgba(34,197,94,0.10), transparent 62%),
                var(--background);
    padding: 1.25rem 1.25rem;
    box-shadow: 0 40px 110px -95px rgba(0,0,0,0.75);
    display: grid;
    gap: 0.9rem;
}

.impl-panel__top {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.impl-panel__icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 950;
    letter-spacing: -0.02em;
    color: white;
    background: linear-gradient(135deg, #111224 0%, #1e1145 100%);
    box-shadow: 0 18px 55px -40px rgba(0,0,0,0.45);
}

.impl-panel__icon--blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.impl-panel__icon--violet { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.impl-panel__icon--green { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.impl-panel__icon--orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.impl-panel__icon--dark { background: linear-gradient(135deg, #0f172a 0%, #111224 100%); }

.impl-panel__title {
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.2rem;
}

.impl-panel__sub {
    color: var(--muted-foreground);
    line-height: 1.5;
}

.impl-panel__note {
    color: var(--muted-foreground);
    font-size: 0.92rem;
    line-height: 1.45;
}

.impl-form {
    display: grid;
    gap: 0.55rem;
}

.impl-field {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: color-mix(in hsl, var(--background) 74%, var(--section-gray) 26%);
}

.impl-field span {
    color: var(--muted-foreground);
    font-size: 0.86rem;
}

.impl-field strong {
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--foreground);
}

.impl-preview {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: color-mix(in hsl, var(--background) 75%, var(--section-gray) 25%);
    padding: 0.75rem 0.75rem;
    display: grid;
    gap: 0.55rem;
}

.impl-preview__bar {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(99,102,241,0.22), rgba(99,102,241,0.85));
}

.impl-preview__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.impl-preview__row strong {
    color: var(--foreground);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.impl-meter {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: color-mix(in hsl, var(--background) 75%, var(--section-gray) 25%);
    padding: 0.75rem 0.75rem;
}

.impl-meter__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
}

.impl-meter__row strong {
    color: #16a34a;
    font-weight: 950;
}

.impl-meter__bar {
    height: 8px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 80%, transparent 20%);
    overflow: hidden;
}

.impl-meter__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(239,68,68,0.55), rgba(34,197,94,0.95));
    border-radius: 999px;
}

.impl-check {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.impl-check li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--foreground);
    line-height: 1.45;
}

.impl-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 950;
}

.impl-chat {
    display: grid;
    gap: 0.55rem;
}

.impl-bubble {
    max-width: 78%;
    padding: 0.62rem 0.78rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: color-mix(in hsl, var(--background) 74%, var(--section-gray) 26%);
    color: var(--foreground);
    line-height: 1.35;
    box-shadow: 0 20px 60px -55px rgba(0,0,0,0.75);
}

.impl-bubble--in { justify-self: start; }
.impl-bubble--out {
    justify-self: end;
    background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
    border-color: transparent;
    color: white;
}

/* =====================================================
   PRICING additions (list + under + ROI)
   ===================================================== */
.plan__cta {
    width: 100%;
    margin-top: 1.15rem;
}

.plan__list {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0;
}

.plan__list li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--muted-foreground);
    line-height: 1.45;
}

.plan__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 900;
}

.pricing-under {
    margin-top: 1.6rem;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    text-align: center;
}

.pricing-note {
    color: var(--muted-foreground);
    margin: 0;
}

.roi {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .roi {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: center;
    }
}

.roi__title {
    font-size: 2rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .roi__title {
        font-size: 2.4rem;
    }
}

.roi__lead {
    color: var(--muted-foreground);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.roi__list {
    display: grid;
    gap: 0.6rem;
    margin: 0 0 1.25rem 0;
    padding: 0;
}

.roi__list li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--foreground);
}

.roi__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 900;
}

.roi-card {
    --fill: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.25rem 1.25rem;
    box-shadow: 0 30px 90px -70px rgba(0,0,0,0.55);
}

.roi-card__title {
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.roi-metric {
    padding: 0.9rem 0;
    border-top: 1px solid var(--border);
}

.roi-metric:first-of-type {
    border-top: none;
}

.roi-metric__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 0.35rem;
}

.roi-metric__name {
    font-weight: 750;
}

.roi-metric__delta {
    font-weight: 850;
    color: #16a34a;
}

.roi-metric__sub {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
}

.roi-metric__bar {
    height: 8px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 80%, transparent 20%);
    overflow: hidden;
}

.roi-metric__bar span {
    display: block;
    height: 100%;
    width: var(--bar);
    background: linear-gradient(90deg, #ef4444 0%, #22c55e 100%);
    transform-origin: left;
    transform: scaleX(var(--fill));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.roi-payback {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    align-items: baseline;
}

.roi-payback__label {
    color: var(--muted-foreground);
}

.roi-payback__value {
    font-weight: 900;
    letter-spacing: -0.02em;
}

.roi-tip {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--section-gray);
    color: var(--muted-foreground);
    display: grid;
    gap: 0.25rem;
}

.roi-tip__label {
    font-weight: 800;
    color: var(--foreground);
}

.roi-cta {
    margin-top: 1.25rem;
    display: grid;
    justify-items: center;
}

.roi-cta__card {
    width: min(56rem, 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, color-mix(in hsl, var(--background) 70%, var(--section-gray) 30%) 0%, var(--background) 100%);
    padding: 1.6rem 1.5rem;
    box-shadow: 0 30px 90px -75px rgba(0,0,0,0.6);
    text-align: center;
}

.roi-cta__card .h3 {
    margin-bottom: 0.35rem;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq {
    max-width: 58rem;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.faq-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .faq-shell {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 2rem;
    }
    .faq {
        max-width: none;
        margin: 0;
    }
}

.faq-aside {
    position: relative;
}

@media (min-width: 1024px) {
    .faq-aside__card {
        position: sticky;
        top: calc(var(--header-h) + 28px);
    }
}

.faq-aside__card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: radial-gradient(700px 260px at 15% 10%, rgba(99,102,241,0.16), transparent 60%),
                radial-gradient(620px 240px at 85% 20%, rgba(34,197,94,0.12), transparent 62%),
                var(--background);
    padding: 1.25rem 1.25rem;
    box-shadow: 0 40px 110px -95px rgba(0,0,0,0.75);
    display: grid;
    gap: 0.85rem;
}

.faq-aside__kicker {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.faq-aside__title {
    font-size: 1.5rem;
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.faq-aside__list {
    display: grid;
    gap: 0.55rem;
    color: var(--foreground);
    margin: 0;
    padding: 0;
}

.faq-aside__list li {
    color: var(--muted-foreground);
    line-height: 1.45;
}

.faq-aside__list strong {
    color: var(--foreground);
    font-weight: 900;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--background);
    overflow: hidden;
    box-shadow: 0 22px 60px -55px rgba(0,0,0,0.55);
}

.faq-q {
    list-style: none;
    cursor: pointer;
    padding: 1.05rem 1.25rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: "+";
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--section-gray);
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    flex-shrink: 0;
}

details[open] > .faq-q::after {
    content: "—";
    color: var(--foreground);
}

.faq-a {
    padding: 0 1.25rem 1.05rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}

.faq-a p {
    margin: 0.5rem 0 0;
}

.faq-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: color-mix(in hsl, var(--primary) 35%, transparent 65%);
}

/* =====================================================
   ABOUT carousel + stats
   ===================================================== */
.about-carousel {
    margin-top: 1.75rem;
}

.about-carousel__inner {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: radial-gradient(900px 320px at 18% 10%, rgba(99,102,241,0.14), transparent 60%),
                radial-gradient(820px 300px at 85% 15%, rgba(34,197,94,0.10), transparent 62%),
                var(--background);
    padding: 2rem 2.25rem 2.25rem;
    box-shadow: 0 30px 90px -70px rgba(0,0,0,0.55);
    position: relative;
    overflow: hidden;
}

.about-carousel__inner .carousel__viewport {
    min-height: 300px;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: height;
}

@media (max-width: 480px) {
    .about-carousel__inner .carousel__viewport {
        min-height: 340px;
    }
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    /* keep content away from carousel arrows */
    padding-inline: 3.1rem;
}

@media (min-width: 900px) {
    .about-cards {
        grid-template-columns: 0.92fr 1.08fr;
        grid-template-rows: auto auto;
        gap: 1.1rem;
        align-items: stretch;
    }

    .about-cards > .about-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .about-cards > .about-card:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .about-cards > .about-visual {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .about-cards {
        padding-inline: 2.7rem;
    }
}

.about-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(135deg, color-mix(in hsl, var(--background) 72%, var(--section-gray) 28%) 0%, var(--background) 100%);
    padding: 1.25rem 1.15rem;
    box-shadow: 0 26px 70px -60px rgba(0,0,0,0.6);
}

.about-card__icon {
    margin: 0 0 0.9rem;
}

.about-card__title {
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.45rem;
}

.about-card__text {
    color: var(--muted-foreground);
    line-height: 1.55;
    margin: 0;
}

.about-slide__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: white;
}

.about-slide__icon svg {
    width: 24px;
    height: 24px;
}

.about-slide__icon--violet { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.about-slide__icon--pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.about-slide__icon--orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.about-slide__icon--green { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.about-slide__icon--blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }

/* About visual (3rd card in each slide) */
.about-visual {
    --accent-h: 235;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.25rem 1.15rem;
    background:
        radial-gradient(760px 320px at 18% 10%, hsl(var(--accent-h) 90% 60% / 0.18), transparent 60%),
        radial-gradient(620px 280px at 86% 18%, hsl(var(--accent-h) 90% 60% / 0.10), transparent 62%),
        linear-gradient(135deg, color-mix(in hsl, var(--background) 74%, var(--section-gray) 26%) 0%, var(--background) 100%);
    box-shadow: 0 40px 110px -90px rgba(0,0,0,0.75);
    display: grid;
    gap: 1rem;
    align-content: start;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.about-visual::after {
    content: "";
    position: absolute;
    inset: -55% -55%;
    background:
        radial-gradient(circle at 32% 18%, rgba(255,255,255,0.14), transparent 58%),
        linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 14px),
        linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px);
    transform: rotate(18deg);
    opacity: 0.9;
    pointer-events: none;
}

.about-visual--violet { --accent-h: 270; }
.about-visual--green { --accent-h: 145; }
.about-visual--blue { --accent-h: 210; }

.about-visual__meta,
.about-visual__rail,
.about-visual__chips {
    position: relative;
    z-index: 1;
}

.about-visual__meta {
    display: grid;
    gap: 0.35rem;
}

.about-visual__kicker {
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: color-mix(in hsl, var(--foreground) 75%, hsl(var(--accent-h) 90% 60%) 25%);
}

.about-visual__title {
    font-size: 1.28rem;
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.about-visual__sub {
    color: var(--muted-foreground);
    line-height: 1.45;
}

.about-visual__rail {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.15rem;
}

.about-rail {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0.1rem;
}

.about-rail__line {
    position: absolute;
    left: 6px;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--border) 70%, transparent 30%);
    overflow: hidden;
}

.about-rail__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: translateX(-65%);
    opacity: 0;
}

.about-rail__dot {
    position: relative;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: color-mix(in hsl, var(--background) 60%, var(--border) 40%);
    border: 1px solid color-mix(in hsl, var(--border) 70%, transparent 30%);
    box-shadow: 0 14px 36px -30px rgba(0,0,0,0.75);
}

.about-rail__dot.is-on {
    border-color: transparent;
    background: hsl(var(--accent-h) 90% 60% / 0.95);
    box-shadow: 0 18px 50px -36px hsl(var(--accent-h) 90% 60% / 0.55);
}

.about-rail__labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.about-rail__labels span {
    text-align: center;
}

.about-visual__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.1rem;
}

.about-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in hsl, var(--background) 78%, var(--section-gray) 22%);
    color: var(--foreground);
    font-weight: 750;
    letter-spacing: -0.01em;
    font-size: 0.85rem;
    box-shadow: 0 22px 60px -60px rgba(0,0,0,0.75);
}

/* Animate internals when slide becomes active */
.about-slide .about-visual__meta,
.about-slide .about-visual__rail,
.about-slide .about-pill {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-slide.is-active .about-visual__meta,
.about-slide.is-active .about-visual__rail,
.about-slide.is-active .about-pill {
    opacity: 1;
    transform: translateY(0);
}

.about-slide.is-active .about-visual__meta { transition-delay: 80ms; }
.about-slide.is-active .about-visual__rail { transition-delay: 140ms; }

.about-slide.is-active .about-pill:nth-child(1) { transition-delay: 200ms; }
.about-slide.is-active .about-pill:nth-child(2) { transition-delay: 250ms; }
.about-slide.is-active .about-pill:nth-child(3) { transition-delay: 300ms; }

@media (prefers-reduced-motion: no-preference) {
    .about-slide.is-active .about-rail__line::after {
        opacity: 0.75;
        animation: aboutRailSheen 2.8s ease-in-out infinite;
    }

    @keyframes aboutRailSheen {
        0% { transform: translateX(-65%); }
        50% { transform: translateX(65%); }
        100% { transform: translateX(-65%); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-carousel__inner .carousel__viewport {
        transition: none;
    }
}

/* legacy single-card slide styles kept for safety */
.about-slide__title { display: none; }
.about-slide__text { display: none; }

.about-stats {
    margin-top: 2rem;
}

.about-stats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .about-stats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.about-stat {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--background);
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 22px 60px -55px rgba(0,0,0,0.55);
}

.about-stat__value {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stat__text {
    color: var(--muted-foreground);
    line-height: 1.35;
}

/* =====================================================
   CONTACT (skeleton layout)
   ===================================================== */
.contact-shell {
    display: flex;
    justify-content: center;
}

.contact-form--skeleton {
    max-width: 740px;
    width: 100%;
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 90px -70px rgba(0,0,0,0.55);
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-meta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    color: var(--muted-foreground);
}

.contact-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--background);
}

.contact-meta__icon {
    font-size: 1rem;
}

/* =====================================================
   DARK THEME touchups for new cards
   ===================================================== */
[data-theme="dark"] .order-card__status {
    background: color-mix(in hsl, #f59e0b 18%, var(--background) 82%);
    border-color: color-mix(in hsl, #f59e0b 14%, var(--border) 86%);
    color: color-mix(in hsl, var(--foreground) 90%, #f59e0b 10%);
}

/* Floating CTA (like skeleton) */
.floating-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    background: var(--primary);
    color: var(--primary-foreground);
    border: 1px solid color-mix(in hsl, var(--primary) 50%, transparent 50%);
    box-shadow: 0 20px 60px -30px rgba(30,17,69,0.7);
    font-weight: 650;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 70px -35px rgba(30,17,69,0.8);
}

@media (max-width: 640px) {
    .floating-cta {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        right: 12px;
        bottom: 12px;
    }
}

