/* ==============================
   RESET & BASE
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #00c6ff;
  --primary-dark: #0080ff;
  --accent: #ff6b35;
  --accent2: #00ff88;
  --dark: #070b14;
  --dark2: #0d1526;
  --dark3: #111d35;
  --card-bg: #0f1c30;
  --card-border: rgba(0, 198, 255, 0.15);
  --text: #e8f4ff;
  --text-muted: #8aa3c1;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --gradient-accent: linear-gradient(135deg, #ff6b35, #ff0099);
  --shadow: 0 20px 60px rgba(0, 198, 255, 0.15);
  --radius: 16px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ==============================
   NAVBAR
============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 198, 255, 0.12);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-icon { font-size: 24px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--white);
}
.logo-text strong { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.btn-nav {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: transform .2s, box-shadow .2s !important;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,198,255,0.4); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  padding: 20px;
  gap: 16px;
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { display: flex; }

/* ==============================
   HERO
============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 60px 60px;
  position: relative;
  overflow: hidden;
  gap: 40px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: float 8s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: var(--primary-dark); top: -100px; right: -100px; animation-delay: 0s; }
.orb2 { width: 350px; height: 350px; background: var(--accent); bottom: -50px; left: -50px; animation-delay: 2s; }
.orb3 { width: 250px; height: 250px; background: var(--primary); top: 50%; left: 40%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,198,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,198,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  animation: slideUp .8s ease-out;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,198,255,0.12);
  border: 1px solid rgba(0,198,255,0.3);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 90px);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-sub strong { color: var(--primary); font-weight: 700; }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 30px rgba(0,198,255,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,198,255,0.5); }
.btn-primary.full { width: 100%; justify-content: center; font-size: 17px; padding: 18px; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.4);
  color: #25d366;
  padding: 16px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-whatsapp:hover { background: rgba(37,211,102,0.25); transform: translateY(-3px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
  margin-top: 20px;
}
.btn-secondary:hover { background: var(--primary); color: var(--dark); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.1); }

/* Speed Card */
.hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  animation: slideUp .8s ease-out .2s both;
}
.speed-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 36px;
  min-width: 300px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.speed-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0% 90%, rgba(0,198,255,0.1) 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: spin 3s ease-in-out infinite;
  padding: 6px;
}
@keyframes spin { 0%,100%{ transform:rotate(0deg); } 50%{ transform:rotate(10deg); } }
.speed-inner {
  background: var(--dark);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.speed-num { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--primary); }
.speed-unit { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.speed-label { text-align: center; font-weight: 600; color: var(--text-muted); margin-bottom: 20px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.speed-bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.bar-row span:first-child { min-width: 60px; }
.bar-row span:last-child { min-width: 70px; text-align: right; }
.bar-bg { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--gradient); border-radius: 10px; animation: grow 2s ease-out; }
.bar-fill.ping { background: linear-gradient(90deg, var(--accent2), #00cc66); }
@keyframes grow { from { width: 0 !important; } }

/* ==============================
   SECTION HEADERS
============================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.25);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 17px; max-width: 500px; margin: 0 auto; }

/* ==============================
   PLANOS
============================== */
.planos {
  padding: 100px 0;
  background: var(--dark2);
}
.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.plano-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.plano-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,198,255,0.15);
  border-color: rgba(0,198,255,0.4);
}
.plano-card.destaque {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0,198,255,0.08) 0%, var(--card-bg) 100%);
  box-shadow: 0 0 0 1px var(--primary), 0 20px 60px rgba(0,198,255,0.2);
}
.plano-card.empresarial {
  border-color: rgba(255,107,53,0.4);
  background: linear-gradient(135deg, rgba(255,107,53,0.06) 0%, var(--card-bg) 100%);
}
.badge-popular, .badge-empresa {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 1px;
}
.badge-popular { background: var(--gradient); color: var(--white); }
.badge-empresa { background: var(--gradient-accent); color: var(--white); }

.plano-header { text-align: center; margin-bottom: 20px; }
.plano-icon { font-size: 36px; margin-bottom: 8px; }
.plano-header h3 { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; color: var(--white); margin-bottom: 4px; }
.plano-speed { font-family: var(--font-display); font-size: 48px; color: var(--primary); line-height: 1; }
.plano-speed span { font-size: 22px; }

.plano-price { text-align: center; margin-bottom: 24px; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); padding: 16px 0; }
.price-from { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.price-main { font-family: var(--font-display); font-size: 54px; line-height: 1.1; color: var(--white); }
.currency { font-size: 24px; vertical-align: top; margin-top: 10px; display: inline-block; }
.cents { font-size: 28px; }
.price-per { font-size: 14px; color: var(--text-muted); }

.plano-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plano-features li { font-size: 14px; color: var(--text-muted); }
.plano-features li:first-child, .plano-features li:nth-child(2) { color: var(--text); font-weight: 500; }

.btn-plano {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: all .25s;
}
.btn-plano:hover { background: var(--primary); color: var(--dark); transform: translateY(-2px); }
.btn-plano.destaque { background: var(--gradient); border-color: transparent; color: var(--white); box-shadow: 0 8px 25px rgba(0,198,255,0.4); }
.btn-plano.destaque:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0,198,255,0.55); }
.btn-plano.empresarial { border-color: var(--accent); color: var(--accent); }
.btn-plano.empresarial:hover { background: var(--accent); color: var(--white); }

