* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #06080f;
  color: #e2e8f0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Stars background */
.stars-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,.2), transparent),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 15% 85%, rgba(99,179,237,.6), transparent),
    radial-gradient(1.5px 1.5px at 85% 15%, rgba(168,85,247,.6), transparent),
    radial-gradient(1px 1px at 45% 75%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 65% 50%, rgba(255,255,255,.2), transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { 0% { opacity: .6; } 100% { opacity: 1; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAVBAR */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,8,15,.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.logo-icon { font-size: 26px; color: #60a5fa; }
.logo-text { color: #f1f5f9; }
.logo-highlight { color: #60a5fa; background: linear-gradient(135deg, #60a5fa, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a { color: #94a3b8; transition: color .2s; }
.nav-links a:hover { color: #f1f5f9; }
.btn-nav {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; transition: transform .2s, box-shadow .2s;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(59,130,246,.4); color: #fff; }
.hamburger { display: none; background: none; border: none; color: #e2e8f0; font-size: 24px; cursor: pointer; }

/* HERO */
.hero {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px 40px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  min-height: 80vh;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,179,237,.1); border: 1px solid rgba(99,179,237,.2);
  color: #60a5fa; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 20px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #60a5fa;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.5); } }
.hero h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.05;
  letter-spacing: -.03em; margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, #60a5fa, #a855f7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 24px; color: #94a3b8; margin-bottom: 16px; font-weight: 600; }
.hero-desc { color: #64748b; font-size: 16px; max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat { text-align: center; padding: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; }
.stat strong { display: block; font-size: 28px; color: #f1f5f9; }
.stat span { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: .08em; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff;
  padding: 16px 32px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: none; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,.4); }
.btn-lg { padding: 18px 36px; font-size: 18px; }
.btn-full { width: 100%; }
.hero-preco-parcela { color: #64748b; font-size: 13px; margin-top: 12px; }

/* CODE CARD */
.code-card {
  background: #0d1117; border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.code-header {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  background: #161b22; border-bottom: 1px solid rgba(255,255,255,.06);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.code-filename { margin-left: auto; font-size: 12px; color: #64748b; font-family: 'JetBrains Mono', monospace; }
.code-body { padding: 24px; overflow-x: auto; }
.code-body code { font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1.8; }
.code-body .kw { color: #ff7b72; }
.code-body .fn { color: #d2a8ff; }
.code-body .str { color: #a5d6ff; }

/* FLOAT CARD */
.hero-float-card {
  position: absolute; bottom: -20px; right: -20px;
  background: linear-gradient(135deg, rgba(99,179,237,.15), rgba(168,85,247,.15));
  border: 1px solid rgba(99,179,237,.2); border-radius: 16px;
  padding: 20px 24px; backdrop-filter: blur(10px);
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  margin-bottom: 8px;
}
.float-text { font-size: 13px; font-weight: 600; color: #e2e8f0; }

/* COUNTDOWN */
.countdown-section {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(59,130,246,.05));
  padding: 40px 24px; text-align: center;
}
.countdown-inner { max-width: 500px; margin: 0 auto; }
.countdown-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #64748b; font-weight: 700; margin-bottom: 16px; }
.countdown-timer { display: flex; justify-content: center; gap: 16px; }
.cd-box {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 20px; min-width: 80px; text-align: center;
}
.cd-box strong { display: block; font-size: 42px; color: #f1f5f9; font-family: 'JetBrains Mono', monospace; }
.cd-box span { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: .08em; }

/* SECTION BASE */
.section-container { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p { color: #64748b; font-size: 17px; max-width: 520px; }

/* MÓDULOS */
.modulos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modulo-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; padding: 32px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.modulo-card:hover { transform: translateY(-4px); border-color: rgba(99,179,237,.2); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.modulo-num { font-size: 12px; color: #60a5fa; font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; }
.modulo-icon { font-size: 32px; color: #a855f7; margin-bottom: 16px; }
.modulo-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #f1f5f9; }
.modulo-card p { color: #64748b; font-size: 14px; line-height: 1.6; }

/* DEPOIMENTOS */
.depoimentos {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(168,85,247,.03));
  padding: 80px 24px;
}
.depoimentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.depoimento-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.depoimento-stars { color: #fbbf24; font-size: 14px; display: flex; gap: 2px; }
.depoimento-card p { color: #cbd5e1; font-size: 14px; line-height: 1.7; font-style: italic; flex: 1; }
.depoimento-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 16px;
}
.depoimento-author strong { display: block; font-size: 14px; color: #f1f5f9; }
.depoimento-author span { font-size: 12px; color: #64748b; }

/* COMPRA */
.compra { position: relative; z-index: 1; padding: 80px 24px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.offer-left h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.offer-desc { color: #64748b; font-size: 16px; margin-bottom: 24px; }
.offer-price { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.price-old { font-size: 20px; color: #64748b; text-decoration: line-through; }
.price-new { font-size: 48px; font-weight: 900; background: linear-gradient(135deg, #3b82f6, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.price-parcela { color: #64748b; font-size: 14px; margin-bottom: 24px; }
.offer-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.feature { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #cbd5e1; }
.feature i { color: #22c55e; font-size: 16px; }
.form-input {
  width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: #e2e8f0; font-size: 15px; margin-bottom: 12px;
  outline: none; transition: border-color .2s; font-family: inherit;
}
.form-input:focus { border-color: #3b82f6; }
.form-input::placeholder { color: #475569; }
#compraMsg { margin-top: 12px; font-size: 14px; }

.offer-right { display: flex; justify-content: center; }
.offer-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(99,179,237,.15);
  border-radius: 24px; padding: 32px; text-align: center; max-width: 360px;
  position: relative; overflow: hidden;
}
.offer-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}
.offer-card-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251,191,36,.1); color: #fbbf24;
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 20px;
}
.offer-card-price { font-size: 56px; font-weight: 900; color: #f1f5f9; margin-bottom: 8px; }
.offer-card-original { font-size: 18px; color: #64748b; text-decoration: line-through; margin-bottom: 8px; }
.offer-card-save { display: inline-block; background: rgba(34,197,94,.1); color: #22c55e; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 24px; }
.offer-card-list { list-style: none; text-align: left; margin-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.offer-card-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #cbd5e1; }
.offer-card-list li i { color: #22c55e; }
.offer-card-privacy { font-size: 12px; color: #64748b; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* FOOTER */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.06); padding: 48px 24px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: #f1f5f9; }
.footer-col a { display: block; color: #64748b; font-size: 14px; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: #94a3b8; }
.footer-col p { color: #64748b; font-size: 14px; line-height: 1.6; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; color: #94a3b8; font-size: 16px; transition: all .2s;
}
.social-links a:hover { background: rgba(255,255,255,.08); color: #f1f5f9; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px; color: #475569;
}
.footer-bottom a { color: #60a5fa; }

/* TOAST */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(100px);
  background: #1e293b; color: #e2e8f0; border: 1px solid rgba(99,179,237,.2);
  padding: 14px 24px; border-radius: 999px; box-shadow: 0 12px 40px rgba(0,0,0,.4);
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px;
  z-index: 100; transition: transform .4s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast i { color: #22c55e; font-size: 18px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .modulos-grid { grid-template-columns: repeat(2, 1fr); }
  .depoimentos-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 24px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .modulos-grid, .depoimentos-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-features { grid-template-columns: 1fr; }
  .countdown-timer { gap: 8px; }
  .cd-box { min-width: 60px; padding: 14px; }
  .cd-box strong { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-new { font-size: 36px; }
}

/* NAV MOBILE */
body.nav-open { overflow: hidden; }
.nav-open .nav-links {
  display: flex; flex-direction: column; position: fixed;
  top: 0; right: 0; bottom: 0; width: 280px;
  background: rgba(6,8,15,.98); backdrop-filter: blur(20px);
  padding: 80px 24px 24px; gap: 24px; z-index: 60;
}
.nav-open .nav-links a { font-size: 18px; }
.nav-open .hamburger { position: fixed; top: 20px; right: 20px; z-index: 61; }
.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 55;
}
.nav-open .nav-overlay { display: block; }
