/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #050811;
  color: #ede4cf;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; color: #fdf6e3; }
p { margin: 0 0 1em; color: #b8b29c; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }

/* ===== Background ===== */
.bg-gradient {
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(255, 200, 70, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 30%, rgba(255, 165, 0, .14), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(212, 160, 23, .18), transparent 60%),
    linear-gradient(180deg, #050811 0%, #0a0f1c 100%);
  z-index: -2;
}
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255, 215, 100, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 100, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  z-index: -1;
  opacity: .55;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(7, 11, 22, .65);
  border-bottom: 1px solid rgba(255, 215, 100, .08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 1.1rem;
  color: #fdf6e3;
}
.brand-logo {
  filter: drop-shadow(0 0 12px rgba(255, 195, 60, .35));
  border-radius: 8px;
}
.brand-accent {
  background: linear-gradient(135deg, #ffd76a 0%, #f5a623 50%, #c98a17 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: .95rem; color: #c9c2ad; transition: color .2s;
}
.site-nav a:hover { color: #ffd76a; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, #ffe27a 0%, #f5b624 50%, #d49519 100%);
  color: #1a1206;
  box-shadow:
    0 10px 30px -10px rgba(255, 190, 50, .55),
    0 4px 14px -4px rgba(212, 149, 25, .45),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 40px -10px rgba(255, 190, 50, .7),
    inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-ghost {
  background: rgba(255, 215, 100, .04);
  border-color: rgba(255, 215, 100, .18);
  color: #ede4cf;
}
.btn-ghost:hover {
  background: rgba(255, 215, 100, .08);
  border-color: rgba(255, 215, 100, .3);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 215, 100, .06);
  border: 1px solid rgba(255, 215, 100, .15);
  font-size: .82rem; color: #d9d0b6; margin-bottom: 24px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ffc83d; box-shadow: 0 0 12px #ffc83d;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #fff2c2 0%, #ffd76a 30%, #f5a623 60%, #c98a17 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 195, 60, .25));
}
.hero-sub {
  font-size: 1.15rem;
  color: #c4bea8;
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 215, 100, .1);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 1.8rem; font-weight: 700;
  background: linear-gradient(135deg, #fff2c2, #f5a623);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { font-size: .85rem; color: #9c947d; }

/* Hero brand badge */
.hero-badge {
  display: inline-block;
  margin-bottom: 28px;
  position: relative;
}
.hero-badge img {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(255, 180, 30, .45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Device mockup */
.hero-visual {
  position: relative;
  width: 100%;
  height: 420px;
  z-index: 1;
  pointer-events: none;
}
.device { position: absolute; }
.device.tv {
  width: 88%;
  max-width: 460px;
  height: 280px;
  right: 0; top: 0;
  transform: perspective(1200px) rotateY(-14deg) rotateX(4deg);
}
.tv .screen {
  position: relative;
  width: 100%; height: 88%;
  border-radius: 16px;
  background: linear-gradient(135deg, #0d1322, #161e34);
  border: 2px solid rgba(255, 215, 100, .15);
  box-shadow:
    0 40px 80px -20px rgba(255, 190, 50, .35),
    inset 0 1px 0 rgba(255, 215, 100, .1);
  padding: 18px; overflow: hidden;
}
.screen-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px; height: 100%;
}
.tile {
  background: linear-gradient(135deg, rgba(255, 200, 70, .25), rgba(212, 149, 25, .12));
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 100, .1);
}
.tile.featured {
  grid-row: 1 / span 2;
  background: linear-gradient(135deg, rgba(255, 215, 100, .45), rgba(245, 166, 35, .28));
}
.screen-glow {
  position: absolute; inset: -50%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 190, 50, .3), transparent 50%);
  pointer-events: none;
}
.tv .stand {
  width: 80px; height: 12%; margin: 4px auto 0;
  background: linear-gradient(180deg, #161e34, #050811);
  border-radius: 0 0 8px 8px;
}

.device.phone {
  width: 130px; height: 270px;
  left: 0; bottom: -20px;
  transform: perspective(1200px) rotateY(14deg) rotateX(-2deg);
}
.phone .screen.phone-screen {
  width: 100%; height: 100%;
  border-radius: 22px;
  background: linear-gradient(160deg, #0a1020, #161e34);
  border: 2px solid rgba(255, 215, 100, .18);
  box-shadow: 0 30px 60px -15px rgba(245, 166, 35, .4);
  padding: 14px 10px; position: relative; overflow: hidden;
}
.phone .notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 14px; border-radius: 8px;
  background: #000; z-index: 2;
}
.phone-bar {
  height: 8px; background: rgba(255, 215, 100, .12);
  border-radius: 4px; margin: 14px 0;
}
.phone-tile {
  height: 110px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 215, 100, .4), rgba(245, 166, 35, .25));
  margin-bottom: 10px;
}
.phone-row { display: flex; gap: 6px; }
.phone-mini {
  flex: 1; height: 60px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 200, 70, .25), rgba(212, 149, 25, .15));
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, rgba(255, 215, 100, .02), transparent);
  border-top: 1px solid rgba(255, 215, 100, .06);
  border-bottom: 1px solid rgba(255, 215, 100, .06);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 1.05rem;
  color: #b8b29c;
}

