/* =============================================================================
   UQUEST — shared stylesheet
   =============================================================================
   Palette taken from the app screenshots so the site and product read as one
   thing: near-black background, electric blue primary, amber for streaks,
   violet for premium. Inter for body, a heavier weight for display.
   ========================================================================== */

:root {
  --bg: #0b0d10;
  --surface: #14171c;
  --surface-2: #1b1f26;
  --border: #262b33;

  --text: #f2f4f7;
  --text-muted: #9aa3af;
  --text-subtle: #6b7280;

  --primary: #2f86f8;
  --primary-light: #5ec8ff;
  --premium: #7c5cff;
  --streak: #f5a623;

  --max-width: 1080px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* --- Shared header / footer (also used by the legal pages) ---------------- */

header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

header.site .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 15px;
}

.brand-icon {
  width: 50px;
  height: 38px;
  border-radius: 9px;
  display: block;
}

nav.site {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav.site a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
nav.site a:hover {
  color: var(--text);
}
nav.site a.nav-cta {
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 700;
}
nav.site a.nav-cta:hover {
  color: var(--bg);
  opacity: 0.92;
}

/* Hide the text nav links on small screens; keep the CTA. */
@media (max-width: 720px) {
  nav.site a.nav-link {
    display: none;
  }
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 40px 0 64px;
  color: var(--text-subtle);
  font-size: 13px;
  margin-top: 40px;
}
footer.site .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
}
footer.site a {
  color: var(--text-muted);
  text-decoration: none;
}
footer.site a:hover {
  color: var(--text);
}
footer.site .links a {
  margin-right: 20px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--text);
}

/* =============================================================================
   LANDING
   ========================================================================== */

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 48px 64px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-light);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero .lede {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.92;
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.microcopy {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-subtle);
}

/* --- Phone frame ---------------------------------------------------------- */
/* A CSS bezel around a real screenshot, so the marketing shots read as the
   actual app rather than floating rectangles. */

