/* =====================================================
   Delta Soft — landing styles (v2: Premium SaaS)
   Stack: pure CSS, Manrope, light theme + dark hero
   ===================================================== */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color .15s ease;
}

a:hover { color: var(--primary-800); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-600);
    outline-offset: 2px;
    border-radius: 8px;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
}

ul, ol { margin: 0; padding: 0; list-style: none; }
p  { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }

h1 { font-size: clamp(2.5rem, 6.2vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); letter-spacing: -0.025em; line-height: 1.08; }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; font-weight: 700; }
h4 { font-size: .9375rem; font-weight: 700; letter-spacing: 0; }

/* ---------- Tokens ---------- */
:root {
    --bg: #fbfbfd;
    --bg-alt: #f5f5f8;
    --surface: #ffffff;
    --ink: #0a0a0f;
    --ink-soft: #2c2c3a;
    --muted: #6b6b7d;
    --muted-soft: #9999a8;
    --border: #ececf1;
    --border-strong: #d9d9e0;

    --primary-50:  #eef0ff;
    --primary-100: #e0e3ff;
    --primary-200: #c7ccff;
    --primary-300: #a5b0fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #1e1b4b;
    --primary-950: #0f0d2e;

    --accent-300: #6ee7b7;
    --accent-400: #34d399;
    --accent-500: #10b981;
    --accent-600: #059669;
    --accent-700: #047857;

    --cyan-400:  #22d3ee;
    --purple-400: #a78bfa;
    --pink-400:  #f472b6;
    --amber-400: #fbbf24;
    --rose-400:  #fb7185;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(15, 15, 30, .04);
    --shadow-sm: 0 2px 6px -1px rgba(15, 15, 30, .06), 0 1px 2px rgba(15, 15, 30, .04);
    --shadow-md: 0 12px 30px -10px rgba(15, 15, 30, .12), 0 4px 10px -4px rgba(15, 15, 30, .06);
    --shadow-lg: 0 30px 60px -20px rgba(15, 15, 30, .18), 0 10px 20px -10px rgba(15, 15, 30, .08);
    --shadow-xl: 0 50px 100px -30px rgba(30, 27, 75, .35);
    --shadow-glow: 0 0 0 1px rgba(99, 102, 241, .14), 0 20px 60px -20px rgba(99, 102, 241, .35);

    --container: 1240px;
    --header-h: 72px;

    --grad-primary:  linear-gradient(135deg, #4f46e5 0%, #1e1b4b 100%);
    --grad-accent:   linear-gradient(135deg, #10b981 0%, #047857 100%);
    --grad-text:     linear-gradient(120deg, #818cf8 0%, #34d399 60%, #22d3ee 100%);
    --grad-icon-1:   linear-gradient(135deg, #6366f1, #4338ca);
    --grad-icon-2:   linear-gradient(135deg, #10b981, #047857);
    --grad-icon-3:   linear-gradient(135deg, #06b6d4, #0e7490);
    --grad-icon-4:   linear-gradient(135deg, #a78bfa, #7c3aed);
    --grad-icon-5:   linear-gradient(135deg, #f59e0b, #d97706);
    --grad-icon-6:   linear-gradient(135deg, #f472b6, #db2777);
    --grad-icon-7:   linear-gradient(135deg, #fb7185, #e11d48);
}

/* ---------- Selection ---------- */
::selection {
    background: var(--primary-200);
    color: var(--primary-900);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(72px, 10vw, 120px) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(40px, 6vw, 72px);
    text-align: center;
}

.section-sub {
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin: 0;
    line-height: 1.55;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--primary-700);
    padding: 7px 14px;
    background: var(--primary-50);
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    border: 1px solid var(--primary-100);
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .2);
}

.eyebrow.eyebrow-on-dark {
    color: #c7ccff;
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
}
.eyebrow.eyebrow-on-dark::before {
    background: var(--accent-400);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, .25);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    font-size: .8125rem;
    font-weight: 600;
    background: var(--primary-50);
    color: var(--primary-700);
    margin-bottom: 16px;
    border: 1px solid var(--primary-100);
}

.badge-accent {
    background: rgba(16, 185, 129, .1);
    color: var(--accent-700);
    border-color: rgba(16, 185, 129, .2);
}

.text-grad {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    font-weight: 600;
    font-size: .9375rem;
    border-radius: var(--radius-pill);
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .15s ease, border-color .15s ease;
    text-align: center;
    border: 1px solid transparent;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -0.005em;
}

.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(79, 70, 229, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
    color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    border-color: var(--primary-400);
    color: var(--primary-700);
    background: var(--primary-50);
}

.btn-on-dark {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
}
.btn-on-dark:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-color: rgba(255, 255, 255, .25);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 251, 253, .7);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(251, 251, 253, .9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.0625rem;
    letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-flex; }

.primary-nav ul {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 4px;
    background: rgba(255, 255, 255, .5);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
}

.primary-nav a {
    display: inline-block;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .9rem;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: background .15s, color .15s;
}

.primary-nav a:hover {
    color: var(--primary-700);
    background: var(--primary-50);
}

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

.lang-btn {
    padding: 7px 11px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-size: .8125rem;
    font-weight: 700;
    color: var(--muted);
    cursor: not-allowed;
    background: var(--surface);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO — dark mesh, gradient text, floating orbs
============================================================ */
.hero {
    position: relative;
    padding: clamp(72px, 11vw, 128px) 0 clamp(72px, 12vw, 128px);
    overflow: hidden;
    isolation: isolate;
    background: #0a0815;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(800px 500px at 15% 20%, rgba(99, 102, 241, .35), transparent 60%),
        radial-gradient(700px 600px at 90% 10%, rgba(16, 185, 129, .25), transparent 60%),
        radial-gradient(900px 700px at 50% 95%, rgba(168, 85, 247, .22), transparent 60%),
        linear-gradient(180deg, #0a0815 0%, #0f0d2e 100%);
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(99, 102, 241, .12) 0%, transparent 30%),
        radial-gradient(circle at 90% 60%, rgba(34, 211, 238, .1) 0%, transparent 30%);
    filter: blur(40px);
    opacity: .9;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    opacity: .55;
}

.hero-orb-1 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: 10%; left: -80px;
    animation: orbFloat1 18s ease-in-out infinite;
}
.hero-orb-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    top: 40%; right: -60px;
    animation: orbFloat2 22s ease-in-out infinite;
}
.hero-orb-3 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
    bottom: 5%; left: 40%;
    animation: orbFloat3 26s ease-in-out infinite;
}

@keyframes orbFloat1 { 0%,100% { transform: translate(0,0) } 50% { transform: translate(40px, -30px) } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-50px, 40px) } }
@keyframes orbFloat3 { 0%,100% { transform: translate(0,0) } 50% { transform: translate(30px, -40px) } }

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 920px;
}

.hero h1 {
    color: #fff;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero h1 .text-grad {
    background: linear-gradient(120deg, #818cf8 0%, #34d399 55%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, .75);
    max-width: 720px;
    margin-bottom: 36px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 2.5vw, 24px);
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.hero-stats li {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

.hero-stats strong {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(120deg, #fff 0%, #c7ccff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stats span {
    font-size: .8125rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.4;
}

/* ---------- Cards grid ---------- */
.grid {
    display: grid;
    gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cards .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    isolation: isolate;
}

.cards .card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-text);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.cards .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.cards .card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    color: var(--ink);
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.card p {
    color: var(--muted);
    margin: 0;
    font-size: .9375rem;
    line-height: 1.55;
}

.cards-tall .card { padding: 36px 32px; }

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 22px;
    color: #fff;
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .2);
    background: var(--grad-icon-1);
    position: relative;
}

.card-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .15), transparent 50%);
    pointer-events: none;
}

