/* ==========================================================================
   CLASH CHARTS - LANDING PAGE
   Fixed navigation, frosted glass, ambient glow and real app recordings
   inside device frames. Mobile-first responsive.
   ========================================================================== */

:root {
  --bg-primary: #030712;
  --bg-secondary: #080E1E;
  --bg-surface: rgba(13, 22, 40, 0.6);
  --bg-surface-hi: rgba(20, 32, 58, 0.8);
  --bg-card: rgba(10, 17, 32, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);

  --accent-gold: #F59E0B;
  --accent-gold-hi: #FBBF24;
  --accent-gold-glow: rgba(245, 158, 11, 0.35);

  --accent-cyan: #06B6D4;
  --accent-cyan-hi: #38BDF8;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);

  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);

  --accent-violet: #8B5CF6;
  --accent-violet-glow: rgba(139, 92, 246, 0.35);

  --accent-red: #EF4444;

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --frame-bg: linear-gradient(160deg, #1E293B 0%, #0B1120 60%, #111827 100%);
  --frame-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.9);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--accent-gold-hi);
  background: rgba(245, 158, 11, 0.1);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ==========================================================================
   ATMOSPHERIC LIGHTING
   ========================================================================== */
.bg-ambience {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #0c162d 0%, #030712 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
}

.orb-gold {
  width: 500px;
  height: 500px;
  background: var(--accent-gold);
  top: -100px;
  right: -50px;
}

.orb-cyan {
  width: 550px;
  height: 550px;
  background: var(--accent-cyan);
  top: 35%;
  left: -150px;
}

.orb-purple {
  width: 450px;
  height: 450px;
  background: var(--accent-violet);
  bottom: 10%;
  right: -100px;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
}

/* ==========================================================================
   HEADER FIXO
   ========================================================================== */
