/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:    #2AA9C4;
  --mint:    #4CC9B3;
  --amber:   #F59E0B;
  --navy:    #0B1520;
  --navy-2:  #0F1D2B;
  --navy-3:  #152233;
  --paper:   #FAFAF8;
  --muted:   rgba(255,255,255,.55);
  --border:  rgba(255,255,255,.09);
  --grad:    linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  --font:    'DM Sans', system-ui, -apple-system, sans-serif;
  --r:       14px;
  --r-lg:    22px;
  --shadow:  0 24px 64px rgba(0,0,0,.45);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ── Utilities ─────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .18s, box-shadow .18s, opacity .18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 32px rgba(42,169,196,.35);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(42,169,196,.5); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.22);
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.45); }

/* ── Reveal animation ──────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s var(--d, 0ms), transform .55s var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(11,21,32,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo { width: 30px; height: 30px; }
.brand-name {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color .18s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.nav-cta {
  background: var(--grad);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
}
.nav-links a.nav-cta:hover { opacity: .85; color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,21,32,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nav-mobile a {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  padding: 12px 32px;
  transition: color .18s;
}
.nav-mobile a:hover { color: var(--teal); }
.nav-mobile a:last-child {
  margin-top: 16px;
  background: var(--grad);
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  padding: 14px 40px;
}

.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-open .nav-mobile { display: flex; }

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

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(42,169,196,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(76,201,179,.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .9rem;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.appstore-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.4); color: #000; }
.appstore-btn svg { flex-shrink: 0; }
.appstore-btn-text { text-align: left; line-height: 1.2; }
.appstore-btn-sub { font-size: .65rem; font-weight: 400; opacity: .6; display: block; }
.appstore-btn-main { font-size: .95rem; }

.hero-phones {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  height: 420px;
}
.phone-mockup {
  position: absolute;
  border-radius: 36px;
  background: var(--navy-3);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone-main {
  width: 220px;
  height: 420px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.phone-left {
  width: 190px;
  height: 360px;
  left: 50%;
  transform: translateX(-200%) rotate(-8deg);
  top: 40px;
  opacity: .7;
  z-index: 2;
}
.phone-right {
  width: 190px;
  height: 360px;
  left: 50%;
  transform: translateX(100%) rotate(8deg);
  top: 40px;
  opacity: .7;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 12px;
}
.phone-screen .app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-screen .app-name {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.9);
  text-align: center;
}
.phone-screen .map-placeholder {
  width: 100%;
  flex: 1;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(42,169,196,.15) 0%, rgba(76,201,179,.08) 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-metric {
  display: flex;
  gap: 8px;
  width: 100%;
}
.phone-metric-box {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.phone-metric-val { font-size: 1.1rem; font-weight: 800; color: var(--mint); }
.phone-metric-lbl { font-size: .55rem; color: var(--muted); letter-spacing: .06em; }

/* ── Statement ─────────────────────────────────────────── */
.statement-section {
  padding: 80px 0;
  text-align: center;
}
.statement {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,.85);
}
.statement strong { font-weight: 700; color: #fff; }

/* ── Features ──────────────────────────────────────────── */
.features-section {
  padding: 80px 0 100px;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .22s, border-color .22s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42,169,196,.3);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .22s;
}
.feature-card:hover::before { opacity: 1; }

.feature-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(42,169,196,.12);
  border: 1px solid rgba(42,169,196,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.feature-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.feature-card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Programs teaser ───────────────────────────────────── */
.programs-section {
  padding: 80px 0;
  background: var(--navy-2);
}
.programs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.programs-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: 20px;
}
.programs-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.program-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.program-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
}
.program-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}
.program-item span {
  font-size: .9rem;
  font-weight: 500;
}

.watch-badge {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.watch-face {
  width: 120px;
  height: 140px;
  border-radius: 36px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  border: 2px solid rgba(255,255,255,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.watch-metric { font-size: 2rem; font-weight: 800; color: var(--mint); }
.watch-label { font-size: .55rem; color: var(--muted); letter-spacing: .1em; }
.watch-badge p { font-size: .88rem; color: var(--muted); line-height: 1.5; max-width: 200px; }

@media (max-width: 768px) {
  .programs-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Pricing ───────────────────────────────────────────── */
.pricing-section {
  padding: 100px 0;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  text-align: left;
}
.pricing-card.featured {
  border-color: rgba(42,169,196,.4);
  background: linear-gradient(160deg, rgba(42,169,196,.07) 0%, rgba(76,201,179,.04) 100%);
}
.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 0 0 10px 10px;
}
.pricing-name {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-note {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
}
.pricing-features li::before {
  content: '✓';
  color: var(--mint);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-limit {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  margin-top: -4px;
  padding-left: 20px;
  line-height: 1.4;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── CTA banner ────────────────────────────────────────── */
.cta-section {
  padding: 80px 0 100px;
  text-align: center;
}
.cta-inner {
  background: linear-gradient(135deg, rgba(42,169,196,.15) 0%, rgba(76,201,179,.08) 100%);
  border: 1px solid rgba(42,169,196,.2);
  border-radius: 28px;
  padding: 64px 40px;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
}
.cta-inner .appstore-btn { margin: 0 auto; }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.footer-appname {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255,255,255,.6);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .18s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  width: 100%;
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-brand { margin-right: 0; }
}

/* ── Privacy page ──────────────────────────────────────── */
.privacy-hero {
  padding: 120px 24px 60px;
  max-width: 720px;
  margin: 0 auto;
}
.privacy-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.privacy-hero p { font-size: 1rem; color: var(--muted); }

.privacy-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.privacy-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--teal);
}
.privacy-body p, .privacy-body li {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
}
.privacy-body ul { padding-left: 20px; margin: 12px 0; }
.privacy-body li { margin-bottom: 6px; }
.privacy-body a { color: var(--teal); text-decoration: underline; }
.privacy-body a:hover { color: var(--mint); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-phones { height: 300px; }
  .phone-main { width: 160px; height: 300px; border-radius: 28px; }
  .phone-left, .phone-right { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 24px; }
}