.cards > .card:nth-child(6n+1) .card-icon { background: var(--grad-icon-1); }
.cards > .card:nth-child(6n+2) .card-icon { background: var(--grad-icon-2); }
.cards > .card:nth-child(6n+3) .card-icon { background: var(--grad-icon-3); }
.cards > .card:nth-child(6n+4) .card-icon { background: var(--grad-icon-4); }
.cards > .card:nth-child(6n+5) .card-icon { background: var(--grad-icon-5); }
.cards > .card:nth-child(6n+6) .card-icon { background: var(--grad-icon-6); }

.card-icon-lg {
    width: 56px;
    height: 56px;
}

/* ============================================================
   Tech stack — categorized
============================================================ */
.tech-stack {
    margin-top: 56px;
    padding: 40px clamp(20px, 4vw, 48px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    text-align: left;
}

.tech-category {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-category-title {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    font-weight: 700;
    margin: 0 0 4px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-pills li {
    padding: 8px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--ink-soft);
    font-weight: 600;
    font-size: .875rem;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}

.tech-pills li:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-800);
    transform: translateY(-1px);
}

/* ============================================================
   Generic pills
============================================================ */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0;
}

.pills li {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--ink-soft);
    font-weight: 600;
    font-size: .9rem;
    border: 1px solid var(--border);
    transition: background .15s, color .15s, transform .15s, border-color .15s;
}

