:root {
  --bg: #071018;
  --bg-2: #0b1622;
  --surface: rgba(13, 29, 43, 0.82);
  --surface-strong: #102336;
  --surface-soft: rgba(255, 255, 255, 0.06);
  --text: #eef7ff;
  --muted: #a8bac8;
  --quiet: #7790a3;
  --line: rgba(167, 229, 255, 0.18);
  --cyan: #40e6ff;
  --green: #6dffb2;
  --amber: #ffd166;
  --red: #ff637d;
  --purple: #a78bfa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 112px;
  background:
    radial-gradient(circle at 18% 6%, rgba(64, 230, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 82% 10%, rgba(109, 255, 178, 0.1), transparent 30rem),
    linear-gradient(180deg, #050b12 0%, var(--bg) 48%, #050a10 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 1000;
  background: var(--cyan);
  color: #00121b;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(5, 11, 18, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap,
.section,
.footer-grid {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 16px 40px rgba(64, 230, 255, 0.2);
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 13px;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
}

.btn,
.link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn {
  min-height: 48px;
  padding: 12px 18px;
}

.btn-primary {
  color: #00131b;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 16px 40px rgba(64, 230, 255, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.btn-small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.86rem;
}

.hero {
  padding: 84px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-note {
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.trust-row div,
.stat,
.card,
.panel,
.timeline-item,
.faq-item,
.policy-block,
.cookie-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.trust-row div {
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.trust-row strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
}

.phone-glow {
  position: absolute;
  inset: 10% 4%;
  background: radial-gradient(circle, rgba(64, 230, 255, 0.22), transparent 58%);
  filter: blur(20px);
}

.phone {
  position: relative;
  width: min(360px, 100%);
  min-height: 560px;
  padding: 18px;
  border-radius: 46px;
  background: linear-gradient(160deg, #172638, #05080d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), inset 0 0 0 8px rgba(255, 255, 255, 0.035);
}

.phone-screen {
  min-height: 524px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(64, 230, 255, 0.12), transparent 36%),
    #071018;
  padding: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.call-header {
  text-align: center;
  padding-top: 18px;
}

.avatar-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: conic-gradient(from 180deg, var(--cyan), var(--green), var(--purple), var(--cyan));
  padding: 4px;
}

.avatar-ring div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b1622;
  font-size: 2rem;
  font-weight: 900;
}

.call-header h2 {
  margin: 0;
  font-size: 1.55rem;
}

.call-header p {
  margin: 4px 0 0;
  color: var(--muted);
}

.call-lines {
  display: grid;
  gap: 11px;
  margin: 28px 0;
}

.bubble {
  border-radius: 18px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}

.bubble.incoming {
  border-top-left-radius: 4px;
}

.bubble.user {
  justify-self: end;
  background: rgba(64, 230, 255, 0.16);
  border-top-right-radius: 4px;
}

.call-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.call-control {
  border: 0;
  border-radius: 18px;
  padding: 14px 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.call-control.safe {
  background: rgba(109, 255, 178, 0.18);
}

.call-control.risk {
  background: rgba(255, 99, 125, 0.18);
}

.section {
  padding: 74px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.page-hero h1 {
  margin-top: 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card,
.panel,
.policy-block {
  border-radius: var(--radius-md);
  padding: 24px;
}

.card h3,
.panel h3,
.policy-block h2,
.policy-block h3 {
  margin-top: 0;
  line-height: 1.15;
}

.card p,
.panel p,
.policy-block p,
.policy-block li {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(64, 230, 255, 0.12);
  color: var(--cyan);
  font-weight: 900;
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.console {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #061018;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-top {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.dot:nth-child(2) {
  background: var(--amber);
}

.dot:nth-child(3) {
  background: var(--green);
}

.console-body {
  padding: 24px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: #d7faff;
  font-size: 0.92rem;
}

.console-body p {
  margin: 0 0 14px;
}

.prompt {
  color: var(--green);
}

.risk {
  color: var(--red);
}

.safe {
  color: var(--green);
}

.timeline {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  border-radius: var(--radius-md);
  padding: 22px 22px 22px 78px;
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #00131b;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  border-radius: var(--radius-md);
  padding: 20px;
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.page-hero {
  padding: 78px 0 34px;
}

.page-kicker {
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  color: #00131b;
  background: var(--cyan);
}

.tab-panel[hidden] {
  display: none;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  border: 0;
  color: var(--text);
  background: transparent;
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 850;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  color: var(--cyan);
}

.faq-item button[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(13, 29, 43, 0.72);
  padding: 16px;
}

.policy-nav a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 10px;
  font-weight: 700;
}

.policy-nav a:hover {
  color: var(--text);
  background: var(--surface-soft);
}

.policy-content {
  display: grid;
  gap: 16px;
}

.policy-block ul {
  padding-left: 22px;
}

.notice {
  border-left: 4px solid var(--cyan);
  background: rgba(64, 230, 255, 0.09);
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 42px 0;
  background: rgba(5, 11, 18, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-grid p,
.footer-grid a,
.footer-grid li {
  color: var(--muted);
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cookie-banner,
.cookie-modal {
  position: fixed;
  z-index: 300;
}

.cookie-banner {
  left: 18px;
  right: 18px;
  bottom: 112px;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-card {
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 24px;
  padding: 20px;
  background: rgba(8, 18, 28, 0.96);
  backdrop-filter: blur(18px);
}

.cookie-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.cookie-card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-download-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 260;
}

.app-download-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(64, 230, 255, 0.32);
  border-radius: 24px;
  background: rgba(7, 16, 24, 0.95);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(18px);
  padding: 14px;
}

.app-download-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.app-download-copy img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex: 0 0 auto;
}

.app-download-copy strong,
.app-download-copy span {
  display: block;
}

.app-download-copy strong {
  line-height: 1.15;
}

.app-download-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-modal {
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.cookie-modal.is-visible {
  display: grid;
}

.modal-panel {
  width: min(640px, 100%);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #08121c;
  box-shadow: var(--shadow);
  padding: 24px;
}

.preference-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 32px;
}

.switch input {
  opacity: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--line);
}

.slider::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 3px;
  left: 4px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.2s ease, background 0.2s ease;
}

.switch input:checked + .slider::after {
  transform: translateX(20px);
  background: var(--green);
}

.switch input:disabled + .slider {
  opacity: 0.7;
}

.inline-link {
  color: var(--cyan);
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: auto;
  }

  .grid-3,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-nav {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 166px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px 24px;
    background: rgba(5, 11, 18, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .hero {
    padding-top: 56px;
  }

  .trust-row,
  .grid-2,
  .grid-3,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .phone {
    width: 100%;
    min-height: auto;
  }

  .phone-screen {
    min-height: 500px;
  }

  .policy-block,
  .card,
  .panel {
    padding: 20px;
  }

  .cookie-banner {
    bottom: 168px;
  }

  .app-download-inner {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
  }

  .app-download-inner .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
