/* ============================================
   BitTivi - Design DNA from cbxsaopaulostreetpower.com.br
   Dark-Neon: #050505 bg, #7000ff purple accent, #f2ff00 yellow
   Fonts: Inter (body), Teko (headings)
   ============================================ */

:root {
  --bt-purple: #7000ff;
  --bt-purple-hover: #8a2fff;
  --bt-yellow: #f2ff00;
  --bg-asphalt: #050505;
  --bg-panel: #0f0f0f;
  --bg-card: #111111;
  --text-main: #e0e0e0;
  --text-muted: #aaa;
  --text-secondary: #888;
  --border-color: #222;
  --border-neon: 1px solid rgba(112, 0, 255, 0.2);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Teko', sans-serif;
  --radius: 4px;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-asphalt);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s, background 0.3s; }
ul, ol { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 0.5px;
}
h1 { font-size: 3.5rem; margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin-bottom: 20px; }
h3 { font-size: 1.6rem; margin-bottom: 12px; }
p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 16px; color: var(--text-muted); }
strong { color: #fff; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: #080808;
  border-bottom: var(--border-neon);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 30px;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.logo span { color: var(--bt-purple); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(112, 0, 255, 0.1);
  color: #fff;
}
.nav-cta {
  background: var(--bt-purple) !important;
  color: #fff !important;
  font-family: var(--font-heading) !important;
  font-size: 1.1rem !important;
  padding: 8px 20px !important;
  transform: skewX(-8deg);
  display: inline-block;
}
.nav-cta span { display: inline-block; transform: skewX(8deg); }

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
.nav-dropdown { display: none; }
.nav-dropdown a { display: block; padding: 8px 14px; color: var(--text-secondary); font-size: 0.9rem; }
.nav-dropdown a:hover { color: #fff; background: rgba(112,0,255,0.1); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #080808;
    border-bottom: var(--border-neon);
    padding: 20px;
    z-index: 999;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #080808 0%, var(--bg-asphalt) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(112,0,255,0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero h1 { font-size: 4rem; position: relative; z-index: 1; }
.hero h1 .accent { color: var(--bt-purple); }
.hero h1 .highlight { color: var(--bt-yellow); }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; position: relative; z-index: 1; }

/* ===== STATS BAR ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 40px 0;
  background: var(--bg-panel);
  border-top: var(--border-neon);
  border-bottom: var(--border-neon);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--bt-yellow);
  display: block;
}
.stat-label { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 600px) {
  .stats-bar { flex-wrap: wrap; gap: 20px; }
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-panel); }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  color: var(--bt-yellow);
  border-left: 4px solid var(--bt-purple);
  padding-left: 15px;
  display: inline-block;
}
.section-header p { max-width: 600px; margin: 10px auto 0; }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius);
  transition: 0.3s;
  position: relative;
}
.card:hover {
  border-color: var(--bt-purple);
  transform: translateY(-5px);
}
.card-icon {
  font-size: 2.5rem;
  color: var(--bt-purple);
  margin-bottom: 15px;
}
.card h3 { margin-bottom: 10px; }
.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  padding: 2px 10px;
  background: var(--border-color);
  color: var(--text-secondary);
}
.card.featured { border: 1px solid var(--bt-yellow); }
.card.featured .card-badge { background: var(--bt-yellow); color: #000; }

.card-tags { display: flex; gap: 8px; margin-top: 15px; flex-wrap: wrap; }
.tag {
  font-size: 0.7rem;
  background: #1a1a1a;
  padding: 3px 8px;
  color: var(--text-secondary);
  border-radius: 3px;
  text-transform: uppercase;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 35px 25px;
  text-align: center;
  border-radius: var(--radius);
  transition: 0.3s;
  position: relative;
}
.pricing-card:hover { border-color: var(--bt-purple); transform: translateY(-5px); }
.pricing-card.popular { border-color: var(--bt-yellow); }
.pricing-card.popular::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bt-yellow);
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  padding: 2px 14px;
}
.pricing-card h3 { font-size: 1.8rem; margin-bottom: 5px; }
.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--bt-yellow);
  margin: 15px 0;
}
.pricing-card .price small { font-size: 1rem; color: var(--text-secondary); }
.pricing-card ul { margin: 20px 0; text-align: left; }
.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}
.pricing-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--bt-purple);
  font-weight: 700;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s;
  text-align: center;
  border-radius: var(--radius);
}
.btn-primary {
  background: var(--bt-purple);
  color: #fff;
  transform: skewX(-8deg);
}
.btn-primary span { display: inline-block; transform: skewX(8deg); }
.btn-primary:hover { background: var(--bt-purple-hover); }
.btn-secondary {
  background: transparent;
  color: var(--bt-yellow);
  border: 1px solid var(--bt-yellow);
}
.btn-secondary:hover { background: var(--bt-yellow); color: #000; }
.btn-full { width: 100%; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #0a0a0a;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
  transition: border 0.3s;
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bt-purple);
  outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-trust {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-message { padding: 12px; margin-top: 12px; border-radius: var(--radius); font-size: 0.95rem; }
.form-message--success { background: rgba(0,200,0,0.1); color: #4ade80; border: 1px solid rgba(0,200,0,0.2); }
.form-message--error { background: rgba(200,0,0,0.1); color: #f87171; border: 1px solid rgba(200,0,0,0.2); }
.honeypot { position: absolute; left: -9999px; }

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: var(--radius);
  border-left: 4px solid var(--bt-purple);
}
.testimonial p { font-style: italic; margin-bottom: 12px; }
.testimonial .author { color: var(--bt-yellow); font-family: var(--font-heading); font-size: 1.1rem; }
.testimonial .location { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
  border-radius: var(--radius);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--bt-purple); transition: 0.3s; }
.faq-item.open .faq-question::after { content: '-'; }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ===== CHANNEL CATEGORIES ===== */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.channel-cat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  text-align: center;
  border-radius: var(--radius);
  transition: 0.3s;
}
.channel-cat:hover { border-color: var(--bt-purple); }
.channel-cat .cat-icon { font-size: 2rem; margin-bottom: 8px; }
.channel-cat h3 { font-size: 1.1rem; margin-bottom: 4px; }
.channel-cat .count { color: var(--bt-yellow); font-family: var(--font-heading); font-size: 1.3rem; }

