/* ============================================================
   Thoth — modern landing (bilingual EN / RU)
   Brand palette from the Thoth mark:
   teal #0EA98F / amber #FF9600 / blue #267BB8 / red #FD0129
   ============================================================ */

:root {
    /* brand */
    --teal: #0EA98F;
    --teal-d: #0C7866;
    --amber: #FF9600;
    --amber-l: #FCCA03;
    --blue: #267BB8;
    --blue-d: #254861;
    --red: #FD0129;

    /* neutral surfaces */
    --bg: #0B0F1A;
    --bg-2: #11172A;
    --surface: #161D33;
    --surface-2: #1E2742;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);

    /* text */
    --text: #ECF0FA;
    --muted: #9AA3BD;
    --muted-2: #6B748F;

    /* accents */
    --grad: linear-gradient(135deg, var(--amber) 0%, var(--red) 100%);
    --grad-cool: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);

    /* shape */
    --r: 16px;
    --r-lg: 24px;
    --r-sm: 10px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);

    /* layout */
    --container: 1180px;
    --gutter: clamp(20px, 5vw, 40px);

    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-alt: 'Inter', system-ui, sans-serif;
    --font-ru: 'Nunito', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Rounded font for Cyrillic (Russian) */
html[lang="ru"] body { font-family: var(--font-ru); }
html[lang="ru"] .section-title,
html[lang="ru"] .hero__title,
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3 {
    font-family: var(--font-ru);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; }
ul { list-style: none; padding: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ===== SVG icon system ===== */
#sprite { position: absolute; width: 0; height: 0; }
.ic { width: 28px; height: 28px; color: #fff; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
    white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 12px 30px -10px rgba(255, 150, 0, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 150, 0, .75); }
.btn--ghost {
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.btn--light { background: #fff; color: #1a1330; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(255, 255, 255, .5); }

/* ===== Language switcher ===== */
.lang {
    display: inline-flex;
    padding: 3px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-2);
    border-radius: 999px;
}
.lang__btn {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    transition: color .25s ease, background .25s ease;
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { background: var(--grad); color: #fff; }

/* ===== Eyebrow / titles ===== */
.eyebrow {
    display: inline-block;
    font-family: var(--font-alt);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
}
.eyebrow--light { color: #fff; opacity: .8; }
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-title {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
    max-width: 20em;
}
.section-sub {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 62ch;
}
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 56px; }

/* ===== Header ===== */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 16px 0;
    transition: background .3s ease, backdrop-filter .3s ease, padding .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(11, 15, 26, .75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    padding: 10px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { width: 38px; height: 38px; }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }

.nav { display: flex; gap: 6px; }
.nav__link {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 500;
    font-size: .95rem;
    transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

/* Email link — shown only in the burger menu, orange text */
.nav__email {
    display: none;            /* hidden in the desktop top nav */
    margin-top: 6px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--amber);
    word-break: break-all;
}

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

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 160px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(255, 150, 0, .12), transparent 60%),
        radial-gradient(900px 500px at 10% 10%, rgba(14, 169, 143, .12), transparent 60%),
        var(--bg);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; z-index: 0; }
.hero__glow--1 { width: 480px; height: 480px; background: var(--amber); top: -120px; right: -80px; }
.hero__glow--2 { width: 420px; height: 420px; background: var(--teal); bottom: -160px; left: -120px; }
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    z-index: 0;
}
.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;
}
.hero__title {
    font-size: clamp(2.6rem, 6.5vw, 5.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
    margin: 4px 0 22px;
    overflow-wrap: break-word;
    hyphens: none;
}
/* Cyrillic words are longer — scale the hero title down a touch so it fits. */
html[lang="ru"] .hero__title { font-size: clamp(2.2rem, 5.6vw, 4.6rem); letter-spacing: -.02em; }
.hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 52ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__bullets { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: .92rem; }
.hero__bullets li { display: inline-flex; align-items: center; gap: 8px; }
.hero__bullets svg { color: var(--teal); flex: 0 0 auto; }

/* orbit visual */
.hero__visual { display: flex; align-items: center; justify-content: center; }
.orbit {
    position: relative;
    width: min(440px, 80vw);
    aspect-ratio: 1;
}
.orbit__core {
    position: absolute;
    top: 50%; left: 50%;
    width: 300px; height: 300px;
    margin: -150px 0 0 -150px;
    border-radius: 50%;
    z-index: 3;
    cursor: pointer;
}

/* Single SVG holds both rings — guarantees identical thickness,
   shared center and exact 1.5x diameter ratio. */
.orbit__svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);        /* start drawing from the top */
    pointer-events: none;
    z-index: 5;                       /* rings above the photo */
}
/* track (unfilled background) */
.orbit__r100-track, .orbit__r60-track {
    fill: none;
    stroke: rgba(255, 255, 255, .07);
    stroke-width: 10;
}
/* green inner ring (100%) — sits OUTSIDE the photo with a gap */
.orbit__r100 {
    fill: none;
    stroke: var(--teal);
    stroke-width: 10;
    stroke-linecap: round;
    /* r=85 => circumference ≈ 534.07 */
    stroke-dasharray: 534.07;
    stroke-dashoffset: 534.07;
    filter: drop-shadow(0 0 6px rgba(14, 169, 143, .9));
}
/* orange outer ring (60%) — 1.5x green radius */
.orbit__r60 {
    fill: none;
    stroke: var(--amber);
    stroke-width: 10;
    stroke-linecap: round;
    /* r=128 => circumference ≈ 804.25; 60% drawn => final offset = 40% = 321.70 */
    stroke-dasharray: 804.25;
    stroke-dashoffset: 804.25;
    filter: drop-shadow(0 0 6px rgba(255, 150, 0, .85));
}