.gta-nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.gta-nav-fixed.scrolled {
  background: rgba(3, 7, 18, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.brand-accent {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #FFFFFF;
}

.nav-links a.active {
  color: #FFFFFF;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--p, var(--accent-gold));
}

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

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  color: #050811;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
}

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

.btn-nav-glass {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.btn-nav-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Language Selector Dropdown */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-code {
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.lang-arrow {
  font-size: 0.68rem;
  color: var(--accent-gold);
  transition: transform 0.2s ease;
}

.lang-selector.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 145px;
  background: rgba(8, 14, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1200;
}

.lang-selector.open .lang-menu {
  display: flex;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.lang-item.active {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  font-weight: 800;
}

.item-flag {
  font-size: 1.1rem;
}

.item-name {
  white-space: nowrap;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.gta-hero {
  position: relative;
  z-index: 10;
  padding: 130px 24px 60px 24px;
}

.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.live-pulse {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulseDot 2s infinite ease-in-out;
}

.live-pulse.red {
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

/* The highlight is long now: it has to wrap like text, keeping the period on the same line. */
.hero-title .text-gradient-gold {
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  color: #050811;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  border-radius: 14px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-label-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 1px;
  opacity: 0.8;
  font-weight: 700;
}

.btn-label-main {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 900;
}

/* Hero phone + floating labels */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-media .phone {
  width: min(310px, 76vw);
}

.hero-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(8, 14, 28, 0.88);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  z-index: 6;
  animation: floatY 6s ease-in-out infinite;
}

.float-a {
  top: 18%;
  left: -4%;
}

.float-b {
  bottom: 16%;
  right: -4%;
  animation-delay: -3s;
}

.float-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-green { background: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }
.dot-gold { background: var(--accent-gold); box-shadow: 0 0 8px var(--accent-gold); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   PERSONA COLORS (player, leader, streamer)
   ========================================================================== */
.persona-player {
  --p: var(--accent-emerald);
  --p-hi: #34D399;
  --p-ink: #03140D;
  --p-glow: var(--accent-emerald-glow);
  --p-soft: rgba(16, 185, 129, 0.12);
  --p-line: rgba(16, 185, 129, 0.38);
}

.persona-leader {
  --p: var(--accent-gold);
  --p-hi: var(--accent-gold-hi);
  --p-ink: #050811;
  --p-glow: var(--accent-gold-glow);
  --p-soft: rgba(245, 158, 11, 0.12);
  --p-line: rgba(245, 158, 11, 0.38);
}

.persona-ai {
  --p: var(--accent-cyan);
  --p-hi: #67E8F9;
  --p-ink: #021318;
  --p-glow: var(--accent-cyan-glow);
  --p-soft: rgba(6, 182, 212, 0.12);
  --p-line: rgba(6, 182, 212, 0.4);
}

.persona-streamer {
  --p: var(--accent-red);
  --p-hi: #F87171;
  --p-ink: #FFFFFF;
  --p-glow: rgba(239, 68, 68, 0.32);
  --p-soft: rgba(239, 68, 68, 0.12);
  --p-line: rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   TAG SEARCH (hero and persona CTAs)
   ========================================================================== */
.tag-search {
  width: 100%;
}

.hero-search {
  max-width: 560px;
  margin-bottom: 22px;
}

.tag-kind {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
}

.kind-btn {
  padding: 7px 18px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.kind-btn:hover {
  color: #FFFFFF;
}

.kind-btn.active {
  background: rgba(245, 158, 11, 0.16);
  color: var(--accent-gold-hi);
}

.kind-btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.tag-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  border-radius: 16px;
  background: rgba(8, 14, 28, 0.78);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tag-field:focus-within {
  border-color: var(--p-line, rgba(245, 158, 11, 0.6));
  box-shadow: 0 0 0 4px var(--p-soft, rgba(245, 158, 11, 0.12)), 0 12px 30px rgba(0, 0, 0, 0.45);
}

.tag-hash {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--p-hi, var(--accent-gold));
}

.tag-input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: none;
  outline: none;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tag-input::placeholder {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.tag-go {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  color: #050811;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}

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

.tag-go:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.tag-go-arrow {
  transition: transform 0.2s ease;
}

.tag-go:hover .tag-go-arrow {
  transform: translateX(3px);
}

/* Inside a persona section the button takes that persona's color. */
.persona-section .tag-go {
  background: var(--p);
  color: var(--p-ink);
  box-shadow: 0 6px 20px var(--p-glow);
}

.tag-hint {
  min-height: 1.4em;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.tag-hint.is-error {
  color: #F87171;
  font-weight: 600;
}

/* ==========================================================================
   PERSONA PICKER (hero)
   ========================================================================== */
.persona-picker {
  max-width: 1180px;
  margin: 64px auto 0 auto;
}

.persona-picker-label {
  margin-bottom: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
}

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

.persona-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 20px 22px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: inherit;
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.persona-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p) 0%, transparent 85%);
}

.persona-card:hover,
.persona-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--p-line);
  box-shadow: 0 18px 40px -14px var(--p-glow);
}

.persona-card:focus-visible {
  outline: 2px solid var(--p);
  outline-offset: 3px;
}

.persona-card.active {
  border-color: var(--p-line);
  background: linear-gradient(160deg, var(--p-soft) 0%, var(--bg-card) 65%);
}

.persona-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.persona-card-icon,
.persona-icon,
.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--p-soft);
  border: 1px solid var(--p-line);
  color: var(--p-hi);
}

.persona-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.persona-card-icon svg {
  width: 22px;
  height: 22px;
}

.persona-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--p-hi);
}

.persona-card-title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF;
}

.persona-card-items {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.persona-card-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--p-hi);
}

.persona-card-go .arrow {
  transition: transform 0.2s ease;
}

.persona-card:hover .persona-card-go .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   PERSONA BAR (mobile navigation between personas)
   ========================================================================== */
.persona-bar {
  display: none;
}