.pills li:hover {
    background: var(--primary-50);
    color: var(--primary-800);
    border-color: var(--primary-200);
    transform: translateY(-1px);
}

.pills-lg li {
    padding: 12px 22px;
    font-size: 1rem;
}

/* ============================================================
   Integrations — icon cards
============================================================ */
.integration-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.int-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform .15s, box-shadow .2s, border-color .15s;
    aspect-ratio: 1.2 / 1;
}

.int-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.int-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--primary-700);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.int-card span:last-child {
    font-size: .875rem;
    color: var(--ink-soft);
    font-weight: 600;
}

/* ============================================================
   Monetization — cards
============================================================ */
.mon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mon-card {
    padding: 22px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--ink);
    font-size: .9375rem;
    line-height: 1.4;
    transition: transform .15s, border-color .15s, box-shadow .2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mon-card::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad-text);
}

.mon-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   Product block (Delivo)
============================================================ */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.product-text h2 {
    color: var(--ink);
}

.product-text h2 .text-grad {
    background: linear-gradient(120deg, #4f46e5 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.product-text p {
    color: var(--ink-soft);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.who-for {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    margin: 28px 0 14px;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.checklist li {
    padding-left: 32px;
    position: relative;
    color: var(--ink-soft);
    font-size: 1rem;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--grad-icon-2);
    box-shadow: 0 4px 10px -3px rgba(16, 185, 129, .5);
}

.checklist li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: calc(.35em + 6px);
    width: 10px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================================
   Product mockup — rich Delivo UI
============================================================ */
.product-visual {
    perspective: 1400px;
    position: relative;
}

.mockup {
    background: linear-gradient(180deg, #ffffff 0%, #fafafd 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(99, 102, 241, .04);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-3deg) rotateX(2deg);
    position: relative;
    isolation: isolate;
}

.mockup::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99, 102, 241, .25), transparent 50%, rgba(16, 185, 129, .15));
    z-index: -1;
    filter: blur(20px);
    opacity: .8;
}