/* Round photo of a person inside the green ring */
.orbit__avatar {
    position: absolute;
    top: 50%; left: 50%;
    width: 140px; height: 140px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(14, 169, 143, .35), inset 0 0 30px rgba(255, 255, 255, .1);
    z-index: 4;
}
.orbit__avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Animations (triggered by .is-playing) ===== */
@keyframes drawRing100 { to { stroke-dashoffset: 0; } }            /* 100% */
@keyframes drawRing60  { to { stroke-dashoffset: 321.70; } }      /* 60%  */

.orbit__core.is-playing .orbit__r100 {
    animation: drawRing100 2.6s cubic-bezier(.4, 0, .2, 1) forwards;
}
.orbit__core.is-playing .orbit__r60 {
    animation: drawRing60 2.6s cubic-bezier(.4, 0, .2, 1) 1s forwards;
}

/* "100%" marker — top of the green ring (draw completes => full circle,
   so the marker sits at the starting/top point) */
.orbit__pct {
    position: absolute;
    top: 50px; left: 50%;             /* on the green ring at the top */
    transform: translate(-50%, -50%) scale(.4);
    z-index: 8;
    padding: 5px 13px;
    font-size: .95rem;
    font-weight: 800;
    color: #06241f;
    background: var(--teal);
    border: 2px solid var(--bg);
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    box-shadow: 0 0 0 rgba(14, 169, 143, 0);
}
@keyframes pctFlash {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.4); box-shadow: 0 0 0 rgba(14, 169, 143, 0); }
    45%  { opacity: 1; transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 0 26px rgba(14, 169, 143, .9); }
    70%  { opacity: 1; transform: translate(-50%, -50%) scale(.96); box-shadow: 0 0 14px rgba(14, 169, 143, .55); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 10px rgba(14, 169, 143, .35); }
}
.orbit__core.is-playing .orbit__pct {
    animation: pctFlash .9s cubic-bezier(.2, .8, .2, 1) 2.6s forwards;
}

/* "60%" marker — sits exactly where the orange arc ends.
   Arc goes clockwise from the top for 60% => end angle = 216° (from top).
   In the 300x300 box: x = 150 + 128·sin(216°) ≈ 74.95 (24.98%)
                        y = 150 − 128·cos(216°) ≈ 253.4 (84.5%) */
