/* Section styles */

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 44px); }

/* Feature grid */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }
.feature-demo {
  aspect-ratio: 16/10;
  background:
    radial-gradient(140% 80% at 20% 0%, rgba(167,139,255,0.12), transparent 60%),
    radial-gradient(140% 80% at 100% 100%, rgba(110,231,255,0.1), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.feature-body { padding: 22px 24px 28px; }
.feature-icon {
  display: inline-flex; width: 40px; height: 40px; border-radius: 10px;
  align-items: center; justify-content: center;
  background: var(--acc-grad-soft);
  color: var(--acc-a);
  margin-bottom: 14px;
}
.feature-body h3 { margin-bottom: 8px; font-size: 20px; }
.feature-body p { color: var(--fg-2); font-size: 14.5px; line-height: 1.55; text-wrap: pretty; }

/* play demo */
.fd { width: 100%; color: var(--fg-1); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fd-query { padding: 7px 12px; background: rgba(255,255,255,0.05); border-radius: 999px; border: 1px solid var(--border); color: var(--fg-0); }
.fd-arrow { color: var(--fg-3); }
.fd-apps { display: flex; gap: 8px; }
.fd-app {
  padding: 6px 10px; font-size: 11px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--fg-3);
}
.fd-app.hit { background: var(--acc-grad-soft); color: var(--fg-0); border-color: rgba(167,139,255,0.4); box-shadow: 0 0 20px -6px rgba(167,139,255,0.5); }
.fd-app.muted { opacity: 0.5; }
.fd-deeplink { font-size: 10px; color: var(--fg-3); padding: 6px 10px; border-radius: 6px; background: rgba(0,0,0,0.4); border: 1px dashed rgba(255,255,255,0.08); }

/* remote demo */
.fd-remote-grid {
  display: grid; grid-template-columns: repeat(3, 42px); gap: 8px;
}
.fd-key {
  aspect-ratio: 1; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-2); font-size: 13px;
  transition: all .2s;
}
.fd-key.accent { background: var(--acc-grad); color: #0a0a0c; border-color: transparent; font-weight: 600; }
.fd-key:hover { color: var(--fg-0); border-color: var(--border-strong); }

/* observe demo */
.fd-observe { flex-direction: row; gap: 14px; align-items: center; justify-content: center; width: 100%; }
.fd-tv {
  width: 110px; aspect-ratio: 16/10; border-radius: 6px;
  background: linear-gradient(135deg, #1a2035, #0a0d15);
  border: 3px solid #16161b;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.fd-tv-scene {
  position: absolute; inset: 0;
  background:
    radial-gradient(30% 50% at 50% 50%, rgba(255,200,120,0.35), transparent 70%),
    radial-gradient(60% 60% at 30% 80%, rgba(167,139,255,0.25), transparent 70%);
}
.fd-tv-scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(110,231,255,0.25), transparent);
  height: 30%;
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { transform: translateY(-20%); } 50% { transform: translateY(240%); } }
.fd-readback { font-size: 11px; display: flex; flex-direction: column; gap: 3px; }
.fd-readback .k { color: var(--fg-3); display: inline-block; width: 40px; }
.fd-readback .v { color: var(--fg-0); }

/* Compat */
.compat { padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(48px, 5vw, 80px); }
.compat-inner { text-align: center; }
.compat-inner .eyebrow { margin-bottom: 24px; }
.compat-strip {
  display: flex; gap: clamp(24px, 5vw, 56px); align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.compat-primary { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.compat-mark { color: var(--acc-a); }
.compat-mark.claude { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--acc-grad-soft); }
.compat-name { font-family: var(--font-display); font-size: 18px; color: var(--fg-0); font-weight: 500; }
.compat-sub { color: var(--fg-3); font-size: 11px; }
.compat-divider { width: 1px; height: 40px; background: var(--border); }
.compat-others { text-align: left; }
.compat-logos { display: flex; gap: 18px; flex-wrap: wrap; }
.compat-logo { color: var(--fg-2); font-family: var(--font-display); font-size: 14px; font-weight: 500; }

/* Harmony */
.harmony-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 900px) { .harmony-grid { grid-template-columns: 1fr; } }
.parity-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.parity-list li { display: flex; gap: 12px; align-items: flex-start; }
.parity-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--acc-grad-soft); color: var(--acc-b);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.parity-t { color: var(--fg-0); font-weight: 500; font-size: 14.5px; }
.parity-b { color: var(--fg-3); font-size: 13px; margin-top: 2px; }
@media (max-width: 600px) { .parity-list { grid-template-columns: 1fr; } }

