:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;
  --accent: #22c55e;
  --bg: #0b1120;
  --bg-soft: #020617;
  --card-bg: #020617;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 16px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1d4ed8 0, #020617 45%, #000 100%);
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

/* Layout */

.site-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 72px;
}

/* Top Navigation */

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: conic-gradient(from 180deg at 50% 50%, #22c55e, #2563eb, #a855f7, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.6);
}

.brand-text-title {
  font-weight: 700;
  font-size: 18px;
}

.brand-text-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border-radius: 999px;
  padding: 9px 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.5);
  color: #e5e7eb;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
a.btn.base-align {
  margin: 10px 5px;
  position: absolute;
  bottom: 0px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #f9fafb;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.7);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
}

/* Hero & general sections */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at left, rgba(34, 197, 94, 0.25), rgba(15, 23, 42, 0.9));
  font-size: 11px;
  color: #a5b4fc;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, #f97316, #eab308, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 18px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-footnote {
  font-size: 11px;
  color: var(--text-muted);
}

/* Hero graphic */

.hero-visual {
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.7), rgba(15, 23, 42, 0.98));
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.5);
  position: relative;
  overflow: hidden;
}

.hero-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-bottom: 10px;
  color: #c7d2fe;
}

.hero-window-dots {
  display: flex;
  gap: 4px;
}

.hero-window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.hero-chart {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-chart-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  align-items: center;
}

.hero-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}

.hero-bar {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  opacity: 0.9;
}

.hero-bar:nth-child(2) {
  height: 55%;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}
.hero-bar:nth-child(3) {
  height: 80%;
}
.hero-bar:nth-child(4) {
  height: 35%;
  background: linear-gradient(180deg, #f97316, #ea580c);
}
.hero-bar:nth-child(5) {
  height: 65%;
  background: linear-gradient(180deg, #a855f7, #7c3aed);
}

.hero-summary {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-summary strong {
  font-size: 13px;
  color: #e5e7eb;
}

/* Sections */

.section {
  margin-bottom: 56px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: radial-gradient(circle at top left, #22c55e, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
}

.card-body {
  font-size: 13px;
  color: var(--text-muted);
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.pricing-card {
  position: relative;
  padding-bottom: 50px;
}

.pricing-badge {
  position: absolute;
  top: 12px;
  right: 16px;
  background: #22c55e;
  color: #022c22;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.pricing-price {
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0;
}

.pricing-price span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-perks {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
  font-size: 13px;
}

.pricing-perks li {
  margin-bottom: 4px;
}

.pricing-perks li::before {
  content: "✓";
  color: #22c55e;
  margin-right: 6px;
}

/* Blog & Resources */

.blog-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: #bfdbfe;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

/* Hero image placeholders on subpages */

.page-hero {
  margin-bottom: 32px;
}

.page-hero-title {
  font-size: 26px;
  margin-bottom: 8px;
}

.page-hero-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 520px;
}

/* Responsive */

@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
