/* ============================================================
   Orbito — orbito.life landing page
   Design tokens match the mobile app (coral #FF6B5B, warm cream)
   ============================================================ */

:root {
  --coral: #FF6B5B;
  --coral-dark: #B94838;
  --coral-tint: rgba(255, 107, 91, 0.14);
  --ink: #2A1F1B;
  --warm-gray: #7A6F6A;
  --cream-1: #FFE7DA;
  --cream-2: #FFDCC8;
  --cream-3: #F9D8C5;
  --surface: #FFFAF6;
  --card: #FFFFFF;
  --dark: #0F0B1F;
  --dark-2: #1B1633;
  --dark-3: #2E2649;
  --shadow-sm: 0 2px 8px rgba(42, 31, 27, 0.06);
  --shadow-md: 0 8px 24px rgba(42, 31, 27, 0.08);
  --shadow-lg: 0 20px 48px rgba(42, 31, 27, 0.12);
  --shadow-coral: 0 12px 40px rgba(255, 107, 91, 0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

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

a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: 0;
  transition: transform 120ms ease, box-shadow 180ms ease, background 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: #FFFFFF;
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 44px rgba(255, 107, 91, 0.45);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(42, 31, 27, 0.16);
}
.btn-ghost:hover {
  background: rgba(42, 31, 27, 0.05);
  text-decoration: none;
}
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { transition: transform 180ms ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   Brand mark
   ============================================================ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-word {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.6px;
  color: var(--ink);
}
.brand-orb {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF8570, #FF6B5B 60%, #E55645 100%);
  box-shadow: 0 4px 14px rgba(255, 107, 91, 0.55);
}
.brand-orb.small { width: 16px; height: 16px; box-shadow: 0 2px 6px rgba(255, 107, 91, 0.4); vertical-align: middle; margin-right: 6px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 31, 27, 0.06);
  padding: 16px max(24px, calc((100vw - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--warm-gray);
  font-size: 14px;
  font-weight: 600;
  transition: color 120ms;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, var(--cream-1) 0%, var(--cream-2) 50%, var(--cream-3) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px max(24px, calc((100vw - var(--container)) / 2)) 100px;
}
.hero-inner {
  position: relative;
  max-width: 620px;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 107, 91, 0.24);
  color: var(--coral-dark);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 91, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.75; }
}
.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -3px;
  color: var(--ink);
  margin: 0 0 24px;
}
.strike {
  color: var(--coral-dark);
  position: relative;
  display: inline-block;
}
.strike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 50%;
  height: 6px;
  background: var(--coral);
  border-radius: 3px;
  transform: rotate(-4deg);
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--warm-gray);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  color: var(--warm-gray);
  margin: 0;
}

/* Animated orb visual */
.hero-orb {
  position: absolute;
  right: max(-80px, calc((100vw - var(--container)) / 2 - 40px));
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.hero-orb .ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 91, 0.3);
  animation: ringPulse 4s ease-in-out infinite;
}
.hero-orb .ring-1 { width: 520px; height: 520px; animation-delay: 0s; }
.hero-orb .ring-2 { width: 380px; height: 380px; animation-delay: 0.6s; opacity: 0.6; }
.hero-orb .ring-3 { width: 260px; height: 260px; animation-delay: 1.2s; opacity: 0.4; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: var(--o, 0.6); }
  50%      { transform: scale(1.06); opacity: 1; }
}
.hero-orb .orb {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF8570, #FF6B5B 55%, #E55645 100%);
  box-shadow:
    0 24px 70px rgba(255, 107, 91, 0.55),
    inset 0 -12px 24px rgba(0, 0, 0, 0.14),
    inset 0 8px 22px rgba(255, 255, 255, 0.28);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.avatar {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--coral);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--coral-dark);
  font-size: 20px;
  transform: translate(var(--x), var(--y));
  animation: avatarBob 5s ease-in-out infinite;
}
.avatar-a { animation-delay: 0.2s; }
.avatar-b { animation-delay: 0.8s; }
.avatar-c { animation-delay: 1.5s; }
@keyframes avatarBob {
  0%, 100% { transform: translate(var(--x), var(--y)); }
  50%      { transform: translate(var(--x), calc(var(--y) - 8px)); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 60px; text-align: left; }
  .hero-orb {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 320px;
    height: 320px;
    margin: 40px auto 0;
  }
  .hero-orb .ring-1 { width: 320px; height: 320px; }
  .hero-orb .ring-2 { width: 240px; height: 240px; }
  .hero-orb .ring-3 { width: 160px; height: 160px; }
  .hero-orb .orb { width: 140px; height: 140px; }
  .avatar { width: 44px; height: 44px; font-size: 16px; }
}

/* ============================================================
   Trust bar
   ============================================================ */
.trustbar {
  background: var(--ink);
  color: rgba(255, 250, 246, 0.85);
  padding: 24px max(24px, calc((100vw - var(--container)) / 2));
  text-align: center;
}
.trustbar strong { color: var(--coral); }
.trustbar p { margin: 0; font-size: 15px; font-weight: 500; }

/* ============================================================
   Sections (features / how / compare / pricing / voices / faq)
   ============================================================ */
section {
  padding: 100px max(24px, calc((100vw - var(--container)) / 2));
}
.features-inner,
.how-inner,
.compare-inner,
.pricing-inner,
.voices-inner,
.faq-inner,
.download-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-eyebrow {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 12px;
}
.section-eyebrow-light { color: rgba(255, 107, 91, 0.85); }
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 780px;
}
.section-title-light { color: var(--surface); }
.section-lead {
  color: var(--warm-gray);
  font-size: 17px;
  margin: 0 0 40px;
  max-width: 640px;
}

