/* Voxera website: the app's look (dark space, aurora glow, cyan-to-violet gradient, Outfit). */
:root {
  --space: #07070e;
  --raised: #11111c;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f2f2fa;
  --muted: #a3a3bd;
  --cyan: #00f0ff;
  --violet: #b026ff;
  --pink: #ff2e93;
  --green: #3ddc84;
  --grad: linear-gradient(90deg, var(--cyan), var(--violet));
  --grad-soft: linear-gradient(135deg, rgba(0, 240, 255, 0.16), rgba(176, 38, 255, 0.16));
  --radius: 22px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--space);
  color: var(--text);
  font: 400 17px/1.6 "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
/* Two soft aurora glows behind every page, as in the app. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 5% 0%, rgba(176, 38, 255, 0.22), transparent 60%),
    radial-gradient(50vmax 45vmax at 100% 70%, rgba(0, 240, 255, 0.10), transparent 60%);
}

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7ff7ff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; }
li { margin: 6px 0; }
code { font-size: 0.85em; word-break: break-all; color: var(--muted); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 3px; height: 12px; margin-right: 8px; border-radius: 2px; background: var(--grad); vertical-align: -1px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 7, 14, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: 0.22em; }
.brand img { width: 30px; height: 30px; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.site-header .btn { padding: 9px 18px; font-size: 0.92rem; }
@media (max-width: 760px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; color: var(--space);
  background: var(--grad);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { color: var(--space); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(176, 38, 255, 0.35); }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--text); box-shadow: none; border-color: var(--cyan); }
.play-badge img { height: 56px; width: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 0.92rem; }
.trust span::before { content: "✓ "; color: var(--green); font-weight: 700; }
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; top: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 38, 255, 0.45), rgba(0, 240, 255, 0.10) 55%, transparent 70%);
  filter: blur(10px);
}
.phone {
  position: relative; width: min(300px, 78vw);
  border-radius: 38px; padding: 9px; background: #1c1c2b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 30px; }
.float-chip {
  position: absolute; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  background: rgba(17, 17, 28, 0.85); border: 1px solid var(--line); backdrop-filter: blur(8px);
  animation: bob 4s ease-in-out infinite;
}
.float-chip.c1 { top: 14%; left: 0; }
.float-chip.c2 { top: 42%; right: -4%; animation-delay: -1.3s; }
.float-chip.c3 { bottom: 14%; left: 2%; animation-delay: -2.6s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row, .trust { justify-content: center; }
  .float-chip.c2 { right: 2%; }
}

/* Voice chips */
.voices { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.voice { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.voice.ai { background: var(--grad-soft); border-color: rgba(176, 38, 255, 0.5); }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative;
}
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 14px; background: var(--grad-soft); border: 1px solid var(--line);
}
.card.highlight { border-color: rgba(0, 240, 255, 0.45); background: linear-gradient(180deg, rgba(0, 240, 255, 0.07), var(--card)); }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; background: var(--card-strong); color: var(--muted); margin-bottom: 12px; }
.tag.live { background: rgba(61, 220, 132, 0.15); color: var(--green); }

/* Steps */
.steps { counter-reset: step; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: var(--space); font-weight: 800; margin-bottom: 14px;
}

/* Screenshot rail */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 18px; margin: 0 -20px; scrollbar-width: thin; }
.rail figure { flex: 0 0 auto; width: 220px; margin: 0; scroll-snap-align: center; }
.rail img { border-radius: 22px; border: 1px solid var(--line); }
.rail figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
@media (min-width: 1100px) { .rail { justify-content: center; margin: 0; padding: 6px 0 18px; overflow: visible; } .rail figure { width: 196px; } }

/* Products */
.checks { list-style: none; padding: 0; margin: 14px 0 18px; }
.checks li { padding-left: 28px; position: relative; color: var(--muted); }
.checks li::before { position: absolute; left: 0; font-weight: 700; }
.checks li.yes::before { content: "✓"; color: var(--green); }
.checks li.no::before { content: "✕"; color: var(--pink); }
.card .btn, .card .btn-ghost { margin-top: auto; }
.product { display: flex; flex-direction: column; }
.product .tag { align-self: flex-start; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p, details ul { color: var(--muted); }
details pre { white-space: pre-wrap; word-break: break-word; color: var(--muted); font-size: 0.82rem; }

/* CTA band */
.cta-band { text-align: center; border-radius: 28px; padding: 48px 24px; background: var(--grad-soft); border: 1px solid var(--line); }
.cta-band .cta-row { justify-content: center; margin-top: 20px; }

/* Document pages (privacy, delete, licences, root) */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 20px 24px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 36px; }
.doc p.lead { color: var(--muted); font-size: 1.1rem; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--cyan); padding: 14px 18px; border-radius: 12px; color: var(--muted); }
.table-wrap { overflow-x: auto; margin-top: 16px; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.95rem; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; }
/* Narrow screens: each table row becomes a small card. */
@media (max-width: 640px) {
  table.stack thead { display: none; }
  table.stack tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack td { display: block; border: 0; padding: 2px 0; }
  table.stack td:first-child { font-weight: 700; color: var(--text); }
  table.stack td:nth-child(2) { color: var(--cyan); font-size: 0.88rem; }
  table.stack td:nth-child(3) { color: var(--muted); font-size: 0.88rem; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 36px 0 44px; color: var(--muted); font-size: 0.93rem; }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr; }
.site-footer h4 { color: var(--text); margin: 0 0 10px; font-size: 0.95rem; }
.site-footer a { color: var(--muted); text-decoration: none; display: block; margin: 6px 0; }
.site-footer a:hover { color: var(--text); }
.site-footer .brand { display: inline-flex; margin-bottom: 10px; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }
