@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  /* Modern professional palette */
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --violet-600: #7c3aed;
  --ink: #0b1020;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #94a3b8;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --amber: #f59e0b;
  --emerald: #10b981;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--surface);
}

/* Section washes — clean alternating surfaces */
.page-main > section.alt-wash {
  background: var(--surface-alt);
}

.page-main > section.soft-wash {
  position: relative;
  background: linear-gradient(135deg, var(--slate-950), var(--indigo-700));
  color: #fff;
}

.page-main > section.soft-wash h2 {
  color: #fff;
}

.page-main > section.soft-wash .lead {
  color: rgba(255, 255, 255, 0.78);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Top navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
  font-weight: 500;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--indigo-600), var(--violet-600));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
}

.nav-links > a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.nav-links > a:not(.btn):hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  margin-top: 10px;
  background: var(--text);
  box-shadow: 0 6px 0 var(--text), 0 12px 0 var(--text);
}

.desktop-only {
  display: inline-flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  padding: 0 20px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo-600), var(--violet-600));
  color: #fff;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.42);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--indigo-500);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--line);
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

.nav-cta.btn {
  color: #fff;
}

/* Cards & glass panels */
.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  padding: 88px 0 64px;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 520px;
  background:
    radial-gradient(ellipse 50% 60% at 20% 20%, rgba(99, 102, 241, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 10%, rgba(124, 58, 237, 0.14), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-100);
  padding: 7px 14px;
  border-radius: 999px;
  display: inline-block;
}

h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  font-weight: 700;
}

.lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
  font-size: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-side {
  padding: 28px;
}

.hero-side > strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero-side .kpi {
  margin-top: 14px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  transition: border-color 0.18s ease;
}

.hero-side .kpi:hover {
  border-color: var(--indigo-500);
}

.kpi span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 1.02rem;
  color: var(--slate-900);
}

.section {
  padding: 88px 0;
}

.section-header {
  max-width: 660px;
  margin-bottom: 44px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.grid-3 {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--indigo-600), var(--violet-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--slate-900);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: center;
  padding: 28px;
  margin-top: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.proof-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo-600), var(--violet-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proof-item span {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Forms */
.form-card {
  max-width: 560px;
  padding: 32px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.form-message {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
  font-weight: 500;
}

.form-message-error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
  color: #991b1b;
}

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 44px;
}

.price-card {
  padding: 30px;
  position: relative;
}

.price-card.featured {
  border-color: var(--indigo-500);
  box-shadow: 0 24px 56px rgba(79, 70, 229, 0.18);
  transform: scale(1.02);
}

.price-card .tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo-600), var(--violet-600));
  padding: 4px 10px;
  border-radius: 999px;
}

.price-tier {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 4px;
  font-weight: 600;
}

.price-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--slate-900);
}

.price-card ul {
  margin: 22px 0 26px;
  padding-left: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.price-card ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
}

table.compare th,
table.compare td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

table.compare th {
  color: var(--slate-900);
  font-weight: 700;
  background: var(--surface-alt);
}

table.compare tbody tr:last-child td {
  border-bottom: none;
}

/* Legal / prose */
.prose {
  max-width: 720px;
  margin-inline: auto;
}

.prose h2 {
  margin-top: 32px;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding: 56px 0 28px;
  background: var(--slate-950);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: min(1140px, 92vw);
  margin: 0 auto 36px;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #fff;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.social-ph {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.55);
}

.footer-email a {
  color: var(--indigo-100);
}

.footer-bar {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bar a {
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}

/* Mobile */
@media (max-width: 960px) {
  .hero,
  .grid-3,
  .two-col,
  .pricing-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .nav-toggle {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 12px 0 18px;
  }

  .topbar.nav-open .nav-links {
    display: flex;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links .btn {
    justify-content: center;
  }

  table.compare {
    font-size: 13px;
  }
}
