/* SignalBoost — dark modern theme */

:root {
  --bg: #0A0F1E;
  --card: #0D1428;
  --card-border: #1B2545;
  --text: #EDEFF7;
  --muted: #9AA3C0;
  --violet: #7C5CFF;
  --cyan: #22D3EE;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.2; }

h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 700; text-align: center; margin-bottom: .5rem; }

.grad {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { width: min(1120px, 92%); margin: 0 auto; }
.container.narrow { width: min(780px, 92%); }

.section { padding: 4.5rem 0; }
.section-alt { background: rgba(13, 20, 40, .55); }
.sub { text-align: center; color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(90deg, var(--violet), #5B8DEF);
  color: #fff;
  box-shadow: 0 6px 24px rgba(124, 92, 255, .35);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(124, 92, 255, .5); }
.btn-whatsapp { background: var(--wa); color: #062814; }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { display: block; width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 30, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; }
.logo em { font-style: normal; background: linear-gradient(90deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-icon { width: 30px; height: 30px; }
.main-nav { display: flex; gap: 1.4rem; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -60px, rgba(124, 92, 255, .22), transparent 70%);
  pointer-events: none;
}
.hero .sub { margin: 1rem auto 2rem; max-width: 620px; }
.check-form {
  display: flex;
  gap: .6rem;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.check-form input {
  flex: 1;
  padding: .95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
  outline: none;
}
.check-form input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 92, 255, .25); }
.trust-badges {
  display: flex; justify-content: center; align-items: center;
  gap: .8rem; flex-wrap: wrap;
  margin-top: 1.6rem; color: var(--muted); font-size: .9rem; font-weight: 500;
}
.trust-badges .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

/* Loading / error */
.loading { margin: 2.5rem auto 0; max-width: 420px; color: var(--muted); }
.loading small { color: var(--muted); }
.spinner {
  width: 42px; height: 42px; margin: 0 auto 1rem;
  border: 4px solid var(--card-border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-box {
  margin: 2rem auto 0; max-width: 520px;
  background: rgba(239, 68, 68, .1);
  border: 1px solid rgba(239, 68, 68, .4);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: #FCA5A5;
}
.link-btn { background: none; border: none; color: var(--cyan); font: inherit; cursor: pointer; text-decoration: underline; }

/* Results */
.results { margin-top: 2.5rem; }
.total-card {
  background: linear-gradient(135deg, rgba(124, 92, 255, .18), rgba(34, 211, 238, .12));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  max-width: 420px;
  margin: 0 auto 1.8rem;
}
.total-label { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.total-number { display: block; font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 800; background: linear-gradient(90deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.total-url { display: block; color: var(--muted); font-size: .8rem; word-break: break-all; margin-top: .4rem; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  max-width: 880px;
  margin: 0 auto;
}
.platform-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  text-align: left;
}
.platform-icon {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem;
  color: #fff;
}
.platform-meta { display: flex; flex-direction: column; min-width: 0; }
.platform-name { font-weight: 600; font-size: .95rem; }
.platform-count { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.platform-count.na { color: #5B6584; }

/* Pricing */
.pricing-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.price-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(135deg, var(--violet), var(--cyan)) border-box;
  box-shadow: 0 12px 40px rgba(124, 92, 255, .18);
}
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  padding: .35rem .9rem; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.signals { font-family: 'Poppins', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--cyan); }
.signals span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.tagline { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.pkg-list { list-style: none; margin-bottom: 1.5rem; font-size: .92rem; color: var(--muted); }
.pkg-list li { padding: .28rem 0; border-bottom: 1px dashed rgba(27, 37, 69, .9); display: flex; justify-content: space-between; gap: .6rem; }
.pkg-list li strong { color: var(--text); font-weight: 600; }
.price { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 1.2rem; }
.price span { display: block; font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 500; color: var(--muted); }
.price-card .btn { margin-top: auto; }

/* Custom builder */
.builder-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2rem;
  max-width: 880px;
  margin: 0 auto;
}
.builder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.builder-field { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.builder-field input {
  padding: .7rem .9rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  width: 100%;
}
.builder-field input:focus { border-color: var(--violet); outline: none; }
.builder-footer { margin-top: 1.8rem; text-align: center; }
.builder-total { font-size: 1.15rem; }
.builder-total strong { color: var(--cyan); font-variant-numeric: tabular-nums; }
.builder-note { color: var(--muted); font-size: .9rem; margin: .4rem 0 1.2rem; }

/* Steps */
.steps-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; max-width: 420px; margin: 2.5rem auto 0; }
.step-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff;
  margin-bottom: 1rem;
}
.step-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.step-card p { color: var(--muted); font-size: .94rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .8rem; margin-top: 2rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--cyan); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--card-border); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: .5rem; max-width: 300px; }
.footer-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--card-border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .85rem; }
.fine-print { font-size: .78rem; }

/* Responsive */
@media (min-width: 640px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .builder-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 960px) {
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
  .builder-grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); max-width: none; align-items: stretch; }
  .price-card.featured { transform: scale(1.04); }
}
@media (max-width: 560px) {
  .check-form { flex-direction: column; }
  .check-form .btn { width: 100%; }
  .main-nav { display: none; }
}
