/* futureapp.io – 2026 */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0a84ff;
  --navy-1: #18266a;
  --navy-2: #05070f;
  --card: #ffffff;
  --radius: 22px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0d0d10;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #2c2c30;
    --card: #16161a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
p { margin: 0 0 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .02em; margin-bottom: 10px; }
section { padding: 96px 0; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 19px; }
.brand img { border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav nav a { color: var(--text); }
.btn { display: inline-block; background: var(--accent); color: #fff !important; border-radius: 999px; font-weight: 600; }
.btn-sm { padding: 6px 14px; font-size: 14px; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }

/* HERO */
.hero {
  padding: 72px 0 0;
  color: #fff;
  background: radial-gradient(120% 90% at 75% 20%, var(--navy-1) 0%, #0b1030 45%, var(--navy-2) 100%);
  overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy { padding-bottom: 72px; }
.hero-icon { border-radius: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.45); margin-bottom: 28px; }
.lead { font-size: 21px; color: #cfd5f5; max-width: 520px; }
.cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.platforms { color: #9aa3cf; font-size: 15px; }
.hero-art { position: relative; height: 620px; }
.phone img { filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.hero-art .phone { position: absolute; width: 290px; }
.hero-art .phone-back { left: 4%; top: 70px; transform: translateY(var(--py, 0px)) rotate(-6deg); opacity: .95; }
.hero-art .phone-front { right: 4%; top: 20px; transform: translateY(var(--py, 0px)) rotate(4deg); }

/* Official App Store badge */
.app-store-badge { display: inline-block; line-height: 0; transition: transform .1s ease, opacity .2s ease; }
.app-store-badge:hover { opacity: .85; }
.app-store-badge:active { transform: scale(.98); }
.app-store-badge img { height: 50px; width: auto; }
.final .app-store-badge img { margin: 0; border-radius: 0; }

/* SPLIT */
.split-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.split-art { display: flex; justify-content: center; }
.split-art .phone { width: 300px; transform: translateY(var(--py, 0px)); will-change: transform; }
.spiral-art {
  background: radial-gradient(circle at 50% 50%, var(--navy-1), var(--navy-2) 75%);
  border-radius: 36px; padding: 32px;
}
.spiral-art picture { width: 100%; max-width: 440px; }

/* FEATURES */
.features { background: var(--bg-alt); }
.grid {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.grid li { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.grid li picture { aspect-ratio: 520 / 360; }
.grid li img { width: 100%; height: 100%; object-fit: cover; }
.card-text { padding: 4px 26px 26px; }
.grid p { color: var(--muted); margin: 0; font-size: 16px; }

/* IPAD gallery */
.ipad { background: var(--bg-alt); overflow: hidden; }
.ipad > .wrap > p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.gallery {
  display: flex; gap: 28px; margin-top: 48px; padding: 0 0 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.gallery figure { flex: 0 0 min(820px, 86%); margin: 0; scroll-snap-align: center; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 8px; }

/* WATCH */
.watch > .wrap > p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.watches {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.watches img { filter: drop-shadow(0 16px 30px rgba(0,0,0,.25)); }

/* IPHONE DUO */
.duo { overflow: hidden; }
.duo > .wrap > p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.duo-art { position: relative; max-width: 960px; margin: 56px auto 0; padding: 0 16% 6% 0; }
.duo-inner, .duo-outer { transform: translateY(var(--py, 0px)); will-change: transform; }
.duo-inner img, .duo-outer img { filter: drop-shadow(0 24px 48px rgba(0,0,0,.28)); }
.duo-outer { position: absolute; right: 0; bottom: 0; width: 27%; }

/* PRIVACY */
.privacy { background: var(--bg-alt); }
.privacy p { color: var(--muted); font-size: 19px; }
.link { font-weight: 600; }

/* FINAL */
.final { padding: 112px 0; }
.final img { margin: 0 auto 24px; border-radius: 20px; }
.final h2 { margin-bottom: 28px; }

/* FOOTER */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .hero-in, .split-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-bottom: 0; text-align: center; }
  .hero-icon { margin: 0 auto 24px; }
  .lead { margin: 0 auto 16px; }
  .cta { justify-content: center; }
  .hero-art { height: 460px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-art .phone { width: 210px; }
  .split-rev .split-copy { order: 0; }
  .split-copy { text-align: center; }
  .split-art .phone { width: 250px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .watches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav nav a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero-art { height: 400px; }
  .hero-art .phone { width: 180px; }
  .foot-in { flex-direction: column; align-items: center; }
  .watches { gap: 29px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