.pb-link {
  flex: 1;
  max-width: 150px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pb-link.active {
  color: var(--p-hi);
  background: var(--p-soft);
  border-color: var(--p-line);
}

/* ==========================================================================
   DEVICE FRAMES (VIDEO)
   ========================================================================== */
.device {
  position: relative;
  z-index: 2;
  background: var(--frame-bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--frame-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.device:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 4px;
}

.device video {
  display: block;
  width: 100%;
  height: auto;
  background: #05080F;
}

.phone {
  width: min(290px, 72vw);
  padding: 9px;
  border-radius: 38px;
}

.phone video {
  aspect-ratio: 392 / 810;
  border-radius: 30px;
}

.phone-sm {
  width: min(230px, 62vw);
  padding: 7px;
  border-radius: 32px;
}

.phone-sm video {
  border-radius: 26px;
}

.tablet {
  width: 100%;
  padding: 11px;
  border-radius: 24px;
}

.tablet video {
  aspect-ratio: 848 / 472;
  border-radius: 14px;
}

/* Sits on the frame corner so it never covers the app's own buttons. */
.expand-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s ease;
  pointer-events: none;
}

.device:hover .expand-btn,
.device:focus-visible .expand-btn {
  opacity: 1;
  transform: scale(1);
  background: var(--accent-gold);
  color: #050811;
}

@media (hover: none) {
  .expand-btn {
    opacity: 0.85;
    transform: scale(1);
  }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.gta-section {
  position: relative;
  z-index: 10;
  padding: 90px 24px;
}

.gta-section-dark {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  background: rgba(4, 9, 20, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-container-narrow {
  max-width: 820px;
  margin: 0 auto;
}

.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: none;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  backdrop-filter: blur(16px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  color: #050811;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FEATURE CHAPTERS
   ========================================================================== */
.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  scroll-margin-top: 80px;
}

.chapter + .chapter {
  border-top: 1px solid var(--border-subtle);
}

.chapter-wide {
  grid-template-columns: 0.8fr 1.2fr;
}

.chapter.reverse .chapter-copy {
  order: 2;
}

.chapter.reverse.chapter-wide {
  grid-template-columns: 1.2fr 0.8fr;
}

.chapter-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.chapter-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.chapter-media::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, var(--glow, var(--accent-gold-glow)) 0%, transparent 68%);
  filter: blur(40px);
  pointer-events: none;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.tag-gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-violet {
  background: rgba(139, 92, 246, 0.14);
  color: #A78BFA;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.tag-red {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.card-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.card-bullets li strong {
  color: #FFFFFF;
}

.card-bullets li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 900;
}

/* Tablet + phone composition (live wars) */
.duo-stage {
  position: relative;
  width: 100%;
  padding-bottom: 30%;
}

.duo-stage .tablet {
  width: 86%;
}

.duo-stage .phone-overlap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 29%;
  padding: 5px;
  border-radius: 24px;
  z-index: 3;
}

.duo-stage .phone-overlap video {
  border-radius: 20px;
}

.duo-stage .phone-overlap .expand-btn {
  top: -10px;
  right: -6px;
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

/* ==========================================================================
   PERSONA SECTIONS
   ========================================================================== */
.persona-section {
  --glow: var(--p-glow);
  position: relative;
  z-index: 10;
  padding: 96px 24px 80px 24px;
  scroll-margin-top: 72px;
}

/* Thin colored line and a soft glow open each track. */
.persona-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(900px, 100%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, var(--p-line) 50%, transparent 100%);
}

.persona-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 760px;
  max-width: 100%;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, var(--p-soft) 0%, transparent 70%);
  pointer-events: none;
}

.persona-head {
  max-width: 760px;
  margin: 0 auto 16px auto;
  text-align: center;
}

.persona-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 18px;
  box-shadow: 0 0 40px -6px var(--p-glow);
}

.persona-icon svg {
  width: 28px;
  height: 28px;
}

.persona-head .section-eyebrow {
  display: block;
  color: var(--p-hi);
}

.tag-p {
  background: var(--p-soft);
  color: var(--p-hi);
  border: 1px solid var(--p-line);
}

