/* ============================================================
   PANDOTV — OBSIDIAN + ROYAL PURPLE + LUXURY GOLD DESIGN SYSTEM
   Identidade visual exclusiva inspirada na logo PandoTV
   ============================================================ */
:root {
  --bg: #05050a;
  --bg-2: #0b0a14;
  --card: #110f1f;
  --card-2: #171429;
  --border: rgba(168, 85, 247, 0.22);
  --border-gold: rgba(245, 158, 11, 0.35);
  --text: #f8fafc;
  --muted: #94a3b8;
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --green: #22c55e;
  --green-dark: #16a34a;
  --red: #ef4444;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
  background: radial-gradient(ellipse at top, #170a2e 0%, var(--bg) 52%);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: #c084fc; text-decoration: none; }
a:hover { color: var(--gold-light); }

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

/* Topbar */
.topbar {
  background: linear-gradient(90deg, #1b0c36, #140b24, #241608);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: #e2e8f0;
  padding: 7px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fbbf24; font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 5, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}
.brand-name { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.brand-name span { background: linear-gradient(90deg, #c084fc, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-sub { font-size: 0.72rem; color: var(--muted); display: block; }

.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: #e2e8f0; font-size: 0.9rem; font-weight: 600; transition: color 0.15s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}
.btn-gold {
  background: linear-gradient(135deg, #a855f7, #f59e0b);
  color: #fff;
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.38);
}
.btn-outline {
  background: rgba(168, 85, 247, 0.1);
  color: #e9d5ff;
  border: 1px solid var(--border);
}
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* Pills & Badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
}
.pill-gold {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fde68a;
}
.pill-green {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

/* Hero & Cards */
.hero {
  padding: 46px 0 36px;
}
.hero-box {
  background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.22), transparent 55%),
              radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.14), transparent 55%),
              var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.hero-box h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  margin: 12px 0 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero-box h1 span {
  background: linear-gradient(90deg, #c084fc, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-logo-card {
  text-align: center;
  background: rgba(5, 5, 10, 0.72);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 20px;
}
.hero-logo-card img {
  width: 100%;
  max-width: 240px;
  border-radius: 16px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card-glow {
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.12), rgba(17, 15, 31, 0.96) 55%, rgba(245, 158, 11, 0.08));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.section { padding: 28px 0; }
.section-title { font-size: 1.65rem; font-weight: 900; margin: 0 0 8px; }
.muted { color: var(--muted); }

/* Test Widget */
.tw-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin-top: 16px; }
.tw-field label, .tw-field span { display: block; font-size: 0.82rem; font-weight: 700; color: #e2e8f0; margin-bottom: 6px; }
.tw-field select, .tw-field input, .input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: #07060f;
  color: #fff;
  font-size: 0.95rem;
}
.tw-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 0.84rem; color: #cbd5e1; }

/* Pricing Tabs */
.screen-tabs { display: inline-flex; gap: 8px; background: #090812; padding: 6px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 20px; }
.screen-tab { background: transparent; color: var(--muted); border: none; padding: 9px 18px; border-radius: 9px; font-weight: 700; cursor: pointer; }
.screen-tab.active { background: linear-gradient(135deg, #a855f7, #f59e0b); color: #fff; }
.price-val { font-size: 2rem; font-weight: 900; color: var(--gold-light); margin: 10px 0; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; }
table.data-table th, table.data-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; }
table.data-table th { color: var(--gold-light); font-weight: 800; }

/* Checklists & FAQ */
.check-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.check-list li::before { content: "✔ "; color: var(--green); font-weight: 900; }
details.faq-item { background: var(--card-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
details.faq-item summary { cursor: pointer; font-weight: 800; color: #fff; list-style: none; }
details.faq-item p { margin: 10px 0 0; color: #cbd5e1; font-size: 0.94rem; }

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff !important;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.94rem;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45);
  border: 2px solid rgba(255,255,255,0.22);
}

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; z-index: 120; padding: 18px;
}
.modal-backdrop.open { display: flex; }
.modal-box { max-width: 520px; width: 100%; background: var(--card); border: 1px solid var(--border-gold); border-radius: 20px; padding: 26px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }

/* Footer */
.site-footer {
  margin-top: 52px;
  background: #07060e;
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .hero-box { grid-template-columns: 1fr; padding: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .tw-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}