.orbit__pct60 {
    position: absolute;
    top: 84.5%; left: 24.98%;
    transform: translate(-50%, -50%) scale(.4);
    z-index: 8;
    padding: 5px 13px;
    font-size: .95rem;
    font-weight: 800;
    color: #3a1d00;
    background: var(--amber);
    border: 2px solid var(--bg);
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    box-shadow: 0 0 0 rgba(255, 150, 0, 0);
}
@keyframes pct60Flash {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.4); box-shadow: 0 0 0 rgba(255, 150, 0, 0); }
    45%  { opacity: 1; transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 0 26px rgba(255, 150, 0, .9); }
    70%  { opacity: 1; transform: translate(-50%, -50%) scale(.96); box-shadow: 0 0 14px rgba(255, 150, 0, .55); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 10px rgba(255, 150, 0, .35); }
}
.orbit__core.is-playing .orbit__pct60 {
    animation: pct60Flash .9s cubic-bezier(.2, .8, .2, 1) 3.6s forwards;   /* 1s delay + 2.6s draw = 3.6s */
}

.orbit__ring {
    position: absolute;
    top: 50%; left: 50%;
    border: 1px dashed rgba(255, 255, 255, .14);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.orbit__ring--1 { width: 60%; height: 60%; animation: spin 26s linear infinite; }
.orbit__ring--2 { width: 82%; height: 82%; animation: spin 38s linear infinite reverse; border-style: solid; border-color: rgba(255,255,255,.06); }
.orbit__ring--3 { width: 100%; height: 100%; animation: spin 60s linear infinite; }

/* Each node sits on the orbit circle. We position the node's CENTER on the
   circle using margin offsets, so long labels (RU) stay centered and never
   push the chip sideways. */
.orbit__node {
    position: absolute;
    top: var(--ny); left: var(--nx);
    transform: translate(-50%, -50%);
    max-width: 44%;
    padding: 7px 14px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 4;
    white-space: normal;
}
.orbit__node::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--c);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: .7;
    pointer-events: none;
}
/* node anchor points on the outer ring (percent of orbit box) */
.orbit__node--1 { --nx: 50%; --ny: 0%;   }
.orbit__node--2 { --nx: 93.3%; --ny: 25%; }
.orbit__node--3 { --nx: 93.3%; --ny: 75%; }
.orbit__node--4 { --nx: 50%; --ny: 100%; }
.orbit__node--5 { --nx: 6.7%;  --ny: 75%; }
.orbit__node--6 { --nx: 6.7%;  --ny: 25%; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.scroll-cue {
    position: absolute;
    left: 50%; bottom: 26px;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid var(--line-2);
    border-radius: 14px;
    z-index: 2;
}
.scroll-cue span {
    position: absolute; top: 8px; left: 50%;
    width: 4px; height: 8px; margin-left: -2px;
    background: var(--amber); border-radius: 2px;
    animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } }

/* ===== About / Stats ===== */
.about { padding: 110px 0; }
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.stats__item {
    padding: 34px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform .3s ease, border-color .3s ease;
}
.stats__item:hover { transform: translateY(-4px); border-color: var(--line-2); }
.stats__num {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats__sign { font-size: 1.6rem; font-weight: 700; color: var(--amber); vertical-align: top; margin-left: 2px; }
.stats__item p { margin-top: 14px; color: var(--muted); font-size: .95rem; }

/* ===== Modules grid (8 icons) ===== */
.features { padding: 50px 0 110px; }
.modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.module {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px 26px;
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
    overflow: hidden;
}
.module::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.module:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--surface-2); }
.module:hover::before { transform: scaleX(1); }
.module__icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--c) 22%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent);
    margin-bottom: 20px;
}
.module__icon .ic { color: var(--c); width: 30px; height: 30px; }
.module h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.module p { color: var(--muted); font-size: .94rem; }

