/* ==========================================================================
   PulseStream IPTV - Cinematic Noir Theme
   ========================================================================== */

:root {
  --bg-main: #0e0e10;
  --bg-surface: #131315;
  --bg-card: #1c1b1d;
  --bg-card-high: #2a2a2c;
  --bg-card-highest: #353437;
  
  --primary: #e50914;
  --primary-hover: #b91c1c;
  --primary-light: #ffb4aa;
  
  --text-main: #e5e1e4;
  --text-muted: #a09ea1;
  --text-dim: #737275;
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-highlight: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(229, 9, 20, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

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

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

/* Ambient glow backgrounds */
.ambient-glow-top {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.18) 0%, rgba(164, 2, 23, 0.05) 45%, transparent 72%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-side {
  position: absolute;
  top: 45%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(164, 2, 23, 0.08) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

/* Navigation Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-high);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.25);
}

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

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

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.45);
}

.btn-secondary {
  background: var(--bg-card-high);
  color: var(--text-main);
  border: 1px solid var(--border-highlight);
}

.btn-secondary:hover {
  background: var(--bg-card-highest);
  color: #ffffff;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  padding: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 90px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: blur(2.5px) brightness(0.85);
  opacity: 0.75;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.85) 0%, rgba(14, 14, 16, 0.55) 50%, rgba(14, 14, 16, 0.95) 100%);
}

.hero-bg-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 25%, #0e0e10 88%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-highlight);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero h1 .highlight {
  color: var(--primary);
  text-shadow: 0 0 24px rgba(229, 9, 20, 0.6);
}

.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: #d4d1d6;
  max-width: 660px;
  margin-bottom: 34px;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 460px;
  margin-bottom: 28px;
}

.btn-cta-prominent {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  font-size: 17px;
  font-weight: 800;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e50914 0%, #ff2b38 50%, #b30310 100%);
  color: #ffffff;
  box-shadow: 0 0 35px rgba(229, 9, 20, 0.65), 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-cta-prominent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 55px rgba(229, 9, 20, 0.9), 0 12px 32px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, #ff2b38 0%, #e50914 100%);
}

.cta-pulse-icon {
  font-size: 26px;
  animation: pulse-icon 2s infinite ease-in-out;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.hero-subhint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.ping-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  background: rgba(18, 18, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 16px rgba(16, 185, 129, 0.18);
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
}

.hero-trust .trust-item {
  color: #10b981;
}

.hero-trust .trust-item .check {
  color: #10b981;
}

.hero-trust .trust-sep {
  color: rgba(16, 185, 129, 0.4);
}

/* Section Common */
.section {
  padding: 60px 0;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: center;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 40px auto;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card.active {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 35px rgba(16, 185, 129, 0.12), 0 8px 32px rgba(0, 0, 0, 0.6);
}

.pricing-card.active:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.18), 0 10px 36px rgba(0, 0, 0, 0.7);
}

.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
}

.plan-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(6, 78, 59, 0.7);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0;
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-period {
  font-size: 14px;
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 16px 0 20px 0;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
}

.feature-icon {
  color: #10b981;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Locked card blur & overlay */
.pricing-card.locked {
  overflow: hidden;
}

.locked-content {
  filter: blur(2.5px);
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: rgba(14, 14, 16, 0.60);
  backdrop-filter: blur(1.5px);
  z-index: 10;
}

.lock-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card-highest);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.lock-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lock-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 210px;
  margin-bottom: 12px;
}

.lock-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--bg-card-high);
  color: var(--text-muted);
}

/* Guarantee strip */
.guarantee-bar {
  margin-top: 28px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: rgba(32, 31, 33, 0.65);
  backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 500;
}

.guarantee-item .material-symbols-outlined {
  color: var(--primary);
  font-size: 18px;
}

/* Catalog Showcase */
.catalog-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .catalog-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.catalog-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.posters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

@media (min-width: 1024px) {
  .posters-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.poster-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card-high);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.poster-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 9, 20, 0.25);
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.poster-card:hover img {
  transform: scale(1.08);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-high);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 12px;
}

.metric-num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.metric-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.step-num {
  font-size: 38px;
  font-weight: 900;
  color: rgba(229, 9, 20, 0.2);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Devices Section */
.devices-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border-subtle);
}

.devices-header {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .devices-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.device-item {
  background: rgba(42, 42, 44, 0.5);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.device-item:hover {
  transform: translateY(-2px);
  background: rgba(42, 42, 44, 0.8);
}

.device-icon {
  color: var(--primary);
  font-size: 28px;
}

.device-name {
  font-size: 14px;
  font-weight: 600;
}

.device-sub {
  font-size: 12px;
  color: var(--text-muted);
}

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

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

.faq-card.open {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question:hover {
  color: #ffffff;
}

.faq-icon-lead {
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
}

.faq-chevron {
  color: var(--text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-card.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px 0 54px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-card.open .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

/* FAQ Support Banner */
.support-banner {
  max-width: 840px;
  margin: 40px auto 0 auto;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: rgba(42, 42, 44, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .support-banner {
    flex-direction: row;
  }
}

.support-info {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (min-width: 640px) {
  .support-info {
    text-align: left;
  }
}

.support-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6, 78, 59, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  flex-shrink: 0;
}

.support-icon svg {
  width: 24px;
  height: 24px;
  fill: #25D366;
}

.support-title {
  font-size: 17px;
  font-weight: 700;
}

.support-desc {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 14, 16, 0.9);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-links a.whatsapp {
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  /* Generous padding for all sections on mobile */
  .section {
    padding: 85px 0;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 95px;
  }

  /* Header mobile adjustments: only red button Comprar Agora */
  .header-actions .btn-secondary {
    display: none;
  }

  .header-actions .btn-primary .btn-text-desktop {
    display: none;
  }

  .header-actions .btn-primary .btn-text-mobile {
    display: inline;
    font-weight: 700;
  }
}

@media (min-width: 769px) {
  .header-actions .btn-primary .btn-text-mobile {
    display: none;
  }
}
