/* =========================================================================
   DashFlare — marketing site  ·  v3
   Dark · Apple "Liquid Glass" frosted aesthetic · real neon-orange flame icon
   Self-contained. No frameworks. Color/gradient values mirror the app's
   DashFlareTheme (neonOrange rgb(255,107,0); premium amber→violet mesh).
   v3: real app screenshots in every device frame; correctly-proportioned
   device mockups (phone 0.46, TV/Vision 16:9, watch 0.84); official App Store
   badge as crisp inline SVG; larger TV + richer Mac; real world-map showcase;
   tightened rhythm and premium glass throughout.
   ========================================================================= */

:root {
  /* Brand */
  --flame:        rgb(255, 107, 0);   /* #FF6B00 — app neonOrange */
  --flame-light:  rgb(255, 138, 38);  /* app neonOrangeLight */
  --flame-glow:   rgb(255, 168, 84);
  --flame-soft:   rgba(255, 107, 0, .14);

  /* Surfaces */
  --bg:           #0d0d0f;
  --bg-deep:      #08080a;
  --card:         rgba(255, 255, 255, .045);
  --card-strong:  rgba(255, 255, 255, .078);
  --edge:         rgba(255, 255, 255, .10);
  --edge-soft:    rgba(255, 255, 255, .055);

  /* Text */
  --ink:          #ffffff;
  --ink-2:        rgba(255, 255, 255, .66);
  --ink-3:        rgba(255, 255, 255, .42);

  /* Status / chart hues from the app */
  --green:        rgb(52, 199, 89);
  --blue:         rgb(100, 181, 246);
  --violet:       rgb(175, 100, 246);
  --red:          rgb(255, 59, 48);

  --radius:       22px;
  --radius-sm:    14px;
  --maxw:         1180px;
  --section:      128px;

  --shadow:       0 38px 80px -20px rgba(0, 0, 0, .78);
  --shadow-soft:  0 14px 38px -12px rgba(0, 0, 0, .55);

  --font:    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { position: relative; z-index: 1; }

::selection { background: rgba(255, 107, 0, .32); color: #fff; }

/* =========================================================================
   Ambient background — premium dark mesh (amber up top, blue/violet lower).
   Fixed so the whole page floats over the same light, like the app.
   A slow gradient drift adds life without distraction.
   ========================================================================= */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 85% at 50% -12%, rgba(255, 107, 0, .19), transparent 52%),
    radial-gradient(80% 60% at 8% 4%,    rgba(255, 138, 38, .09), transparent 58%),
    radial-gradient(115% 80% at 92% 64%, rgba(120, 80, 220, .15), transparent 60%),
    radial-gradient(120% 90% at 14% 102%, rgba(40, 90, 200, .12), transparent 60%),
    var(--bg);
}
.aurora::before {
  /* big drifting amber bloom up top */
  content: "";
  position: absolute;
  top: -26%; left: 50%;
  width: 820px; height: 820px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 107, 0, .24), transparent 60%);
  filter: blur(50px);
  opacity: .6;
  animation: drift 26s ease-in-out infinite;
}
.aurora::after {
  /* fine grain so flat areas don't band */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: .022;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@keyframes drift {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50%      { transform: translateX(-44%) translateY(42px) scale(1.08); }
}

/* =========================================================================
   Layout helpers
   ========================================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--flame-glow);
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--flame-soft);
  border: 1px solid rgba(255, 107, 0, .26);
  margin-bottom: 24px;
}
.eyebrow .spark {
  width: 17px; height: 17px; border-radius: 50%; flex: none;
  object-fit: cover; object-position: center;
  filter: drop-shadow(0 0 6px rgba(255, 107, 0, .8));
}

.section-head { max-width: 740px; margin: 0 auto 64px; text-align: center; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2.05rem, 4.4vw, 3.15rem);
  line-height: 1.06; font-weight: 700; letter-spacing: -0.032em;
}
.section-head p { color: var(--ink-2); font-size: 1.12rem; margin-top: 18px; line-height: 1.66; }

.pad { padding: var(--section) 0; }
.pad-sm { padding: 80px 0; }

/* Frosted-glass surface — THE defining look.
   Real blur + saturation, a top-edge highlight, and a soft long shadow. */
.glass {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.022) 42%, rgba(255,255,255,.015)),
    var(--card);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, .15),
    inset 0 0 0 1px rgba(255, 255, 255, .015);
}
/* crisp top highlight line on every glass card */
.glass::before {
  content: "";
  position: absolute; left: 16%; right: 16%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  opacity: .55; pointer-events: none;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem;
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--flame-light), var(--flame));
  color: #fff;
  box-shadow: 0 12px 34px -10px rgba(255, 107, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -10px rgba(255, 107, 0, .85); }
