/* ═══════════════════════════════════════════════════════════════
   NordCode.AI — Dark Premium SaaS
   Inspired by Linear / Vercel / Anthropic — refined dark aesthetic
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Палитра — глубокий чёрный с холодным свечением */
    --bg:        #07080C;
    --bg-2:      #0B0D14;
    --bg-3:      #11131C;
    --surface:   #15171F;
    --surface-2: #1B1E29;
    --border:    rgba(255, 255, 255, 0.06);
    --border-2:  rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);

    --text:      #F4F6FB;
    --text-2:    #B8C0CF;
    --text-3:    #6E7689;
    --text-4:    #4A5263;

    --accent:    #7DD3FC;        /* cyan */
    --accent-2:  #3B82F6;        /* blue */
    --accent-3:  #818CF8;        /* indigo */
    --accent-warm: #F59E0B;      /* для контраста */
    --success:   #34D399;

    --glow:      rgba(125, 211, 252, 0.18);
    --glow-2:    rgba(129, 140, 248, 0.15);

    /* Шрифты */
    --font-display: 'Unbounded', 'Onest', sans-serif;
    --font:         'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;

    /* Размеры */
    --max:       1280px;
    --gutter:    24px;
    --radius:    14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
}

/* ═══════════════════ ТЕКСТУРЫ ═════════════════════════ */

.grain {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 1000;
    opacity: 0.4;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

.noise {
    position: fixed; inset: 0;
    pointer-events: none; z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(125, 211, 252, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(129, 140, 248, 0.05), transparent 60%);
}

/* ═══════════════════ КНОПКИ ═══════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn--primary {
    background: linear-gradient(180deg, var(--text), #D5D9E2);
    color: var(--bg);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.1) inset,
        0 1px 0 rgba(255,255,255,0.5) inset,
        0 8px 24px rgba(125, 211, 252, 0.2);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.15) inset,
        0 1px 0 rgba(255,255,255,0.5) inset,
        0 12px 32px rgba(125, 211, 252, 0.3);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--border-2);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--lg { padding: 14px 22px; font-size: 15px; }
.btn--full { width: 100%; justify-content: center; }

.btn svg { transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }

/* ═══════════════════ НАВИГАЦИЯ ════════════════════════ */

.nav-wrap {
    position: fixed;
    top: 16px;
    left: 0; right: 0;
    z-index: 100;
    padding: 0 var(--gutter);
}

.nav-bar {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 10px 16px 10px 20px;
    background: rgba(11, 13, 20, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-2);
    border-radius: 100px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 20px 40px rgba(0,0,0,0.4);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.03em;
}

.brand__logo { flex-shrink: 0; }
.brand__text { color: var(--text); }
.brand__dot { color: var(--accent); }

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 16px;
}

.nav__link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-2);
    border-radius: 100px;
    transition: all 0.15s var(--ease);
}

.nav__link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav__link.is-active {
    color: var(--text);
    background: rgba(125, 211, 252, 0.1);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
}

/* ═══════════════════ ХИРО ═════════════════════════════ */

.hero {
    position: relative;
    padding: 160px 0 120px;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* Entrance: элементы хиро скрыты до загрузки */
.hero__inner > * {
    opacity: 0;
    transform: translateY(28px);
}

@keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
}

.hero__inner.is-visible > *:nth-child(1) { animation: heroIn 0.9s cubic-bezier(0.16,1,0.3,1) 0.05s forwards; }
.hero__inner.is-visible > *:nth-child(2) { animation: heroIn 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
.hero__inner.is-visible > *:nth-child(3) { animation: heroIn 0.9s cubic-bezier(0.16,1,0.3,1) 0.35s forwards; }
.hero__inner.is-visible > *:nth-child(4) { animation: heroIn 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s forwards; }

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at center top, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at center top, black 30%, transparent 80%);
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: float 18s ease-in-out infinite;
}

.hero__orb--1 {
    top: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.hero__orb--2 {
    top: 100px; right: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
    animation-delay: -6s;
}

.hero__orb--3 {
    bottom: -200px; left: 30%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    animation-delay: -12s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(40px, -30px); }
    66%      { transform: translate(-30px, 40px); }
}

.hero__inner {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-2);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 36px;
    backdrop-filter: blur(10px);
    font-weight: 400;
}

.pill__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    animation: blip 2s infinite var(--ease);
}

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

.hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    color: var(--text);
}

.hero__grad {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 50%, var(--accent-warm) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradShift 8s ease-in-out infinite;
}

@keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero__lede {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.55;
    font-weight: 400;
}

.hero__cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__chips {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-3);
    backdrop-filter: blur(10px);
}

