:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #f4f6fa;
  --muted: #9ca6b3;
  --accent: #21d4ff;
  --accent-2: #ff6a00;
  --ok: #39d98a;
  --border: rgba(255, 255, 255, 0.13);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 24%, transparent 84%);
  opacity: 0.3;
  z-index: -2;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(620px 320px at 8% 12%, rgba(33, 212, 255, 0.18), transparent 70%),
    radial-gradient(460px 280px at 94% 6%, rgba(255, 106, 0, 0.16), transparent 70%),
    radial-gradient(520px 300px at 50% 82%, rgba(33, 212, 255, 0.08), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 24px rgba(33, 212, 255, 0.4);
}

.brand-text {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--text);
  border: 1px solid rgba(33, 212, 255, 0.55);
  background: rgba(33, 212, 255, 0.09);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.2rem auto 3rem;
}

.hero {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-center {
  width: min(320px, 100%);
  height: auto;
  aspect-ratio: 1/1;
  margin: 0 auto 1.2rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 60px rgba(33, 212, 255, 0.4);
}

.hero-logo-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.free-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(57, 217, 138, 0.16);
  color: #b8ffd8;
  border: 1px solid rgba(57, 217, 138, 0.42);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.hero-layout {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  width: 100%;
}

.hero-copy {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.6vw, 2rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-family: "Syne", sans-serif;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-family: "Syne", sans-serif;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
  max-width: 22ch;
}

h3 {
  font-size: 1.2rem;
}

.hero-sub {
  color: var(--muted);
  max-width: 58ch;
  margin: 1.1rem 0 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  color: #020202;
  background: linear-gradient(135deg, var(--accent), #71e3ff);
  box-shadow: 0 12px 34px rgba(33, 212, 255, 0.34);
}

.btn-outline {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-points li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.4vw, 1.6rem);
  background:
    linear-gradient(165deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0.02) 28%, transparent 52%),
    linear-gradient(175deg, rgba(33, 212, 255, 0.12), transparent 65%);
}

.hero-logo {
  width: min(210px, 52%);
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 50px rgba(33, 212, 255, 0.35),
    0 0 80px rgba(255, 106, 0, 0.2);
}

.hero-panel p {
  margin: 0.65rem 0 1rem;
  color: var(--muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.hero-stats article {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  background: rgba(0, 0, 0, 0.2);
}

.hero-stats strong {
  display: block;
  font-size: 1.06rem;
  color: var(--text);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  margin-top: 3.5rem;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head .eyebrow {
  color: var(--accent-2);
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 212, 255, 0.55);
}

.highlight {
  border: 1px solid rgba(57, 217, 138, 0.45);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.4vw, 2rem);
  background: linear-gradient(160deg, rgba(57, 217, 138, 0.12), rgba(57, 217, 138, 0.04));
}

.highlight p {
  color: var(--muted);
  max-width: 72ch;
}

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

.steps-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--surface);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: #000;
  background: linear-gradient(135deg, var(--accent-2), #ffab6e);
}

.steps-grid p {
  margin: 0.68rem 0 0;
  color: var(--muted);
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.privacy-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  background: var(--surface);
}

.cta {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.4vw, 2rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  text-align: center;
}

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

.signup {
  display: flex;
  gap: 0.65rem;
  max-width: 540px;
  margin: 1.2rem auto 0;
}

.signup input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  font: inherit;
  padding: 0.75rem 0.9rem;
}

.signup input:focus {
  outline: 2px solid rgba(33, 212, 255, 0.35);
  outline-offset: 2px;
}

.app-store-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 1.8rem 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 212, 255, 0.6);
  background: rgba(33, 212, 255, 0.08);
}

.store-icon { width: 1.6rem; height: 1.6rem; flex-shrink: 0; color: var(--accent); }

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.store-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.store-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.store-note a {
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 2.6rem auto 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

@media (max-width: 760px) {
  .site-header {
    border-radius: 16px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.96);
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  h1 {
    font-size: clamp(1.75rem, 9vw, 2.7rem);
  }

  .cards-grid,
  .steps-grid,
  .privacy-list {
    grid-template-columns: 1fr;
  }

  .signup {
    flex-direction: column;
  }

  .signup input,
  .signup button {
    width: 100%;
  }

  .app-store-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .card {
    transition: none;
  }
}

/* Adapters Section */
.adapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin: 2.4rem 0;
}

.adapter-card {
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.adapter-card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 212, 255, 0.4);
  background: rgba(33, 212, 255, 0.06);
}

.adapter-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--accent);
}

.adapter-desc {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.adapter-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.adapter-list li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1.4rem;
  position: relative;
}

.adapter-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.adapter-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.adapter-note-box {
  margin-top: 1.8rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.adapter-note-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .adapters-grid {
    grid-template-columns: 1fr;
  }
}