/* ===== Features ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 215, 100, .04), rgba(255, 215, 100, .01));
  border: 1px solid rgba(255, 215, 100, .08);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 190, 50, .35);
  box-shadow: 0 20px 50px -20px rgba(255, 190, 50, .35);
}
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 215, 100, .2), rgba(245, 166, 35, .12));
  border: 1px solid rgba(255, 190, 50, .3);
  color: #ffd76a;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 600; }
.feature-card p { font-size: .95rem; margin: 0; }

/* ===== Download ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.download-card {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 215, 100, .05), rgba(255, 215, 100, .015));
  border: 1px solid rgba(255, 215, 100, .12);
  transition: transform .2s ease, border-color .25s, box-shadow .25s, background .25s;
  cursor: pointer;
}
.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 190, 50, .5);
  box-shadow: 0 22px 60px -25px rgba(255, 190, 50, .55);
}
.dl-icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #14192a, #0a0f1c);
  border: 1px solid rgba(255, 215, 100, .12);
  color: #fdf6e3;
}
.download-card[data-platform="ios"] .dl-icon,
.download-card[data-platform="tvos"] .dl-icon {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}
.download-card[data-platform="ios"] .dl-icon svg,
.download-card[data-platform="tvos"] .dl-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.download-card[data-platform="android"] .dl-icon,
.download-card[data-platform="googletv"] .dl-icon {
  background: linear-gradient(135deg, #1c2536, #0d1322);
}
.dl-meta { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dl-sub {
  font-size: .75rem; text-transform: uppercase;
  letter-spacing: .12em; color: #9c947d; font-weight: 600;
}
.dl-title { font-size: 1.15rem; font-weight: 700; color: #fdf6e3; margin: 2px 0; }
.dl-desc { font-size: .85rem; color: #b8b29c; }
.dl-arrow {
  color: #9c947d;
  transition: color .2s ease, transform .2s ease;
}
.download-card:hover .dl-arrow {
  color: #ffd76a;
  transform: translateX(4px);
}
.download-foot {
  text-align: center;
  margin-top: 36px;
  color: #9c947d;
  font-size: .9rem;
}

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 1px solid rgba(255, 215, 100, .08);
  border-radius: 14px;
  background: rgba(255, 215, 100, .025);
  padding: 18px 22px;
  transition: border-color .2s, background .2s;
}
.faq details[open] {
  border-color: rgba(255, 190, 50, .35);
  background: rgba(255, 190, 50, .05);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
  color: #fdf6e3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; color: #9c947d; font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; color: #ffd76a; }
.faq details p {
  margin: 12px 0 0;
  font-size: .95rem;
  color: #c4bea8;
}

/* ===== CTA ===== */
.cta { padding: 60px 0 100px; }
.cta-card {
  position: relative;
  padding: 60px 40px;
  text-align: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 190, 50, .35), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(245, 166, 35, .3), transparent 60%),
    linear-gradient(135deg, #14182a, #0a0f1c);
  border: 1px solid rgba(255, 215, 100, .18);
  overflow: hidden;
}
.cta-card h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
}
.cta-card p {
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(255, 215, 100, .08);
  padding: 40px 0;
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
  text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  color: #fdf6e3;
}
.footer-brand img {
  filter: drop-shadow(0 0 10px rgba(255, 195, 60, .35));
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  font-size: .92rem; color: #b8b29c; transition: color .2s;
}
.footer-nav a:hover { color: #ffd76a; }
.footer-copy { font-size: .85rem; color: #7a7361; margin: 0; }

/* ===== Responsive ===== */

/* Tablet and below */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual {
    max-width: 520px;
    height: 360px;
    margin: 0 auto;
  }
  .device.tv {
    width: 86%;
    height: 230px;
  }
  .device.phone {
    width: 110px;
    height: 230px;
  }
}

/* Mobile landscape / small tablets */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .site-nav { display: none; }
  .header-inner { height: 60px; gap: 12px; }
  .brand-text { font-size: .98rem; }
  .brand-logo { width: 34px !important; height: 34px !important; }

  .hero { padding: 48px 0 32px; }
  .hero-badge { margin-bottom: 22px; }
  .hero-badge img { width: 140px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-cta { gap: 10px; margin-bottom: 36px; }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 24px;
  }
  .hero-stats > div { align-items: center; }
  .hero-stats strong { font-size: 1.5rem; }

  .hero-visual {
    max-width: 440px;
    height: 300px;
    margin-top: 36px;
  }
  .device.tv { height: 190px; }
  .device.phone { width: 95px; height: 195px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .section-head p { font-size: .98rem; }

  .feature-grid { gap: 14px; }
  .feature-card { padding: 22px; }
  .download-grid { gap: 14px; }
  .download-card { padding: 18px; gap: 14px; }
  .dl-icon { width: 48px; height: 48px; }
  .dl-icon svg { width: 28px; height: 28px; }
  .dl-title { font-size: 1.05rem; }

  .cta { padding: 40px 0 72px; }
  .cta-card { padding: 40px 22px; }

  .footer-nav { gap: 16px; }
}

/* Phones */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .brand-text { display: none; }
  .btn-sm { padding: 9px 14px; font-size: .82rem; }

  .hero-visual {
    max-width: 360px;
    height: 260px;
    margin-top: 32px;
  }
  .device.tv { height: 160px; }
  .device.phone { width: 82px; height: 170px; }

  .hero { padding: 36px 0 24px; }
  .hero-badge img { width: 120px; }
  .hero-title {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
    line-height: 1.2;
  }
  .hero-title br { display: none; }
  .hero-sub { font-size: .95rem; }
  .eyebrow { font-size: .76rem; padding: 6px 12px; }

  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; padding: 13px 18px; }

  .hero-stats {
    gap: 12px 24px;
    padding-top: 20px;
    width: 100%;
    justify-content: space-around;
  }
  .hero-stats strong { font-size: 1.3rem; }
  .hero-stats span { font-size: .78rem; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .feature-card { padding: 20px; border-radius: 16px; }
  .feature-card h3 { font-size: 1.05rem; }
  .feature-card p { font-size: .9rem; }

  .download-card { padding: 16px; gap: 12px; border-radius: 16px; }
  .dl-icon { width: 44px; height: 44px; border-radius: 12px; }
  .dl-icon svg { width: 24px; height: 24px; }
  .dl-sub { font-size: .68rem; }
  .dl-title { font-size: 1rem; }
  .dl-desc { font-size: .8rem; }

  .faq details { padding: 16px 18px; }
  .faq summary { font-size: .95rem; }

  .cta-card { padding: 36px 20px; border-radius: 20px; }
  .cta-card h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cta-card p { font-size: .95rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .hero-badge img { width: 100px; }
  .hero-title { font-size: 1.6rem; }
  .hero-stats { gap: 8px 16px; }
  .hero-stats strong { font-size: 1.15rem; }
  .hero-stats span { font-size: .72rem; }
}