.persona-section .card-bullets li::before {
  color: var(--p);
}

/* Smaller extras that don't need a video of their own. */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.mini-card {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-card:hover {
  transform: translateY(-3px);
  border-color: var(--p-line);
}

.mini-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
}

.mini-icon svg {
  width: 20px;
  height: 20px;
}

.mini-card h4 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.mini-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Closing call to action of each track. */
/* minmax(0, …): the tag input's intrinsic width must not widen the columns on small screens. */
.persona-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  margin-top: 56px;
  padding: 32px 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--p-line);
  background: linear-gradient(135deg, var(--p-soft) 0%, rgba(8, 14, 26, 0.9) 55%);
  box-shadow: 0 25px 60px -24px var(--p-glow);
}

.persona-cta-copy h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 900;
  line-height: 1.2;
}

.persona-cta-copy p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.persona-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.persona-streamer .btn-primary-cta {
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

/* For everyone: sub-headings between steps, advantages and settings. */
.base-subhead {
  margin: 72px 0 28px 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pair-card {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px;
  backdrop-filter: blur(16px);
}

.pair-card .phone-sm {
  flex-shrink: 0;
  width: min(200px, 44%);
}

.pair-copy h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pair-copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   QUAD FEATURES (VANTAGENS)
   ========================================================================== */
.features-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.quad-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quad-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.quad-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.quad-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.quad-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.gta-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compact-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s ease;
}

.compact-faq-item.open {
  border-color: rgba(245, 158, 11, 0.4);
}

.compact-faq-q {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  user-select: none;
}

.compact-faq-q:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: -2px;
}

.faq-text {
  flex: 1;
}

.faq-who {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--p-soft);
  border: 1px solid var(--p-line);
  color: var(--p-hi);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.compact-faq-arrow {
  color: var(--accent-gold);
  font-size: 0.78rem;
  transition: transform 0.25s ease;
}

.compact-faq-item.open .compact-faq-arrow {
  transform: rotate(180deg);
}

.compact-faq-a {
  padding: 0 22px 20px 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.compact-faq-a strong {
  color: #FFFFFF;
}

.compact-faq-item.open .compact-faq-a {
  display: block;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.gta-cta-banner {
  position: relative;
  z-index: 10;
  padding: 80px 24px 100px 24px;
}

.cta-banner-container {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(20, 28, 48, 0.8) 0%, rgba(8, 14, 26, 0.95) 100%);
  padding: 60px 30px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px -10px var(--accent-gold-glow);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  max-width: 100%;
  height: 250px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 34px;
}

.cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  color: #050811;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.gta-footer {
  position: relative;
  z-index: 10;
  padding: 40px 24px;
  border-top: 1px solid var(--border-subtle);
  background: #02050D;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 600px;
}

/* ==========================================================================
   AI ASSISTANT + ABOUT THE DEVELOPER
   ========================================================================== */
.ai-req {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.about-section {
  scroll-margin-top: 72px;
}

.about-card {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 65%);
  opacity: 0.55;
  pointer-events: none;
}

.about-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.about-avatar {
  width: 132px;
  height: 132px;
  margin-bottom: 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 900;
  color: #1A1200;
  background: linear-gradient(160deg, var(--accent-gold-hi) 0%, var(--accent-gold) 55%, #B45309 100%);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.16), 0 18px 40px -12px var(--accent-gold-glow);
}

.about-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.about-role {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-highlight);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.about-link:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.08);
}

.about-copy {
  position: relative;
}

.about-copy .section-heading {
  margin-bottom: 18px;
}

.about-copy p {
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.about-stats strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent-gold-hi);
}

.about-stats span {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.footer-made {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-made a {
  color: var(--accent-gold);
  font-weight: 700;
  text-decoration: none;
}

.footer-made a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .about-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 22px;
  }
}

@media (max-width: 520px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-avatar {
    width: 108px;
    height: 108px;
    font-size: 3rem;
  }
}