.mockup-bar {
    background: linear-gradient(180deg, #f5f5f8, #ececf1);
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-bar-dots { display: flex; gap: 6px; }
.mockup-bar-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #d0d0d8;
}
.mockup-bar-dots span:nth-child(1) { background: #fc6058; }
.mockup-bar-dots span:nth-child(2) { background: #fdbc40; }
.mockup-bar-dots span:nth-child(3) { background: #34c84a; }

.mockup-url {
    flex: 1;
    margin: 0 16px;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .75rem;
    color: var(--muted);
    text-align: center;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.mockup-body { display: flex; min-height: 440px; }

.mockup-sidebar {
    width: 200px;
    background: linear-gradient(180deg, #1e1b4b 0%, #0f0d2e 100%);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #c7ccff;
}

.mockup-sidebar-brand {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 8px 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mockup-sidebar-brand-mark {
    width: 24px; height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #818cf8, #34d399);
}
.mockup-sidebar-brand-text {
    font-size: .8125rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.mockup-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: .75rem;
    color: rgba(255, 255, 255, .55);
    font-weight: 500;
}
.mockup-nav-item::before {
    content: "";
    width: 14px; height: 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .12);
    flex-shrink: 0;
}
.mockup-nav-item.active {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.mockup-nav-item.active::before {
    background: linear-gradient(135deg, #818cf8, #34d399);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fafafd;
}

.mockup-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-toolbar h4 {
    margin: 0;
    font-size: .9375rem;
    color: var(--ink);
}

.mockup-date {
    font-size: .6875rem;
    color: var(--muted);
    padding: 4px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

.mockup-kpi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.kpi-card {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.kpi-label { font-size: .625rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.kpi-value { font-size: 1.25rem; font-weight: 800; color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; margin-top: 2px; }
.kpi-delta { font-size: .6875rem; font-weight: 700; margin-top: 2px; }
.kpi-delta.up   { color: var(--accent-600); }
.kpi-delta.down { color: var(--rose-400); }

.mockup-chart-card {
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.mockup-chart-card .ch-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.mockup-chart-card .ch-title { font-size: .75rem; color: var(--ink); font-weight: 700; }
.mockup-chart-card .ch-legend { display: flex; gap: 10px; font-size: .625rem; color: var(--muted); }
.mockup-chart-card .ch-legend span { display: inline-flex; align-items: center; gap: 4px; }
.mockup-chart-card .ch-legend span::before {
    content: ""; width: 8px; height: 8px; border-radius: 2px; background: #6366f1;
}
.mockup-chart-card .ch-legend span + span::before { background: #10b981; }

.mockup-chart-svg { width: 100%; height: 90px; display: block; }

.mockup-list { display: flex; flex-direction: column; gap: 6px; }

.courier-row {
    display: grid;
    grid-template-columns: 28px 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.courier-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .625rem;
    background: var(--grad-icon-1);
}
.courier-row:nth-child(2) .courier-avatar { background: var(--grad-icon-2); }
.courier-row:nth-child(3) .courier-avatar { background: var(--grad-icon-4); }
.courier-row:nth-child(4) .courier-avatar { background: var(--grad-icon-3); }

.courier-name { font-size: .75rem; font-weight: 600; color: var(--ink); }

.courier-status {
    font-size: .625rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}
.courier-status.active {
    background: rgba(16, 185, 129, .12);
    color: var(--accent-700);
}
.courier-status.idle {
    background: var(--bg-alt);
    color: var(--muted);
}
.courier-status.busy {
    background: rgba(251, 191, 36, .15);
    color: #b45309;
}

.courier-meta {
    font-size: .625rem;
    color: var(--muted);
    font-weight: 600;
}

/* Floating decorations around mockup */
.mockup-float {
    position: absolute;
    z-index: 3;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink);
}

.mockup-float-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.mockup-float-top {
    top: -16px;
    right: -16px;
    animation: floatY 5s ease-in-out infinite;
}
.mockup-float-top .mockup-float-icon { background: var(--grad-icon-2); }

.mockup-float-bottom {
    bottom: -20px;
    left: -24px;
    animation: floatY 5s ease-in-out infinite reverse;
}
.mockup-float-bottom .mockup-float-icon { background: var(--grad-icon-1); }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ============================================================
   Product highlight (600k stat)
============================================================ */
.product-highlight {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    margin: 24px 0 4px;
    background: linear-gradient(135deg, rgba(79, 70, 229, .06) 0%, rgba(16, 185, 129, .06) 100%);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.product-highlight::before {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(79, 70, 229, .15) 0%, transparent 60%);
    z-index: -1;
}

.ph-value {
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-800);
    line-height: 1;
    background: linear-gradient(120deg, #4f46e5 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.ph-value span {
    font-size: .7em;
    margin-left: 1px;
}

.ph-label {
    font-size: .9375rem;
    color: var(--ink-soft);
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ph-label strong {
    color: var(--ink);
    font-weight: 700;
}

/* ============================================================
   Trust — Security / Infrastructure section
============================================================ */
.section-trust {
    background:
        radial-gradient(900px 400px at 50% 0%, rgba(99, 102, 241, .07), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(16, 185, 129, .06), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, #f3f4fc 100%);
    position: relative;
}

.section-trust::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

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

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.trust-card {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .25s, border-color .2s, background .2s;
    isolation: isolate;
}

.trust-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, .95);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grad-icon-1);
    color: #fff;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.trust-card:nth-child(2) .trust-icon { background: var(--grad-icon-2); }
.trust-card:nth-child(3) .trust-icon { background: var(--grad-icon-3); }
.trust-card:nth-child(4) .trust-icon { background: var(--grad-icon-4); }

.trust-num {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.trust-card h3 {
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.trust-card p {
    color: var(--muted);
    margin: 0;
    font-size: .875rem;
    line-height: 1.55;
}

/* ============================================================
   Directions — feature cards with gradient
============================================================ */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.direction-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .25s, border-color .2s;
    isolation: isolate;
}

.direction-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 100% 0%, rgba(99, 102, 241, .08), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 0;
}

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

.direction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}
.direction-card:hover::before {
    opacity: 1;
}

.direction-card h3 {
    font-size: 1.375rem;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.direction-card p {
    color: var(--muted);
    margin: 0;
    font-size: .9375rem;
    line-height: 1.6;
}

.direction-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.direction-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.direction-card:nth-child(1) .direction-icon { background: var(--grad-icon-1); }
.direction-card:nth-child(2) .direction-icon { background: var(--grad-icon-2); }
.direction-card:nth-child(3) .direction-icon { background: var(--grad-icon-3); }
.direction-card:nth-child(4) .direction-icon { background: var(--grad-icon-4); }
.direction-card:nth-child(5) .direction-icon { background: var(--grad-icon-7); }

.direction-num {
    display: inline-block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--muted);
}

.direction-wide {
    grid-column: 1 / -1;
}

/* ============================================================
   Timeline — refined, vertical-then-horizontal
============================================================ */
.timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
    counter-reset: step;
    margin-bottom: 32px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: linear-gradient(90deg, #818cf8 0%, #10b981 50%, #22d3ee 100%);
    z-index: 0;
    opacity: .35;
}

.timeline-step {
    position: relative;
    text-align: center;
    padding: 0 6px;
    z-index: 1;
}

.step-num {
    display: inline-flex;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-700);
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.0625rem;
    border: 2px solid var(--primary-300);
    margin: 0 auto 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .2s, border-color .2s, box-shadow .25s;
}

.step-num::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .25s;
    z-index: -1;
}

.timeline-step:hover .step-num {
    transform: translateY(-2px);
    border-color: var(--primary-600);
    box-shadow: var(--shadow-md);
}
.timeline-step:hover .step-num::after { opacity: 1; }

.timeline-step h3 {
    font-size: .9375rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.timeline-step p {
    font-size: .8125rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.note {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .04), rgba(16, 185, 129, .04));
    border: 1px solid var(--primary-100);
    border-left: 3px solid var(--primary-600);
    border-radius: var(--radius-md);
    color: var(--ink-soft);
    font-size: .9375rem;
    margin: 0;
    line-height: 1.55;
}

.note strong { color: var(--primary-800); }

/* ============================================================
   Status strip
============================================================ */
.status-strip {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f0d2e 100%);
    color: #fff;
    padding: 26px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.status-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(400px 200px at 10% 50%, rgba(99, 102, 241, .25), transparent 60%),
        radial-gradient(400px 200px at 90% 50%, rgba(16, 185, 129, .2), transparent 60%);
    z-index: -1;
}

.status-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

.status-inner p { margin: 0; font-size: 1rem; }
.status-inner strong { color: var(--accent-400); }

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-400);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); }
    70%  { box-shadow: 0 0 0 14px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ============================================================
   Contacts
============================================================ */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contacts-text .lead {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.contacts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.contacts-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color .15s, box-shadow .2s, transform .15s;
}

.contacts-list li:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.contact-ico {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary-700);
}

.contact-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: var(--muted);
    font-size: .6875rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    margin-bottom: 2px;
}

.contacts-list a {
    font-weight: 600;
    color: var(--ink);
    font-size: .9375rem;
}
.contacts-list a:hover { color: var(--primary-700); }

/* Form */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, .25), transparent 50%);
    border-radius: inherit;
    filter: blur(40px);
    opacity: .4;
    pointer-events: none;
}

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

.form-title {
    margin-bottom: 20px;
    color: var(--ink);
    font-size: 1.375rem;
}

.field {
    display: block;
    margin-bottom: 16px;
}

.field-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    font-size: .9375rem;
    color: var(--ink);
    background: var(--bg);
    transition: border-color .15s, box-shadow .15s, background .15s;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-soft); }

