:root {
  --bg: #050810;
  --panel: #0b1020;
  --panel-2: #111827;
  --graphite: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --purple: #885cf6;
  --blue: #3b82f6;
  --danger: #ef4444;
  --warning: #facc15;
  --success: #22c55e;
  --line: rgba(229, 231, 235, .12);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 72% 8%, rgba(136, 92, 246, .2), transparent 34%),
    radial-gradient(circle at 10% 18%, rgba(59, 130, 246, .18), transparent 28%), var(--bg);
  color: var(--text);
  min-width: 320px;
}

body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .25s ease, border .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(5, 8, 16, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  height: 82px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 18px;
}
.brand-logo { width: 205px; height: auto; }
.nav-links { display: flex; justify-content: center; gap: 20px; font-size: .78rem; font-weight: 800; letter-spacing: 0; color: #cbd5e1; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none !important; }
.mobile-panel { display: none; }

.btn {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}
.btn:hover { border-color: rgba(136, 92, 246, .55); }
.btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 12px 34px rgba(136, 92, 246, .28);
}
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  align-items: center;
  gap: 52px;
  padding: 58px 0 48px;
  overflow: hidden;
}
.hero > div { min-width: 0; }
.eyebrow { color: #bfdbfe; font-weight: 900; text-transform: uppercase; font-size: .78rem; letter-spacing: 0; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
.hero h1 { margin-top: 16px; font-size: clamp(2.5rem, 4.15vw, 4.25rem); line-height: .97; font-weight: 900; max-width: 650px; }
.hero h1 span { display: block; color: #fff; }
.hero-copy { color: #cbd5e1; font-size: 1.03rem; line-height: 1.65; max-width: 520px; margin: 22px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 570px; }
.benefit, .glass {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border-radius: var(--radius);
}
.benefit { padding: 14px 16px; font-weight: 750; color: #f8fafc; }
.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; z-index: 1; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 2% 4% 12%;
  background: linear-gradient(135deg, rgba(136,92,246,.28), rgba(59,130,246,.18));
  filter: blur(52px);
  border-radius: 50%;
}
.hero-visual img { position: relative; border-radius: 8px; box-shadow: var(--shadow); }
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  border: 1px solid rgba(229,231,235,.14);
  border-radius: var(--radius);
  background: #050810;
  box-shadow: var(--shadow);
}
.hero-carousel::before,
.hero-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  z-index: 3;
  pointer-events: none;
}
.hero-carousel::before { left: 0; background: linear-gradient(90deg, #050810, transparent); }
.hero-carousel::after { right: 0; background: linear-gradient(270deg, #050810, transparent); }
.poster-rail {
  position: absolute;
  inset: 22px 0;
  display: flex;
  gap: 16px;
  width: max-content;
  animation: posterRail 34s linear infinite;
}
.rail-poster {
  width: 188px;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(229,231,235,.14);
  background: #111827;
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
}
.rail-poster:nth-child(even) { transform: translateY(22px); }
.rail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
@keyframes posterRail {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}
.hero-carousel-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(136,92,246,.96), rgba(59,130,246,.96));
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
}
.hero-dots {
  display: none;
}
.brand-logo { object-fit: contain; max-height: 72px; }
.login-card .brand-logo { width: 260px; max-height: 130px; object-fit: contain; margin-bottom: 12px; }
.sidebar .brand-logo { width: 210px; max-height: 118px; object-fit: contain; }
.android-alert {
  margin-top: -28px;
  padding: 16px 0 34px;
  color: #dbeafe;
  font-weight: 750;
}

.section { padding: 78px 0; }
.section.alt { background: rgba(11, 16, 32, .72); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.section p { color: #cbd5e1; line-height: 1.65; }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 34px;
}
.showcase-media {
  position: relative;
  min-width: 0;
}
.showcase-media img {
  border-radius: var(--radius);
  border: 1px solid rgba(229,231,235,.14);
  box-shadow: var(--shadow);
}
.showcase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.mini-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,.04);
  font-weight: 800;
}

.featured-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.poster-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(229,231,235,.14);
  border-radius: var(--radius);
  background: #080d19;
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.poster-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform .25s ease, opacity .25s ease;
}
.poster-card:hover img {
  transform: scale(1.035);
  opacity: .92;
}
.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5,8,16,.86));
  pointer-events: none;
}
.poster-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
}
.poster-meta span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  background: linear-gradient(135deg, rgba(136,92,246,.92), rgba(59,130,246,.9));
  font-size: .72rem;
  font-weight: 900;
}
.poster-meta h3 {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.2;
}
.content-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(136,92,246,.26);
  border-radius: var(--radius);
  background: rgba(136,92,246,.08);
  color: #dbeafe;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.video-card {
  border: 1px solid rgba(229,231,235,.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: #080d19;
  box-shadow: var(--shadow);
}
.video-card video,
.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(136,92,246,.28), rgba(59,130,246,.18)), #050810;
}
.video-placeholder strong {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(5,8,16,.72);
}

