/* ==========================================================================
   Zuxo.tv — Mobile-First Stylesheet
   Palette: Deep Emerald Dark (#050a08) + Neon Emerald (#10b981 / #00e676)
   ========================================================================== */

:root {
  --bg: #050a08;
  --bg-2: #08120d;
  --surface: #0d1813;
  --surface-2: #12231b;
  --surface-glass: rgba(13, 24, 19, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --txt: #f3f7f5;
  --muted: #a2b3aa;
  --dim: #7b8c83;
  --em: #10b981;
  --em-hi: #34d399;
  --em-neon: #00e676;
  --em-ink: #03150e;
  --em-soft: rgba(16, 185, 129, 0.14);
  --em-line: rgba(16, 185, 129, 0.38);
  --amber: #f5a524;
  --danger: #ef4444;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --gut: 1rem;
  --hdr: 64px;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 0 28px rgba(16, 185, 129, 0.25);
}

@media (min-width: 768px) {
  :root {
    --gut: 2rem;
    --hdr: 72px;
  }
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(16, 185, 129, 0.14), transparent 36%),
    radial-gradient(circle at 85% 24%, rgba(0, 230, 118, 0.08), transparent 34%),
    radial-gradient(rgba(16, 185, 129, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  color: var(--txt);
  font-family: 'Plus Jakarta Sans', 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 76px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--em-hi);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ==========================================================================
   Header & Navigation (Mobile-First)
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--hdr);
  background: rgba(5, 10, 8, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.hdr-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.brand-logo .play-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--em-neon), var(--em));
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.55);
  margin: 0 1px;
}

.brand-logo .play-o svg {
  width: 0.52em;
  height: 0.52em;
  fill: var(--em-ink);
  margin-left: 2px;
}

.brand-logo .dot-tv {
  font-size: 0.82em;
  color: var(--txt);
  letter-spacing: 0.01em;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}

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

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt);
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--hdr);
  left: 0;
  right: 0;
  background: rgba(5, 10, 8, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-2);
  padding: 1rem var(--gut) 1.5rem;
  z-index: 55;
  flex-direction: column;
  gap: 0.35rem;
  animation: slideDown 0.2s ease;
}

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

.mobile-drawer a {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--txt);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.mobile-drawer a:hover {
  border-color: var(--em-line);
  background: var(--em-soft);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 1rem 1.65rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--em-neon), var(--em));
  color: var(--em-ink);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 230, 118, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt);
  border: 1px solid var(--line-2);
}

.btn-outline:hover {
  border-color: var(--em);
  background: var(--em-soft);
  color: #fff;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--em-soft);
  border: 1px solid var(--em-line);
  color: var(--em-hi);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--em-neon);
  box-shadow: 0 0 10px var(--em-neon);
  animation: pulseDot 1.8s infinite;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 2.25rem 0 2.5rem;
  overflow: hidden;
}

@media (min-width: 960px) {
  .hero {
    padding: 4rem 0 3.5rem;
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--em);
  top: -80px;
  left: -80px;
  animation: floatSlow 9s ease-in-out infinite;
}

.hero-orb-2 {
  width: 260px;
  height: 260px;
  background: var(--em-neon);
  bottom: -60px;
  right: -60px;
  animation: floatSlow 11s ease-in-out infinite reverse;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

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

.hero h1 {
  font-size: clamp(2rem, 6.2vw, 3.35rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--em-neon), var(--em-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(0.98rem, 2.5vw, 1.12rem);
  color: var(--muted);
  max-width: 560px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--txt);
}

.hero-chip svg {
  width: 15px;
  height: 15px;
  color: var(--em-neon);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 520px) {
  .hero-ctas {
    flex-direction: row;
    width: auto;
  }
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--em-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), var(--shadow-glow);
  animation: floatCard 6s ease-in-out infinite;
}

.hero-frame img {
  width: 100%;
  display: block;
}

.float-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  background: rgba(5, 12, 9, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--em-line);
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.float-tag-top {
  top: 12px;
  right: 12px;
  animation: floatTag 4.5s ease-in-out infinite;
}

.float-tag-bottom {
  bottom: 12px;
  left: 12px;
  animation: floatTag 5.2s ease-in-out infinite reverse;
}

/* ==========================================================================
   Stats Strip (Image 8 numbers + 3 Telas)
   ========================================================================== */