/* ==============================
   VANTAGENS
============================== */
.vantagens {
  padding: 100px 0;
  background: var(--dark);
}
.vantagens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.vantagem-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s, border-color .3s;
}
.vantagem-item:hover { transform: translateY(-5px); border-color: rgba(0,198,255,0.35); }
.vantagem-icon { font-size: 40px; margin-bottom: 16px; }
.vantagem-item h4 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.vantagem-item p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ==============================
   COBERTURA
============================== */
.cobertura {
  padding: 100px 0;
  background: var(--dark2);
}
.cobertura-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.cobertura-text { flex: 1; }
.cobertura-text h2 { font-family: var(--font-display); font-size: clamp(36px,4vw,52px); margin: 16px 0; }
.cobertura-text p { color: var(--text-muted); margin-bottom: 28px; font-size: 16px; }

.cobertura-check {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cobertura-check input {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,198,255,0.2);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.cobertura-check input:focus { border-color: var(--primary); }
.cobertura-check button {
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform .2s, box-shadow .2s;
}
.cobertura-check button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,198,255,0.4); }

#coberturaResult {
  font-size: 14px;
  padding: 10px 0;
  font-weight: 600;
  min-height: 24px;
}

.cobertura-image {
  flex-shrink: 0;
  width: 350px;
  height: 350px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin { font-size: 48px; z-index: 2; }
.pulse-ring {
  position: absolute;
  border: 2px solid var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 3s ease-out infinite;
}
.pulse-ring:nth-child(2) { width: 80px; height: 80px; }
.pulse-ring.delay1 { width: 140px; height: 140px; animation-delay: 1s; }
.pulse-ring.delay2 { width: 200px; height: 200px; animation-delay: 2s; }
@keyframes pulse { 0%{ opacity: .7; transform: scale(0.8); } 100%{ opacity: 0; transform: scale(1); } }

/* ==============================
   BOLETO
============================== */
.boleto-section {
  padding: 100px 0;
  background: var(--dark);
}
.boleto-box {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.form-group input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,198,255,0.2);
  color: var(--text);
  padding: 16px 20px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: 2px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,198,255,0.15);
}
.form-group input::placeholder { color: rgba(255,255,255,0.2); letter-spacing: 2px; }

.boleto-result { margin-top: 24px; }
.boleto-item {
  background: rgba(0,198,255,0.05);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
  transition: border-color .2s;
}
.boleto-item:hover { border-color: rgba(0,198,255,0.4); }
.boleto-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.boleto-ref { font-weight: 700; font-size: 15px; color: var(--white); }
.boleto-status {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.status-pending { background: rgba(255,200,0,0.15); color: #ffc800; border: 1px solid rgba(255,200,0,0.3); }
.status-paid { background: rgba(0,255,136,0.1); color: var(--accent2); border: 1px solid rgba(0,255,136,0.3); }
.status-overdue { background: rgba(255,60,60,0.1); color: #ff4444; border: 1px solid rgba(255,60,60,0.3); }
.boleto-info { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.boleto-valor { font-family: var(--font-display); font-size: 28px; color: var(--primary); }
.btn-copiar, .btn-baixar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: transform .2s;
  margin-right: 8px;
}
.btn-copiar { background: rgba(0,198,255,0.15); color: var(--primary); border: 1px solid rgba(0,198,255,0.3); }
.btn-copiar:hover { background: rgba(0,198,255,0.25); transform: scale(1.03); }
.btn-baixar { background: var(--gradient); color: var(--white); }
.btn-baixar:hover { transform: scale(1.03); }

.boleto-empty, .boleto-error, .boleto-loading {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
}
.boleto-empty span, .boleto-error span { font-size: 48px; display: block; margin-bottom: 12px; }
.boleto-error { color: #ff6b6b; }

/* ==============================
   CONTATO
============================== */
.contato {
  padding: 100px 0;
  background: var(--dark2);
}
.contato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.contato-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  text-decoration: none;
  transition: transform .3s, border-color .3s;
  color: var(--text);
}
.contato-card:hover { transform: translateY(-5px); border-color: rgba(0,198,255,0.4); }
.contato-icon { font-size: 44px; margin-bottom: 14px; display: block; }
.contato-icon.whatsapp { color: #25d366; display: flex; justify-content: center; }
.contato-card h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.contato-card p { color: var(--text-muted); font-size: 14px; }

/* ==============================
   FOOTER
============================== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(0,198,255,0.1);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.footer-links h5 { color: var(--white); font-weight: 700; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ==============================
   WHATSAPP FLOAT
============================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes bounce { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1024px) {
  .hero { padding: 100px 30px 60px; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { padding: 90px 20px 60px; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .cobertura-inner { flex-direction: column; }
  .cobertura-image { width: 260px; height: 260px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .boleto-box { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .planos-grid, .vantagens-grid, .contato-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 48px; }
}
