/* AudioTeleporter landing page — UUI dark theme (static, no framework). */
:root {
  --uui-bg-primary: #0c111d;
  --uui-bg-secondary: #161b26;
  --uui-bg-tertiary: #1f242f;
  --uui-bg-quaternary: #252b37;

  --uui-border-primary: #1f242f;
  --uui-border-secondary: #333741;
  --uui-border-tertiary: #414651;

  --uui-text-primary: #f5f5f6;
  --uui-text-secondary: #cecfd2;
  --uui-text-tertiary: #94979c;
  --uui-text-quaternary: #717680;

  --uui-brand-200: #d6bbfb;
  --uui-brand-500: #9e77ed;
  --uui-brand-600: #7f56d9;
  --uui-brand-700: #6941c6;
  --uui-brand-solid: #7f56d9;
  --uui-brand-solid-hover: #6941c6;

  --uui-success-500: #17b26a;
  --uui-error-500: #f04438;

  --uui-r-sm: 6px;
  --uui-r-md: 8px;
  --uui-r-lg: 10px;
  --uui-r-xl: 12px;
  --uui-r-2xl: 16px;
  --uui-r-full: 9999px;

  --uui-shadow-md:
    0 4px 6px -1px rgba(10, 13, 18, 0.1), 0 2px 4px -2px rgba(10, 13, 18, 0.06);
  --uui-shadow-lg:
    0 12px 16px -4px rgba(10, 13, 18, 0.08),
    0 4px 6px -2px rgba(10, 13, 18, 0.03);
  --uui-shadow-xl:
    0 20px 24px -4px rgba(10, 13, 18, 0.18),
    0 8px 8px -4px rgba(10, 13, 18, 0.1);

  --uui-font:
    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--uui-bg-primary);
  color: var(--uui-text-primary);
  font-family: var(--uui-font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  margin: 0;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--uui-r-md);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 120ms ease,
    transform 80ms ease,
    border-color 120ms ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--uui-brand-solid);
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(127, 86, 217, 0.45);
}
.btn-primary:hover {
  background: var(--uui-brand-solid-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--uui-text-secondary);
  border-color: var(--uui-border-secondary);
}
.btn-ghost:hover {
  background: var(--uui-bg-tertiary);
  color: var(--uui-text-primary);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: var(--uui-r-full);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}
