/* ═══════════════════════════════════════════════════════
   CYBER SECURITY SIX PACK — Stylesheet
   Palette from the Second Edition book cover
   ═══════════════════════════════════════════════════════ */

/* ── Custom Properties ───────────────────────────────── */
:root {
  --gold:         #e6c244;
  --gold-dark:    #c9a82e;
  --ink:          #1a1a1a;
  --ink-muted:    #5a5a5a;
  --cream:        #faf8f4;
  --cream-dark:   #f0ebe3;
  --teal:         #6c9fb1;
  --teal-dark:    #5a8798;
  --purple:       #7d77b8;
  --sky:          #e8f0f6;
  --sky-dark:     #c5d8e8;
  --rose:         #c84c69;
  --signal:       rgba(184, 196, 204, 0.5);

  --font-display: 'Archivo Black', system-ui, sans-serif;
  --font-body:    'Cabin', system-ui, sans-serif;

  --radius-sm:    0.5rem;
  --radius-md:    1rem;
  --radius-lg:    1.5rem;
  --radius-full:  9999px;

  --shadow-block: 4px 4px 0 var(--ink);
  --shadow-block-sm: 3px 3px 0 var(--ink);
  --shadow-block-lg: 6px 6px 0 var(--ink);

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 0.35s var(--ease-out-expo);
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(230, 194, 68, 0.35); }

/* ── Layout ──────────────────────────────────────────── */
.container {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

/* ── Typography ──────────────────────────────────────── */
.font-display { font-family: var(--font-display); }

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--gold);
  color: var(--ink);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-block);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  white-space: nowrap;
}
.btn-primary:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}
.btn-primary:active { box-shadow: none; transform: translate(4px, 4px); }

.btn-sm  { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg  { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(26, 26, 26, 0.15);
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color var(--transition-base), background var(--transition-base), color var(--transition-base);
}
.btn-outline:hover { border-color: var(--teal); background: rgba(108, 159, 177, 0.1); color: var(--teal-dark); }

.link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 4px;
  transition: color var(--transition-base);
}
.link-secondary:hover { color: var(--teal-dark); text-decoration: underline; }

.link-with-icon .play-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  position: relative;
  flex-shrink: 0;
}
.link-with-icon .play-pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.5;
  animation: pulse-ring 2.4s ease-out infinite;
  z-index: -1;
}

/* Icon-only button (used in modal controls) */
.btn-icon {
  padding: 0.625rem;
  width: 2.5rem;
  height: 2.5rem;
  justify-content: center;
}

/* ── Badge ───────────────────────────────────────────── */
.badge {
  display: inline-block;
  background: var(--sky);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
}

/* ── Section shared ──────────────────────────────────── */
.section-head { max-width: 42rem; margin-inline: auto; text-align: center; margin-bottom: 3.5rem; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-sub { margin-top: 1rem; color: var(--ink-muted); font-size: 1.0625rem; }
.label-sm { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-dark); }

.section-head--light .section-title { color: var(--cream); }
.section-head--light .section-sub   { color: rgba(250, 248, 244, 0.75); }
.section-title--light { color: var(--cream); }
.section-sub--light   { color: rgba(250, 248, 244, 0.75); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(26,26,26,0.06);
  color: var(--ink);
  margin-bottom: 0.875rem;
}
.eyebrow--gold  { background: rgba(230,194,68,0.2); color: var(--gold); }
.eyebrow--teal  { background: rgba(108,159,177,0.16); color: var(--teal-dark); }
.eyebrow--rose  { background: rgba(200,76,105,0.14); color: var(--rose); }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}
.site-header.scrolled {
  background-color: rgba(250, 248, 244, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26,26,26,0.06), 0 8px 24px rgba(26,26,26,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .desktop-nav { display: flex; } }

.desktop-nav a:not(.btn-primary) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color var(--transition-base);
}
.desktop-nav a:not(.btn-primary):hover { color: var(--ink); }

/* Hamburger */
.menu-btn {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid rgba(26,26,26,0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
@media (min-width: 768px) { .menu-btn { display: none; } }

.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
}
.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-icon::before { top: -5px; }
.menu-icon::after  { top: 5px;  }

.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg) translate(3px, 4px); }
.menu-btn[aria-expanded="true"] .menu-icon::after  { transform: rotate(-45deg) translate(3px, -4px); }