.chip__icon { color: var(--accent); }

/* ═══════════════════ ТЕРМИНАЛ-ДЕМО ═══════════════════ */

.terminal {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 30px 80px rgba(0,0,0,0.6),
        0 0 80px var(--glow);
    backdrop-filter: blur(20px);
}

.terminal__head {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.terminal__dots {
    display: flex;
    gap: 6px;
    margin-right: 14px;
}

.terminal__dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.terminal__dots span:first-child { background: #FF5F57; }
.terminal__dots span:nth-child(2) { background: #FEBC2E; }
.terminal__dots span:last-child { background: #28C840; }

.terminal__title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.02em;
}

.terminal__meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--success);
    padding: 3px 8px;
    background: rgba(52, 211, 153, 0.1);
    border-radius: 4px;
    letter-spacing: 0.1em;
}

.terminal__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.msg {
    display: flex;
    gap: 10px;
    max-width: 80%;
    opacity: 0;
    animation: msgIn 0.5s var(--ease-out) forwards;
}

.msg:nth-child(1) { animation-delay: 0.2s; }
.msg:nth-child(2) { animation-delay: 0.6s; }
.msg:nth-child(3) { animation-delay: 1.2s; }
.msg:nth-child(4) { animation-delay: 1.7s; }

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.msg--in { align-self: flex-start; }
.msg--out { align-self: flex-end; flex-direction: column; align-items: flex-end; }

.msg__avatar {
    width: 28px; height: 28px;
    background: var(--surface-2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    color: var(--text-2);
    flex-shrink: 0;
}

.msg__bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.msg--in .msg__bubble {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    border-top-left-radius: 4px;
}

.msg--out .msg__bubble {
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    color: white;
    border-top-right-radius: 4px;
}

.msg__time {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-4);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 14px;
    margin-left: 38px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    border-top-left-radius: 4px;
    opacity: 0;
    animation: msgIn 0.5s var(--ease-out) 2.2s forwards;
}

.typing span {
    width: 6px; height: 6px;
    background: var(--text-3);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%           { transform: translateY(-4px); opacity: 1; }
}

/* ═══════════════════ STRIP ════════════════════════════ */

.strip {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.strip__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: hidden;
}

.strip__label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-3);
    flex-shrink: 0;
}

.strip__divider {
    width: 40px; height: 1px;
    background: var(--border-2);
    flex-shrink: 0;
}

.strip__items {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.strip__item {
    color: var(--text-2);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.15s var(--ease);
}

.strip__item:hover { color: var(--accent); }

.strip__sep { color: var(--text-4); }

/* ═══════════════════ ОБЩИЕ СЕКЦИИ ═════════════════════ */

.section { padding: 120px 0; position: relative; }
.section--pain { background: var(--bg); }
.section--services { background: var(--bg); }
.section--process { background: var(--bg-2); }
.section--stack { background: var(--bg); }
.section--pricing { background: var(--bg-2); }
.section--about { background: var(--bg); }
.section--faq { background: var(--bg-2); }
.section--contact { background: var(--bg); }

.sec-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 72px;
}

.sec-head__pill {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(125, 211, 252, 0.08);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.sec-head__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 16px;
}

.sec-head__sub {
    font-size: 18px;
    color: var(--text-2);
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto;
}

/* ═══════════════════ БОЛИ ═════════════════════════════ */

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pain-card {
    padding: 32px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.pain-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 60px var(--glow);
}

.pain-card:hover::before { opacity: 1; }

.pain-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pain-card__num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.1em;
    padding: 4px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
}

.pain-card__metric {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    padding: 4px 10px;
    background: rgba(125, 211, 252, 0.08);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 100px;
}

.pain-card__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.pain-card__text {
    color: var(--text-2);
    line-height: 1.55;
    font-size: 15px;
}

/* ═══════════════════ УСЛУГИ (BENTO) ═══════════════════ */

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bento__card {
    grid-column: span 1;
    padding: 28px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento__card--lg { grid-column: span 2; }

.bento__card::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(600px circle at var(--mx, 0%) var(--my, 0%),
                                rgba(125, 211, 252, 0.12),
                                transparent 40%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
    border-radius: inherit;
}

.bento__card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.bento__card:hover::after { opacity: 1; }

.bento__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.15), rgba(129, 140, 248, 0.1));
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.bento__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text);
}

.bento__title em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.bento__text {
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
}

.bento__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.bento__tags span {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 3px 9px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-2);
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.bento__price {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.04em;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.bento__price strong {
    color: var(--text);
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 16px;
    margin-left: 4px;
}

/* ═══════════════════ ПРОЦЕСС ═════════════════════════ */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    padding-top: 32px;
}

