/* Preflop Gym - Clean Dark Slate & Emerald Theme */
:root {
  /* Set --logo-bg to match your logo's background color if it isn't pure #0B111E */
  --logo-bg: #0B111E;
  --bg-main: #0B111E;
  --bg-card: #11192A;
  --bg-card-hover: #162035;
  --bg-elevated: #0E1626;
  --border-subtle: #1E293B;
  --border-highlight: #334155;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --emerald: #10B981;
  --emerald-dim: rgba(16, 185, 129, 0.14);
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.14);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--logo-bg);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.btn-primary {
  background: var(--blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-emerald {
  background: var(--emerald);
  color: #062118;
}

.btn-emerald:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.86rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-live {
  background: var(--emerald-dim);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-soon {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Sections */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-kicker {
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 76px 0 88px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.07), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.rotating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  min-height: 36px;
}

#rotating-tagline {
  transition: opacity 0.35s ease;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--emerald);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.trial-note {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Video Frame */
.media-frame {
  width: 100%;
  max-width: 500px;
  justify-self: center;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.media-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-highlight);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.45;
  background: #0b111e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
  transform: scale(1.58) translate(-8.2%, 1.2%);
  transform-origin: center center;
  background: #0b111e;
  display: block;
}

.demo-sound-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.95);
  color: #062118;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.demo-sound-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.demo-sound-btn.is-unmuted {
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  border-color: var(--border-highlight);
}

.demo-preview-card {
  width: 100%;
  padding: 28px 24px;
  text-align: center;
}

.demo-voice-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.demo-action-result {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.demo-caption {
  font-size: 0.85rem;
  color: #94a3b8;
}

.demo-caption code {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--emerald);
  font-size: 0.82rem;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--emerald-dim);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* Screenshot Drop Zones */
.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shot-slot {
  width: 100%;
  height: 270px;
  background: #1a2436;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 14px;
  cursor: default;
}

.shot-slot.is-zoomed {
  cursor: move;
}

.shot-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #0b111e;
  display: block;
  margin: auto;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transform-origin: 50% 50%;
  transform: translate3d(0px, 0px, 0px) scale(1);
  transition: transform 0.12s ease-out;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

/* Box 1: Blurred backdrop + static magnifying glass over Voice Transcript: King */
.shot-slot.voice-loupe-slot .voice-bg-img {
  filter: blur(1.6px) brightness(0.84);
}

.voice-magnifier {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-52%, -18%);
  z-index: 3;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  width: calc(100% - 34px);
  max-width: 306px;
}

.voice-loupe-glass {
  position: relative;
  width: 100%;
  height: 58px;
  border-radius: 999px;
  background: #141c2b;
  border: 3px solid #f8fafc;
  box-shadow:
    0 0 0 2px #0f172a,
    0 14px 28px rgba(0, 0, 0, 0.78),
    inset 0 2px 6px rgba(255, 255, 255, 0.22);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
}

.voice-loupe-zoom-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background: transparent !important;
  filter: contrast(1.08) saturate(1.1) !important;
  opacity: 1;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.voice-loupe-readout {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 1;
}

.voice-loupe-label {
  color: #94a3b8;
  font-weight: 600;
}

.voice-loupe-word {
  color: #34d399;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

.voice-loupe-handle {
  width: 20px;
  height: 7px;
  margin-left: -2px;
  background: linear-gradient(90deg, #94a3b8 0%, #334155 100%);
  border: 1.5px solid #0f172a;
  border-radius: 0 999px 999px 0;
  transform: rotate(28deg) translateY(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
}

/* Box 2: Blurred backdrop + static magnifying glass over Leak Finder area */
.shot-slot.leaks-loupe-slot .leaks-bg-img {
  filter: blur(1.6px) brightness(0.84);
}

.leaks-magnifier {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -44%) scale(1.06);
  transform-origin: center center;
  z-index: 3;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  width: calc(100% - 36px);
  max-width: 310px;
}

.leaks-loupe-glass {
  position: relative;
  width: 100%;
  background: rgba(11, 17, 30, 0.96);
  border: 2.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 11px 13px;
  box-shadow:
    0 0 0 2px #0f172a,
    0 14px 28px rgba(0, 0, 0, 0.68),
    inset 0 2px 6px rgba(255, 255, 255, 0.12);
  text-align: left;
}

.leaks-callout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.leaks-callout-title {
  color: #f87171;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.25;
}

.leaks-callout-csv {
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.leaks-callout-sub {
  color: #cbd5e1;
  font-size: 0.76rem;
  line-height: 1.35;
}

.leaks-source-tag {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
}

.leaks-pointer-arrow {
  color: #f87171;
  font-size: 0.9rem;
  line-height: 1;
}

.leaks-loupe-handle {
  width: 18px;
  height: 7px;
  margin-left: -2px;
  background: linear-gradient(90deg, #94a3b8 0%, #334155 100%);
  border: 1.5px solid #0f172a;
  border-radius: 0 999px 999px 0;
  transform: rotate(28deg) translateY(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
}

/* Range Builder & Chart Manager left untouched */
.shot-slot[data-shot="range-builder"],
.shot-slot[data-shot="chart-manager"] {
  height: 480px;
  padding: 0;
  background: #1a2436;
  align-items: flex-start;
  cursor: zoom-in;
}

.shot-slot[data-shot="range-builder"] img,
.shot-slot[data-shot="chart-manager"] img {
  width: 92%;
  height: auto;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
}

.shot-body {
  padding: 18px 20px;
}

.shot-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.shot-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Format Roadmap */
.format-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.format-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
}

/* Pricing */
.addon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), var(--bg-card) 28%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 32px;
}

.addon-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  color: var(--amber);
}

.addon-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--emerald);
  cursor: pointer;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.price-amount {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 4px;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-features {
  list-style: none;
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.price-features li::before {
  content: "\2713 ";
  color: var(--emerald);
  font-weight: 700;
  margin-right: 6px;
}

/* Lifetime Box */
.lifetime-box {
  margin-top: 36px;
  background: linear-gradient(180deg, #111D2E 0%, #0E1625 100%);
  border: 1px solid var(--emerald);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.lifetime-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.spots-pill {
  background: var(--emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

.waves-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.wave-item {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.wave-item.active {
  border-color: var(--emerald);
}

.wave-item.locked {
  opacity: 0.6;
}

.wave-price {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 6px 0;
}

.lifetime-checkout-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.refund-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 620px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.refund-check input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--emerald);
  cursor: pointer;
}

.payment-methods {
  margin-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

details.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

details.faq-item p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* Subpages (Guide & Legal) */
.doc-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.doc-wrap h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.doc-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.doc-wrap h2 {
  font-size: 1.25rem;
  margin: 30px 0 10px;
  color: var(--text-primary);
}

.doc-wrap p, .doc-wrap li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.doc-wrap ul {
  padding-left: 20px;
}

/* Footer */
.footer {
  padding: 48px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-disclaimer {
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .waves-grid {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
