:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --text: #1c2536;
  --muted: #5b6678;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --accent: #3b6cff;
  --accent-2: #19c6c0;
  --on-dark: #e8edf7;
  --on-dark-muted: #9aa6bd;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
img, svg { display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 72px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #fff; }
.langs { display: flex; gap: 2px; background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 3px; }
.langs a { color: var(--on-dark-muted); text-decoration: none; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.langs a:hover { color: #fff; }
.langs a[aria-current="true"] { background: #fff; color: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding: 112px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 108, 255, 0.45), transparent);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -320px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 198, 192, 0.28), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; }
h1, h2, h3 { text-wrap: balance; }

/* Hero phone visual */
.phone {
  width: 280px; height: 560px; margin-left: auto; padding: 44px 18px 18px;
  border-radius: 44px; position: relative;
  background: linear-gradient(180deg, #16213a, #0f1729);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 6px rgba(255, 255, 255, 0.03);
  display: flex; flex-direction: column; gap: 12px;
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 999px; background: #05080f; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.spark { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, #5b86ff, #19c6c0); }
.bar { display: block; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.bubble { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; border-radius: 16px; max-width: 84%; }
.bubble.in { background: rgba(255, 255, 255, 0.06); border-bottom-left-radius: 6px; align-self: flex-start; width: 84%; }
.bubble.out { background: var(--accent); border-bottom-right-radius: 6px; align-self: flex-end; width: 62%; align-items: flex-end; }
.bubble.out .bar { background: rgba(255, 255, 255, 0.55); }
.gen {
  height: 118px; border-radius: 10px;
  background:
    radial-gradient(circle at 30% 35%, rgba(126, 160, 255, 0.9), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(25, 198, 192, 0.85), transparent 50%),
    linear-gradient(135deg, #1d2b52, #13223a);
}
.typing { display: flex; gap: 5px; padding: 12px 14px; background: rgba(255, 255, 255, 0.06); border-radius: 16px; align-self: flex-start; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); animation: blink 1.4s infinite both; }
.typing i:nth-child(2) { animation-delay: 0.2s; } .typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .typing i { animation: none; } }
.composer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.send { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 22px; max-width: 820px;
  font-size: clamp(36px, 5.6vw, 62px); line-height: 1.08; letter-spacing: -0.025em; color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #7ea0ff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin: 0 0 36px; max-width: 640px; font-size: 19px; color: var(--on-dark-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2f5ae0; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }

/* Sections */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .eyebrow { color: var(--accent); margin-bottom: 12px; }
.section-head h2 { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.about-text p { margin: 0 0 16px; }
.values { display: grid; gap: 14px; }
.value { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

/* Services */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(59, 108, 255, 0.12), rgba(25, 198, 192, 0.14));
  color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Product experience */
.product-experience {
  color: #fff;
  background:
    radial-gradient(circle at 82% 14%, rgba(25, 198, 192, 0.15), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(91, 134, 255, 0.18), transparent 34%),
    var(--ink);
}
.product-experience .section-head .eyebrow { color: var(--accent-2); }
.product-experience .section-head h2 { color: #fff; }
.product-experience .section-head p { color: var(--on-dark-muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  min-height: 300px; padding: 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex; flex-direction: column;
}
.product-index { color: var(--accent-2); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }
.product-card h3 { margin: auto 0 12px; font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; }
.product-card p { margin: 0; color: var(--on-dark-muted); font-size: 15.5px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.faq-item { padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.faq-item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Contact */
.contact { background: var(--ink); color: var(--on-dark); }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: var(--on-dark-muted); }
.contact .section-head .eyebrow { color: var(--accent-2); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-item {
  padding: 26px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.07);
}
.contact-item .label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 10px; }
.contact-item a, .contact-item address { color: #fff; font-style: normal; font-size: 17px; line-height: 1.55; }
.contact-item a { text-decoration: none; font-weight: 600; }
.contact-item a:hover { color: var(--accent-2); }
.contact-item .map { display: inline-block; margin-top: 12px; font-size: 15px; color: var(--accent-2); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .langs { margin-left: auto; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .product-card h3 { margin-top: 56px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .hero { padding: 72px 0 84px; }
  .hero p.lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .grid, .steps, .product-grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
}
