/* AI Sync Translator — Live Voice Translator (static site) */
:root {
  --bg: #0b1020;
  --bg-2: #0f1530;
  --text: #e9eefc;
  --muted: #a9b0c6;
  --brand-1: #6d6bff;
  --brand-2: #00d9ff;
  --ok: #39ff14;
  --busy: #ff4d5a;
  --card: #121935;
  --glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% 10%, #121738 0%, #0b1020 50%, #0b1020 100%),
              radial-gradient(800px 600px at 90% 20%, rgba(109,107,255,0.25), transparent 70%),
              radial-gradient(900px 500px at 50% 100%, rgba(0,217,255,0.18), transparent 60%);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(to bottom, rgba(11,16,32,0.9), rgba(11,16,32,0.6) 60%, transparent);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-svg { border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.brand-name { font-weight: 800; letter-spacing: 0.2px; white-space: nowrap; }
.nav { display: none; gap: 18px; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-link:hover { color: var(--text); }
@media (min-width: 760px) { .nav { display: flex; } }

/* Hero */
.hero { padding: 72px 0 48px; }
.hero-inner { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 40px; } }
.hero-text h1 { font-size: 40px; line-height: 1.05; margin: 0 0 12px; }
@media (min-width: 760px) { .hero-text h1 { font-size: 56px; } }
.subtitle { font-size: 18px; color: var(--text); opacity: 0.9; margin: 0 0 8px; }
.subnote { color: var(--muted); margin: 0 0 24px; }
.cta {
  display: inline-block; padding: 12px 18px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #0b1020; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,217,255,0.22);
}
.cta:hover { transform: translateY(-1px); }

.hero-visual { display: grid; place-items: center; }
.mic-demo {
  position: relative; width: 220px; height: 220px; border-radius: 22px;
  border: 1px solid var(--border); background: var(--glass);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 15px 40px rgba(0,0,0,0.35);
}
.mic-demo .pulse {
  position: absolute; width: 120%; height: 120%; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(57,255,20,0.2), transparent 60%);
  animation: breathe 2.2s ease-in-out infinite;
  transform: translateZ(0);
}
.mic-demo.playing .pulse { background: radial-gradient(circle at center, rgba(255,77,90,0.25), transparent 62%); }
.mic-svg { width: 120px; height: 120px; }
.mic-demo { --mic-fg: var(--ok); }
.mic-demo.listening { --mic-fg: var(--ok); }
.mic-demo.playing { --mic-fg: var(--busy); }
.mic-svg .mic-capsule, .mic-svg .mic-stem, .mic-svg .mic-base { fill: var(--mic-fg); }
.mic-svg .mic-arc { stroke: var(--mic-fg); stroke-width: 4; fill: none; stroke-linecap: round; }
.state-label { position: absolute; bottom: 14px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); }
.mic-demo.listening .state-label { color: var(--ok); }
.mic-demo.playing .state-label { color: var(--busy); }

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Sections */
.section { padding: 56px 0; }
.section h2 { font-size: 28px; margin: 0 0 18px; }
.how-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px;
}
@media (min-width: 760px) { .how-grid { grid-template-columns: 1fr 1fr; } }
.span2 { grid-column: auto; }
@media (min-width: 760px) { .span2 { grid-column: span 2; } }
.how-card { background: var(--glass); border: 1px solid var(--border); border-radius: 16px; padding: 18px; transition: transform .18s ease, box-shadow .18s ease; }
.how-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.how-card h3 { margin: 6px 0 6px; font-size: 18px; }
.how-card p { margin: 0; color: var(--muted); }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: middle; }
.dot-green { background: var(--ok); box-shadow: 0 0 20px rgba(57,255,20,0.5); }
.dot-red { background: var(--busy); box-shadow: 0 0 20px rgba(255,77,90,0.5); }

.features {
  display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; padding: 0; margin: 10px 0 16px;
}
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.features li { background: var(--glass); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: transform .18s ease, box-shadow .18s ease; }
.features li:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,0,0,0.32); }
.features li.is-action { cursor: pointer; }

.screens { display: grid; gap: 12px; grid-template-columns: 1fr 1fr 1fr; margin-top: 14px; }
.screen-placeholder { width: 100%; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(135deg, #0d122a, #1b2250); aspect-ratio: 9/16; }
.card { transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }

.policy { background: var(--glass); border: 1px solid var(--border); border-radius: 16px; padding: 16px; color: var(--muted); }
.policy p { margin: 8px 0; }
.lang-panel { margin-top: 10px; }
.lang-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: var(--glass); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
@media (min-width: 760px) { .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.email a { color: var(--brand-2); text-decoration: none; }
.email a:hover { text-decoration: underline; }

/* Footer */
.site-footer { padding: 28px 0 40px; color: var(--muted); }
.footer-inner { display: grid; gap: 8px; justify-items: center; }