.steps__line {
    position: absolute;
    top: 47px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
}

.step {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.step__dot {
    width: 16px;
    height: 16px;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    margin: 0 auto 32px;
    position: relative;
    box-shadow: 0 0 0 6px var(--bg), 0 0 20px var(--glow);
}

.step__dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--accent);
    border-radius: 50%;
}

.step__num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.step__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 10px;
}

.step__text {
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.step__time {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.12em;
    padding: 4px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
}

/* ═══════════════════ СТЕК ═════════════════════════════ */

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

.stack__card {
    padding: 24px 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 16px;
    transition: all 0.25s var(--ease);
}

.stack__card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    background: var(--surface-2);
}

.stack__logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.15), rgba(129, 140, 248, 0.08));
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.stack__name {
    font-weight: 600;
    font-size: 15.5px;
    color: var(--text);
    margin-bottom: 2px;
}

.stack__role {
    font-size: 13px;
    color: var(--text-3);
}

.stack__flag {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 9px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: var(--success);
    border-radius: 6px;
    letter-spacing: 0.08em;
}

/* ═══════════════════ ТАРИФЫ ═══════════════════════════ */

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.plan {
    padding: 36px 32px 32px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.25s var(--ease);
}

.plan:hover { border-color: var(--border-strong); }

.plan--featured {
    border-color: rgba(125, 211, 252, 0.4);
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.08) 0%, var(--bg-2) 60%);
}

.plan__glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--accent), transparent 50%);
    opacity: 0.3;
    z-index: -1;
    filter: blur(20px);
    pointer-events: none;
}

.plan__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 4px 9px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 100px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.plan__head { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }

.plan__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 14px;
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.plan__from {
    font-size: 13px;
    color: var(--text-3);
}

.plan__amount {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 40px;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
}

