:root {
  --bg: #0f172a;
  --panel: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent-dk: #4f46e5;
  --good: #22c55e;
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.nav { background: rgba(15,23,42,0.9); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(148,163,184,0.12); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
.brand::after { content: "."; color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: transform .1s, box-shadow .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(99,102,241,0.25); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.hero { padding: 80px 0 60px; text-align: center; }
.hero-inner { max-width: 760px; margin: 0 auto; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(99,102,241,0.12); color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.1; letter-spacing: -1.5px; margin: 0 0 20px; }
.hl { color: var(--accent); }
.lede { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.hero-note { color: var(--muted); font-size: 14px; }

.tools { padding: 60px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: 32px; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tool-card { background: var(--panel); border: 1px solid rgba(148,163,184,0.1); border-radius: 18px; padding: 26px; transition: transform .15s, border-color .2s, box-shadow .2s; display: flex; flex-direction: column; }
.tool-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(0,0,0,0.25); }
.tool-icon { font-size: 30px; margin-bottom: 14px; }
.tool-card h3 { margin: 0 0 8px; font-size: 20px; }
.tool-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; flex: 1; }
.tool-link { font-weight: 700; color: var(--accent); font-size: 14px; }
.tool-card:hover .tool-link { color: #fff; }

.cta { padding: 80px 0; text-align: center; }
.cta-inner { max-width: 560px; margin: 0 auto; background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(79,70,229,0.08)); border: 1px solid rgba(99,102,241,0.2); border-radius: 24px; padding: 48px 32px; }
.cta h2 { margin: 0 0 10px; font-size: 28px; }
.cta p { color: var(--muted); margin: 0 0 24px; }
.email-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.email-form input[type="email"] { padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(148,163,184,0.25); background: rgba(15,23,42,0.6); color: var(--text); font-size: 15px; min-width: 260px; outline: none; }
.email-form input[type="email"]:focus { border-color: var(--accent); }
.form-fine { color: var(--muted); font-size: 13px; margin-top: 14px; }

.footer { border-top: 1px solid rgba(148,163,184,0.1); padding: 36px 0; text-align: center; }
.footer-sub { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.footer-fine { color: var(--muted); font-size: 12px; opacity: 0.7; margin: 0; }

@media (max-width: 520px) {
  .hero { padding: 50px 0 40px; }
  .cta-inner { padding: 32px 22px; }
  .email-form input[type="email"] { width: 100%; }
}