.btn-ghost {
  background: var(--card);
  border-color: var(--edge);
  color: var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--card-strong); border-color: rgba(255,255,255,.2); }

/* =========================================================================
   App Store badge — official Apple lockup, rendered as a crisp inline SVG.
   The whole badge (Apple mark + "Download on the / App Store") lives inside
   one <svg> so spacing is locked and nothing can overlap or squish.
   ========================================================================= */
.appstore {
  display: inline-block; line-height: 0;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .25s ease;
}
.appstore svg { display: block; height: 56px; width: auto; border-radius: 12px; }
.appstore:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); }
.appstore:focus-visible { outline: 2px solid var(--flame-glow); outline-offset: 3px; }

/* =========================================================================
   Brand logo (real app icon, not drawn)
   ========================================================================= */
.brand-icon {
  border-radius: 9px;
  flex: none;
  box-shadow: 0 2px 10px rgba(255, 107, 0, .35), inset 0 0 0 1px rgba(255,255,255,.06);
}

/* =========================================================================
   Nav
   ========================================================================= */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(13, 13, 15, .58);
  border-bottom: 1px solid var(--edge-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand .brand-icon { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-size: .93rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 9px 18px; font-size: .92rem; }
.nav-toggle { display: none; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { padding: 108px 0 88px; text-align: center; }

/* Real icon with an animated glow halo behind it */
.hero-mark { position: relative; width: 124px; height: 124px; margin: 0 auto 32px; }
.hero-mark .halo {
  position: absolute; inset: -55%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, .55), rgba(255, 107, 0, .12) 45%, transparent 70%);
  filter: blur(22px);
  animation: glowpulse 4.6s ease-in-out infinite;
}
.hero-mark img {
  position: relative; z-index: 1; width: 124px; height: 124px;
  border-radius: 27px;
  animation: floaty 6s ease-in-out infinite;
  box-shadow: 0 18px 60px -14px rgba(255, 107, 0, .55), inset 0 0 0 1px rgba(255,255,255,.05);
}
@keyframes glowpulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.6vw, 5rem);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.04em;
  max-width: 15ch; margin: 0 auto;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--flame-light) 6%, #ffc89a 52%, var(--flame) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
  color: var(--ink-2);
  max-width: 650px; margin: 28px auto 0; line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; margin-top: 42px; }
