/* ============================================================
   SolveCaptcha — Estilos globais
   Paleta baseada na logo: azul navy, cyan, verde checkmark
   ============================================================ */
:root {
  --bg:       #060b14;
  --surface:  #0c1524;
  --card:     #111d32;
  --border:   #1c2e4a;
  --primary:  #0d6ebd;
  --primary2: #38a3f5;
  --accent:   #29b6f6;
  --green:    #43a047;
  --red:      #f87171;
  --text:     #e2e8f0;
  --muted:    #8a9bb5;
  --code-bg:  #080f1a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--primary2); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

/* ---- Layout ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { color: var(--muted); margin-top: 12px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- Nav ---- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,11,20,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: var(--text);
  text-decoration: none;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--primary); color: #fff !important;
  padding: 8px 18px; border-radius: 8px; font-size: .9rem;
  transition: background .2s, transform .1s;
}
.btn-nav:hover { background: var(--primary2); transform: translateY(-1px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff; box-shadow: 0 4px 24px rgba(13,110,189,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(13,110,189,.5); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary2); color: var(--primary2); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-whatsapp {
  background: #25d366; color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { background: #1fba57; transform: translateY(-2px); color: #fff; }

/* ---- Hero ---- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(13,110,189,.2) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,110,189,.12); border: 1px solid rgba(13,110,189,.3);
  color: var(--primary2); padding: 6px 14px; border-radius: 100px;
  font-size: .85rem; font-weight: 500; margin-bottom: 28px;
}
.hero-badge span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { max-width: 780px; margin: 0 auto 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--primary2), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--muted); font-size: 1.2rem; max-width: 560px; margin: 0 auto 40px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-code {
  margin-top: 64px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
  text-align: left;
}
.hero-code-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #0a1220;
  border-bottom: 1px solid var(--border);
}
.hero-code-header span { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.code-label { margin-left: auto; color: var(--muted); font-size: .8rem; }
pre { padding: 24px; overflow-x: auto; font-size: .88rem; line-height: 1.7; }
code { font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace; }
.c-comment { color: #546e7a; }
.c-keyword { color: #ff7b72; }
.c-string { color: #80cbc4; }
.c-func { color: #82b1ff; }
.c-num { color: #29b6f6; }
.c-ok { color: var(--green); }

/* ---- Stats ---- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px; margin: 64px auto 0; max-width: 900px;
}
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px; text-align: center;
}
.stat-value { font-size: 2.2rem; font-weight: 800; color: var(--primary2); line-height: 1; }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* ---- Features ---- */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(13,110,189,.15); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .95rem; }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px; max-width: 950px; margin: 0 auto;
}
.plan-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.plan-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.plan-card.popular {
  border-color: var(--primary);
  background: linear-gradient(160deg, #0d1e38 0%, var(--card) 100%);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  padding: 4px 14px; border-radius: 100px; font-size: .8rem; font-weight: 600;
  white-space: nowrap;
}
.plan-name { font-size: 1.1rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.plan-price { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.plan-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 6px; }
.plan-credits { color: var(--muted); font-size: .9rem; margin: 8px 0 4px; }
.plan-per { color: var(--green); font-size: .85rem; font-weight: 500; margin-bottom: 28px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 20px; }
.plan-features { list-style: none; flex: 1; margin-bottom: 28px; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: .92rem; padding: 6px 0;
}
.plan-features li::before { content: "\2713"; color: var(--green); font-weight: 700; }
.plan-btn { text-align: center; }
.plan-btn .btn { width: 100%; justify-content: center; }

/* ---- Quickstart ---- */
.tabs { display: flex; gap: 4px; margin-bottom: -1px; }
.tab {
  padding: 9px 18px; border-radius: 8px 8px 0 0;
  border: 1px solid transparent; cursor: pointer;
  font-size: .9rem; color: var(--muted);
  background: transparent; transition: all .15s;
}
.tab.active { background: var(--code-bg); border-color: var(--border); border-bottom-color: var(--code-bg); color: var(--text); }
.code-block {
  background: var(--code-bg); border: 1px solid var(--border);
  border-radius: 0 12px 12px 12px; overflow: hidden; position: relative;
}
.code-block pre { padding: 28px; }
.copy-btn {
  position: absolute; top: 12px; right: 12px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); padding: 6px 12px; border-radius: 6px;
  font-size: .8rem; cursor: pointer; transition: all .2s;
}
.copy-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ---- Tab Group ---- */
.tab-group { max-width: 700px; margin: 0 auto; }

/* ---- Specs table ---- */
.specs-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.specs-table th, .specs-table td {
  padding: 14px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.specs-table th { color: var(--muted); font-weight: 500; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.specs-table tr:hover td { background: rgba(13,110,189,.04); }
.specs-table td:first-child { color: var(--muted); }
.badge-green { color: var(--green); }
.badge-red { color: var(--red); }
.badge-yellow { color: #fbbf24; }

/* ---- CTA ---- */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(13,110,189,.12) 0%, transparent 70%);
  padding: 100px 0;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--muted); font-size: 1.1rem; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-primary { color: var(--primary2); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.chip {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: .78rem; font-weight: 500; background: rgba(13,110,189,.12);
  color: var(--primary2); border: 1px solid rgba(13,110,189,.25);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .hero { padding: 60px 0 48px; }
  .section { padding: 56px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
