:root {
  --bg:          #080D14;
  --surface:     #0E1826;
  --surface-2:   #162233;
  --surface-3:   #1D2E45;
  --nav-bg:      rgba(8,13,20,0.82);
  --navy:        #1F60AD;
  --teal:        #2BCDB9;
  --teal-light:  #5DDECE;
  --grad:        linear-gradient(135deg, #1F60AD 0%, #2BCDB9 100%);
  --grad-text:   linear-gradient(135deg, #4A9FE0 0%, #2BCDB9 100%);
  --text:        #E8F3FF;
  --text-muted:  #7A9EC0;
  --text-faint:  #3A5575;
  --border:      rgba(255,255,255,0.07);
  --border-med:  rgba(255,255,255,0.12);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}
.nav-logo-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-login {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-login:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
  font-family: var(--font);
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-med);
  color: var(--text);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); opacity: 1; }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; border-radius: 10px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  padding: 10rem 2rem 7rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(31,96,173,0.22) 0%,
    rgba(43,205,185,0.12) 45%,
    transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(43,205,185,0.3);
  background: rgba(43,205,185,0.07);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
}
.hero-h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.hero-h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.stat-item {
  padding: 1.75rem 3rem;
  text-align: center;
  border-right: 1px solid var(--border);
  flex: 1;
  max-width: 240px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}
.center { text-align: center; }

/* ── FEATURES ────────────────────────────────────────────── */
.features { background: var(--bg); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.flip .feature-visual { order: -1; }
.feature-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 0.75rem;
}
.feature-desc {
  color: var(--text-muted);
  line-height: 1.7;
}
.feature-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(43,205,185,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal);
}

/* ── MOCKUPS ─────────────────────────────────────────────── */
.mockup {
  background: var(--surface);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.mockup-bar {
  background: var(--surface-2);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-url {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-faint);
  background: var(--bg);
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
  flex: 1;
  max-width: 220px;
  text-align: center;
}
.mockup-body { padding: 1.25rem; }
.m-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.m-title { font-size: 0.95rem; font-weight: 700; }
.m-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(43,205,185,0.15);
  color: var(--teal-light);
}
.m-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}
.m-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.m-card-name { font-size: 0.82rem; font-weight: 600; }
.m-card-date { font-size: 0.7rem; color: var(--text-faint); }
.m-card-sub { font-size: 0.72rem; color: var(--text-muted); }
.m-progress {
  height: 3px;
  background: var(--surface-3);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.m-progress-fill { height: 100%; background: var(--grad); border-radius: 2px; }
.m-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}
.m-row:last-child { border-bottom: none; }
.m-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}
.m-row-info { flex: 1; }
.m-row-name { font-weight: 600; color: var(--text); font-size: 0.8rem; }
.m-row-meta { color: var(--text-muted); font-size: 0.7rem; }
.m-status {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.m-status.ok { background: rgba(43,205,185,0.12); color: var(--teal-light); }
.m-status.pending { background: rgba(250,200,50,0.1); color: #FACD3A; }
.m-schedule-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.m-schedule-item:last-child { border-bottom: none; }
.m-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  width: 40px;
  flex-shrink: 0;
  padding-top: 2px;
}
.m-schedule-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  background: var(--teal);
}
.m-schedule-text { font-size: 0.8rem; }
.m-schedule-name { font-weight: 600; color: var(--text); }
.m-schedule-note { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; }

/* ── PRICING ─────────────────────────────────────────────── */
.pricing { background: var(--surface); }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}
.toggle-label { font-size: 0.875rem; color: var(--text-muted); }
.toggle-label.active { color: var(--text); font-weight: 600; }
.toggle-wrap {
  position: relative;
  width: 48px; height: 26px;
  cursor: pointer;
}
.toggle-wrap input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
  border-radius: 100px;
  border: 1px solid var(--border-med);
  transition: .3s;
}
.toggle-slider::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: var(--teal);
  border-radius: 50%;
  transition: .3s;
}
.toggle-wrap input:checked + .toggle-slider::after { transform: translateX(22px); }
.toggle-save {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(43,205,185,0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: border-color .3s;
}
.pricing-card:hover { border-color: var(--border-med); }
.pricing-card.featured {
  background: var(--bg);
  border: 1.5px solid transparent;
  background-clip: padding-box;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius-lg) + 1.5px);
  background: var(--grad);
  z-index: -1;
}
.pricing-badge-top {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}
.pricing-price sup {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: top;
  margin-top: 0.5rem;
  display: inline-block;
}
.pricing-price.custom {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  padding-top: 0.5rem;
}
.pricing-period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-btn { width: 100%; justify-content: center; margin-bottom: 1.75rem; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.pricing-features li svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.pricing-divider-item {
  font-size: 0.7rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint) !important;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
  padding-bottom: 0.25rem;
  display: block !important;
}

/* ── COMPARE ─────────────────────────────────────────────── */
.compare { background: var(--bg); }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 3rem;
}
.compare-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--border-med);
  color: var(--text);
  white-space: nowrap;
}
.compare-table th:first-child { width: 40%; }
.compare-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .cat-row td {
  background: var(--surface);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0.5rem 1.25rem;
}
.compare-table td:not(:first-child) { text-align: center; }
.chk { color: var(--teal); }
.dash { color: var(--text-faint); }
.compare-table .featured-col { background: rgba(43,205,185,0.04); }
.compare-table th.featured-col {
  background: rgba(43,205,185,0.07);
  color: var(--teal-light);
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials { background: var(--surface); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.testi-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.testi-stars { display: flex; gap: 2px; margin-bottom: 1rem; color: var(--teal); font-size: 0.85rem; }
.testi-quote {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testi-quote::before { content: '\201E'; }
.testi-quote::after  { content: '\201C'; }
.testi-author { display: flex; align-items: center; gap: 0.65rem; }
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: 0.85rem; font-weight: 600; }
.testi-role { font-size: 0.75rem; color: var(--text-muted); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section {
  padding: 6rem 2rem;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(31,96,173,0.15) 0%, rgba(43,205,185,0.08) 50%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.cta-sub { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; max-width: 260px; }
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: var(--text-faint); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: var(--text-faint); transition: color .2s; }
.footer-legal a:hover { color: var(--text-muted); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-visual { order: 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); flex: 0 0 50%; max-width: 50%; }
  .compare-table th, .compare-table td { padding: 0.65rem 0.75rem; font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