.hero-meta { margin-top: 26px; color: var(--ink-3); font-size: .9rem; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* Hero product shot row (phone screenshot center-stage) */
.hero-stage { margin: 78px auto 0; max-width: 980px; position: relative; }
.hero-stage .glow-pool {
  position: absolute; inset: auto 0 -56px 0; height: 340px; z-index: 0;
  background: radial-gradient(58% 100% at 50% 0%, rgba(255, 107, 0, .32), transparent 70%);
  filter: blur(38px);
  animation: glowpulse 5.5s ease-in-out infinite;
}

/* =========================================================================
   Device frames — phone, Mac, watch, TV, Vision.
   Each screen area's aspect-ratio EXACTLY matches its screenshot so nothing
   squishes; images use object-fit:cover with correct rounded clipping.
   ========================================================================= */

/* ---- iPhone: portrait screenshot ratio ≈ 0.46 (1206×2622 / 1320×2868) ---- */
.phone {
  position: relative;
  width: 290px;
  border-radius: 48px;
  padding: 12px;
  background: linear-gradient(155deg, #313135, #19191c 58%, #0e0e10);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1.5px rgba(0,0,0,.5);
}
/* titanium rim highlight */
.phone::after {
  content: ""; position: absolute; inset: 1px; border-radius: 47px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.phone .screen {
  width: 100%;
  /* 1206 / 2622 = 0.4600 — exact screenshot ratio so the image fills cleanly */
  aspect-ratio: 1206 / 2622;
  border-radius: 38px; overflow: hidden;
  background: var(--bg-deep);
  position: relative;
}
.phone .screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.phone .notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; background: #000; border-radius: 15px; z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.hero-stage .phone { width: 326px; margin: 0 auto; position: relative; z-index: 1; }

/* placeholder screen (kept for any image-less frame; unused now but harmless) */
.ph-screen {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--ink-3);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255,107,0,.14), transparent 55%),
    linear-gradient(180deg, #141416, #0d0d0f);
  text-align: center; padding: 24px;
}
.ph-screen .ph-flame { width: 44px; height: 44px; border-radius: 11px; opacity: .96; box-shadow: 0 6px 22px -6px rgba(255,107,0,.6); }
.ph-screen .ph-label { font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.ph-screen .ph-note { font-size: .72rem; color: var(--ink-3); }

/* =========================================================================
   Feature grid
   ========================================================================= */
.feat-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.feat {
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.feat:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, .42);
  background: var(--card-strong);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255,107,0,.12), inset 0 1px 0 rgba(255,255,255,.14);
}
.feat .ic {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,107,0,.2), rgba(255,107,0,.08));
  border: 1px solid rgba(255, 107, 0, .3);
  color: var(--flame-glow);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.feat .ic svg { width: 26px; height: 26px; }
.feat h3 { font-family: var(--display); font-size: 1.24rem; font-weight: 600; letter-spacing: -0.02em; }
.feat p { color: var(--ink-2); font-size: .98rem; }
.feat .tag {
  align-self: flex-start; margin-top: 2px;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--flame-glow);
  padding: 3px 9px; border-radius: 7px;
  background: rgba(255, 107, 0, .12); border: 1px solid rgba(255, 107, 0, .3);
}

/* =========================================================================
   Showcase split rows (alternating media / copy)
   ========================================================================= */
.showcase { display: flex; flex-direction: column; gap: 28px; }
.row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 48px;
}
.row.flip .copy { order: 2; }
.row.flip .media { order: 1; }
.row .copy h3 { font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; letter-spacing: -0.03em; }
.row .copy p { color: var(--ink-2); margin-top: 14px; font-size: 1.04rem; }
.row .copy ul { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.row .copy li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: .98rem; }
.row .copy li svg { width: 19px; height: 19px; color: var(--flame-glow); flex: none; margin-top: 3px; }
.row .media { display: flex; justify-content: center; }

/* =========================================================================
   Traffic-map showcase — the REAL full-screen tvOS world map, large + framed.
   This replaces the weak hand-drawn dotted SVG. 16:9 to match real-tvos-globe.
   ========================================================================= */
.worldmap-row { grid-template-columns: 1fr 1.35fr; }      /* give the map more room */
.worldmap {
  position: relative; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.1);
  background: var(--bg-deep);
}
.worldmap .frame {
  width: 100%;
  aspect-ratio: 16 / 9;          /* 3840×2160 */
  overflow: hidden; border-radius: inherit;
}
.worldmap .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* gentle ambient glow + sheen so it reads as a live screen */
.worldmap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(70% 120% at 50% -10%, rgba(255,107,0,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%);
}
.worldmap .live {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(10,10,12,.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #fff;
}
.worldmap .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 10px var(--flame); animation: pulse 2s ease-in-out infinite; }
.worldmap-glow {
  position: absolute; inset: -8% -4% -14% -4%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(255,107,0,.28), transparent 70%);
  filter: blur(46px); opacity: .8;
}
@keyframes pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

/* =========================================================================
   Video embed placeholder
   ========================================================================= */
