/* Blissy product site — single stylesheet for index.html
   Structure follows a product-page rhythm: hero → three alternating stories →
   statement → feature grid → Remote → specs → download → footer. */

:root {
  --bg: #121316;
  --bg-alt: #1a1b1f;
  --bg-deep: #0b0c0e;
  --line: rgba(255, 255, 255, .08);
  --text: #f5f5f7;
  --text-2: #b4b5ba;
  --text-3: #8a8b91;
  --accent: #4fd3e4;
  --accent-deep: #1ea9bd;
  --holo: linear-gradient(92deg, #7fe6ff 0%, #b9c5ff 38%, #d6b3ff 62%, #ffb1d8 100%);
  --shell: 1180px;
  --nav-h: 64px;
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang TC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::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-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.shell { width: min(var(--shell), 100% - 48px); margin-inline: auto; }
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.028em;
}
.lead { font-size: clamp(18px, 1.45vw, 21px); color: var(--text-2); margin-top: 22px; }
.fine { font-size: 15px; line-height: 1.6; color: var(--text-3); margin-top: 18px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #05161a; padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(18, 19, 22, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-nav.scrolled { border-bottom-color: var(--line); background: rgba(18, 19, 22, .86); }
.nav-shell { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand img { width: 116px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links > a { color: var(--text-2); transition: color .2s; }
.nav-links > a:hover, .nav-links > a.current { color: var(--text); }
.nav-lang { display: flex; align-items: center; gap: 4px; margin-left: 6px; padding-left: 18px; border-left: 1px solid var(--line); font-size: 13px; }
.nav-lang a, .nav-lang button { color: var(--text-3); padding: 6px 8px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-lang a:hover, .nav-lang button:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-cta {
  display: inline-flex; align-items: center; height: 36px; padding: 0 18px;
  border-radius: 999px; background: var(--accent); color: #05161a;
  font-size: 14px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  transition: background .2s, box-shadow .2s;
}
.nav-cta:hover {
  background: #7ae3f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.nav-cta:active {
  background: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(5, 22, 26, .16);
}
.menu-button { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; }
.menu-button span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu-button span:first-child { top: 15px; }
.menu-button span:last-child { top: 23px; }
.site-nav.open .menu-button span:first-child { top: 19px; transform: rotate(45deg); }
.site-nav.open .menu-button span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 96px) 0 0;
  background: var(--bg-alt);
  isolation: isolate;
}
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 30% at 30% 18%, rgba(127, 230, 255, .16), transparent 70%),
    radial-gradient(34% 28% at 70% 22%, rgba(255, 177, 216, .13), transparent 70%),
    radial-gradient(40% 32% at 50% 60%, rgba(185, 197, 255, .10), transparent 72%);
  filter: blur(20px);
}
.hero-copy { text-align: center; max-width: 900px; }
.hero-title {
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.035em;
}
.hero-title em {
  font-style: normal;
  background: var(--holo);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  margin: 28px auto 0; max-width: 640px;
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--text-2);
}
.hero-actions { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.text-link { color: var(--text-2); font-size: 15px; font-weight: 500; transition: color .2s; }
.text-link:hover { color: var(--text); }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 16px; min-height: 58px;
  border-radius: 14px; background: #f5f5f7; color: #0b0b0c;
  border: 1px solid rgba(255, 255, 255, .5);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.store-badge:hover {
  background: #fff;
  border-color: rgba(255, 255, 255, .82);
  box-shadow: inset 0 0 0 1px rgba(11, 11, 12, .055);
}
.store-badge:active {
  background: #ececef;
  border-color: rgba(255, 255, 255, .62);
}
.store-badge svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: .02em; opacity: .75; }
.store-badge strong { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.store-badge.secondary { background: rgba(255, 255, 255, .08); color: var(--text); border-color: rgba(255, 255, 255, .14); }
.store-badge.secondary:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}
.store-badge[data-download-ready="true"] { background: #0b0b0c; color: #fff; border-color: rgba(255, 255, 255, .28); }
.store-badge[data-download-ready="true"]:hover {
  background: #1c1c1f;
  border-color: rgba(255, 255, 255, .4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.hero-stage { position: relative; margin-top: 72px; padding-bottom: 96px; }
.hero-stage .tv { width: min(1040px, 100%); margin-inline: auto; }
.hero-stage .hero-phone {
  position: absolute; right: 0; bottom: 40px;
  width: clamp(120px, 22%, 240px);
  transform: rotate(-4deg);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}
.stage-caption { margin-top: 26px; text-align: center; font-size: 13px; color: var(--text-3); }

/* ---------- Devices ---------- */
.device { position: relative; }
.device img { width: 100%; }
.tv {
  padding: 1.05%; border-radius: var(--radius);
  background: linear-gradient(180deg, #17181b, #08090a);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .07),
    0 24px 60px rgba(0, 0, 0, .55),
    0 60px 120px rgba(0, 0, 0, .45);
  transform: perspective(1700px) rotateX(0) rotateY(0);
  transition: transform .5s var(--ease);
  will-change: transform;
}
.tv picture, .tv img, .tv video { border-radius: calc(var(--radius) - 8px); overflow: hidden; }
.tv video { width: 100%; height: auto; display: block; object-fit: cover; }
.tv::after {
  content: ""; position: absolute; inset: 1.05%; border-radius: calc(var(--radius) - 8px); pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 32%);
  mix-blend-mode: screen;
}
.tv figcaption {
  position: absolute; left: 20px; bottom: 20px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.phone {
  container-type: inline-size; border-radius: 15% / 6.9%;
  background: linear-gradient(180deg, #1c1d21, #050506);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .6);
}
.phone picture { padding: 3.4cqw; }
.phone img { border-radius: 12.4% / 5.7%; overflow: hidden; }

/* ---------- Stories ---------- */
.story { padding: 128px 0; }
.story.alt, .alt { background: var(--bg-alt); }
.story-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.story h2 { font-size: clamp(30px, 3.6vw, 48px); text-wrap: balance; }
.story-grid.flip .story-copy { order: 2; }
.story-grid.flip .story-shot { order: 1; }
.story-copy .lead { max-width: 30em; }
.story-shot { width: 100%; }
.phone-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; justify-items: center; }
.phone-pair .phone { width: min(100%, 270px); }
.phone-pair .phone:first-child { transform: translateY(-36px); }

/* ---------- Statement ---------- */
.statement { padding: 120px 0; background: var(--bg-deep); text-align: center; }
.statement-mark {
  font-size: 96px; line-height: .6; height: 52px; margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.statement-text {
  max-width: 900px; margin: 0 auto;
  font-size: clamp(24px, 3.2vw, 40px); line-height: 1.32; font-weight: 600; letter-spacing: -.02em;
}

/* ---------- Features ---------- */
.features, .remote-plus { padding: 128px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.section-head h2 { text-wrap: balance; }
.section-head p { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); color: var(--text-2); }
.feature-grid, .plus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.plus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.feature { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
.feature-icon { width: 26px; height: 26px; margin-top: 2px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.feature p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.plus-cta { text-align: center; margin-top: 64px; }
.button {
  display: inline-flex; align-items: center; height: 50px; padding: 0 28px;
  border-radius: 999px; background: var(--accent); color: #05161a; font-weight: 700; font-size: 16px;
  transition: background .2s, box-shadow .2s;
}
.button:hover {
  background: #7ae3f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.button:active {
  background: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(5, 22, 26, .16);
}
.plus-cta .fine { margin-top: 14px; }

/* ---------- Specs ---------- */
.specs { padding: 128px 0; background: var(--bg-deep); }
.specs h2 { text-align: center; margin-bottom: 56px; }
.spec-table { width: min(1040px, 100%); margin-inline: auto; border-collapse: collapse; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .03); }
.spec-table th, .spec-table td { padding: 20px 26px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 16px; }
.spec-table tr:first-child > * { border-top: 0; }
.spec-table th { width: 200px; font-weight: 700; color: var(--text); white-space: nowrap; }
.spec-table td { color: var(--text-2); line-height: 1.6; }

/* ---------- Download ---------- */
.download {
  position: relative; padding: 140px 0; text-align: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 80% at 18% 15%, rgba(127, 230, 255, .42), transparent 62%),
    radial-gradient(55% 75% at 82% 25%, rgba(255, 177, 216, .38), transparent 64%),
    radial-gradient(70% 70% at 50% 105%, rgba(185, 197, 255, .34), transparent 66%),
    var(--bg-alt);
}
.download::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .5;
}
.download-shell { max-width: 780px; }
.download p { margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); color: var(--text-2); }
.download-actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.download-status { font-size: 14px !important; color: var(--text-3) !important; margin-top: 26px !important; }
.download-status.attention { animation: pulse .9s var(--ease); }
@keyframes pulse { 0% { color: var(--text-3); } 40% { color: var(--accent); } 100% { color: var(--text-3); } }

/* ---------- Explore ---------- */
.explore { padding: 72px 0; border-top: 1px solid var(--line); }
.explore h2 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-bottom: 22px; }
.explore-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.explore-links a {
  display: grid; gap: 6px; padding: 20px 22px; border-radius: 14px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.explore-links a:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.explore-links a:active {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .12);
}
.explore-links small { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.explore-links span { font-size: 16px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); padding: 72px 0 40px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 132px; }
.footer-brand p { margin-top: 16px; color: var(--text-3); max-width: 34em; line-height: 1.6; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.footer-col a { color: var(--text-3); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; display: grid; gap: 6px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.feature.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-title, .hero-lead, .hero-actions, .hero-stage { animation: rise .9s var(--ease) both; }
.hero-lead { animation-delay: .12s; }
.hero-actions { animation-delay: .24s; }
.hero-stage { animation-delay: .38s; animation-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title, .hero-lead, .hero-actions, .hero-stage { animation: none; }
  .tv { transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-grid.flip .story-copy { order: 1; }
  .story-grid.flip .story-shot { order: 2; }
  .story { padding: 96px 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(18, 19, 22, .96); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px; display: none;
  }
  .site-nav.open .nav-links { display: flex; }
  .nav-links > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-lang { margin: 12px 0 0; padding: 0; border: 0; }
  .menu-button { display: block; margin-left: 4px; }
  .nav-shell { gap: 12px; }
  .nav-cta { margin-left: auto; height: 34px; padding: 0 14px; font-size: 13px; }
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero-title { font-size: clamp(34px, 9.6vw, 44px); }
  .hero-stage { margin-top: 48px; padding-bottom: 64px; }
  .hero-phone { display: none; }
  .tv { border-radius: 12px; }
  .tv picture, .tv img, .tv::after { border-radius: 8px; }
  .story { padding: 80px 0; }
  .statement, .features, .remote-plus, .specs { padding: 88px 0; }
  .section-head { margin-bottom: 48px; }
  .feature-grid, .plus-grid { grid-template-columns: 1fr; gap: 30px; }
  .phone-pair { gap: 16px; }
  .phone-pair .phone:first-child { transform: translateY(-16px); }
  .spec-table th, .spec-table td { display: block; padding: 0 18px; }
  .spec-table th { padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
  .spec-table td { padding: 6px 18px 16px; border-top: 0; }
  .spec-table tr:first-child th { border-top: 0; }
  .download { padding: 96px 0; }
  .store-badge { width: 100%; max-width: 360px; justify-content: center; }
  .explore-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