/* Mobile nav */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  background: rgba(250, 248, 244, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(26,26,26,0.06);
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo), opacity 0.3s ease;
  opacity: 0;
}
.mobile-nav.open {
  max-height: 22rem;
  padding: 1rem 1.25rem 1.25rem;
  opacity: 1;
}
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

.mobile-nav a:not(.btn-primary) {
  display: block;
  padding: 0.625rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid rgba(26,26,26,0.06);
}
.mobile-nav .btn-primary { margin-top: 0.75rem; }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) { .hero { padding-top: 7rem; padding-bottom: 5rem; } }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orb-pulse 8s ease-in-out infinite;
}
.hero-orb--right {
  width: 28rem; height: 28rem;
  background: rgba(108, 159, 177, 0.18);
  top: 3rem; right: -8rem;
  animation-delay: 0s;
}
.hero-orb--left {
  width: 22rem; height: 22rem;
  background: rgba(125, 119, 184, 0.14);
  bottom: 4rem; left: -5rem;
  animation-delay: -3s;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.hero-content { position: relative; z-index: 1; }
.hero-content .badge { margin-bottom: 1.25rem; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 1.25rem;
}
.hero-reg { font-size: 0.5em; vertical-align: super; }

.hero-sub {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
  max-width: 34rem;
}

.hero-body {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.hero-trust li {
  font-size: 0.875rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.hero-trust strong {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-right: 0.375rem;
  vertical-align: -2px;
}

.hero-byline { font-size: 0.875rem; color: var(--ink-muted); }

/* Book visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 860px) { .hero-visual { justify-content: flex-end; } }

.book-wrapper {
  position: relative;
  animation: float 5.5s ease-in-out infinite;
  z-index: 1;
}

.book-glow {
  position: absolute;
  inset: -1.5rem;
  border-radius: 1.5rem;
  background: rgba(230, 194, 68, 0.25);
  filter: blur(24px);
  animation: glow-pulse 4s ease-in-out infinite;
}

.book-frame {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
  outline: 1px solid rgba(26, 26, 26, 0.06);
}
.book-frame img {
  width: min(300px, 85vw);
  height: auto;
}
@media (min-width: 480px) { .book-frame img { width: 340px; } }

/* Signal waves SVG */
.signal-waves {
  position: absolute;
  width: 9rem;
  color: var(--signal);
  pointer-events: none;
}
.signal-waves--left  { left: -3rem; top: 50%; transform: translateY(-50%); }
.signal-waves--right { right: -1rem; bottom: 1.5rem; width: 7rem; transform: rotate(180deg); }
@media (min-width: 860px) {
  .signal-waves--left  { left: -4rem; width: 10rem; }
  .signal-waves--right { right: 0; width: 8rem; }
}

.ring { fill: none; stroke: currentColor; stroke-width: 1; }
.ring--1 { animation: pulse-ring 3.5s ease-out infinite 0s; }
.ring--2 { animation: pulse-ring 3.5s ease-out infinite 0.8s; }
.ring--3 { animation: pulse-ring 3.5s ease-out infinite 1.6s; }

.wave { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; fill: none; }
.wave--1 { animation: wave-fade 3s ease-in-out infinite 0s; }
.wave--2 { animation: wave-fade 3s ease-in-out infinite 0.4s; }
.wave--3 { animation: wave-fade 3s ease-in-out infinite 0.8s; }

/* ═══════════════════════════════════════════════════════
   SIX STEPS
   ═══════════════════════════════════════════════════════ */
.steps-section {
  position: relative;
  border-top: 1px solid rgba(26,26,26,0.06);
  background: rgba(240, 235, 227, 0.5);
  padding: 5rem 0;
}
@media (min-width: 768px) { .steps-section { padding: 6.5rem 0; } }

.steps-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(184, 196, 204, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.steps-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 580px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1.5px solid;
  padding: 1.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.08);
}

.step-card--teal   { background: rgba(108, 159, 177, 0.12); border-color: rgba(108, 159, 177, 0.28); }
.step-card--purple { background: rgba(125, 119, 184, 0.12); border-color: rgba(125, 119, 184, 0.28); }
.step-card--sky    { background: var(--sky);                border-color: rgba(197, 216, 232, 0.5);  }
.step-card--gold   { background: rgba(230, 194, 68, 0.15);  border-color: rgba(201, 168, 46, 0.35);  }
.step-card--rose   { background: rgba(200, 76, 105, 0.1);   border-color: rgba(200, 76, 105, 0.25);  }

.step-card--teal:hover   { background: rgba(108, 159, 177, 0.18); border-color: rgba(108, 159, 177, 0.45); }
.step-card--purple:hover { background: rgba(125, 119, 184, 0.18); border-color: rgba(125, 119, 184, 0.45); }
.step-card--sky:hover    { border-color: rgba(197, 216, 232, 0.7); }
.step-card--gold:hover   { background: rgba(230, 194, 68, 0.22);   border-color: rgba(201, 168, 46, 0.5); }
.step-card--rose:hover   { background: rgba(200, 76, 105, 0.15);   border-color: rgba(200, 76, 105, 0.4); }

.step-num {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 1rem;
}
.step-num--teal   { background: var(--teal); }
.step-num--purple { background: var(--purple); }
.step-num--sky    { background: var(--sky-dark); color: var(--ink); }
.step-num--gold   { background: var(--gold); color: var(--ink); }
.step-num--rose   { background: var(--rose); }

.step-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;
  color: var(--ink);
}
.step-body { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════
   AUTHOR
   ═══════════════════════════════════════════════════════ */
.author-section { padding: 5rem 0; }
@media (min-width: 768px) { .author-section { padding: 6.5rem 0; } }

.author-card {
  background: #fff;
  border-radius: 1.75rem;
  border: 1px solid rgba(26,26,26,0.07);
  box-shadow: var(--shadow-block-lg);
  overflow: hidden;
}

.author-stripe {
  height: 0.375rem;
  background: linear-gradient(90deg, var(--gold) 0%, var(--teal) 50%, var(--purple) 100%);
  transform-origin: left;
  animation: stripe-in 0.8s var(--ease-out-expo) both;
}

.author-inner {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem;
}
@media (min-width: 768px) {
  .author-inner {
    grid-template-columns: 240px 1fr;
    padding: 3rem;
    align-items: start;
  }
}
@media (min-width: 960px) { .author-inner { padding: 3.5rem; } }

.author-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 220px;
  background: var(--sky);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 2rem;
  gap: 0.75rem;
  animation: float 4.5s ease-in-out infinite;
}
.avatar-icon { font-size: 4rem; line-height: 1; }
.avatar-caption { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); }