.stats-strip {
  margin-top: 2rem;
  border-radius: var(--radius);
  background: var(--surface-glass);
  border: 1px solid var(--line-2);
  padding: 1.25rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 2rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.stat-num {
  font-size: clamp(1.5rem, 4.5vw, 2.15rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-num.accent {
  color: var(--em-neon);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

/* ==========================================================================
   Animated Marquee
   ========================================================================== */
.marquee-wrap {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 185, 129, 0.04);
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.75rem;
  animation: marquee 28s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--em);
}

/* ==========================================================================
   Sports Channels Moving Marquee (Between Catalog & App Showcase)
   ========================================================================== */
.sports-marquee-sec {
  padding: 0.75rem 0 2.75rem;
  overflow: hidden;
}

.sports-marquee-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.sports-marquee-head h3 {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.sports-marquee-head span.sub-note {
  font-size: 0.82rem;
  color: var(--em-hi);
  font-weight: 700;
}

.sports-marquee-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  padding: 0.35rem 0;
}

.sports-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 38s linear infinite;
}

.sports-marquee-viewport:hover .sports-marquee-track {
  animation-play-state: paused;
}

.sport-ch-card {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(16, 30, 23, 0.94), rgba(7, 14, 11, 0.96));
  border: 1px solid var(--line-2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

@media (min-width: 768px) {
  .sport-ch-card {
    width: 310px;
  }
}

.sport-ch-card:hover {
  transform: translateY(-4px);
  border-color: var(--em-line);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48), 0 0 20px rgba(16, 185, 129, 0.16);
}

.sport-ch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.sport-ch-logo {
  height: 36px;
  display: flex;
  align-items: center;
}

.sport-ch-logo svg {
  height: 32px;
  width: auto;
  display: block;
}

.sport-ch-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--em-soft);
  color: var(--em-hi);
  border: 1px solid rgba(16, 185, 129, 0.28);
  white-space: nowrap;
}

.sport-ch-tag.ppv {
  background: rgba(245, 165, 36, 0.14);
  color: var(--amber);
  border-color: rgba(245, 165, 36, 0.35);
}

.sport-ch-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.48;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.sec {
  padding: 3.5rem 0;
}

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

.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.sec-head h2 {
  font-size: clamp(1.65rem, 4.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.sec-head p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   Catalog Grid (Image 1 — 6 Cards)
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

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

@media (min-width: 960px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.cat-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 28, 22, 0.95), rgba(8, 16, 12, 0.98));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--em-line);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(16, 185, 129, 0.16);
}

.cat-img {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #0a1410;
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cat-card:hover .cat-img img {
  transform: scale(1.06);
}

.cat-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 16, 12, 0.85) 0%, transparent 45%);
}

.cat-body {
  padding: 1.15rem 1.2rem 1.35rem;
  text-align: center;
}

.cat-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}

.cat-body p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ==========================================================================
   App Showcase Section (Images 6 & 9)
   ========================================================================== */
.app-showcase {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 28, 21, 0.92), rgba(6, 13, 10, 0.96));
  border: 1px solid var(--em-line);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .app-showcase {
    padding: 2.5rem;
  }
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .app-showcase-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
  }
}

.app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.app-tab {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

.app-tab.active,
.app-tab:hover {
  color: var(--em-ink);
  background: var(--em-neon);
  border-color: var(--em-neon);
}

.app-feature-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.app-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.app-feature-list li strong {
  color: #fff;
}

.app-feature-list .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--em-soft);
  color: var(--em-neon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 900;
}

.app-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #040907;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.app-stage img {
  width: 100%;
  display: none;
  animation: fadeIn 0.35s ease;
}

.app-stage img.active {
  display: block;
}

/* ==========================================================================
   Devices Download Grid (Image 7)
   ========================================================================== */
.dev-group-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--em-hi);
  margin: 1.75rem 0 0.85rem;
}

.dev-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

@media (min-width: 960px) {
  .dev-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.85rem;
  }
}

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

@media (min-width: 960px) {
  .dev-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .dev-pair .dev-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dev-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 1.1rem 0.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.dev-card:hover {
  transform: translateY(-4px);
  border-color: var(--em-line);
  background: var(--surface-2);
}

.dev-icon {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.dev-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.dev-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.dev-sub {
  font-size: 0.74rem;
  color: var(--dim);
  margin-top: -0.35rem;
}

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: var(--em-soft);
  color: var(--em-hi);
  font-size: 0.73rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   Pricing Section (Image 8 + 3 Telas Simultâneas)
   ========================================================================== */
.pricing-box {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 25, 19, 0.96), rgba(7, 13, 10, 0.98));
  border: 1px solid var(--em-line);
  padding: 1.5rem 1.1rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), var(--shadow-glow);
}

@media (min-width: 768px) {
  .pricing-box {
    padding: 2.5rem;
  }
}

.screens-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.16), rgba(0, 230, 118, 0.08));
  border: 1px solid var(--em-line);
  margin-bottom: 1.5rem;
  text-align: center;
}