.video-band { text-align: center; }
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 1px solid var(--edge);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(255, 107, 0, .2), transparent 60%),
    linear-gradient(180deg, #18181a, #0e0e10);
  display: grid; place-items: center;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.1);
}
/* faint corner brackets so the empty frame reads as "intentional player" */
.video-embed::before, .video-embed::after {
  content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none;
  border: 2px solid rgba(255,255,255,.18); border-radius: 3px;
}
.video-embed::before { top: 18px; left: 18px; border-right: none; border-bottom: none; }
.video-embed::after  { bottom: 18px; right: 18px; border-left: none; border-top: none; }
.video-embed .play {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--flame-light), var(--flame));
  box-shadow: 0 16px 44px -8px rgba(255, 107, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .38);
  transition: transform .2s ease;
}
.video-embed:hover .play { transform: scale(1.08); }
.video-embed .play svg { width: 34px; height: 34px; color: #fff; margin-left: 5px; }
.video-embed .vlabel {
  position: absolute; bottom: 22px; left: 0; right: 0;
  color: var(--ink-3); font-size: .82rem;
}

/* =========================================================================
   Power-user band
   ========================================================================= */
.power { text-align: center; overflow: hidden; padding: 76px 44px; }
.power h2 { font-family: var(--display); font-size: clamp(1.85rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; }
.power p { color: var(--ink-2); max-width: 620px; margin: 16px auto 0; font-size: 1.06rem; }
.power-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 46px; }
.stat {
  min-width: 150px; padding: 24px 28px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.stat .n {
  font-family: var(--display);
  font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--flame-light), #ffc89a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .l { color: var(--ink-2); font-size: .88rem; margin-top: 4px; }

/* =========================================================================
   Platforms strip
   ========================================================================= */
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.platform {
  padding: 28px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), border-color .28s ease;
}
.platform:hover { transform: translateY(-6px); border-color: rgba(255, 107, 0, .42); }
.platform .picon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; color: var(--ink);
  background: var(--card-strong); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.platform .picon svg { width: 30px; height: 30px; }
.platform .pname { font-weight: 600; font-size: .98rem; }
.platform .pdesc { color: var(--ink-3); font-size: .8rem; }

/* =========================================================================
   "Native on Mac" feature band — premium, detailed iMac treatment
   ========================================================================= */
.macband {
  display: grid; grid-template-columns: 1.05fr 1.25fr; gap: 52px; align-items: center;
  padding: 52px;
}
.macband .copy h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; }
.macband .copy p { color: var(--ink-2); margin-top: 16px; font-size: 1.06rem; }
.macband .copy ul { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.macband .copy li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 1rem; }
.macband .copy li svg { width: 20px; height: 20px; color: var(--flame-glow); flex: none; margin-top: 3px; }
.macband .media { display: flex; justify-content: center; position: relative; }

/* ---- iMac frame: big, detailed, wide 16:9-ish screen showing the dashboard ---- */
.imac { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; position: relative; }
.imac-glow {
  position: absolute; inset: -8% -6% 8% -6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 70% at 50% 40%, rgba(255,107,0,.26), transparent 72%);
  filter: blur(46px); opacity: .8;
}
.imac .display {
  width: 100%;
  border-radius: 20px;
  padding: 14px 14px 16px;
  background: linear-gradient(160deg, #313135, #19191c 60%, #0f0f11);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.16);
  position: relative;
}
/* tiny camera dot above the screen */
.imac .display::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: #0a0a0a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.imac .screen {
  width: 100%; aspect-ratio: 16 / 10;
  border-radius: 9px; overflow: hidden; background: var(--bg-deep);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6);
}
.imac .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
/* aluminium chin with subtle logo notch */
.imac .chin {
  width: 38%; height: 64px;
  background: linear-gradient(180deg, #cfd2d6, #9a9ea4 55%, #6f7378);
  border-radius: 0 0 14px 14px;
  position: relative;
  box-shadow: inset 0 2px 3px rgba(255,255,255,.5), 0 14px 26px -10px rgba(0,0,0,.7);
}
.imac .chin::after {
  content: ""; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  width: 30px; height: 9px; border-radius: 4px;
  background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.28));
}
/* low desk shadow */
.imac .foot {
  width: 46%; height: 14px; margin-top: 2px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent);
  filter: blur(3px);
}