.hgfx { display: flex; align-items: center; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--bg-1); border: 1px solid var(--border); }
.hgfx-old, .hgfx-new { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hgfx-old-label, .hgfx-new-label { font-size: 10px; color: var(--fg-3); text-align: center; }
.hgfx-old-label { color: #ff8b8b; }
.hgfx-new-label { color: var(--acc-b); }
.hgfx-remote {
  width: 90px; aspect-ratio: 9/22; border-radius: 16px;
  background: linear-gradient(180deg, #2a2a32, #1a1a22);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 10px; display: flex; flex-direction: column; gap: 8px;
  position: relative; opacity: 0.4;
}
.hgfx-remote-top { height: 12px; border-radius: 4px; background: rgba(255,255,255,0.05); }
.hgfx-remote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; flex: 1; }
.hgfx-remote-grid span { background: rgba(255,255,255,0.06); border-radius: 3px; aspect-ratio: 1; }
.hgfx-remote-bottom { height: 10px; border-radius: 3px; background: rgba(255,255,255,0.04); }
.hgfx-xmark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ff8b8b; }
.hgfx-arrow { width: 60px; flex-shrink: 0; opacity: 0.8; }
.hgfx-phone {
  width: 90px; aspect-ratio: 9/18; border-radius: 14px;
  background: linear-gradient(180deg, #2a2a32, #141419);
  padding: 5px;
  box-shadow: 0 12px 28px -10px rgba(167,139,255,0.35);
}
.hgfx-phone-screen {
  background: #0d0d11; border-radius: 10px; height: 100%; padding: 10px 8px;
  display: flex; flex-direction: column; gap: 6px; justify-content: flex-end;
}
.hgfx-bubble {
  align-self: flex-end; background: var(--acc-grad); color: #0a0a0c;
  padding: 5px 8px; border-radius: 8px; font-size: 9px; font-weight: 500;
}
.hgfx-actions { display: flex; flex-direction: column; gap: 2px; font-size: 8px; color: var(--fg-3); }

/* Accessibility */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .access-grid { grid-template-columns: 1fr; } .access-visual { order: 2; } }

.acc-fx {
  position: relative; aspect-ratio: 1; max-width: 460px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(167,139,255,0.15), transparent 70%),
    var(--bg-1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.acc-fx-mic {
  position: relative; width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.acc-fx-mic-core {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--acc-grad); color: #0a0a0c;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; box-shadow: 0 10px 40px -10px rgba(167,139,255,0.6);
}
.acc-fx-mic-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(167,139,255,0.4);
  animation: ring 2.4s ease-out infinite;
}
.acc-fx-mic-ring.r2 { animation-delay: 1.2s; }
@keyframes ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.6); opacity: 0; }
}
.acc-fx-phrases { position: absolute; inset: 0; pointer-events: none; }
.acc-fx-phrase {
  position: absolute; font-family: var(--font-mono); font-size: 12px; color: var(--fg-1);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  white-space: nowrap;
  animation: float-phrase 3.2s ease-in-out infinite;
  opacity: 0;
}
.acc-fx-phrase:nth-child(1) { top: 12%; left: 8%; }
.acc-fx-phrase:nth-child(2) { top: 22%; right: 10%; }
.acc-fx-phrase:nth-child(3) { bottom: 20%; left: 12%; }
.acc-fx-phrase:nth-child(4) { bottom: 10%; right: 8%; }
@keyframes float-phrase {
  0%, 100% { opacity: 0; transform: translateY(6px); }
  20%, 70% { opacity: 1; transform: translateY(0); }
}

/* How */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-card { overflow: hidden; display: flex; flex-direction: column; }
.how-visual {
  aspect-ratio: 16/10;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.how-body { padding: 22px 24px 28px; }
.how-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.how-num { color: var(--fg-3); font-size: 13px; letter-spacing: 0.1em; }
.how-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--acc-a);
}
.how-body h3 { margin-bottom: 8px; font-size: 20px; }
.how-body p { color: var(--fg-2); font-size: 14.5px; }

.howv { width: 100%; }
.howv-bar { width: 80%; margin: 0 auto 12px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06); overflow: hidden; }
.howv-bar-fill { display: block; height: 100%; width: 100%; background: var(--acc-grad); animation: bar 2.8s ease-in-out infinite; }
@keyframes bar { 0% { width: 10%; } 60%, 100% { width: 100%; } }
.howv-rows { font-size: 10.5px; color: var(--fg-2); display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 0 20px; }
.howv-rows .ok { color: var(--acc-b); }

.howv-code { display: flex; gap: 6px; justify-content: center; }
.howv-digit {
  width: 34px; height: 46px;
  background: var(--bg-1); border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 22px; color: var(--fg-0);
  animation: digit-in 0.4s ease both;
}
.howv-digit:nth-child(1) { animation-delay: 0.05s; }
.howv-digit:nth-child(2) { animation-delay: 0.15s; }
.howv-digit:nth-child(3) { animation-delay: 0.25s; }
.howv-digit:nth-child(4) { animation-delay: 0.35s; }
.howv-digit:nth-child(5) { animation-delay: 0.45s; }
.howv-digit:nth-child(6) { animation-delay: 0.55s; color: var(--acc-b); border-color: rgba(110,231,255,0.4); }
@keyframes digit-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.howv-pair-sub { margin-top: 12px; text-align: center; font-size: 10.5px; color: var(--fg-3); }

.howv-talk { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.howv-devices { display: flex; gap: 22px; font-size: 20px; }
.howv-device { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.howv-wire { width: 100%; max-width: 200px; height: 24px; margin-top: -6px; }
.howv-tv { width: 90px; aspect-ratio: 16/10; border-radius: 4px; background: #0a0d15; border: 3px solid #16161b; position: relative; overflow: hidden; }
.howv-tv-screen { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(167,139,255,0.3), transparent 70%); }
.howv-tv-dot { position: absolute; right: 6px; bottom: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--acc-b); box-shadow: 0 0 8px var(--acc-b); }

/* Trust strip */
.trust { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.trust-inner { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 40px); justify-content: center; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-2); letter-spacing: 0.02em; }
.trust-icon { color: var(--acc-a); }