.field input:focus,
.field textarea:focus {
    border-color: var(--primary-500);
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
    background: #fff;
}

.form-note {
    font-size: .75rem;
    color: var(--muted);
    margin: 14px 0 0;
    line-height: 1.5;
}

/* ============================================================
   Footer
============================================================ */
.site-footer {
    background: #0a0815;
    color: #c7ccff;
    padding: 72px 0 28px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 10% 0%, rgba(99, 102, 241, .15), transparent 60%),
        radial-gradient(500px 250px at 90% 100%, rgba(16, 185, 129, .1), transparent 60%);
    z-index: -1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand-footer { color: #fff; }
.brand-footer:hover { color: #fff; }

.footer-tagline {
    color: #a5b0fc;
    margin-top: 14px;
    font-size: .9375rem;
    max-width: 280px;
    line-height: 1.55;
}

.site-footer h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: .8125rem;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.site-footer nav ul,
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer a {
    color: #a5b0fc;
    font-size: .9375rem;
    transition: color .15s;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    font-size: .8125rem;
    color: #6b6b7d;
}

.footer-meta { margin: 0; }

/* ============================================================
   Reveal
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-orb { animation: none; }
    .mockup-float { animation: none; }
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .timeline::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .product-visual { max-width: 640px; margin: 0 auto; }
    .tech-stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .integration-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px 24px;
        transform: translateY(-110%);
        transition: transform .3s ease;
        box-shadow: var(--shadow-md);
    }
    .primary-nav.is-open { transform: translateY(0); }
    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: transparent;
        border: 0;
        padding: 0;
    }
    .primary-nav a {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }
    .primary-nav li:last-child a { border-bottom: 0; }
    .nav-toggle { display: inline-flex; }
    .lang-btn { display: none; }
    .header-actions .btn { display: none; }

    .grid-3 { grid-template-columns: 1fr; }
    .directions-grid { grid-template-columns: 1fr; }
    .direction-wide { grid-column: auto; }
    .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contacts-grid { grid-template-columns: 1fr; }
    .tech-stack-grid { grid-template-columns: 1fr; }
    .integration-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mon-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .product-highlight { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .hero-stats li { flex: 1 1 calc(50% - 8px); }

    .mockup-float { display: none; }
    .mockup { transform: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .btn { width: 100%; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .product-actions { flex-direction: column; align-items: stretch; }
    .product-actions .btn { width: 100%; }
    .timeline { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 22px; }
    .integration-cards { grid-template-columns: 1fr; }
    .hero-stats li { flex: 1 1 100%; }
}