/* ===== DIAGNOSTIC / STEP BOXES ===== */
.diag-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  margin-bottom: 20px;
  border-left: 4px solid var(--text-secondary);
  border-radius: var(--radius);
}
.diag-box.critical { border-left-color: #ff3e3e; }
.diag-box.warning { border-left-color: var(--bt-yellow); }
.diag-box.info { border-left-color: var(--bt-purple); }
.diag-box h3 { margin-bottom: 12px; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bt-purple);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}

/* ===== DNS TABLE ===== */
.dns-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.dns-table th, .dns-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.dns-table th {
  background: rgba(112,0,255,0.1);
  color: var(--bt-yellow);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
}
.dns-table td { color: var(--text-muted); font-family: monospace; }

/* ===== FOOTER ===== */
.site-footer {
  background: #080808;
  border-top: var(--border-neon);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--bt-yellow);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  padding: 4px 0;
  font-size: 0.9rem;
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.85rem; color: var(--text-secondary); }
.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breadcrumb a { color: var(--bt-purple); }
.breadcrumb a:hover { color: var(--bt-yellow); }

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #080808 0%, var(--bg-asphalt) 100%);
  text-align: center;
}
.page-header h1 { margin-bottom: 10px; }
.page-header p { max-width: 600px; margin: 0 auto; }

/* ===== LEGAL PAGES ===== */
.legal-content { padding: 60px 0; }
.legal-content h2 {
  color: var(--bt-yellow);
  border-left: 4px solid var(--bt-purple);
  padding-left: 15px;
  margin-top: 40px;
}
.legal-content h3 { margin-top: 25px; color: var(--text-main); }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { color: var(--text-muted); padding: 4px 0; list-style: disc; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.legal-content table th, .legal-content table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  text-align: left;
}
.legal-content table th { background: rgba(112,0,255,0.1); color: var(--bt-yellow); }
.legal-content table td { color: var(--text-muted); }

/* ===== SETUP GUIDE ===== */
.guide-content { padding: 60px 0; }
.guide-content h2 {
  color: var(--bt-yellow);
  border-left: 4px solid var(--bt-purple);
  padding-left: 15px;
  margin-top: 40px;
  margin-bottom: 20px;
}
.guide-content h3 { margin-top: 25px; color: var(--text-main); }
.guide-content p { color: var(--text-muted); }
.guide-content ol { padding-left: 20px; margin-bottom: 16px; }
.guide-content ol li { color: var(--text-muted); padding: 6px 0; list-style: decimal; }
.guide-content ul { padding-left: 20px; margin-bottom: 16px; }
.guide-content ul li { color: var(--text-muted); padding: 4px 0; list-style: disc; }

/* ===== RESELLER TIERS ===== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: var(--radius);
  text-align: center;
}
.tier-card h3 { color: var(--bt-yellow); }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
