/* =============================================================================
   SUBPAGES — Shared Styles
   Common CSS for all non-landing pages (setup guides, FAQ, devices, etc.)
   Loaded alongside landing.css on every subpage.
   ============================================================================= */

/* ─── NAV SOLID (always dark on subpages) ─── */
.nav--solid {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
  text-align: center;
}
.page-hero--navy { background: var(--c-navy); }
.page-hero--gradient { background: linear-gradient(160deg, var(--c-navy) 0%, var(--c-green-dark) 100%); }

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.92) 0%, rgba(14,58,31,0.86) 50%, rgba(13,27,42,0.96) 100%);
  z-index: 1;
}
.page-hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    repeating-conic-gradient(from 22.5deg at 50% 50%, rgba(212,175,55,0.04) 0deg 22.5deg, transparent 22.5deg 45deg),
    repeating-linear-gradient(45deg, rgba(212,175,55,0.025) 0px, rgba(212,175,55,0.025) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(-45deg, rgba(212,175,55,0.025) 0px, rgba(212,175,55,0.025) 1px, transparent 1px, transparent 32px);
  background-size: 64px 64px, 32px 32px, 32px 32px;
  pointer-events: none;
}
.page-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(26,86,50,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}
.page-hero__content,
.page-hero__inner {
  position: relative;
  z-index: 5;
}

/* Hero eyebrow / badge */
.page-hero__eyebrow,
.page-hero__label,
.page-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
/* Gold variant (default) */
.page-hero__eyebrow,
.page-hero__label,
.page-hero__count {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--c-gold);
}
/* Accent variants */
.page-hero__eyebrow--alexa {
  background: rgba(0,202,255,0.1);
  border-color: rgba(0,202,255,0.25);
  color: #00caff;
}
.page-hero__eyebrow--google {
  background: rgba(13,148,136,0.12);
  border-color: rgba(13,148,136,0.3);
  color: #2dd4bf;
}

.page-hero__count-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 8px var(--c-gold);
  animation: pulse-gold 2s infinite;
}

.page-hero__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.025em;
  margin: 0 auto 20px;
  max-width: 760px;
}
.page-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* ─── STEP TAGS (colored pills below steps) ─── */
.step__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 10px;
}
.step__tag--alexa {
  background: rgba(0,202,255,0.12);
  color: #00caff;
  border: 1px solid rgba(0,202,255,0.2);
}
.step__tag--google {
  background: rgba(13,148,136,0.14);
  color: #2dd4bf;
  border: 1px solid rgba(13,148,136,0.25);
}
.step__tag--gold {
  background: rgba(212,175,55,0.1);
  color: var(--c-gold);
  border: 1px solid rgba(212,175,55,0.2);
}

/* ─── DEVICE PILL GRID ─── */
.device-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.device-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: background var(--t), border-color var(--t), color var(--t);
}
.device-pill:hover {
  color: #fff;
}
.device-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Alexa blue pills */
.device-pill--alexa:hover { background: rgba(0,202,255,0.1); border-color: rgba(0,202,255,0.2); }
.device-pill--alexa .device-pill__dot { background: #00caff; }

/* Google teal pills */
.device-pill--google:hover { background: rgba(13,148,136,0.12); border-color: rgba(13,148,136,0.3); }
.device-pill--google .device-pill__dot { background: #0d9488; }

/* BT indigo pills */
.device-pill--bt { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.15); }
.device-pill--bt .device-pill__dot { background: #a5b4fc; }

/* TV variant */
.device-pill--tv { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.15); }
.device-pill--tv .device-pill__dot { background: #818cf8; }

/* ─── CTA BAND (bottom call-to-action) ─── */
.cta-band {
  text-align: center;
  padding: 80px 0;
}
.cta-band__heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.cta-band__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── CONTENT SECTION (light bg, standard padding) ─── */
.content-section {
  background: var(--c-bg);
  padding: var(--section-pad) 0;
}
.content-section--warm {
  background: var(--c-bg-warm);
}

/* ─── INFO CARD (reusable glassmorphism card) ─── */
.info-card {
  background: var(--c-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,175,55,0.25);
}
.info-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.info-card__accent--gold { background: linear-gradient(90deg, var(--c-gold), rgba(212,175,55,0.3)); }
.info-card__accent--alexa { background: linear-gradient(90deg, #00caff, rgba(0,202,255,0.2)); }
.info-card__accent--google { background: linear-gradient(90deg, #0d9488, #2dd4bf); }
.info-card__accent--green { background: linear-gradient(90deg, var(--c-green), var(--c-green-dark)); }

.info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.info-card__icon--gold   { background: rgba(212,175,55,0.1);  color: var(--c-gold); }
.info-card__icon--green  { background: rgba(26,86,50,0.1);    color: var(--c-green); }
.info-card__icon--alexa  { background: rgba(0,202,255,0.1);   color: #00caff; }
.info-card__icon--google { background: rgba(13,148,136,0.08); color: #0d9488; }
.info-card__icon--red    { background: rgba(239,68,68,0.1);   color: #ef4444; }
.info-card__icon--blue   { background: rgba(99,102,241,0.1);  color: #6366f1; }

.info-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-text);
}
.info-card__body {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.75;
}

/* ─── PROSE (long-form text content) ─── */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border-light);
}
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text);
  margin: 32px 0 12px;
}
.prose p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}
.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.prose li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-muted);
  margin-bottom: 6px;
}
.prose a {
  color: var(--c-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t);
}
.prose a:hover { color: var(--c-green-dark); }
.prose strong { color: var(--c-text); }

/* ─── CHIP / BADGE ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.chip--green {
  background: rgba(26,86,50,0.1);
  color: var(--c-green);
  border: 1px solid rgba(26,86,50,0.2);
}
.chip--gold {
  background: rgba(212,175,55,0.1);
  color: var(--c-gold);
  border: 1px solid rgba(212,175,55,0.2);
}
.chip--red {
  background: rgba(239,68,68,0.08);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.15);
}

/* ─── PAGE HERO DIVIDER (wave separator) ─── */
.page-hero__divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  line-height: 0;
}
.page-hero__divider svg { width: 100%; height: 60px; display: block; }
.page-hero__date {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

/* ─── MOBILE NAV (hamburger menu for subpages) ─── */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}
.nav__mobile-link {
  display: block;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__mobile-link:hover { color: var(--c-gold); background: rgba(212,175,55,0.08); }
.nav__mobile { flex-direction: column; }

/* ─── STANDARD FOOTER (4-column grid) ─── */
.footer {
  background: var(--c-navy);
  position: relative;
  overflow: visible;
  padding: 0 0 32px;
  margin-top: 0;
}
.footer .footer__wave {
  color: var(--c-navy);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(calc(-100% + 2px));
  z-index: 2;
  line-height: 0;
}
.footer .footer__wave svg {
  width: 100%;
  height: 60px;
  display: block;
}
.footer__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(60deg, rgba(212,175,55,0.025) 0px, rgba(212,175,55,0.025) 1px, transparent 1px, transparent 36px),
    repeating-linear-gradient(-60deg, rgba(212,175,55,0.025) 0px, rgba(212,175,55,0.025) 1px, transparent 1px, transparent 36px);
}
.footer__inner { position: relative; z-index: 1; padding-top: 48px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .page-hero { padding: 160px 0 80px; }
  .cta-band { padding: 56px 0; }
}
@media (max-width: 480px) {
  .page-hero { padding: 140px 0 60px; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { justify-content: center; }
}
