:root {
  --nav-h: 48px;
  --white: #fff;
  --black: #1d1d1f;
  --gray: #6e6e73;
  --light: #f5f5f7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ── GLOBAL NAV ── */
.global-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: var(--nav-h);
  background: rgba(22,22,23,.85);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex; align-items: center; justify-content: center;
}
.global-nav ul {
  list-style: none;
  display: flex; gap: 28px;
}
.global-nav a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .02em;
  transition: color .2s;
}
.global-nav a:hover { color: #fff; }

/* ── LOCAL NAV ── */
.local-nav {
  position: sticky; top: var(--nav-h); z-index: 999;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; height: 52px;
}
.local-nav-title { font-size: 17px; font-weight: 600; }
.local-nav-links { display: flex; gap: 24px; list-style: none; }
.local-nav-links a {
  font-size: 12px; color: var(--gray); text-decoration: none;
  transition: color .2s;
}
.local-nav-links a:hover { color: var(--black); }
.btn-cta {
  background: var(--accent);
  color: #fff;
  border: none; border-radius: 980px;
  padding: 8px 18px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--accent-hover); }

/* ── HERO ── */
.hero {
  margin-top: var(--nav-h);
  background: #000;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 60%,
  #1a3a6e 0%, #0a1a3a 40%, #000 100%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,.35) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -40%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: .6; transform: translate(-50%,-40%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-40%) scale(1.08); }
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 19px; font-weight: 600;
  color: #fff; letter-spacing: -.01em;
  margin-bottom: 6px;
  opacity: 0; animation: fadeUp .8s .2s forwards;
}
.hero-title {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -.04em;
  margin-bottom: 16px;
  opacity: 0; animation: fadeUp .8s .4s forwards;
}
.hero-sub {
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 400;
  background: linear-gradient(90deg, #64b5f6, #a78bfa, #4dd0e1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp .8s .6s forwards;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  opacity: 0; animation: fadeUp .8s .8s forwards;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 17px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-cta-lg {
  background: var(--accent); color: #fff;
  border: none; border-radius: 980px;
  padding: 12px 24px;
  font-size: 17px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.btn-cta-lg:hover { background: var(--accent-hover); }

.hero-device {
  position: relative; z-index: 2;
  margin-top: 64px;
  width: min(860px, 90vw);
  opacity: 0; animation: fadeUp 1s 1s forwards;
}
.hero-device-frame {
  background: linear-gradient(160deg, #1c2a4a 0%, #0e1a2e 50%, #071120 100%);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  padding: 20px 20px 12px;
  box-shadow: 0 60px 120px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.05);
}
.hero-screen {
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2744 30%, #0f2a4a 60%, #071830 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.screen-content {
  text-align: center; color: #fff; z-index: 2; position: relative;
}
.screen-content h3 { font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.screen-content p { font-size: 14px; color: rgba(255,255,255,.6); }
.screen-orbs {
  position: absolute; inset: 0; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.orb1 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(99,179,237,.4), transparent 70%); top: -40px; left: 10%; animation-delay: 0s; }
.orb2 { width: 140px; height: 140px; background: radial-gradient(circle, rgba(167,139,250,.4), transparent 70%); top: 20%; right: 8%; animation-delay: -2s; }
.orb3 { width: 100px; height: 100px; background: radial-gradient(circle, rgba(77,208,225,.4), transparent 70%); bottom: 10%; left: 30%; animation-delay: -4s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.hero-chin {
  background: linear-gradient(180deg, #1c2a4a 0%, #0e1520 100%);
  height: 24px; border-radius: 0 0 14px 14px;
  display: flex; align-items: center; justify-content: center;
}
.hero-chin-notch {
  width: 60px; height: 6px; background: #0a0f1a; border-radius: 3px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTION BASE ── */
section { padding: 120px 40px; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: block;
}
.section-headline {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -.03em; color: var(--black);
  max-width: 800px; margin: 0 auto 24px;
}
.section-sub {
  font-size: 21px; color: var(--gray); line-height: 1.4;
  max-width: 600px; margin: 0 auto 40px;
}
.tc { text-align: center; }

/* ── HIGHLIGHTS TABS ── */
.highlights { background: var(--light); }
.highlights h2 { font-size: 48px; font-weight: 700; text-align: center; margin-bottom: 40px; letter-spacing: -.03em; }

.tab-nav {
  display: flex; gap: 0; overflow-x: auto;
  list-style: none; justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,.1);
  margin-bottom: 0; flex-wrap: wrap;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-nav li a {
  display: block; padding: 12px 20px;
  font-size: 13px; color: var(--gray);
  text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.tab-nav li a.active, .tab-nav li a:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

.tab-panels { background: var(--light); }
.tab-panel {
  display: none;
  max-width: 1100px; margin: 0 auto;
  padding: 60px 20px;
  align-items: center; gap: 60px;
}
.tab-panel.active { display: flex; }
.tab-panel-text { flex: 1; }
.tab-panel-text h3 {
  font-size: 40px; font-weight: 700; letter-spacing: -.03em;
  line-height: 1.1; margin-bottom: 20px;
}
.tab-panel-text p { font-size: 17px; line-height: 1.7; color: var(--gray); margin-bottom: 16px; }
.tab-panel-visual {
  flex: 1;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.15);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #aaa;
  position: relative;
}

/* colour swatches panel */
.swatch-row { display: flex; gap: 16px; margin-top: 24px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: transform .2s; }
.swatch:hover { transform: scale(1.2); }
.swatch.active { border-color: var(--black); }

/* ── LOVE SECTION ── */
.love-section {
  background: #000; color: #fff;
  text-align: center; padding: 120px 20px;
}
.love-section .section-headline { color: #fff; }
.love-section .section-sub { color: rgba(255,255,255,.7); }
.love-cta { margin-top: 32px; }
.btn-white {
  background: #fff; color: #000;
  border: none; border-radius: 980px;
  padding: 12px 24px; font-size: 17px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background .2s;
  margin-right: 12px;
}
.btn-white:hover { background: #e0e0e0; }
.love-mockup {
  margin: 60px auto 0;
  max-width: 900px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.love-card {
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.love-card:hover { transform: translateY(-8px) scale(1.02); }
.love-card-inner {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end;
  padding: 20px;
}
.love-card span { font-size: 13px; font-weight: 600; color: #fff; }

/* ── CLOSER LOOK / 3D VIEWER ── */
.closer-look { background: var(--light); text-align: center; }
.viewer-container {
  max-width: 900px; margin: 60px auto 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.15);
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e8f4ff, #d0e8ff);
  display: flex; align-items: center; justify-content: center;
  cursor: grab; position: relative;
}
.viewer-container:active { cursor: grabbing; }
.viewer-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.4); color: #fff; font-size: 12px;
  padding: 6px 16px; border-radius: 20px; pointer-events: none;
}

/* ── PERFORMANCE ── */
.performance { background: #fff; padding: 140px 40px; }
.metrics-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.metric-card {
  background: var(--light); border-radius: 24px; padding: 60px 40px;
  text-align: center; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.metric-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.metric-number {
  font-size: 72px; font-weight: 800; color: var(--accent);
  line-height: 1; margin-bottom: 20px;
}
.metric-icon { font-size: 56px; margin-bottom: 24px; }
.metric-card p { font-size: 16px; color: var(--gray); line-height: 1.5; }

/* ── DISPLAY SECTION ── */
.display-section { background: #000; color: #fff; text-align: center; overflow: hidden; }
.display-section .section-headline { color: #fff; }
.display-section .section-sub { color: rgba(255,255,255,.7); }
.display-mockup {
  max-width: 900px; margin: 60px auto 0; position: relative;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 60px 120px rgba(0,0,0,.8);
}
.display-screen {
  aspect-ratio: 16/10;
  background: linear-gradient(120deg, #0a2a5e 0%, #1a0a4e 40%, #2a0a3e 70%, #0a2a5e 100%);
  background-size: 200% 200%;
  animation: shimmer 8s ease infinite;
  display: flex; align-items: center; justify-content: center;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.display-spec-row {
  display: flex; justify-content: center; gap: 48px; margin-top: 60px; flex-wrap: wrap;
}
.spec-item { text-align: center; }
.spec-value { font-size: 48px; font-weight: 700; letter-spacing: -.04em; color: #fff; line-height: 1; }
.spec-unit { font-size: 20px; font-weight: 500; }
.spec-label { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 8px; }

/* ── AI SECTION ── */
.ai-section { background: var(--light); }
.ai-grid {
  max-width: 1100px; margin: 60px auto 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.ai-card {
  background: #fff; border-radius: 20px; padding: 36px 28px;
  transition: transform .3s, box-shadow .3s;
}
.ai-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.ai-icon {
  width: 52px; height: 52px; border-radius: 14px;
  margin-bottom: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.ai-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.02em; }
.ai-card p { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* ── IPHONE SECTION ── */
.iphone-section { background: #fff; }
.iphone-split {
  max-width: 1100px; margin: 60px auto 0;
  display: flex; align-items: center; gap: 80px;
}
.iphone-text { flex: 1; }
.iphone-text h2 { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 20px; }
.iphone-text p { font-size: 17px; line-height: 1.7; color: var(--gray); margin-bottom: 16px; }
.iphone-visual {
  flex: 0 0 400px; display: flex; gap: 20px; align-items: flex-end; justify-content: center;
}
.device-phone {
  width: 90px; height: 180px;
  background: linear-gradient(160deg, #2a2a2e, #1a1a1e);
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: rgba(255,255,255,.3);
  position: relative;
}
.device-laptop-small {
  flex: 1; max-width: 260px;
  background: linear-gradient(160deg, #2a2a2e, #1a1a1e);
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: rgba(255,255,255,.3);
}

/* ── MACOS SECTION ── */
.macos-section { background: var(--light); text-align: center; }
.app-dock {
  max-width: 700px; margin: 50px auto 0;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(20px);
  border-radius: 20px; padding: 16px 24px;
  display: flex; gap: 12px; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  flex-wrap: wrap;
}
.dock-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; cursor: pointer;
  transition: transform .2s cubic-bezier(.25,.46,.45,.94);
}
.dock-icon:hover { transform: scale(1.4) translateY(-10px); }

/* ── PRIVACY SECTION ── */
.privacy-section { background: #000; color: #fff; text-align: center; }
.privacy-section .section-headline { color: #fff; }
.privacy-section .section-sub { color: rgba(255,255,255,.7); }
.privacy-badges {
  display: flex; gap: 32px; justify-content: center; margin-top: 60px; flex-wrap: wrap;
}
.p-badge {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 28px 32px; min-width: 200px;
  transition: background .3s;
}
.p-badge:hover { background: rgba(255,255,255,.12); }
.p-badge-icon { font-size: 36px; margin-bottom: 12px; }
.p-badge-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.p-badge-text { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ── BUY SECTION ── */
.buy-section { background: var(--light); text-align: center; }
.buy-cards {
  max-width: 900px; margin: 60px auto 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.buy-card {
  background: #fff; border-radius: 24px; padding: 48px 36px;
  transition: transform .3s;
}
.buy-card:hover { transform: translateY(-4px); }
.buy-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.buy-card .price { font-size: 22px; color: var(--gray); margin-bottom: 24px; }
.buy-card ul { list-style: none; margin-bottom: 32px; }
.buy-card ul li { font-size: 14px; color: var(--gray); padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.buy-card ul li:before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ── FOOTNOTES ── */
.footnotes { padding: 40px 20px; max-width: 900px; margin: 0 auto; }
.footnotes p { font-size: 11px; color: var(--gray); line-height: 1.6; margin-bottom: 6px; }

/* ── FOOTER ── */
footer {
  background: var(--light);
  border-top: 1px solid rgba(0,0,0,.1);
  padding: 40px 20px;
  text-align: center;
}
footer p { font-size: 12px; color: var(--gray); line-height: 1.8; }
footer a { color: var(--gray); text-decoration: none; }
footer a:hover { color: var(--black); text-decoration: underline; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 80px 20px; }
  .tab-panel.active { flex-direction: column; }
  .perf-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .iphone-split { flex-direction: column; }
  .buy-cards { grid-template-columns: 1fr; }
  .love-mockup { grid-template-columns: repeat(2,1fr); }
  .local-nav-links { display: none; }
  .assessment-layout { flex-direction: column; gap: 40px; }
  .pipeline { flex-direction: column; gap: 8px; }
  .pipeline-arrow { display: none; }
  .community-cards { grid-template-columns: 1fr; }
  .carousel { width: calc(100% * 7); } /* adjust if needed */
  .section-headline { font-size: clamp(36px, 8vw, 56px); }
  .section-sub { font-size: 18px; }
  .metrics-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── STEALTH ASSESSMENT ── */
.stealth-assessment { background: var(--light); padding: 140px 40px; }
.assessment-layout {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 80px;
}
.assessment-text { flex: 1; }
.assessment-text p { font-size: 18px; line-height: 1.5; color: var(--gray); margin-bottom: 32px; }
.assessment-image { flex: 1; }
.assessment-image img { width: 100%; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.08); }
.pipeline {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.pipeline-step {
  background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 12px;
  padding: 16px 24px; font-size: 14px; font-weight: 600; color: var(--black);
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.pipeline-arrow { font-size: 18px; color: var(--accent); }

/* ── BOOKING PAGE ── */
.booking-header {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 20px;
  display: flex; align-items: center; justify-content: center;
}
.booking-logo img { height: 48px; }
.booking-section {
  padding: 100px 20px; text-align: center;
}
.booking-container {
  max-width: 800px; margin: 0 auto;
}
.booking-container h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -.03em; color: var(--black);
  margin-bottom: 20px;
}
.booking-subtitle {
  font-size: 19px; color: var(--gray); line-height: 1.6;
  margin-bottom: 40px;
}
#calendly-embed {
  margin: 40px 0;
}

/* ── COMMUNITY SECTION ── */
.community-section { background: var(--light); padding: 140px 40px; }
.community-cards {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.community-card {
  background: #fff; border-radius: 24px; padding: 48px 32px;
  text-align: center; transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.community-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.community-icon { font-size: 56px; margin-bottom: 24px; }
.community-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 20px; letter-spacing: -.02em; }
.community-card p { font-size: 16px; color: var(--gray); line-height: 1.5; }

/* ── DASHBOARD SECTION ── */
.dashboard-section { background: #fff; padding: 140px 40px; }
.carousel-container {
  max-width: 1000px; margin: 60px auto 0;
  overflow: hidden; border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}
.carousel {
  display: flex; width: calc(100% * 7); /* 7 images */
  animation: scroll 30s linear infinite;
}
.carousel:hover { animation-play-state: paused; }
.carousel img {
  width: calc(100% / 7); height: auto; flex-shrink: 0;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.insights-list {
  max-width: 900px; margin: 60px auto 0;
  text-align: center;
}
.insight-item {
  font-size: 18px; color: var(--gray); line-height: 1.6;
  margin-bottom: 16px;
}