.phone {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 42px;
  border: 10px solid #05070a;
  background: #05070a;
  box-shadow:
    0 0 0 1px var(--border),
    0 30px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.hero .phone {
  transform: rotate(1.5deg);
}

/* --- Sections ------------------------------------------------------------- */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section h2 {
  font-size: 30px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
  font-weight: 800;
}
.section .sub {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step .num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(47, 134, 248, 0.12);
  color: var(--primary-light);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Feature split rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split + .split {
  margin-top: 64px;
}
.split.reverse .split-media {
  order: 2;
}
.split-media {
  display: flex;
  justify-content: center;
}
.split h3 {
  font-size: 24px;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
  font-weight: 800;
}
.split p {
  color: var(--text-muted);
  margin: 0 0 14px;
}
.split .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.tag.blue {
  color: var(--primary-light);
  background: rgba(47, 134, 248, 0.12);
}
.tag.violet {
  color: var(--premium);
  background: rgba(124, 92, 255, 0.12);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 15px;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Honesty callout */
.principle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 24px 26px;
  max-width: 760px;
}
.principle h2 {
  font-size: 22px;
  margin: 0 0 10px;
}
.principle p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.plan.premium {
  border-color: var(--premium);
  background: rgba(124, 92, 255, 0.06);
}
.plan .pname {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.plan.premium .pname {
  color: var(--premium);
}
.plan .price {
  font-size: 38px;
  font-weight: 800;
  margin: 10px 0 0;
}
.plan .price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.plan .plan-sub {
  color: var(--text-muted);
  font-size: 13px;
  margin: 2px 0 18px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.plan li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.plan.premium li::before {
  color: var(--premium);
}
.plan .btn {
  width: 100%;
  text-align: center;
}
.plan.premium .btn {
  background: linear-gradient(135deg, #9b7cff, var(--premium));
}

.pricing-note {
  text-align: center;
  color: var(--text-subtle);
  font-size: 13px;
  margin-top: 22px;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 12px;
  background: var(--surface);
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  float: right;
  color: var(--text-muted);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 16px;
}

/* Final CTA */
.final {
  text-align: center;
  padding: 72px 24px;
  background: radial-gradient(
    120% 100% at 50% 0%,
    rgba(47, 134, 248, 0.14),
    transparent 60%
  );
  border-top: 1px solid var(--border);
}
.final h2 {
  font-size: 32px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.final p {
  color: var(--text-muted);
  margin: 0 0 26px;
}

/* --- Legal document pages (kept from the earlier build) ------------------- */

main.wrap.doc {
  padding-bottom: 80px;
}
.doc {
  padding-top: 40px;
}
.doc h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  font-weight: 800;
}
.doc h1 + p {
  color: var(--text-subtle);
  font-size: 14px;
  margin-bottom: 32px;
}
.doc h2 {
  font-size: 21px;
  margin: 44px 0 14px;
  font-weight: 700;
}
.doc h3 {
  font-size: 16px;
  margin: 28px 0 10px;
  font-weight: 700;
  color: var(--primary-light);
}
.doc p {
  margin: 0 0 16px;
  color: var(--text-muted);
}
.doc strong {
  color: var(--text);
  font-weight: 600;
}
.doc ul {
  padding-left: 22px;
  margin: 0 0 18px;
  color: var(--text-muted);
}
.doc li {
  margin-bottom: 8px;
}
.doc a {
  color: var(--primary);
}
.doc hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.doc blockquote {
  margin: 0 0 32px;
  padding: 16px 20px;
  background: rgba(47, 134, 248, 0.07);
  border: 1px solid rgba(47, 134, 248, 0.25);
  border-radius: var(--radius);
}
.doc blockquote p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.table-scroll {
  overflow-x: auto;
  margin: 0 0 22px;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 14px;
}
.doc th,
.doc td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.doc th {
  color: var(--text);
  font-weight: 700;
  background: var(--surface);
  white-space: nowrap;
}
.doc td {
  color: var(--text-muted);
}

/* --- Responsive ----------------------------------------------------------- */

/* Tablet / small desktop */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 36px 40px;
  }
  .hero .phone {
    transform: none;
    order: -1;
    max-width: 260px;
  }
  .hero .lede {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 36px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Images always appear above text on mobile for all split sections */
  .split-media {
    order: -1;
  }
  .split + .split {
    margin-top: 0;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* Footer stacking */
@media (max-width: 600px) {
  footer.site .inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 0 18px;
  }
  .footer-brand {
    align-items: center;
    order: -1;
  }
  footer.site .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
  }
  footer.site .links a {
    margin: 0 10px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .brand {
    font-size: 13px;
    letter-spacing: 2px;
  }
  .brand-icon {
    width: 36px;
    height: 28px;
  }
  header.site .inner {
    padding: 12px 18px;
  }
  .wrap {
    padding: 0 18px;
  }
  .hero {
    padding: 32px 24px 36px;
  }
  .hero h1 {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .hero .lede {
    font-size: 16px;
  }
  .hero .phone {
    max-width: 220px;
  }
  .section {
    padding: 40px 0;
  }
  .section h2 {
    font-size: 24px;
  }
  .principle {
    padding: 18px 20px;
  }
  .final {
    padding: 52px 18px;
  }
  .final h2 {
    font-size: 26px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- Platforms microcopy + contact section ------------------------------- */

.platforms {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-subtle);
}
.platforms span {
  color: var(--primary-light);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.contact-grid h2 {
  font-size: 28px;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
  font-weight: 800;
}
.contact-email {
  display: inline-block;
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-light);
  text-decoration: none;
}
.contact-email:hover {
  text-decoration: underline;
}

.platforms-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.pc-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.pc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.pc-row:first-of-type {
  border-top: none;
}
.pc-name {
  font-size: 15px;
  font-weight: 600;
}
.pc-status {
  font-size: 13px;
  color: var(--text-subtle);
}
.pc-row.available .pc-status {
  color: var(--primary-light);
  font-weight: 600;
}
.pc-status.soon {
  color: var(--text-subtle);
}

