/* ==========================================================================
   Live Ride — shared site styles
   Mirrors the app's own design language: near-black surfaces, a single
   teal accent, outline-only cards (no heavy shadows/fills), rounded type,
   capsule buttons, generous spacing.
   ========================================================================== */

:root {
  --accent: #2dd4bf;
  --accent-dim: #23a89a;
  --on-accent: #04211d;

  --bg: #08090a;
  --bg-elevated: #0e0f11;
  --card: #17181b;
  --card-hover: #1c1e22;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #f2f3f4;
  --text-secondary: #9a9ca3;
  --text-tertiary: #6b6d73;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --max-width: 1120px;

  --shadow-glow: 0 0 0 1px rgba(45, 212, 191, 0.12), 0 12px 40px -12px rgba(45, 212, 191, 0.25);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Rounded",
    "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 15% -10%, rgba(45, 212, 191, 0.14), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.08), transparent 40%);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

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

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

section {
  position: relative;
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: #4fe0cd;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

.btn small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  opacity: 0.75;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

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

.hero {
  padding: 84px 0 40px;
  overflow: hidden;
}

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

.hero-copy .lede {
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pill svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  padding: 12px 15% 56px 0;
}

.hero-visual .phone-frame {
  position: relative;
  z-index: 2;
  width: min(74%, 320px);
  margin: 0 auto;
}

.hero-visual .phone-frame.accent {
  position: absolute;
  z-index: 1;
  width: min(60%, 258px);
  right: -14%;
  bottom: -8%;
  transform: rotate(6deg);
  opacity: 0.96;
}

/* ---------- Native device frame ---------- */

.phone-frame {
  --bezel: 10px;
  position: relative;
  background: #0c0d0f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 42px;
  padding: 28px var(--bezel) var(--bezel);
  box-shadow: var(--shadow-glow);
}

.phone-frame .notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 16px;
  background: #0c0d0f;
  border-radius: 10px;
  z-index: 2;
}

.phone-frame .side-btn {
  position: absolute;
  background: #0c0d0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-frame .side-btn.power {
  right: -2px;
  top: 100px;
  width: 3px;
  height: 54px;
  border-radius: 0 3px 3px 0;
}

.phone-frame .side-btn.vol-up {
  left: -2px;
  top: 92px;
  width: 3px;
  height: 34px;
  border-radius: 3px 0 0 3px;
}

.phone-frame .side-btn.vol-down {
  left: -2px;
  top: 134px;
  width: 3px;
  height: 34px;
  border-radius: 3px 0 0 3px;
}

.phone-frame .screen {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Screens showcase (carousel) ---------- */

.screens {
  padding: 8px 0 96px;
}

.carousel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.carousel-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.carousel-stage .phone-frame {
  width: min(100%, 300px);
}

.carousel-stage .screen img {
  animation: screen-fade 0.35s ease;
}

@keyframes screen-fade {
  from {
    opacity: 0;
    transform: scale(1.01);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.carousel-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.carousel-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--card-hover);
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.carousel-info {
  min-height: 168px;
}

.carousel-info .step {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.carousel-info h3 {
  margin-top: 10px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.carousel-info p {
  margin-top: 12px;
  font-size: 1rem;
  max-width: 480px;
}

.carousel-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.thumb {
  flex: 0 0 auto;
  width: 46px;
  height: 100px;
  padding: 0;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--card);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.16);
}

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

  .carousel-info {
    order: 2;
    min-height: 0;
    text-align: center;
  }

  .carousel-info p {
    margin-left: auto;
    margin-right: auto;
  }

  .carousel-stage {
    order: 1;
  }

  .carousel-thumbs {
    order: 3;
    justify-content: center;
  }
}

/* ---------- Section headers ---------- */

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 44px;
  text-align: left;
}

.section-pad {
  padding: 96px 0;
}

.section-pad.tight {
  padding: 64px 0;
}

.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

/* ---------- Feature grid ---------- */

.feature-groups {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.feature-group-head h3 {
  font-size: 1.4rem;
}

.feature-group-head span {
  color: var(--text-tertiary);
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  color: var(--accent);
}

.feature-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Freedom / no-subscription banner ---------- */

.freedom {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.freedom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.freedom-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  background: var(--bg);
}

.freedom-card .num {
  font-size: 2.1rem;
  margin-bottom: 14px;
  color: var(--accent);
}

.freedom-card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.freedom-card p {
  font-size: 0.92rem;
}

.freedom-model {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.freedom-model p {
  font-size: 0.92rem;
  max-width: 620px;
}

/* ---------- Privacy strip ---------- */

.privacy-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.privacy-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.privacy-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-visual svg {
  width: 100%;
  max-width: 220px;
  color: var(--accent);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}

.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
  padding: 100px 24px 110px;
  border-top: 1px solid var(--border);
}

.final-cta h2 {
  max-width: 620px;
  margin: 0 auto;
}

.final-cta .lede {
  margin: 18px auto 0;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 36px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 64px 0 100px;
}

.legal .wrap {
  max-width: 780px;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-header .updated {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal p + p {
  margin-top: 14px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-toc {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 22px 26px;
  margin-top: 30px;
}

.legal-toc h5 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  gap: 6px;
}

.legal-toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-toc a:hover {
  color: var(--accent);
}

.callout {
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.07);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}

.callout p {
  color: var(--text);
  font-size: 0.92rem;
}

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

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

  .hero-visual {
    order: -1;
    padding: 8px 16vw 40px 4vw;
  }

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

  .freedom-grid {
    grid-template-columns: 1fr;
  }

  .privacy-strip {
    grid-template-columns: 1fr;
  }

  .privacy-visual {
    order: -1;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 72px 16px auto 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .nav-links a {
    padding: 10px 6px;
    width: 100%;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .freedom-model {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 56px;
  }

  .btn {
    height: 50px;
    padding: 0 20px;
  }
}