/* ==========================================================================
   LIGHTBOX (VIDEO)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 16px 24px 16px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content video {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  background: #05080F;
}

.lightbox-content video.is-phone {
  height: 82vh;
  width: auto;
}

.lightbox-content video.is-tablet {
  width: 100%;
  height: auto;
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--accent-gold);
  color: #000;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .features-quad-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .gta-nav-fixed {
    height: 62px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .brand-text {
    font-size: 1.15rem;
  }

  .btn-nav-primary {
    height: 36px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .btn-nav-glass {
    height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .gta-hero {
    padding: 96px 16px 40px 16px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group,
  .hero-trust-row {
    justify-content: center;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 5px 14px;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }

  /* One column: copy, then the persona choice, then the video. */
  .gta-hero {
    display: flex;
    flex-direction: column;
  }

  .hero-container {
    display: contents;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .persona-picker {
    order: 2;
    width: 100%;
    margin-top: 44px;
  }

  .hero-media {
    order: 3;
    margin-top: 48px;
  }

  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-search .tag-hint {
    text-align: center;
  }

  .persona-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .persona-card {
    padding: 18px 18px 16px 18px;
    text-align: left;
  }

  .persona-bar {
    display: flex;
    justify-content: center;
    gap: 6px;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    z-index: 990;
    padding: 8px 12px;
    background: rgba(3, 7, 18, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  body.past-hero .persona-bar {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .persona-section {
    padding: 72px 16px 56px 16px;
    scroll-margin-top: 116px;
  }

  .chapter {
    scroll-margin-top: 116px;
  }

  .mini-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 36px;
  }

  .persona-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 26px 22px;
  }

  .persona-cta-buttons {
    flex-direction: column;
  }

  .base-subhead {
    margin-top: 56px;
  }

  .gta-section {
    padding: 64px 16px;
  }

  .gta-section-dark {
    padding: 64px 16px;
  }

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

  .chapter,
  .chapter-wide,
  .chapter.reverse.chapter-wide {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0;
  }

  .chapter.reverse .chapter-copy {
    order: 0;
  }

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

  .cta-buttons-row {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary-cta, .btn-secondary-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .btn-nav-glass {
    display: none !important;
  }

  .nav-container {
    padding: 0 12px;
  }

  .brand {
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .brand-text {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .btn-nav-primary {
    height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .lang-btn {
    height: 36px;
    padding: 0 8px;
    font-size: 0.8rem;
    gap: 4px;
    flex-shrink: 0;
  }

  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    gap: 8px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-primary, .btn-hero-glass {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-row {
    gap: 8px 14px;
  }

  .trust-pill {
    font-size: 0.8rem;
  }

  .hero-float {
    font-size: 0.74rem;
    padding: 7px 10px;
  }

  .float-a { left: 0; }
  .float-b { right: 0; }

  .tag-go {
    height: 44px;
    padding: 0 16px;
  }

  .kind-btn {
    padding: 7px 14px;
  }

  .pair-card {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }

  .pair-card .phone-sm {
    width: min(220px, 70%);
  }

  .lightbox-content video.is-phone {
    height: auto;
    max-height: 80vh;
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .features-quad-grid {
    grid-template-columns: 1fr;
  }

  .quad-card {
    padding: 22px 18px;
  }
}

@media (max-width: 380px) {
  .nav-container {
    padding: 0 8px;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .btn-nav-primary {
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .lang-btn {
    padding: 0 6px;
    font-size: 0.74rem;
  }

  .tag-field {
    padding-left: 12px;
  }

  .tag-go-arrow {
    display: none;
  }

  .pb-link {
    padding: 6px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .live-pulse,
  .hero-float {
    animation: none;
  }

  .device,
  .device:hover,
  .persona-card,
  .persona-card:hover,
  .mini-card,
  .mini-card:hover,
  .tag-go,
  .tag-go:hover,
  .persona-bar {
    transition: none;
    transform: none;
  }
}