/* =========================================================================
   Screenshot gallery (device frames)
   ========================================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 26px;
  align-items: end;
}
.shot { display: flex; flex-direction: column; align-items: center; gap: 18px; justify-content: flex-end; }
.shot .cap {
  font-weight: 600; font-size: .98rem; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.shot .cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 10px var(--flame); }

/* phones occupy 2 of 6 columns each (3 phones across the top row) */
.shot.phone-shot { grid-column: span 2; }
/* wide devices span the full row so they read large */
.shot.wide-shot   { grid-column: span 4; }
.shot.tv-shot     { grid-column: span 3; }
.shot.vision-shot { grid-column: span 3; }
.shot.watch-shot  { grid-column: span 2; }
.shot.mac-shot    { grid-column: span 4; }

/* ---- Apple TV: large wide 16:9 screen on a stand, real tvOS globe ---- */
.tv {
  width: 100%; max-width: 720px;
  border-radius: 16px; padding: 12px;
  background: linear-gradient(155deg, #313135, #161618);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
}
.tv .screen { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--bg-deep); }
.tv .screen img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.tv-stand {
  width: 130px; height: 9px; margin: 0 auto;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg,#34343a,#161618);
}
.tv-neck { width: 16px; height: 26px; margin: -1px auto 0; background: linear-gradient(180deg,#2c2c30,#1a1a1c); }

/* ---- Vision Pro: 16:9 screen inside a soft goggle shell, real Vision capture ---- */
.vision {
  width: 100%; max-width: 720px;
  border-radius: 90px / 56px; padding: 18px;
  background: linear-gradient(155deg, rgba(64,64,70,.95), rgba(24,24,27,.95));
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: var(--shadow), inset 0 2px 14px rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.vision .screen {
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: 60px / 40px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #18181a, #0a0a0c);
}
.vision .screen img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ---- Apple Watch: ratio ≈ 0.84 (416×496), real watch capture ---- */
.watch {
  position: relative;
  width: 184px; aspect-ratio: 416 / 496; border-radius: 52px; padding: 13px;
  background: linear-gradient(155deg, #313135, #161618);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow);
}
/* digital crown nub */
.watch::after {
  content: ""; position: absolute; right: -3px; top: 38%; width: 5px; height: 34px;
  border-radius: 3px; background: linear-gradient(180deg,#4a4a4e,#222);
}
.watch .screen { width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #000; }
.watch .screen img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing-wrap { max-width: 980px; margin: 0 auto; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  padding: 34px 28px; display: flex; flex-direction: column; gap: 8px;
  position: relative; transition: transform .25s ease;
}
.price:hover { transform: translateY(-6px); }
.price.featured {
  border-color: rgba(255, 107, 0, .5);
  background:
    linear-gradient(180deg, rgba(255,107,0,.12), rgba(255,255,255,.02) 50%),
    var(--card);
  box-shadow: 0 26px 70px -22px rgba(255, 107, 0, .6), inset 0 1px 0 rgba(255,255,255,.14);
}
/* glow border ring on the featured (Yearly) card */
.price.featured::after {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius); z-index: -1;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,138,38,.9), rgba(255,107,0,.25) 45%, rgba(255,107,0,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 14px rgba(255,107,0,.5));
}
.price .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--flame-light), var(--flame));
  color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; box-shadow: 0 10px 24px -6px rgba(255,107,0,.8);
}
.price .pt { font-size: 1.05rem; font-weight: 600; color: var(--ink-2); }
.price .amt { font-family: var(--display); font-size: 2.7rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin-top: 4px; }
.price .amt small { font-size: .95rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; font-family: var(--font); }
.price .save { font-size: .8rem; color: var(--green); font-weight: 600; }
.price hr { border: none; border-top: 1px solid var(--edge-soft); margin: 18px 0; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .92rem; }
.price li svg { width: 17px; height: 17px; color: var(--flame-glow); flex: none; margin-top: 3px; }
.price .btn { margin-top: 24px; width: 100%; }

.pro-features {
  margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.pro-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--edge); font-size: .9rem; color: var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.pro-chip svg { width: 18px; height: 18px; color: var(--flame-glow); flex: none; }

/* Free-vs-Pro note */
.tier-note { text-align: center; margin-top: 28px; color: var(--ink-3); font-size: .9rem; }

/* =========================================================================
   Final CTA
   ========================================================================= */
.final-cta { text-align: center; padding: 92px 44px; overflow: hidden; position: relative; }
.final-cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 120% at 50% 0%, rgba(255,107,0,.2), transparent 65%);
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta .cta-mark { position: relative; width: 86px; height: 86px; margin: 0 auto 22px; }
.final-cta .cta-mark .halo {
  position: absolute; inset: -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.5), transparent 68%);
  filter: blur(18px); animation: glowpulse 4.6s ease-in-out infinite;
}
.final-cta .cta-mark img {
  position: relative; z-index: 1; width: 86px; height: 86px; border-radius: 19px;
  box-shadow: 0 14px 44px -12px rgba(255,107,0,.6);
}
.final-cta h2 { font-family: var(--display); font-size: clamp(2.1rem, 4.5vw, 3.3rem); font-weight: 700; letter-spacing: -0.035em; }
.final-cta p { color: var(--ink-2); max-width: 560px; margin: 16px auto 32px; font-size: 1.08rem; }

