@import url('responsive.css');

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: var(--fluid-body, 1rem);
}

a { color: inherit; }

.product-header {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-header.nav-hidden {
  transform: translateY(-140%);
}

.product-header .nav-shell {
  pointer-events: auto;
  width: 100%;
  max-width: 64rem;
  display: flex;
  justify-content: center;
}

.product-header nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 3.5rem;
  width: 100%;
  max-width: 100%;
  padding: 0.35rem 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  justify-content: space-between;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 768px) {
  .product-header {
    top: 1.5rem;
  }
  .product-header nav {
    height: 4rem;
    width: auto;
    justify-content: flex-start;
  }
}

.product-header.nav-compact nav {
  background: rgba(0, 0, 0, 0.78);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
  padding: 0 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 0.8rem;
  transition: background 0.25s ease;
}

.brand-pill:hover { background: rgba(255, 255, 255, 0.1); }

.brand-pill img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .brand-pill {
    padding: 0 1.25rem;
    font-size: 1rem;
  }
  .nav-links { display: flex; }
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  border-radius: 9999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  height: 3rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.25s ease;
}

.nav-cta:hover { background: #e5e7eb; }

.nav-cta-slot {
  display: none;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }
  .nav-cta-slot { display: flex; }
}

.nav-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-mobile { display: none; }
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  padding: 6rem 1.25rem 2rem;
}

.mobile-drawer.open { display: block; }

.mobile-drawer a {
  display: block;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  background: #111;
  border: 1px solid #242424;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.product-main {
  min-height: 100vh;
  background: #000;
}

.container {
  width: var(--content-max, min(1248px, calc(100% - 3rem)));
  margin: 0 auto;
  padding-inline: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 3.75rem;
  background: #000;
}

@media (min-width: 768px) {
  .hero { padding: 10rem 0 5rem; }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #999;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero .lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  color: #999;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.125rem;
  padding: 0 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 768px) {
  .btn-primary,
  .btn-secondary {
    height: 3.75rem;
    padding: 0 2.5rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background: #1D4ED8;
  color: #fff;
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover { background: #1e40af; }

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 7.5rem 0; }
}

.section-head {
  margin-bottom: 3rem;
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: #999;
  font-size: 1.05rem;
  font-weight: 500;
}

.shot-panel {
  border-radius: 2rem;
  border: 1px solid #242424;
  background: #111;
  padding: 1rem;
  overflow: hidden;
}

.shot-panel img {
  display: block;
  width: min(380px, 100%);
  margin: 0 auto;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 2.25rem;
  border-radius: 2rem;
  border: 1px solid #242424;
  background: #111;
  transition: border-color 0.3s ease, transform 0.35s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.card .tag {
  align-self: flex-start;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #999;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: #999;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
}

.list-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .list-grid { grid-template-columns: repeat(4, 1fr); }
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.list-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: #111;
  border: 1px solid #242424;
  display: grid;
  place-items: center;
  color: #fff;
}

.list-item p {
  margin: 0;
  color: #999;
  font-size: 0.95rem;
  font-weight: 500;
}

.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid #242424;
  background: #0a0a0a;
}