.grid { display: grid; gap: 18px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { margin: 0; font-size: .96rem; }

.plans { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; }
.plan.highlight {
  border-color: rgba(136,92,246,.65);
  box-shadow: 0 22px 58px rgba(136,92,246,.18);
  transform: translateY(-10px);
}
.badge { align-self: flex-start; border-radius: 999px; padding: 7px 10px; background: rgba(136,92,246,.16); color: #ddd6fe; font-size: .76rem; font-weight: 900; }
.price { font-size: 2.5rem; font-weight: 900; color: #fff; }
.android-required { color: #dbeafe; font-weight: 850; }
.compat-box { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; color: #d1d5db; }

.payment-grid { grid-template-columns: repeat(4, 1fr); }
.payment-icon { font-size: 2rem; margin-bottom: 12px; }

.steps { position: relative; grid-template-columns: repeat(4, 1fr); }
.steps::before { content: ""; position: absolute; top: 45px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, var(--purple), var(--blue)); opacity: .55; }
.step { position: relative; background: #0b1020; }
.step-number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--blue)); font-weight: 900; margin-bottom: 14px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; padding: 20px 0; background: transparent; color: #fff; border: 0; display: flex; justify-content: space-between; gap: 16px; text-align: left; cursor: pointer; font-weight: 850; }
.faq-answer { display: none; padding: 0 0 20px; color: #cbd5e1; line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }

.final-cta { background: linear-gradient(135deg, rgba(136,92,246,.95), rgba(59,130,246,.95)); padding: 54px 0; }
.final-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.final-cta p { color: #eef2ff; }
.site-footer {
  border-top: 1px solid var(--line);
  background: #050810;
  padding: 34px 0;
  color: #9ca3af;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer img {
  width: 150px;
  max-height: 72px;
  object-fit: contain;
}
.site-footer p {
  margin: 0;
  color: #cbd5e1;
  font-size: .92rem;
}

.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.72); display: none; align-items: center; justify-content: center; padding: 18px; z-index: 80; }
.modal-backdrop.active { display: flex; }
.modal { width: min(560px, 100%); max-height: min(760px, 92vh); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #0b1020; box-shadow: var(--shadow); padding: 24px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.icon-btn { width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.option-list { display: grid; gap: 10px; margin-top: 18px; }
.option { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); color: #fff; text-align: left; padding: 12px 14px; cursor: pointer; }
.option:hover { border-color: rgba(136,92,246,.6); }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 28%, #55ef7a, #18b947 62%, #0f7f33);
  border: 4px solid rgba(255,255,255,.9);
  color: #fff;
  box-shadow: 0 18px 42px rgba(34,197,94,.38), 0 0 0 10px rgba(34,197,94,.1);
  overflow: hidden;
  animation: whatsappFloat 2.8s ease-in-out infinite;
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px solid rgba(34,197,94,.28);
  animation: whatsappPulse 2.2s ease-out infinite;
}
.whatsapp-float img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.28)); }
@keyframes whatsappFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes whatsappPulse {
  0% { transform: scale(.82); opacity: .9; }
  100% { transform: scale(1.24); opacity: 0; }
}

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: #060914; }
.sidebar { border-right: 1px solid var(--line); background: #080d19; padding: 24px 18px; position: sticky; top: 0; height: 100vh; }
.sidebar .brand-logo { width: 170px; margin-bottom: 28px; }
.side-nav { display: grid; gap: 6px; }
.side-nav a { padding: 11px 12px; border-radius: var(--radius); color: #cbd5e1; font-weight: 760; }
.side-nav a.active, .side-nav a:hover { background: rgba(136,92,246,.16); color: #fff; }
.main { padding: 28px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.stat strong { display: block; font-size: 1.8rem; margin-top: 8px; color: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: rgba(255,255,255,.025); }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #cbd5e1; font-size: .82rem; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { color: #cbd5e1; font-weight: 750; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px;
  min-height: 44px;
}
.compat-box input, .compat-box select {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px;
  min-height: 44px;
}
.field textarea { min-height: 96px; resize: vertical; }
.full { grid-column: 1 / -1; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; }
.status.ATIVO { color: var(--success); }
.status.VENCENDO { color: var(--warning); }
.status.VENCIDO { color: var(--danger); }
.status.DESATIVADO { color: var(--muted); }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(430px, 100%); }
.timeline { display: grid; gap: 14px; }
.timeline-item { border-left: 2px solid var(--purple); padding-left: 16px; }
.bar-chart { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 110px 1fr 72px; gap: 10px; align-items: center; }
.bar-fill { height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--purple), var(--blue)); min-width: 4px; }

@media (max-width: 1100px) {
  .nav { grid-template-columns: 190px auto auto; }
  .nav-links { gap: 12px; font-size: .72rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .plans, .grid-5, .grid-4, .payment-grid, .featured-content { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav { height: 72px; grid-template-columns: 1fr auto; }
  .brand-logo { width: 176px; }
  .mobile-toggle { display: inline-grid !important; place-items: center; }
  .nav-links, .nav-actions { display: none; }
  .mobile-panel {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    background: rgba(5,8,16,.96);
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  body.menu-open .mobile-panel { display: grid; gap: 12px; }
  .mobile-panel a, .mobile-panel .btn { width: 100%; justify-content: center; }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
  .benefits, .plans, .grid-5, .grid-4, .grid-3, .steps, .form-grid, .payment-grid, .showcase-list { grid-template-columns: 1fr; }
  .featured-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .poster-card, .poster-card img { min-height: 260px; }
  .video-grid { grid-template-columns: 1fr; }
  .hero-carousel { aspect-ratio: 1 / 1.04; }
  .rail-poster { width: 168px; }
  .plan.highlight { transform: none; }
  .steps::before { display: none; }
  .final-cta .container, .topbar, .site-footer .container { flex-direction: column; align-items: flex-start; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .main { padding: 20px 16px; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero-actions .btn, .final-cta .btn { width: 100%; }
  .card, .modal { padding: 18px; }
  .price { font-size: 2.1rem; }
}