/* Features */
.features { background: var(--surface); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.feature {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(42, 31, 27, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-highlight {
  background: linear-gradient(180deg, #FFE7DA 0%, #FFFAF6 100%);
  border-color: rgba(255, 107, 91, 0.28);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--coral-tint);
  color: var(--coral-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.feature h3 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}
.feature p {
  color: var(--warm-gray);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* How */
.how {
  background: linear-gradient(180deg, #1B1633 0%, #0F0B1F 100%);
  color: var(--surface);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 220ms, background 220ms;
}
.step:hover {
  border-color: rgba(255, 107, 91, 0.5);
  background: rgba(255, 107, 91, 0.06);
}
.step-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--coral);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--surface);
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}
.step p {
  color: rgba(255, 250, 246, 0.7);
  font-size: 15px;
  margin: 0;
}

/* Compare */
.compare { background: var(--cream-1); }
.compare-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
  overflow-x: auto;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: center;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  min-width: 640px;
}
.compare-row:not(:last-child) {
  border-bottom: 1px solid rgba(42, 31, 27, 0.05);
}
.compare-head {
  background: transparent;
  color: var(--warm-gray);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-bottom: 2px solid rgba(42, 31, 27, 0.1) !important;
  padding-bottom: 20px;
  padding-top: 8px;
}
.compare-row > div:first-child {
  font-weight: 700;
  color: var(--ink);
}
.compare-row .col-orbito {
  color: var(--coral-dark);
  font-weight: 700;
}
.compare-row .col-other {
  color: var(--warm-gray);
}
.compare-head .col-orbito {
  color: var(--ink);
  font-weight: 900;
}

/* Pricing */
.pricing {
  background: var(--surface);
  text-align: center;
}
.pricing .section-title,
.pricing .section-lead { margin-left: auto; margin-right: auto; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
  margin: 48px 0 24px;
}
.price-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(42, 31, 27, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border: 2px solid var(--coral);
  box-shadow: var(--shadow-coral);
  transform: translateY(-8px);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin: 0 0 6px;
}
.price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin: 0 0 4px;
}
.price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--warm-gray);
  letter-spacing: 0;
}
.price-tag {
  color: var(--warm-gray);
  font-size: 14px;
  margin: 0 0 24px;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}
.price-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink);
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 900;
}
.price-note {
  color: var(--warm-gray);
  font-size: 14px;
  margin-top: 16px;
}

/* Voices */
.voices { background: var(--cream-1); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.voice {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 0;
  border-left: 4px solid var(--coral);
  box-shadow: var(--shadow-sm);
}
.voice p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 16px;
  font-weight: 500;
}
.voice footer {
  font-size: 13px;
  color: var(--warm-gray);
  font-weight: 700;
}

/* FAQ */
.faq { background: var(--surface); }
.faq-item {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(42, 31, 27, 0.08);
  margin-bottom: 12px;
  transition: box-shadow 180ms;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
  padding-right: 32px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--coral);
  font-weight: 400;
  transition: transform 180ms;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  color: var(--warm-gray);
  font-size: 15.5px;
  margin: 14px 0 0;
  line-height: 1.65;
}

/* Download CTA */
.download {
  background: linear-gradient(180deg, #1B1633 0%, #0F0B1F 100%);
  color: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.2px;
  margin: 24px 0 12px;
  color: var(--surface);
}
.download p {
  color: rgba(255, 250, 246, 0.7);
  font-size: 16px;
  margin: 0 0 32px;
}
.download-orb {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-orb .ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 91, 0.4);
  animation: ringPulse 3s ease-in-out infinite;
}
.download-orb .ring-1 { width: 180px; height: 180px; }
.download-orb .ring-2 { width: 130px; height: 130px; animation-delay: 0.5s; opacity: 0.6; }
.download-orb .orb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF8570, #FF6B5B 55%, #E55645 100%);
  box-shadow: 0 12px 40px rgba(255, 107, 91, 0.55);
}
.waitlist {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.waitlist input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 20px;
  color: var(--surface);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.waitlist input::placeholder { color: rgba(255, 250, 246, 0.4); }
.download-note {
  margin-top: 16px !important;
  font-size: 13px !important;
}
#waitlistCount { display: inline-block; margin-left: 4px; font-weight: 700; }
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.download-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.download-badges .badge {
  background: var(--surface);
  color: var(--ink);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 160px;
  transition: transform 180ms;
  text-decoration: none;
}
.download-badges .badge:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.download-badges .badge-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.6px;
  color: var(--warm-gray);
  text-transform: uppercase;
}
.download-badges .badge-store {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.4px;
}

@media (max-width: 500px) {
  .waitlist { flex-direction: column; border-radius: var(--radius-lg); }
  .waitlist input { text-align: center; }
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 250, 246, 0.6);
  padding: 60px max(24px, calc((100vw - var(--container)) / 2)) 40px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-brand .brand-word { color: var(--surface); }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 250, 246, 0.7);
  font-size: 14px;
  font-weight: 600;
  transition: color 120ms;
}
.footer-links a:hover {
  color: var(--coral);
  text-decoration: none;
}
.footer-copy {
  font-size: 13px;
  margin: 0;
  color: rgba(255, 250, 246, 0.4);
  text-align: right;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-copy { text-align: center; }
}
