:root {
  --bg: #0a0d14;
  --bg-soft: #101420;
  --card: #131826;
  --border: #1e2535;
  --text: #e8edf6;
  --muted: #8a95aa;
  --accent: #3b7ef8;
  --accent-mid: #9b46c9;
  --accent-2: #f03e9e;
  --accent-rgb: 59, 126, 248;
  --accent-2-rgb: 240, 62, 158;
  --brand-grad: linear-gradient(125deg, var(--accent), var(--accent-mid), var(--accent-2));
  --radius: 16px;
  --maxw: 1040px;
  --font: 'Outfit', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  background:
    radial-gradient(900px 500px at 75% -5%, rgba(var(--accent-2-rgb), 0.15), transparent 60%),
    radial-gradient(800px 400px at 5% 5%, rgba(var(--accent-rgb), 0.13), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  display: block; object-fit: contain;
}
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-grad);
  color: #fff; font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 6px 20px rgba(var(--accent-2-rgb), 0.24);
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 10px 28px rgba(var(--accent-2-rgb), 0.36); }
.btn:active { transform: translateY(0) scale(0.985); box-shadow: 0 4px 14px rgba(var(--accent-2-rgb), 0.22); }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.05); }
.btn.ghost:active { transform: scale(0.985); }

/* Hero */
.hero { text-align: center; padding: 72px 0 56px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); background: rgba(255,255,255,0.02);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 62px); line-height: 1.08; margin: 0 0 20px;
  letter-spacing: -0.03em; font-weight: 800;
}
.hero h1 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub {
  font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 580px;
  margin: 0 auto 32px; line-height: 1.65; font-weight: 400;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; font-weight: 400; }

/* Platform logos */
.logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin: 44px auto 0; }
.brand-badge {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--bg-soft); border: 1px solid var(--border);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.brand-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.05);
}
.brand-badge svg { width: 24px; height: 24px; display: block; }
.more-badge {
  height: 50px; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 0 16px; border-radius: 13px;
  background: var(--bg-soft); border: 1px solid var(--border);
}

/* Mockup */
.mock {
  max-width: 680px; margin: 52px auto 0; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 40px 90px rgba(0,0,0,0.5);
}
.mock .post { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.mock .post:last-child { border-bottom: 0; }
.mock .orig { color: var(--text); margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.mock .trans {
  margin: 0; padding: 10px 14px; border-left: 2px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.08); border-radius: 8px; color: #a8c4ff;
  font-size: 15px; line-height: 1.5;
}
.mock .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 7px; font-weight: 500; }
.mock .meta svg { width: 13px; height: 13px; display: block; }

/* Demo video */
.section { padding: 72px 0; }
.section h2 {
  text-align: center; font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px;
  letter-spacing: -0.025em; font-weight: 800;
}
.section .lead { text-align: center; color: var(--muted); max-width: 520px; margin: 0 auto 48px; font-weight: 400; }
.video {
  max-width: 840px; margin: 0 auto; position: relative;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 40px 90px rgba(0,0,0,0.5);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Features grid — 2-col, first card spans full width */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s ease;
}
.feature:hover { border-color: rgba(var(--accent-rgb), 0.28); }

/* Hero feature — spans full width, horizontal layout */
.feature-hero {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(59, 126, 248, 0.07) 0%, rgba(155, 70, 201, 0.04) 100%);
  border-color: rgba(59, 126, 248, 0.2);
}
.feature-hero:hover { border-color: rgba(var(--accent-rgb), 0.4); }
.feature-hero .ic { flex-shrink: 0; margin-bottom: 0; }
.feature-body { flex: 1; }

/* Last feature — spans full width to close the grid symmetrically */
.feature:last-child {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.feature:last-child .ic { flex-shrink: 0; margin-bottom: 0; }
.feature:last-child .feature-body-last { flex: 1; }

.feature .ic {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.feature .ic svg { width: 19px; height: 19px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* FAQ — clean divider style, no card per item */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  transition: color 0.15s ease;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--muted);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.faq-item p a { color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 24px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 20px; font-size: 14px; }
.footer .links a { color: var(--muted); transition: color 0.15s ease; }
.footer .links a:hover { color: var(--text); text-decoration: none; }
.footer .copy { color: var(--muted); font-size: 13px; }

/* Privacy / doc page */
.doc { max-width: 760px; margin: 0 auto; padding: 50px 24px 80px; font-family: var(--font); }
.doc h1 { font-size: 36px; letter-spacing: -0.025em; font-weight: 800; }
.doc h2 { font-size: 22px; margin-top: 40px; font-weight: 700; letter-spacing: -0.01em; }
.doc h3 { font-size: 17px; margin-top: 28px; font-weight: 600; }
.doc p, .doc li { color: #b8c4d8; line-height: 1.7; }
.doc code { background: var(--bg-soft); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc .back { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 14px; transition: color 0.15s ease; }
.doc .back:hover { color: var(--text); text-decoration: none; }