/* ===== Screenshots / product tour ===== */
.screens { padding: 50px 0 100px; }
.screens__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    align-items: start;
}
.shot { display: flex; flex-direction: column; }
.shot--lg { grid-column: span 4; }
.shot--col { grid-column: span 2; align-self: start; position: sticky; top: 90px; transition: opacity .25s ease; }
.shot--mob { grid-column: span 2; }
.shot:not(.shot--lg):not(.shot--col):not(.shot--mob) { grid-column: span 4; }
/* Stacking cards in the right column (wide screens only) */
.shot--stack-base { z-index: 1; }
.shot--stack { z-index: 2; }

/* Browser window frame */
.shot__browser {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r) var(--r) 0 0;
    padding: 14px 14px 0;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.shot__browser::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 38px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.shot__dots { position: relative; z-index: 2; display: inline-flex; gap: 6px; padding: 6px 0 12px; }
.shot__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display: block; }
.shot__dots i:nth-child(1) { background: #FD0129; opacity: .7; }
.shot__dots i:nth-child(2) { background: #FF9600; opacity: .7; }
.shot__dots i:nth-child(3) { background: #0EA98F; opacity: .7; }
.shot__browser img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
    border-radius: 10px 10px 0 0;
    display: block;
}

/* Phone mockup */
.shot__phone {
    position: relative;
    background: #0a0d18;
    border: 1px solid var(--line-2);
    border-radius: 30px;
    padding: 10px;
    margin: 0 auto;
    max-width: 220px;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
    transition: transform .3s ease;
}
.shot__phone--inline { max-width: 180px; }
.shot__phone::before {
    content: "";
    position: absolute;
    top: 14px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 5px;
    background: var(--line-2);
    border-radius: 3px;
    z-index: 3;
}
.shot__phone img { width: 100%; border-radius: 22px; display: block; }

/* Caption */
.shot__cap { padding: 20px 4px 6px; }
.shot__cap--sm { padding-top: 16px; text-align: center; }
.shot__cap h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.shot__cap p { color: var(--muted); font-size: .92rem; }

/* hover lift on all shots */
.shot__browser:hover, .shot__phone:hover { transform: translateY(-5px); border-color: var(--amber); box-shadow: 0 24px 50px -24px rgba(255, 150, 0, .35); }

/* ===== CTA banner ===== */
.cta-banner { padding: 30px 0 110px; }
.cta-banner__inner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 90% -20%, rgba(255, 150, 0, .35), transparent 60%),
        linear-gradient(135deg, #2a1a4a, #0e1b3a);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    padding: 56px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    flex-wrap: wrap;
}
.cta-banner__inner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.cta-banner__inner p { color: rgba(255,255,255,.8); }

/* ===== Testimonials ===== */
.testimonials { padding: 60px 0 110px; }
.testi { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 900px; margin-inline: auto; }
.testi__nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.testi__arrow {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line-2);
    color: var(--text);
    display: grid; place-items: center;
    transition: background .25s ease, transform .25s ease;
}
.testi__arrow:hover { background: var(--grad); transform: scale(1.05); }
.testi__viewport { overflow: hidden; width: 100%; }
.testi__track { display: flex; width: 100%; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.testi__slide { flex: 0 0 100%; width: 100%; min-width: 100%; text-align: center; padding: 0 10px; }
.testi__stars { color: var(--amber); letter-spacing: 4px; margin-bottom: 18px; font-size: 1.1rem; }
.testi__slide blockquote {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    line-height: 1.55;
    font-weight: 500;
    max-width: 64ch;
    margin: 0 auto 26px;
    color: var(--text);
}
.testi__slide figcaption { display: inline-flex; align-items: center; gap: 14px; }
.testi__slide figcaption img { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--amber); object-fit: cover; }
.testi__slide figcaption strong { display: block; font-weight: 700; }
.testi__slide figcaption span { color: var(--muted); font-size: .9rem; }
.testi__dots { display: flex; gap: 8px; justify-content: center; width: 100%; margin-top: 24px; }
.testi__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .25s ease, width .25s ease; }
.testi__dots button.is-active { background: var(--amber); width: 26px; border-radius: 4px; }

