:root {
  --primary: #1a56db;
  --primary-dark: #1e3a8a;
  --primary-light: #dbeafe;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --success: #10b981;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --max-w: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.5px;
}
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-light); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--text); }

/* HERO */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: .3px;
}

/* CTA FORM */
.cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.cta-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  outline: none;
  transition: border-color .2s;
}
.cta-form input[type="email"]:focus { border-color: var(--primary); }
.cta-form input[type="email"]::placeholder { color: #9ca3af; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--text); }
.btn--accent:hover { background: #d97706; color: #fff; }
.cta-hint {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
}
.cta-success {
  display: none;
  color: var(--success);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 12px;
}

/* FEATURES */
.features {
  padding: 80px 24px;
  background: var(--bg-alt);
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.features h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--primary-dark);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-light);
  font-size: .95rem;
}

/* STATS */
.stats {
  padding: 60px 24px;
  background: var(--primary-dark);
  color: #fff;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.stat-label {
  font-size: .95rem;
  opacity: .85;
  margin-top: 4px;
}

/* BLOG SECTION */
.blog-section {
  padding: 80px 24px;
}
.blog-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.blog-section h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--primary-dark);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  background: var(--bg);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }
.blog-card-body { padding: 24px; }
.blog-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.4;
}
.blog-card p {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.6;
}
.blog-card-arrow {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
}

/* FINAL CTA */
.final-cta {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--primary-light) 100%);
  text-align: center;
}
.final-cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-dark);
}
.final-cta p {
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* FOOTER */
.footer {
  background: var(--text);
  color: #d1d5db;
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-col a {
  display: block;
  color: #9ca3af;
  font-size: .9rem;
  margin-bottom: 8px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #374151;
  text-align: center;
  font-size: .85rem;
  color: #6b7280;
}

/* ARTICLE */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
.article-back:hover { color: var(--primary); }
.article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.article-meta {
  color: var(--text-light);
  font-size: .85rem;
  margin-bottom: 32px;
}
.article h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}
.article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}
.article p {
  margin-bottom: 18px;
  color: var(--text);
}
.article ul, .article ol {
  margin-bottom: 18px;
  padding-left: 28px;
}
.article li {
  margin-bottom: 8px;
}
.article strong { font-weight: 700; }
.article blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-light);
  font-style: italic;
}
.article-cta {
  margin: 48px 0 0;
  padding: 32px;
  background: var(--primary-light);
  border-radius: 12px;
  text-align: center;
}
.article-cta h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--primary-dark);
}
.article-cta p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: .95rem;
}

/* TABLE */
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .9rem;
}
.article th, .article td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article th {
  background: var(--bg-alt);
  font-weight: 700;
}
.article .check { color: var(--success); }
.article .cross { color: #ef4444; }

/* LEGAL PAGES */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--primary-dark);
}
.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
}
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { padding-left: 28px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle { display: block; }
  .cta-form { flex-direction: column; }
  .hero { padding: 48px 24px 40px; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; }
}

