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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: #111827;
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ───────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f3f4f6;
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: #111827;
  letter-spacing: -0.3px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-ghost {
  padding: 7px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px; color: #374151;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: #9ca3af; color: #111827; }

.btn-nav-cta {
  padding: 7px 18px;
  background: #0a84ff; color: #fff;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: background 0.15s;
}
.btn-nav-cta:hover { background: #0070e0; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  display: flex; align-items: center;
  gap: 48px;
  max-width: 1080px; margin: 0 auto;
  padding: 80px 24px 60px;
}
.hero-icon {
  flex: 0 0 auto;
  width: 96px; height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(10,132,255,0.18);
  align-self: center;
}
.hero-text { flex: 0 0 auto; max-width: 480px; }

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; color: #111827;
  margin-bottom: 20px;
}
.accent { color: #0a84ff; }

.hero-sub {
  font-size: 18px; color: #4b5563; line-height: 1.6;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-cta {
  display: inline-block;
  padding: 14px 28px;
  background: #0a84ff; color: #fff;
  border-radius: 10px; font-size: 16px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(10,132,255,0.3);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn-cta:hover {
  background: #0070e0;
  box-shadow: 0 6px 20px rgba(10,132,255,0.4);
  transform: translateY(-1px);
}

.hero-preview {
  flex: 1; min-width: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.chart-preview { width: 100%; height: auto; display: block; overflow: visible; }

/* ── Features ──────────────────────────────────────────────────── */
.features {
  background: #f8fafc;
  padding: 80px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.8px;
  text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: #6b7280; font-size: 17px; margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 24px;
}
.feature-icon {
  width: 44px; height: 44px;
  background: #eff6ff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature p  { font-size: 14px; color: #6b7280; line-height: 1.6; }

/* ── Pricing ───────────────────────────────────────────────────── */
.pricing { padding: 80px 0; }
.pricing .section-title { margin-bottom: 12px; }
.pricing .section-sub   { margin-bottom: 56px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  background: #fff;
}
.pricing-card.featured {
  border-color: #0a84ff;
  box-shadow: 0 8px 32px rgba(10,132,255,0.12);
}

.tier-badge {
  display: inline-block;
  background: #0a84ff; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 16px;
}
.tier-name {
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
}
.tier-price {
  font-size: 36px; font-weight: 800; letter-spacing: -1px;
  color: #111827; margin-bottom: 24px;
}
.tier-period { font-size: 16px; font-weight: 400; color: #9ca3af; }

.tier-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.tier-features li { font-size: 14px; color: #374151; display: flex; align-items: center; gap: 8px; }
.check { color: #0a84ff; font-weight: 700; flex-shrink: 0; }

.btn-tier {
  display: block; width: 100%; text-align: center;
  padding: 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 9px; font-size: 15px; font-weight: 600;
  color: #111827;
  transition: border-color 0.15s, background 0.15s;
}
.btn-tier:hover { border-color: #9ca3af; background: #f9fafb; }

.btn-tier-pro {
  display: block; width: 100%; text-align: center;
  padding: 12px;
  background: #0a84ff; color: #fff;
  border: none; border-radius: 9px;
  font-size: 15px; font-weight: 600;
  transition: background 0.15s;
}
.btn-tier-pro:hover { background: #0070e0; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid #f3f4f6;
  padding: 32px 0;
  background: #fff;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #9ca3af;
}
.footer-copy { font-size: 13px; color: #9ca3af; }
.footer-copy a { color: #6b7280; }
.footer-copy a:hover { color: #111827; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 48px 24px 40px; gap: 32px; }
  .hero-preview { width: 100%; }
  .btn-cta { width: 100%; text-align: center; }
}