/* ===== Contact ===== */
.contact {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(700px 400px at 80% 20%, rgba(255, 150, 0, .12), transparent 60%),
        radial-gradient(700px 400px at 10% 80%, rgba(14, 169, 143, .12), transparent 60%),
        var(--bg-2);
    border-top: 1px solid var(--line);
}
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.contact__text { color: var(--muted); margin-bottom: 18px; max-width: 42ch; }
.contact__email { color: var(--amber); font-weight: 600; font-size: 1.1rem; }
.contact__email:hover { text-decoration: underline; }
.contact__channels { margin-top: 32px; display: grid; gap: 12px; }
.contact__channels li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.ch { width: 32px; height: 32px; border-radius: 10px; flex: 0 0 auto; }
.ch--phone { background: linear-gradient(135deg, #4FB848, #2d8b2c); }
.ch--chat { background: linear-gradient(135deg, #FBAD18, #ff8a00); }
.ch--viber { background: linear-gradient(135deg, #7D3DAF, #5b2a8c); }

.contact__form {
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    padding: 34px;
    box-shadow: var(--shadow);
}
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
    width: 100%;
    background: rgba(0,0,0,.2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--text);
    padding: 18px 16px 8px;
    transition: border-color .2s ease;
}
.field textarea { padding-top: 22px; resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field label {
    position: absolute;
    left: 16px; top: 14px;
    color: var(--muted);
    pointer-events: none;
    transition: top .2s ease, font-size .2s ease, color .2s ease;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
    top: 6px; font-size: .72rem; color: var(--amber);
}

.answer { text-align: center; padding: 30px 10px; }
.answer__check {
    width: 64px; height: 64px; margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--teal);
    display: grid; place-items: center;
    font-size: 2rem; color: #fff;
    box-shadow: 0 0 0 8px rgba(14, 169, 143, .2);
}
.answer h3 { font-size: 1.5rem; margin-bottom: 6px; }
.answer p { color: var(--muted); margin-bottom: 22px; }

/* ===== Footer ===== */
.footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand--footer .brand__name { color: var(--text); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__nav a { color: var(--muted); font-size: .92rem; transition: color .2s ease; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { color: var(--muted); font-size: .9rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1040px) {
    .modules { grid-template-columns: repeat(3, 1fr); }
    /* On smaller laptops the RU nav + actions no longer fit — collapse early. */
    .nav { display: none; }
    .burger { display: flex; }
}
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { order: -1; }
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .modules { grid-template-columns: repeat(2, 1fr); }
    .header__actions .btn--ghost { display: none; }
    /* Screenshots: stack into a single column */
    .screens__grid { grid-template-columns: 1fr; }
    .shot--lg, .shot--col, .shot--mob, .shot:not(.shot--lg):not(.shot--col):not(.shot--mob) { grid-column: auto; }
    .shot--col { position: static; }
    .shot--col .shot__phone { max-width: 200px; }
}

@media (max-width: 760px) {
    .header__actions .btn--primary { display: none; }
    .nav {
        display: flex;
        position: fixed;
        inset: 64px var(--gutter) auto var(--gutter);
        flex-direction: column;
        align-items: stretch;
        background: rgba(17, 23, 42, .97);
        backdrop-filter: blur(16px);
        border: 1px solid var(--line-2);
        border-radius: var(--r);
        padding: 14px;
        gap: 4px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .25s ease, transform .25s ease;
    }
    .nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .nav__email { display: block; }   /* show the orange email link in the burger menu */
    .nav__link { padding: 12px 16px; }
    .hero { padding-top: 120px; }
    .cta-banner__inner { padding: 36px 26px; flex-direction: column; align-items: flex-start; }
    .footer__inner { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
    .modules { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .hero__cta .btn { width: 100%; }
    .lang__btn { padding: 5px 9px; }
}

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