.author-bio { display: flex; flex-direction: column; gap: 0; }
.author-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 0.375rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.author-text { color: var(--ink-muted); line-height: 1.65; margin-bottom: 1rem; font-size: 1rem; }
.author-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.reviews-section {
  border-top: 1px solid rgba(26,26,26,0.06);
  background: rgba(232, 240, 246, 0.45);
  padding: 5rem 0;
}
@media (min-width: 768px) { .reviews-section { padding: 6.5rem 0; } }

.reviews-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,26,26,0.07);
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(26,26,26,0.04);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,26,26,0.08); }

.quote-icon { width: 2rem; height: 2rem; color: var(--gold); flex-shrink: 0; margin-bottom: 1rem; }
.review-text { flex: 1; font-size: 1rem; line-height: 1.65; color: var(--ink); margin-bottom: 1rem; }
.review-attr { font-size: 0.875rem; font-weight: 600; color: var(--ink-muted); margin-top: auto; }

/* ═══════════════════════════════════════════════════════
   BUY CTA
   ═══════════════════════════════════════════════════════ */
.cta-section { padding: 5rem 0; }
@media (min-width: 768px) { .cta-section { padding: 6.5rem 0; } }

.cta-card {
  position: relative;
  background: var(--ink);
  border-radius: 1.75rem;
  overflow: hidden;
  color: var(--cream);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  animation: orb-pulse 6s ease-in-out infinite;
}
.cta-orb--gold { width: 18rem; height: 18rem; background: rgba(230, 194, 68, 0.22); top: -4rem; right: -4rem; }
.cta-orb--teal { width: 14rem; height: 14rem; background: rgba(108, 159, 177, 0.28); bottom: -3rem; left: -3rem; animation-delay: -2s; }