.badge-alpha {
  border: 1px solid var(--uui-brand-500);
  background: rgba(127, 86, 217, 0.12);
  color: var(--uui-brand-200);
}
.badge-popular {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--uui-brand-solid);
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  backdrop-filter: blur(8px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(
    135deg,
    var(--uui-brand-500),
    var(--uui-brand-700)
  );
  box-shadow: 0 0 16px rgba(127, 86, 217, 0.5);
}
.brand-name {
  font-size: 16px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav > a:not(.btn) {
  padding: 8px 12px;
  color: var(--uui-text-tertiary);
  font-size: 14px;
  font-weight: 500;
}
.nav > a:not(.btn):hover {
  color: var(--uui-text-primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px 64px;
  text-align: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: var(--uui-r-full);
  border: 1px solid var(--uui-border-secondary);
  background: var(--uui-bg-secondary);
  color: var(--uui-brand-200);
  font-size: 13px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
}
.lede {
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--uui-text-tertiary);
  font-size: 18px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.hero-sub {
  margin-top: 18px;
  color: var(--uui-text-quaternary);
  font-size: 13px;
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(
    closest-side,
    rgba(127, 86, 217, 0.28),
    transparent
  );
  z-index: 1;
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
}
.section-head p {
  margin-top: 12px;
  color: var(--uui-text-tertiary);
  font-size: 17px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--uui-bg-secondary);
  border: 1px solid var(--uui-border-primary);
  border-radius: var(--uui-r-2xl);
  padding: 24px;
  box-shadow: var(--uui-shadow-md);
}
.feature-icon {
  font-size: 26px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.feature-card p {
  margin: 0;
  color: var(--uui-text-tertiary);
  font-size: 14px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  position: relative;
  background: var(--uui-bg-secondary);
  border: 1px solid var(--uui-border-primary);
  border-radius: var(--uui-r-2xl);
  padding: 28px;
  box-shadow: var(--uui-shadow-md);
}
.price-card-featured {
  border-color: var(--uui-brand-600);
  box-shadow: var(--uui-shadow-xl);
}
.price-card h3 {
  font-size: 18px;
}
.price {
  margin: 12px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price .amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price .per {
  color: var(--uui-text-tertiary);
  font-size: 15px;
}
.price .price-was {
  margin-left: 6px;
  color: var(--uui-text-quaternary);
  font-size: 16px;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: var(--uui-error-500);
}
.price-billed {
  margin: -12px 0 20px;
  color: var(--uui-text-tertiary);
  font-size: 13px;
  font-weight: 500;
}
.billing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 4px;
  gap: 4px;
  background: var(--uui-bg-secondary);
  border: 1px solid var(--uui-border-primary);
  border-radius: var(--uui-r-full);
}
.billing-opt {
  appearance: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--uui-text-tertiary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--uui-r-full);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.billing-opt:hover {
  color: var(--uui-text-secondary);
}
.billing-opt.is-active {
  background: var(--uui-brand-solid);
  color: #fff;
}
.alpha-pricing-note {
  max-width: 560px;
  margin: -28px auto 32px;
  padding: 10px 16px;
  text-align: center;
  background: rgba(127, 86, 217, 0.1);
  border: 1px solid var(--uui-brand-600);
  border-radius: var(--uui-r-full);
  color: var(--uui-brand-200);
  font-size: 14px;
  font-weight: 500;
}
.price-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  position: relative;
  padding-left: 26px;
  color: var(--uui-text-secondary);
  font-size: 14px;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--uui-r-full);
  background: rgba(23, 178, 106, 0.15);
  color: var(--uui-success-500);
  font-size: 11px;
  font-weight: 700;
}

/* ---------- Comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--uui-border-primary);
  border-radius: var(--uui-r-2xl);
  background: var(--uui-bg-secondary);
  box-shadow: var(--uui-shadow-md);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--uui-border-primary);
}
.compare thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--uui-text-tertiary);
  font-weight: 600;
}
.compare tbody th {
  font-weight: 500;
  color: var(--uui-text-secondary);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}
.compare .col-us {
  background: rgba(127, 86, 217, 0.07);
}
.compare thead .col-us {
  color: var(--uui-brand-200);
}
.compare .yes {
  color: var(--uui-success-500);
  font-weight: 600;
}
.compare .no {
  color: var(--uui-text-quaternary);
}
.compare-note {
  margin-top: 16px;
  color: var(--uui-text-quaternary);
  font-size: 12px;
  text-align: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 56px 24px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(127, 86, 217, 0.18),
    rgba(105, 65, 198, 0.06)
  );
  border: 1px solid var(--uui-border-secondary);
  border-radius: var(--uui-r-2xl);
}
.cta-band h2 {
  font-size: clamp(24px, 4vw, 34px);
}
.cta-band p {
  margin: 12px 0 28px;
  color: var(--uui-text-tertiary);
  font-size: 17px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--uui-border-primary);
  margin-top: 72px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 18px;
}
.footer-nav a {
  color: var(--uui-text-tertiary);
  font-size: 14px;
}
.footer-nav a:hover {
  color: var(--uui-text-primary);
}
.copyright {
  color: var(--uui-text-quaternary);
  font-size: 13px;
  margin: 0;
  width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  /* The primary CTA (e.g. "Sign up now") is redundant on mobile where the page
     already links to it; hide it so the remaining action button has room. */
  .nav > .btn-primary {
    display: none;
  }
}
