/* ============================================================
   [Назва компанії] — лендинг. Преміальний темний дизайн.
   Бренд: --accent* у :root + текст "[Назва компанії]" у розмітці.
   ============================================================ */

:root {
  --accent: #7c6cff;          /* основний фіолет */
  --accent-2: #22d3ee;        /* акцент cyan */
  --accent-3: #ec4899;        /* акцент magenta */
  --accent-soft: rgba(124, 108, 255, 0.14);

  --bg: #07070f;
  --bg-2: #0c0c1a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-lit: rgba(124, 108, 255, 0.45);

  --text: #f4f4fb;
  --text-soft: #b6b8c9;
  --text-mut: #7c7e93;

  --radius: 18px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 60px -10px var(--accent);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

a { color: var(--accent-2); text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
.center { text-align: center; }

/* ===== Фонові шари ===== */
.bg-layers { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
    radial-gradient(1200px 800px at 100% -10%, #12122a 0%, transparent 55%),
    radial-gradient(900px 700px at -10% 20%, #10172a 0%, transparent 50%),
    var(--bg); }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora-1 { width: 620px; height: 620px; top: -180px; left: -120px;
  background: radial-gradient(circle, #7c6cff, transparent 70%); animation: float1 18s ease-in-out infinite; }
.aurora-2 { width: 560px; height: 560px; top: 12%; right: -160px;
  background: radial-gradient(circle, #22d3ee, transparent 70%); opacity: .35; animation: float2 22s ease-in-out infinite; }
.aurora-3 { width: 520px; height: 520px; bottom: -180px; left: 30%;
  background: radial-gradient(circle, #ec4899, transparent 70%); opacity: .3; animation: float3 26s ease-in-out infinite; }
.grid-overlay { position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%); }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,50px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,40px) scale(1.12); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-40px) scale(1.06); } }

.cursor-glow { position: fixed; top: 0; left: 0; width: 460px; height: 460px; z-index: -1;
  border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,108,255,0.10), transparent 65%);
  transition: opacity .4s ease; opacity: 0; }

/* ===== Шапка ===== */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7,7,15,0.72); backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 116px; }
.logo { display: inline-flex; align-items: center; gap: 0; font-weight: 700; color: var(--text);
  font-family: var(--font-display); }
.logo .logo-lockup, .site-footer .logo .logo-text { margin-left: -10px; }
.logo-mark { width: 84px; height: 84px; display: block;
  filter: drop-shadow(0 4px 16px rgba(34, 211, 238, 0.4)); }
.logo-lockup { display: flex; flex-direction: column; line-height: 1.02; }
.logo-text { font-family: "Poppins", var(--font-display); font-size: 2.6rem; font-weight: 700;
  letter-spacing: -0.02em; color: #eaf2ff; }
.logo-text .tld { color: var(--text-mut); font-weight: 600; }
/* Cyan-«i», що світиться (як на бренд-скріні) */
.glow-i { color: #7ad4ff;
  text-shadow: 0 0 6px rgba(122, 212, 255, .9), 0 0 16px rgba(34, 211, 238, .75),
    0 0 28px rgba(34, 211, 238, .5); }
.logo-sub { font-family: "Poppins", var(--font); font-weight: 500; font-size: .68rem;
  letter-spacing: .19em; text-transform: uppercase; color: var(--text-mut); margin-top: 4px; }
/* футер: мітка компактніша */
.site-footer .logo-mark { width: 54px; height: 54px; }
.site-footer .logo-text { font-size: 1.4rem; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--text-soft); font-weight: 500; font-size: .96rem; transition: color .2s; }
.site-nav a:hover { color: var(--text); }
.nav-cta { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text) !important; }
.nav-cta:hover { border-color: var(--border-lit); box-shadow: var(--glow); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
  cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: .25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Кнопки ===== */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: transform .14s, box-shadow .25s, background .25s;
  font-family: var(--font); }
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent), #5b45e6);
  box-shadow: 0 12px 40px -12px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px var(--accent); }
.btn-ghost { color: var(--text); background: var(--surface); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-lit); transform: translateY(-2px); }