.plan--featured .plan__amount {
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan__period {
    font-size: 13px;
    color: var(--text-3);
}

.plan__list {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.plan__list li {
    position: relative;
    padding: 9px 0 9px 26px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.45;
}

.plan__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 14px; height: 14px;
    background: rgba(125, 211, 252, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.3);
    border-radius: 50%;
}

.plan__list li::after {
    content: "";
    position: absolute;
    left: 4px; top: 16px;
    width: 6px; height: 3px;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
}

.plans__note {
    text-align: center;
    color: var(--text-3);
    font-size: 13px;
    max-width: 620px;
    margin: 0 auto;
}

/* ═══════════════════ О НАС ════════════════════════════ */

.about {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.about .sec-head__pill { margin-bottom: 20px; }

.about__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 24px;
}

.about__lede {
    color: var(--text-2);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.about__p {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s var(--ease);
}

.about__p:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.about__p-icon {
    width: 36px; height: 36px;
    background: rgba(125, 211, 252, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

.about__p > div:last-child {
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.55;
}

.about__p strong {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
}

.dataset {
    padding: 36px 32px 28px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.dataset::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(60px);
}

.dataset__label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.dataset__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 14px;
}

.dataset__desc {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 32px;
}

.dataset__stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.dataset__stat {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: baseline;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.dataset__stat:first-child { border-top: none; padding-top: 0; }

.dataset__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 48px;
    letter-spacing: -0.04em;
    line-height: 0.9;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dataset__num span { font-size: 24px; opacity: 0.7; margin-left: 2px; }

.dataset__key {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.45;
}

.dataset__source {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-4);
    letter-spacing: 0.08em;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* ═══════════════════ FAQ ═════════════════════════════ */

.faq {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s var(--ease);
}

.faq__item:hover { border-color: var(--border-strong); }
.faq__item[open] {
    border-color: rgba(125, 211, 252, 0.3);
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.04) 0%, var(--surface) 100%);
}

.faq__q {
    list-style: none;
    cursor: pointer;
    padding: 22px 24px;
    font-family: var(--font);
    font-weight: 500;
    font-size: 16px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    transition: color 0.2s var(--ease);
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
    content: "";
    position: absolute;
    right: 24px;
    width: 12px; height: 12px;
    border-right: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 0.25s var(--ease);
}

.faq__item[open] .faq__q::after { transform: rotate(-135deg); }

.faq__no {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.08em;
    background: rgba(125, 211, 252, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.faq__a {
    padding: 0 24px 22px 76px;
    color: var(--text-2);
    line-height: 1.65;
    font-size: 14.5px;
    max-width: 720px;
}

/* ═══════════════════ КОНТАКТ + CTA ═════════════════════ */

.cta-card {
    position: relative;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    isolation: isolate;
}

.cta-card__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-card__bg::before {
    content: "";
    position: absolute;
    top: -200px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
}

.cta-card__bg::after {
    content: "";
    position: absolute;
    bottom: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
}

.cta-card__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    padding: 56px;
    align-items: start;
}

.cta-card .sec-head__pill { margin-bottom: 20px; }

.cta-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(36px, 4.2vw, 56px);
    line-height: 1.0;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 20px;
}

.cta-card__lede {
    color: var(--text-2);
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 36px;
    max-width: 460px;
}

.channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.channel {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s var(--ease);
}

.channel:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.channel__ico {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ico--wa { background: rgba(37, 211, 102, 0.12); color: #25D366; }
.ico--tg { background: rgba(0, 136, 204, 0.12); color: #0088CC; }
.ico--mail { background: rgba(255,255,255,0.06); color: var(--text-2); }

.channel__label {
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.channel__val {
    font-weight: 500;
    font-size: 14.5px;
    color: var(--text);
}

.channel__arrow {
    color: var(--accent);
    font-size: 18px;
    transition: transform 0.2s var(--ease);
}

.channel:hover .channel__arrow { transform: translateX(4px); }

/* Form */
.form {
    padding: 32px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.form__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 4px;
}

.form__sub {
    color: var(--text-3);
    font-size: 13px;
    margin-bottom: 24px;
}

.form__row { margin-bottom: 16px; }

.form__label {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.form__input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font);
    font-size: 14.5px;
    transition: all 0.2s var(--ease);
}

.form__input::placeholder { color: var(--text-3); opacity: 0.6; }

.form__input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.1);
}

.form__input--ta {
    resize: vertical;
    min-height: 100px;
    line-height: 1.45;
    font-family: var(--font);
}

.form__legal {
    margin-top: 14px;
    text-align: center;
    color: var(--text-4);
    font-size: 11.5px;
    line-height: 1.4;
}

/* ═══════════════════ ФУТЕР ═══════════════════════════ */

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

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer__brand .brand { margin-bottom: 14px; }

.footer__tag {
    color: var(--text-3);
    font-size: 14px;
    line-height: 1.5;
    max-width: 280px;
}

.footer__col { display: flex; flex-direction: column; gap: 10px; }

.footer__label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer__link {
    font-size: 14px;
    color: var(--text-2);
    transition: color 0.15s var(--ease);
}

.footer__link:hover { color: var(--text); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.05em;
}

/* ═══════════════════ АДАПТИВ ═══════════════════════════ */

@media (max-width: 1024px) {
    .pain-grid,
    .stack,
    .plans { grid-template-columns: 1fr 1fr; }

    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__card--lg { grid-column: span 2; }

    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps__line { display: none; }

    .about,
    .cta-card__inner { grid-template-columns: 1fr; gap: 48px; }

    .footer__grid { grid-template-columns: 1fr 1fr; }

    .cta-card__inner { padding: 40px 32px; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; }

    .nav { display: none; }
    .burger { display: flex; }
    .nav-bar { padding: 8px 12px 8px 16px; }

    .hero { padding: 120px 0 80px; }
    .hero__title { font-size: clamp(32px, 9vw, 44px); }
    .hero__lede { font-size: 16px; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { justify-content: center; }
    .hero__chips { gap: 6px; }
    .chip { font-size: 11px; padding: 5px 10px; }

    .terminal__body { padding: 16px; }
    .msg { max-width: 90%; }
    .msg__bubble { font-size: 13px; }

    .strip__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .strip__divider { display: none; }

    .section { padding: 72px 0; }
    .sec-head { margin-bottom: 48px; }

    .pain-grid,
    .stack,
    .plans { grid-template-columns: 1fr; }

    .bento { grid-template-columns: 1fr; }
    .bento__card,
    .bento__card--lg { grid-column: span 1; }

    .steps { grid-template-columns: 1fr; gap: 20px; }
    .step { text-align: left; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
    .step__dot { margin: 0 0 16px; }

    .stack__card { grid-template-columns: 44px 1fr; }
    .stack__card .stack__flag { grid-column: 2; justify-self: start; }

    .dataset { padding: 28px 24px; }
    .dataset__stat { grid-template-columns: 90px 1fr; gap: 14px; }
    .dataset__num { font-size: 40px; }

    .faq__q { padding: 18px 20px; font-size: 14.5px; }
    .faq__q::after { right: 20px; }
    .faq__a { padding: 0 20px 18px 64px; font-size: 14px; }

    .cta-card__inner { padding: 32px 24px; gap: 40px; }
    .cta-card__title { font-size: clamp(28px, 8vw, 40px); }

    .form { padding: 24px 20px; }

    .footer__grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