/* =========================================================================
   Footer
   ========================================================================= */
footer.site {
  border-top: 1px solid var(--edge-soft);
  padding: 60px 0 44px;
  background: rgba(7, 7, 9, .62);
  backdrop-filter: blur(14px);
}
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 320px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand .brand .brand-icon { width: 30px; height: 30px; }
.foot-brand p { color: var(--ink-3); font-size: .9rem; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-2); font-size: .94rem; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--flame-glow); }
.foot-bottom {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--edge-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--ink-3); font-size: .85rem;
}
.foot-bottom .made { display: inline-flex; align-items: center; gap: 7px; }
.foot-bottom .made img { width: 15px; height: 15px; border-radius: 4px; }

/* =========================================================================
   Reveal-on-scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1040px) {
  .worldmap-row { grid-template-columns: 1fr; }
  .macband { grid-template-columns: 1fr; gap: 40px; }
  .macband .media { order: -1; }
}
@media (max-width: 980px) {
  :root { --section: 96px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(3, 1fr); }

  /* gallery → 2-up; every device spans the full 2-col width so nothing is tiny */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; align-items: end; }
  .shot.phone-shot { grid-column: span 1; }
  .shot.wide-shot, .shot.tv-shot, .shot.vision-shot, .shot.mac-shot { grid-column: span 2; }
  .shot.watch-shot { grid-column: span 1; }

  .pricing { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price.featured { order: -1; }
  .pro-features { grid-template-columns: repeat(2, 1fr); }
  .row, .row.flip { grid-template-columns: 1fr; }
  .row.flip .copy, .row.flip .media { order: initial; }
  .row .media { order: -1; }
}
@media (max-width: 640px) {
  :root { --section: 72px; }
  .pad-sm { padding: 58px 0; }
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 42px; height: 42px;
    border-radius: 12px; background: var(--card); border: 1px solid var(--edge); color: var(--ink);
  }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(13,13,15,.96); backdrop-filter: blur(22px);
    padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--edge);
  }
  .nav-links.open a { font-size: 1.05rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, 1fr); }

  /* single column gallery */
  .gallery { grid-template-columns: 1fr; }
  .shot.phone-shot, .shot.watch-shot, .shot.wide-shot, .shot.tv-shot, .shot.vision-shot, .shot.mac-shot { grid-column: span 1; }

  .pro-features { grid-template-columns: 1fr; }
  .row { padding: 30px; }
  .macband { padding: 30px; }
  .power, .final-cta { padding-left: 24px; padding-right: 24px; }
  .foot-cols { gap: 36px; }
  .hero-meta { gap: 14px; }
  .appstore svg { height: 50px; }
}