.cta-inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 3rem 2rem;
}
@media (min-width: 640px) { .cta-inner { padding: 3.5rem; } }
@media (min-width: 860px) {
  .cta-inner {
    grid-template-columns: 1fr auto;
    padding: 4rem 3.5rem;
    gap: 3rem;
  }
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--gold);
  text-shadow: 3px 3px 0 rgba(230, 194, 68, 0.3);
  margin-bottom: 1.25rem;
  line-height: 1;
}
.cta-body {
  color: rgba(250, 248, 244, 0.8);
  font-size: 1.0625rem;
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-book {
  display: none;
}
@media (min-width: 860px) {
  .cta-book {
    display: flex;
    justify-content: center;
    animation: float 5s ease-in-out infinite;
  }
  .cta-book img {
    width: 160px;
    border-radius: 0.75rem;
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
    outline: 1.5px solid rgba(230, 194, 68, 0.3);
  }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid rgba(26,26,26,0.07);
  background: rgba(240, 235, 227, 0.6);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-brand { font-family: var(--font-display); font-size: 0.875rem; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.footer-copy  { font-size: 0.8125rem; color: var(--ink-muted); }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
@media (min-width: 640px) { .footer-nav { justify-content: flex-end; } }
.footer-nav a { font-size: 0.875rem; font-weight: 500; color: var(--ink-muted); transition: color var(--transition-base); }
.footer-nav a:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50%       { transform: scale(1.1); opacity: 0.75; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.75; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.35; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes wave-fade {
  0%, 100% { opacity: 0.15; }
  50%       { opacity: 0.45; }
}

@keyframes stripe-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ═══════════════════════════════════════════════════════
   COMMERCIAL / THEATER
   ═══════════════════════════════════════════════════════ */
.watch-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0f0f12 0%, #1a1a1f 100%);
  color: var(--cream);
  padding: 5rem 0 5.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
@media (min-width: 768px) { .watch-section { padding: 7rem 0 7.5rem; } }

.watch-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.watch-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.watch-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: orb-pulse 9s ease-in-out infinite;
}
.watch-orb--gold {
  width: 26rem; height: 26rem;
  background: rgba(230, 194, 68, 0.18);
  top: -6rem; right: -8rem;
}
.watch-orb--purple {
  width: 22rem; height: 22rem;
  background: rgba(125, 119, 184, 0.22);
  bottom: -6rem; left: -6rem;
  animation-delay: -3s;
}

/* Theater frame */
.theater {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

.theater-marquee {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 1.5rem;
  margin-bottom: 0.875rem;
}
.theater-marquee--bottom { margin: 0.875rem 0 0; }

.marquee-light {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(230, 194, 68, 0.9), 0 0 24px rgba(230, 194, 68, 0.4);
  animation: marquee-blink 1.6s ease-in-out infinite;
}
.marquee-light:nth-child(1) { animation-delay: 0s; }
.marquee-light:nth-child(2) { animation-delay: 0.1s; }
.marquee-light:nth-child(3) { animation-delay: 0.2s; }
.marquee-light:nth-child(4) { animation-delay: 0.3s; }
.marquee-light:nth-child(5) { animation-delay: 0.4s; }
.marquee-light:nth-child(6) { animation-delay: 0.5s; }
.marquee-light:nth-child(7) { animation-delay: 0.6s; }
.marquee-light:nth-child(8) { animation-delay: 0.7s; }

.theater-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 8px rgba(26,26,26,0.6),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(230, 194, 68, 0.15);
  cursor: pointer;
}

.theater-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

/* Until played, hide native controls and dim the video */
.theater-screen:not(.is-playing) .theater-video::-webkit-media-controls { display: none; }
.theater-screen:not(.is-playing) .theater-video { pointer-events: none; }
.theater-screen:not(.is-playing)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.theater-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.theater-screen.is-playing .theater-play {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

.play-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(230, 194, 68, 0.45);
  transition: transform var(--transition-base), background var(--transition-base);
}
.play-circle svg { transform: translateX(2px); }

.theater-play:hover .play-circle { transform: scale(1.08); background: #f0cf5b; }
.theater-play:active .play-circle { transform: scale(0.96); }

.play-glow {
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  filter: blur(2px);
  animation: pulse-ring 2.4s ease-out infinite;
}
.play-label { opacity: 0.85; }

.watch-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  text-align: center;
}
.watch-cta p {
  color: rgba(250, 248, 244, 0.7);
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════
   TIPS GRID
   ═══════════════════════════════════════════════════════ */
.tips-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(232,240,246,0.4) 0%, var(--cream) 100%);
}
@media (min-width: 768px) { .tips-section { padding: 6.5rem 0; } }

.tips-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
@media (min-width: 560px)  { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px)  { .tips-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .tips-grid { grid-template-columns: repeat(4, 1fr); } }

/* Feature tile spans more space on wide screens */
.tip-card--feature { grid-column: span 1; }
@media (min-width: 1100px) {
  .tip-card--feature { grid-column: span 1; }
}

.tip-card { margin: 0; }

.tip-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 1.5px solid;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

/* Color variants */
.tip-card--teal   .tip-btn { border-color: rgba(108,159,177,0.35); background: rgba(108,159,177,0.06); }
.tip-card--purple .tip-btn { border-color: rgba(125,119,184,0.35); background: rgba(125,119,184,0.06); }
.tip-card--rose   .tip-btn { border-color: rgba(200,76,105,0.35);  background: rgba(200,76,105,0.06);  }
.tip-card--gold   .tip-btn { border-color: rgba(201,168,46,0.4);   background: rgba(230,194,68,0.08);  }
.tip-card--sky    .tip-btn { border-color: rgba(197,216,232,0.7);  background: var(--sky); }

.tip-card--teal   .tip-thumb { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.tip-card--purple .tip-thumb { background: linear-gradient(135deg, var(--purple) 0%, #5c558f 100%); }
.tip-card--rose   .tip-thumb { background: linear-gradient(135deg, var(--rose) 0%, #9d3a52 100%); }
.tip-card--gold   .tip-thumb { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--ink); }
.tip-card--sky    .tip-thumb { background: linear-gradient(135deg, var(--sky-dark) 0%, #a9c3d8 100%); color: var(--ink); }

.tip-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(26,26,26,0.12);
}
.tip-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.tip-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.tip-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.92;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.18);
}

.tip-thumb-play {
  position: absolute;
  right: 0.875rem;
  bottom: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform var(--transition-base);
}
.tip-card--gold .tip-thumb-play,
.tip-card--sky  .tip-thumb-play { background: var(--ink); color: var(--cream); }

.tip-thumb-play svg { transform: translateX(1px); }
.tip-btn:hover .tip-thumb-play { transform: scale(1.1) translateY(-2px); }

.tip-shine {
  position: absolute;
  top: -50%;
  left: -25%;
  width: 60%;
  height: 200%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-150%) skewX(-12deg);
  transition: transform 0.9s var(--ease-out-expo);
  pointer-events: none;
}
.tip-btn:hover .tip-shine { transform: translateX(280%) skewX(-12deg); }

.tip-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.125rem 1.25rem 1.25rem;
}
.tip-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tip-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.tip-arrow {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color var(--transition-base), transform var(--transition-base);
}
.tip-btn:hover .tip-arrow { color: var(--ink); transform: translateX(3px); }

.tips-cta {
  margin-top: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.tips-cta-text {
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════
   TIP MODAL
   ═══════════════════════════════════════════════════════ */
.tip-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo);
}
.tip-modal[hidden] { display: none; }
.tip-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.tip-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 18, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.tip-modal-panel {
  position: relative;
  width: min(64rem, 100%);
  max-height: calc(100dvh - 2rem);
  background: #0f0f12;
  color: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(230, 194, 68, 0.15);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}
.tip-modal.open .tip-modal-panel {
  transform: translateY(0) scale(1);
}

.tip-modal-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--cream);
  border: 0;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}
.tip-modal-close:hover { background: rgba(255,255,255,0.22); transform: rotate(90deg); }

.tip-modal-stage {
  position: relative;
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.tip-modal-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.tip-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
}

.tip-modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.tip-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.tip-modal-controls {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.tip-modal-controls .btn-outline {
  color: var(--cream);
  border-color: rgba(255,255,255,0.25);
}
.tip-modal-controls .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  border-color: rgba(255,255,255,0.4);
}

body.modal-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════
   ADDITIONAL ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes marquee-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(230, 194, 68, 0.9), 0 0 24px rgba(230, 194, 68, 0.4); }
  50%       { opacity: 0.35; box-shadow: 0 0 4px rgba(230, 194, 68, 0.3); }
}

/* ── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .tip-modal-panel { transform: none; }
}
