/* Vista Frame — 2026 */

:root {
  --bg:        #07070f;
  --bg-alt:    #0d0d1c;
  --surface:   #111120;
  --surface-2: #181828;
  --border:    rgba(255, 255, 255, 0.07);
  --border-hi: rgba(52, 199, 89, 0.4);
  --text:      #f2f2f7;
  --muted:     #8e8e9a;
  --green:     #34c759;
  --blue:      #0a84ff;
  --max:       1100px;
  --r:         16px;
  --r-lg:      24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-download {
  background: var(--green);
  color: #00270e !important;
  padding: 6px 16px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.85rem !important;
}
.nav-download:hover { opacity: 0.88; }

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% -5%, rgba(52, 199, 89, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 5%  85%, rgba(10, 132, 255, 0.07) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.1);
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 40ch;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 26px;
}

/* App Store button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 13px;
  font-size: 0.95rem;
  transition: transform 0.1s, opacity 0.15s;
  line-height: 1;
}
.btn-store:hover { transform: translateY(-1px); opacity: 0.9; text-decoration: none; }
.btn-store svg { flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; text-align: left; }
.store-small { font-size: 0.6rem; letter-spacing: 0.03em; color: #333; }
.store-big   { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: #000; }

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s, transform 0.1s;
}
.btn-ghost:hover { background: var(--surface); transform: translateY(-1px); text-decoration: none; }

/* Hero badges */
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.83rem;
  color: var(--muted);
}
.hero-badges li { display: flex; align-items: center; gap: 6px; }
.hero-badges li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* Device frame */
.hero-visual { display: flex; justify-content: center; }
.device-frame {
  background: linear-gradient(145deg, #1c1c2e, #0a0a14);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04);
  max-width: 480px;
  width: 100%;
}
.device-frame img { border-radius: 14px; }

/* ─── Sections ─── */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 52px;
}

/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: border-color 0.2s, transform 0.15s;
}
.feat-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.feat-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 14px;
}
.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feat-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Screenshot Stories ─── */
.stories {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: 60px;
}
.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: center;
}
.story-flip .story-img { order: 2; }
.story-img img {
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 56px rgba(0,0,0,0.5);
}
.story-copy h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.story-copy p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36ch;
}

/* ─── Apple TV Grid ─── */
.tv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.tv-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
}
.tv-item p {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ─── Privacy ─── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 40px 0 36px;
}
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 20px;
}
.privacy-card strong {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 7px;
}
.privacy-card span {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 44px 0 56px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 20px;
}
.footer-nav a { color: var(--muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { font-size: 0.78rem; color: var(--muted); }

/* ─── Responsive ─── */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 56px;
    gap: 40px;
  }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .device-frame { max-width: 340px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .privacy-grid   { grid-template-columns: 1fr 1fr; }

  .story,
  .story-flip     { grid-template-columns: 1fr; gap: 24px; }
  .story-flip .story-img { order: 0; }
  .story-copy     { text-align: center; }
  .story-copy p   { margin: 0 auto; }
}

@media (max-width: 520px) {
  .nav-links       { gap: 12px; }
  .features-grid   { grid-template-columns: 1fr; }
  .tv-grid         { grid-template-columns: 1fr; }
  .privacy-grid    { grid-template-columns: 1fr; }
}