.screens-banner strong {
  color: var(--em-neon);
}

.plan-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-card.plan-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .plan-card.plan-wide {
    grid-column: 1 / -1;
  }
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  background: rgba(5, 10, 8, 0.8);
  border: 1.5px solid var(--line-2);
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.plan-card:hover {
  border-color: var(--em-hi);
  background: rgba(16, 185, 129, 0.06);
}

.plan-card.selected {
  border-color: var(--em-neon);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.16), rgba(5, 14, 10, 0.92));
  box-shadow: 0 0 0 1px var(--em-neon), 0 12px 28px rgba(0, 230, 118, 0.16);
}

.plan-card.plan-wide {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.plan-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.plan-card.plan-wide .plan-top {
  width: auto;
  gap: 1rem;
}

.plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.plan-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.plan-card.selected .plan-radio {
  border-color: var(--em-neon);
}

.plan-card.selected .plan-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--em-neon);
}

.plan-price {
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.plan-meta {
  font-size: 0.78rem;
  color: var(--em-hi);
  font-weight: 700;
}

.plan-ribbon {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--em-neon);
  color: var(--em-ink);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-summary {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .plan-summary {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.plan-perks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

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

.plan-perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.plan-perks li span {
  color: var(--em-neon);
  font-weight: 900;
}

.plan-cta-box {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
  text-align: center;
}

.pix-note {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Testimonials Carousel (Image 2)
   ========================================================================== */
.rating-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 1rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  font-weight: 700;
}

.verified-badge svg {
  width: 16px;
  height: 16px;
  fill: #38bdf8;
}

.testi-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
}

.testi-viewport::-webkit-scrollbar {
  display: none;
}

.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 1rem;
}

@media (min-width: 640px) {
  .testi-track {
    grid-auto-columns: calc(50% - 0.5rem);
  }
}

@media (min-width: 960px) {
  .testi-track {
    grid-auto-columns: calc(33.333% - 0.7rem);
  }
}

.testi-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card);
}

.testi-quote {
  font-size: 0.93rem;
  color: var(--txt);
  line-height: 1.6;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--em), #065f46);
  border: 2px solid var(--em-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
}

.testi-role {
  font-size: 0.76rem;
  color: var(--dim);
}

.testi-progress {
  width: 140px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  margin: 1.25rem auto 0;
  overflow: hidden;
}

.testi-progress-bar {
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: var(--em-neon);
  transition: transform 0.25s ease;
}

/* ==========================================================================
   FAQ Accordion (Image 3)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 26, 20, 0.95), rgba(9, 17, 13, 0.95));
  border: 1px solid var(--line-2);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--em-line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  color: #fff;
}

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

.faq-chev {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--em-hi);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chev {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.9rem;
}

/* ==========================================================================
   Final CTA & Footer
   ========================================================================== */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.4rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 230, 118, 0.22), transparent 65%),
    var(--surface);
  border: 1px solid var(--em-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
}

.cta-banner p {
  color: var(--muted);
  max-width: 560px;
}

.ftr {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.5rem;
  background: rgba(3, 7, 5, 0.9);
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .ftr-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.ftr h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--em-hi);
  margin-bottom: 0.75rem;
}

.ftr ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ftr a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.18s ease;
}

.ftr a:hover {
  color: var(--em-neon);
}

.ftr-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--dim);
}

@media (min-width: 768px) {
  .ftr-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   Sticky Mobile Bottom Bar
   ========================================================================== */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.65rem 1rem;
  background: rgba(5, 10, 8, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--em-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.28s ease;
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
}

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

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mobile-sticky-info strong {
  font-size: 0.9rem;
  color: #fff;
}

.mobile-sticky-info span {
  font-size: 0.73rem;
  color: var(--em-hi);
}

/* ==========================================================================
   Modal (Device Instructions)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 6, 4, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--em-line);
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.modal-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  padding-right: 2rem;
}

.modal-box p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.code-card {
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--em-line);
  text-align: center;
}

.code-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.code-card strong {
  font-size: 1.35rem;
  color: var(--em-neon);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Legal Pages (Termos & Privacidade)
   ========================================================================== */
.legal-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 2.5rem var(--gut) 4rem;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .legal-card {
    padding: 2.75rem;
  }
}

.legal-card h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.84rem;
  color: var(--em-hi);
  font-weight: 700;
  margin-bottom: 1.75rem;
  display: block;
}

.legal-card h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  margin: 1.75rem 0 0.6rem;
}

.legal-card p,
.legal-card li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-card ul {
  padding-left: 1.25rem;
  margin-bottom: 0.9rem;
}

/* ==========================================================================
   Scroll Reveal & Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

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

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

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -18px) scale(1.06); }
}

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

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

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