.step .num {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid #242424;
  background: #111;
  display: grid;
  place-items: center;
  color: #666;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  margin-bottom: 1.25rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.step:hover .num {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.step h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: #999;
  font-size: 1rem;
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq details {
  border: 1px solid #242424;
  background: #111;
  border-radius: 2rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq details:hover { border-color: rgba(255, 255, 255, 0.1); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.75rem 2.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary span.plus {
  color: #999;
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary span.plus { transform: rotate(45deg); }

.faq details p {
  margin: 0;
  padding: 0 2.25rem 1.75rem;
  color: #999;
  font-size: 1rem;
}

.cta {
  position: relative;
  padding: 5rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.cta h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0 auto 2.5rem;
  max-width: 34rem;
  color: #999;
  font-size: 1.1rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(500px, 100%);
  height: 5rem;
  background: #fff;
  color: #000;
  border-radius: 2rem;
  text-decoration: none;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.cta-btn:hover { transform: scale(1.02); }

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.product-footer {
  border-top: 1px solid #111;
  padding: 3rem 0;
  color: #666;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.product-footer a {
  color: #666;
  text-decoration: none;
}

.product-footer a:hover { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .product-header {
    top: calc(0.75rem + var(--safe-top, 0px));
    padding: 0 0.75rem;
  }

  .product-header nav {
    height: 3.25rem;
    padding: 0.25rem 0.4rem;
  }

  .brand-pill {
    padding: 0 0.65rem;
    font-size: 0.75rem;
    gap: 0.35rem;
  }

  .brand-pill img {
    width: 24px;
    height: 24px;
  }

  .nav-mobile {
    width: 2.75rem;
    height: 2.75rem;
  }

  .mobile-drawer {
    padding: calc(5.5rem + var(--safe-top, 0px)) 1rem calc(1.5rem + var(--safe-bottom, 0px));
  }

  .hero {
    padding: calc(6rem + var(--safe-top, 0px)) 0 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 2.85rem);
    max-width: 12ch;
  }

  .hero .lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    height: 3rem;
    padding: 0 1.25rem;
    font-size: 0.875rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-head h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .section-head p {
    font-size: 0.95rem;
  }

  .shot-panel {
    border-radius: 1.25rem;
    padding: 0.65rem;
  }

  .card {
    min-height: 0;
    padding: 1.5rem;
    border-radius: 1.35rem;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.95rem;
  }

  .step {
    padding: 1.35rem;
    border-radius: 1.35rem;
  }

  .faq summary {
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
    gap: 0.75rem;
  }

  .faq details {
    border-radius: 1.25rem;
  }

  .faq details p {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.95rem;
  }

  .cta {
    padding: 3.5rem 0 4rem;
  }

  .cta-btn {
    height: 3.75rem;
    border-radius: 1.25rem;
    font-size: 1.15rem;
  }

  .product-footer {
    padding: 2rem 0 calc(2rem + var(--safe-bottom, 0px));
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ---------- Tablet ---------- */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero {
    padding: 8.5rem 0 4rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 7vw, 4.25rem);
  }

  .section {
    padding: 5.5rem 0;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    min-height: 260px;
    padding: 1.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq summary {
    padding: 1.5rem 1.75rem;
    font-size: 1.1rem;
  }
}

/* ---------- PC ---------- */
@media (min-width: 1025px) and (max-width: 1919px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: clamp(3.5rem, 5.5vw, 5.5rem);
  }
}

/* ---------- TV / large displays ---------- */
@media (min-width: 1920px) {
  .product-header {
    top: 2rem;
  }

  .product-header .nav-shell {
    max-width: 80rem;
  }

  .product-header nav {
    height: 4.5rem;
    padding: 0.4rem 0.6rem;
  }

  .brand-pill {
    font-size: 1.15rem;
    padding: 0 1.5rem;
  }

  .brand-pill img {
    width: 34px;
    height: 34px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.65rem 1.25rem;
  }

  .nav-cta {
    height: 3.4rem;
    padding: 0 1.75rem;
    font-size: 1rem;
  }

  .container {
    width: min(1600px, calc(100% - 6rem));
  }

  .hero {
    padding: 12rem 0 6rem;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 5vw, 7rem);
    max-width: 16ch;
  }

  .hero .lead {
    font-size: 1.35rem;
    max-width: 48rem;
  }

  .btn-primary,
  .btn-secondary {
    height: 4.25rem;
    padding: 0 2.75rem;
    font-size: 1.1rem;
  }

  .section {
    padding: 9rem 0;
  }

  .section-head h2 {
    font-size: clamp(3rem, 3.5vw, 4.5rem);
  }

  .section-head p {
    font-size: 1.25rem;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .card {
    min-height: 320px;
    padding: 2.75rem;
  }

  .card h3 {
    font-size: 1.85rem;
  }

  .card p {
    font-size: 1.15rem;
  }

  .shot-panel img {
    width: min(520px, 100%);
  }

  .cta h2 {
    font-size: clamp(3rem, 4vw, 5rem);
  }

  .cta-btn {
    width: min(640px, 100%);
    height: 6rem;
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  }

  .faq summary {
    font-size: 1.35rem;
    padding: 2rem 2.5rem;
  }

  .faq details p {
    font-size: 1.15rem;
    padding: 0 2.5rem 2rem;
  }
}

@media (min-width: 2560px) {
  .container {
    width: min(1800px, calc(100% - 8rem));
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
