:root {
  --bg: #06070a;
  --panel: rgba(18, 20, 28, 0.72);
  --line: rgba(255,255,255,.11);
  --text: #f7f8fb;
  --muted: #a7adbb;
  --cyan: #47e9ff;
  --violet: #9c7bff;
  --green: #65f7a2;
  --danger: #ff6f79;
  --shadow: 0 30px 90px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(71,233,255,.10), transparent 32rem),
    radial-gradient(circle at 80% 28%, rgba(156,123,255,.14), transparent 32rem),
    linear-gradient(180deg, #07080c 0%, #050609 100%);
  overflow-x: hidden;
}

button, input { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 42px 42px;
}

.topbar {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  gap: 11px;
  align-items: center;
  letter-spacing: .06em;
  font-weight: 800;
}

.brand b { color: var(--cyan); }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #041014;
  background: linear-gradient(135deg, var(--cyan), #b4fbff);
  box-shadow: 0 0 34px rgba(71,233,255,.25);
}

.top-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(101,247,162,.55);
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 46px 36px 90px;
}

.hero-copy { max-width: 1050px; }

.eyebrow, .micro-label {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.hero-copy h1 {
  margin: 12px 0 16px;
  max-width: 940px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 670;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.demo-tabs {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.demo-tab {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: var(--muted);
  border-radius: 999px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: .2s ease;
}

.demo-tab small {
  font-size: 9px;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  opacity: .7;
}

.demo-tab.active {
  color: white;
  border-color: rgba(71,233,255,.45);
  background: rgba(71,233,255,.09);
  box-shadow: inset 0 0 30px rgba(71,233,255,.04);
}

.demo-tab.active small {
  color: #04110c;
  background: var(--green);
  border-color: transparent;
  opacity: 1;
}

.demo-stage {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, .65fr);
  gap: 18px;
  align-items: stretch;
}

.glass {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,20,28,.80), rgba(10,11,16,.74));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.voice-card, .capture-card {
  min-height: 610px;
  border-radius: 28px;
}

.voice-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.voice-card-top, .capture-head, .activity-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.voice-card h2, .capture-card h3 {
  margin: 5px 0 0;
  font-size: 22px;
  letter-spacing: -.025em;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 12px;
}

.status-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.orb-wrap {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 300px;
}

.orb {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 37% 30%, rgba(255,255,255,.52), transparent 9%),
    radial-gradient(circle at 44% 42%, rgba(71,233,255,.9), rgba(93,100,255,.75) 45%, rgba(156,123,255,.2) 68%, transparent 72%);
  filter: saturate(1.08);
  box-shadow:
    0 0 28px rgba(71,233,255,.23),
    0 0 90px rgba(156,123,255,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.orb::before, .orb::after {
  content: "";
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(71,233,255,.13);
  border-radius: 50%;
}

.orb::after { inset: -48px; opacity: .5; }

.orb.listening {
  animation: breathe 1.2s ease-in-out infinite;
  box-shadow:
    0 0 40px rgba(71,233,255,.35),
    0 0 110px rgba(71,233,255,.18);
}

.orb.speaking {
  animation: pulse .5s ease-in-out infinite alternate;
  box-shadow:
    0 0 44px rgba(156,123,255,.38),
    0 0 120px rgba(156,123,255,.22);
}

.wave-row {
  height: 38px;
  margin-top: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  opacity: .45;
}

.wave-row i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(var(--cyan), var(--violet));
}

.wave-row.active i {
  animation: wave .85s ease-in-out infinite alternate;
}

.wave-row.active i:nth-child(2n) { animation-delay: -.2s; }
.wave-row.active i:nth-child(3n) { animation-delay: -.45s; }
.wave-row.active i:nth-child(5n) { animation-delay: -.6s; }

.voice-hint {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
  text-align: center;
}

.call-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.primary-call, .hangup {
  min-width: 205px;
  border: 0;
  border-radius: 14px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 800;
}

.primary-call {
  color: #051013;
  background: linear-gradient(135deg, var(--cyan), #baf8ff);
  box-shadow: 0 14px 40px rgba(71,233,255,.16);
}

.primary-call:disabled { opacity: .6; cursor: wait; }

.call-icon { margin-right: 8px; }

.hangup {
  color: white;
  background: rgba(255,111,121,.14);
  border: 1px solid rgba(255,111,121,.35);
}

.hidden { display: none !important; }

.secondary-call-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.secondary-option {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,.025);
  color: var(--muted);
}

.secondary-option strong {
  display: block;
  color: #dfe3ea;
  font-size: 13px;
}

.secondary-option span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.35;
}

.ambience-toggle {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.ai-disclosure {
  margin: 14px 0 0;
  font-size: 10px;
  line-height: 1.45;
  color: #737b8b;
}

.capture-card { padding: 26px; }

.capture-state {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: .09em;
}

.capture-state.ready {
  color: #06110a;
  background: var(--green);
  border-color: transparent;
}

.fields {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.field {
  min-height: 76px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}

.field span {
  display: block;
  color: #7f8796;
  font-size: 11px;
  margin-bottom: 7px;
}

.field strong {
  display: block;
  font-size: 17px;
  font-weight: 650;
  overflow-wrap: anywhere;
  transition: .18s ease;
}

.field strong.flash {
  color: var(--cyan);
  transform: translateX(3px);
}

.field.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.activity { margin-top: 24px; }

.activity-head {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.activity-log {
  margin-top: 12px;
  max-height: 134px;
  overflow: auto;
  padding-right: 4px;
}

.log-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #aeb5c2;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.log-item p { margin: 0; }

.log-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 5px;
}

@keyframes wave {
  from { height: 5px; opacity: .45; }
  to { height: 30px; opacity: 1; }
}

@keyframes breathe {
  0%,100% { transform: scale(.98); }
  50% { transform: scale(1.035); }
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

@media (max-width: 940px) {
  .demo-stage { grid-template-columns: 1fr; }
  .voice-card, .capture-card { min-height: auto; }
  .capture-card { min-height: 500px; }
}

@media (max-width: 620px) {
  .topbar, .page-shell { padding-left: 18px; padding-right: 18px; }
  .top-status { display: none; }
  .page-shell { padding-top: 28px; }
  .hero-copy h1 { font-size: 50px; }
  .demo-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .demo-tab { flex: 0 0 auto; }
  .voice-card, .capture-card { border-radius: 20px; }
  .voice-card { padding: 20px; }
  .secondary-call-options { grid-template-columns: 1fr; }
  .field.split { grid-template-columns: 1fr; }
}

.hangup.auto-ending {
  transform: scale(.96);
  background: rgba(255,111,121,.28);
  box-shadow: 0 0 0 6px rgba(255,111,121,.08), 0 0 28px rgba(255,111,121,.18);
  transition: .18s ease;
}

.demo-tab small {
  min-width: 32px;
  text-align: center;
}