/* ===== Загальні секції ===== */
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section-sub { max-width: 620px; color: var(--text-mut); font-size: 1.12rem; margin: 0 0 52px; }
.center.section-sub, .section-sub.center { margin-left: auto; margin-right: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; padding: 7px 15px;
  border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--border);
  color: #cfc9ff; font-weight: 600; font-size: .82rem; letter-spacing: .01em; }
.eyebrow.center { display: inline-flex; }
.center > .eyebrow, .eyebrow.center { margin-left: auto; margin-right: auto; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.grad-text { background: linear-gradient(100deg, #a78bfa, #22d3ee 45%, #ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

/* ===== Hero ===== */
.hero { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-sub { font-size: 1.2rem; color: var(--text-soft); max-width: 560px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-actions.center { justify-content: center; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-trust li { position: relative; padding-left: 26px; color: var(--text-soft); font-weight: 500; font-size: .96rem; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ===== Демо-чат у hero ===== */
.hero-demo { position: relative; }
.demo-glow { position: absolute; inset: -40px; z-index: -1; border-radius: 40px;
  background: radial-gradient(circle at 60% 40%, rgba(124,108,255,0.4), transparent 65%);
  filter: blur(40px); opacity: .7; }
.chat-card { background: linear-gradient(180deg, rgba(20,20,38,0.9), rgba(12,12,26,0.92));
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  backdrop-filter: blur(10px); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 13px; padding: 18px 20px;
  border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.chat-avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #4c3ce0); box-shadow: 0 6px 20px -6px var(--accent); }
.chat-avatar svg { width: 24px; height: 24px; fill: #fff; }
.chat-meta { display: flex; flex-direction: column; line-height: 1.3; }
.chat-meta strong { font-size: .98rem; }
.chat-status { font-size: .78rem; color: var(--text-mut); display: inline-flex; align-items: center; gap: 6px; }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.chat-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 320px; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.5;
  animation: msgIn .4s ease both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border);
  border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; color: #fff; border-bottom-right-radius: 5px;
  background: linear-gradient(135deg, var(--accent), #5b45e6); }
.msg.typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-mut);
  animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ===== Смуга метрик ===== */
.stats-strip { padding: 10px 0 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); backdrop-filter: blur(8px); }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(120deg, #fff, #a78bfa); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.stat-label { color: var(--text-mut); font-size: .92rem; }

/* ===== Bento можливості ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 30px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s, border-color .25s, background .25s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(124,108,255,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-5px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card-lg { grid-column: span 1; grid-row: span 2; display: flex; flex-direction: column;
  justify-content: center; background:
    radial-gradient(600px 300px at 20% 0%, rgba(124,108,255,0.14), transparent 60%), var(--surface); }
.card-wide { grid-column: span 2; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; color: #cfc9ff; background: var(--accent-soft); border: 1px solid var(--border); }
.card-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--text-soft); margin: 0; }
.card-shine { position: absolute; top: 0; left: 0; width: 60%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: translateX(-120%); transition: transform .7s; }
.card:hover .card-shine { transform: translateX(220%); }

/* ===== Кроки ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); }
.step-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text;
  background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.step p { color: var(--text-soft); margin: 0; }

/* ===== Тарифи ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px 28px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s, border-color .25s, background .25s; }
.price-card:hover { transform: translateY(-5px); background: var(--surface-2); border-color: var(--border-lit); }
.price-card.featured { border-color: var(--border-lit); background:
    radial-gradient(600px 320px at 50% -10%, rgba(124,108,255,0.18), transparent 60%), var(--surface-2);
  box-shadow: 0 30px 80px -34px var(--accent); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px; font-size: .76rem; font-weight: 600; letter-spacing: .02em;
  color: #fff; background: linear-gradient(135deg, var(--accent), #5b45e6);
  box-shadow: 0 10px 30px -10px var(--accent); white-space: nowrap; }
.price-head h3 { font-size: 1.5rem; margin-bottom: 8px; }
.price-tag { color: var(--text-mut); font-size: .95rem; margin: 0 0 22px; min-height: 2.8em; }
.price-body { padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price-setup-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mut); }
.price-amount { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  background: linear-gradient(120deg, #fff, #a78bfa); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.price-sub { margin-top: 10px; color: var(--text-soft); font-size: .98rem; }
.price-sub strong { font-family: var(--font-display); color: var(--text); font-size: 1.15rem; }
.price-features { list-style: none; padding: 0; margin: 24px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.price-features li { position: relative; padding-left: 30px; color: var(--text-soft); font-size: .95rem; }
.price-features li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 11px; }
.price-features li.yes { color: var(--text); }
.price-features li.yes::before { background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.price-features li.no { color: var(--text-mut); }
.price-features li.no::before { background-color: rgba(255,255,255,0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c7e93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.price-btn { margin-top: auto; justify-content: center; width: 100%; }
.price-note { max-width: 640px; margin: 40px auto 0; color: var(--text-mut); font-size: .96rem; }

/* ===== Демо-секція ===== */
.demo-inner { display: flex; justify-content: center; }
.demo-panel { width: 100%; max-width: 760px; text-align: center; padding: clamp(36px, 5vw, 60px);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: radial-gradient(700px 320px at 50% -10%, rgba(124,108,255,0.16), transparent 60%), var(--surface); }
.demo-fallback { margin: 8px auto 0; max-width: 440px; padding: 44px 24px; border-radius: var(--radius);
  border: 1.5px dashed var(--border); background: rgba(255,255,255,0.02); color: var(--text-mut);
  font-weight: 500; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.demo-pulse { width: 46px; height: 46px; border-radius: 50%; position: relative;
  background: linear-gradient(135deg, var(--accent), #4c3ce0); box-shadow: 0 0 0 0 var(--accent-soft); }
.demo-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(124,108,255,0.5); } 100% { box-shadow: 0 0 0 22px rgba(124,108,255,0); } }

/* ===== CTA ===== */
.cta-card { position: relative; overflow: hidden; text-align: center; padding: clamp(44px, 6vw, 76px) 30px;
  border-radius: var(--radius-lg); border: 1px solid var(--border-lit);
  background: linear-gradient(160deg, rgba(30,26,66,0.7), rgba(12,12,26,0.85)); }
.cta-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px; background: radial-gradient(circle, rgba(124,108,255,0.5), transparent 65%);
  filter: blur(50px); z-index: 0; }
.cta-card > * { position: relative; z-index: 1; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 18px 44px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mut); }
.contact-list a { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.contact-list a:hover { color: var(--accent-2); }

/* ===== Модалка заявки ===== */
.lead-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.lead-modal.open { display: block; }
.lead-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 10, 0.72);
  backdrop-filter: blur(6px); animation: leadFade .25s ease both; }
@keyframes leadFade { from { opacity: 0; } to { opacity: 1; } }
.lead-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(460px, calc(100vw - 36px)); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--border-lit);
  background: linear-gradient(165deg, rgba(24, 21, 52, 0.96), rgba(12, 12, 26, 0.98));
  box-shadow: var(--shadow); animation: leadPop .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes leadPop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.lead-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 10px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
  transition: color .2s, border-color .2s; }
.lead-close:hover { color: var(--text); border-color: var(--border-lit); }
.lead-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.lead-dialog h3 { font-size: 1.6rem; margin: 4px 0 10px; }
.lead-desc { color: var(--text-soft); font-size: .98rem; margin: 0 0 22px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; }
.lead-field span { font-size: .84rem; color: var(--text-mut); font-weight: 500; }
.lead-field input { width: 100%; padding: 13px 15px; border-radius: 12px; font-family: var(--font);
  font-size: 1rem; color: var(--text); background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); transition: border-color .2s, background .2s; }
.lead-field input::placeholder { color: var(--text-mut); }
.lead-field input:focus { outline: none; border-color: var(--border-lit); background: rgba(255,255,255,0.06); }
.lead-field input.invalid { border-color: #f0616d; background: rgba(240, 97, 109, 0.06); }
.lead-hint { color: var(--text-mut); font-size: .84rem; margin: -2px 0 0; }
.lead-error { color: #ff9aa2; font-size: .9rem; margin: 4px 0 0; padding: 10px 13px;
  border-radius: 10px; background: rgba(240, 97, 109, 0.1); border: 1px solid rgba(240, 97, 109, 0.3); }
.lead-submit { justify-content: center; width: 100%; margin-top: 6px; }
.lead-submit[disabled] { opacity: .65; pointer-events: none; }
.lead-submit.loading .lead-submit-text::after { content: ""; display: inline-block; width: 14px; height: 14px;
  margin-left: 8px; vertical-align: -2px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: leadSpin .7s linear infinite; }
@keyframes leadSpin { to { transform: rotate(360deg); } }
.lead-privacy { color: var(--text-mut); font-size: .78rem; text-align: center; margin: 4px 0 0; }
.lead-success { text-align: center; padding: 10px 0 4px; animation: leadFade .3s ease both; }
.lead-success-icon { width: 62px; height: 62px; margin: 6px auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4); }
.lead-success-icon svg { width: 30px; height: 30px; fill: none; stroke: #34d399; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round; }
.lead-success h3 { margin-bottom: 8px; }
.lead-success p { color: var(--text-soft); margin: 0 0 22px; }
body.lead-open { overflow: hidden; }

/* ===== Футер ===== */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-copy { margin: 0; color: var(--text-mut); font-size: .92rem; flex: 1 1 260px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--text-soft); font-size: .93rem; }
.footer-nav a:hover { color: var(--text); }

/* ===== Тег «Скоро» на картці ===== */
.card-tag { position: absolute; top: 18px; right: 18px; z-index: 2; padding: 4px 11px;
  border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  color: #cfc9ff; background: var(--accent-soft); border: 1px solid var(--border-lit); }

/* ===== Для кого ===== */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform .25s, border-color .25s, background .25s; }
.who-card:hover { transform: translateY(-5px); background: var(--surface-2); border-color: var(--border-lit); }
.who-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 16px; color: #cfc9ff; background: var(--accent-soft); border: 1px solid var(--border); }
.who-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.who-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.who-card p { color: var(--text-soft); margin: 0; font-size: .96rem; }

/* ===== FAQ ===== */
.faq-inner { max-width: 820px; }
.faq-list { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  overflow: hidden; transition: border-color .25s, background .25s; }
.faq-item[open] { border-color: var(--border-lit); background: var(--surface-2); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display);
  font-weight: 600; font-size: 1.06rem; color: var(--text); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 20px; height: 20px; background: var(--accent-2);
  transition: transform .25s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { color: var(--text-soft); margin: 0; }

/* ===== Хто ми ===== */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.about-lead { font-size: 1.15rem; color: var(--text-soft); margin: 0 0 16px; }
.about-text { color: var(--text-mut); margin: 0 0 20px; }
.about-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.about-points li { position: relative; padding-left: 28px; color: var(--text-soft); }
.about-points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 17px;
  background: var(--accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.about-stats { list-style: none; padding: 30px; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.about-stats li { display: flex; flex-direction: column; gap: 4px; }
.about-stats strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
  background: linear-gradient(120deg, #fff, #a78bfa); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.about-stats span { color: var(--text-mut); font-size: .9rem; }

/* ===== Згода у формі ===== */
.lead-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 2px;
  color: var(--text-mut); font-size: .84rem; line-height: 1.5; }
.lead-consent input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.lead-consent a { color: var(--accent-2); }

/* ===== Плаваючий CTA ===== */
.float-cta { position: fixed; left: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center;
  gap: 9px; padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: .96rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), #5b45e6); box-shadow: 0 14px 40px -12px var(--accent);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px var(--accent); }
.float-cta svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }

/* ===== Сторінки-документи (privacy, 404) ===== */
.doc-page { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.doc-inner { max-width: 780px; }
.doc-back { display: inline-block; margin-bottom: 22px; color: var(--text-mut); font-weight: 500; }
.doc-back:hover { color: var(--text); }
.doc-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.doc-meta { color: var(--text-mut); font-size: .92rem; margin: 0 0 26px; }
.doc-note { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 30px;
  background: var(--accent-soft); border: 1px solid var(--border-lit); color: var(--text-soft); font-size: .95rem; }
.doc-page h2 { font-size: 1.35rem; margin: 32px 0 12px; }
.doc-page p { color: var(--text-soft); margin: 0 0 14px; }
.doc-list { margin: 0 0 14px; padding-left: 22px; color: var(--text-soft); }
.doc-list li { margin-bottom: 8px; }

/* ===== 404 ===== */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound-code { font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(5rem, 18vw, 11rem); background: linear-gradient(120deg, #a78bfa, #22d3ee 55%, #ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 6px 0 12px; }
.notfound p { color: var(--text-mut); max-width: 460px; margin: 0 auto 28px; }

/* ===== Reveal-анімація ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Адаптив ===== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-demo { max-width: 460px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-lg { grid-row: span 1; }
  .card-wide { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-tag { min-height: 0; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-cta span { display: none; }
  .float-cta { padding: 14px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: 104px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    gap: 0; background: rgba(10,10,20,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-nav.open { max-height: 400px; }
  .site-nav a { padding: 16px 26px; border-top: 1px solid var(--border); }
  .nav-cta { margin: 12px 26px; text-align: center; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .who-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .float-cta { left: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora, .grad-text, .eyebrow-dot, .demo-pulse::after, .card-shine { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Корпоративний лендинг Skaira — доповнення до базової системи.
   Базові токени/компоненти вище — спільні з продуктовим лендингом.
   ============================================================ */

/* Тихіший фон: глибину дає фігура з частинок, а не aurora */
.bg-quiet .aurora-1 { opacity: .3; }
.bg-quiet .aurora-2 { opacity: .18; }

/* ===== Hero з фігурою ===== */
.hero-company { position: relative; min-height: min(88vh, 900px); display: flex; align-items: center;
  padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0;
  pointer-events: none; }
.hero-company-inner { position: relative; z-index: 1; }
.hero-company .hero-copy { max-width: 640px; }

/* Чипи станів фігури */
.shape-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.shape-chips button { font-family: var(--font); font-size: .8rem; font-weight: 500;
  color: var(--text-mut); background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 15px; cursor: pointer;
  transition: color .25s, border-color .25s, background .25s; }
.shape-chips button:hover { color: var(--text); border-color: var(--border-lit); }
.shape-chips button.active { color: #cfc9ff; background: var(--accent-soft); border-color: var(--border-lit); }
.shape-chips button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ===== Посилання-стрілка у картці ===== */
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-weight: 600; font-size: .95rem; color: var(--accent-2); }
.card-more svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.card-more:hover svg { transform: translateX(4px); }

/* ===== Продукти ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { position: relative; display: flex; flex-direction: column; padding: 34px 28px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s, border-color .25s, background .25s; }
.product-card:hover { transform: translateY(-5px); background: var(--surface-2); border-color: var(--border-lit); }
.product-card h3 { font-size: 1.4rem; margin: 14px 0 10px; }
.product-card p { color: var(--text-soft); margin: 0; font-size: .97rem; }
.product-card .card-more { margin-top: auto; padding-top: 20px; }
.product-status { align-self: flex-start; padding: 5px 13px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.product-status.live { color: #6ee7b7; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.35); }
.product-status.dev { color: #cfc9ff; background: var(--accent-soft); border: 1px solid var(--border-lit); }

/* ===== Кроки: варіант на 4 ===== */
.steps-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Технології ===== */
.section-tech { padding-top: clamp(50px, 6vw, 80px); padding-bottom: clamp(50px, 6vw, 80px); }
.tech-strip { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 12px; }
.tech-strip li { padding: 10px 20px; border-radius: 999px; font-weight: 500; font-size: .95rem;
  color: var(--text-soft); background: var(--surface); border: 1px solid var(--border);
  transition: color .25s, border-color .25s; }
.tech-strip li:hover { color: var(--text); border-color: var(--border-lit); }

/* ===== Інлайн-форма у CTA ===== */
.lead-inline { max-width: 520px; margin: 6px auto 0; text-align: left; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-card .lead-success { max-width: 520px; margin: 0 auto; }

/* ===== Адаптив корпоративних блоків ===== */
@media (max-width: 940px) {
  .products-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .steps-4 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lead-row { grid-template-columns: 1fr; }
  .shape-chips { display: none; } /* на малих екранах фігура ледь видима за текстом — чипи зайві */
}

/* Флагманська картка послуг: акцент градієнтом, без row-span
   (щоб сітка 3×2 лишалась рівною і без «сиріт») */
.card-flag { background:
    radial-gradient(600px 300px at 20% 0%, rgba(124,108,255,0.14), transparent 60%), var(--surface);
  border-color: var(--border-lit); }
