.landing {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

.blob-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.blob-a { top: -10%; left: -5%; width: 600px; height: 600px; background: oklch(0.55 0.22 300 / 0.35); animation: blobFloatA 22s ease-in-out infinite; }
.blob-b { top: 20%; right: -10%; width: 520px; height: 520px; background: oklch(0.65 0.16 195 / 0.3); animation: blobFloatB 26s ease-in-out infinite; }
.blob-c { bottom: -15%; left: 20%; width: 700px; height: 700px; background: oklch(0.5 0.2 320 / 0.25); animation: blobFloatC 30s ease-in-out infinite; }

.section { position: relative; z-index: 1; }
.wrap { max-width: 1280px; margin: 0 auto; padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 64px); }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 64px); }
.reveal { animation: revealUp 1s ease both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
@supports not (animation-timeline: view()) {
  .reveal { animation: fadeInUp 0.8s ease both; }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: oklch(0.15 0.02 275 / 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--gradient-avatar); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--text-primary); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-stronger);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text-primary); }
.mobile-menu {
  display: none;
  position: sticky;
  top: 78px;
  z-index: 49;
  flex-direction: column;
  gap: 4px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: oklch(0.16 0.02 275 / 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:not(.btn) { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 4px; border-bottom: 1px solid oklch(1 0 0 / 0.06); }
.mobile-menu .btn { margin-top: 10px; text-align: center; justify-content: center; }
.mobile-menu.open { display: flex; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 300px; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--glass-2);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  color: oklch(0.8 0.05 300);
  margin-bottom: 24px;
}
.dot-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-light); animation: dotPulse 1.8s ease-in-out infinite; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5.5vw, 64px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 24px; text-wrap: balance; }
.hero p.lede { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--text-secondary); max-width: 520px; margin: 0 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-ctas .btn { padding: 16px 30px; font-size: 16px; }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .value { font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.hero-stats .label { font-size: 13.5px; color: var(--text-faint); margin-top: 2px; }

.hero-visual { flex: 1 1 380px; min-width: 300px; display: flex; justify-content: center; }
.chat-card {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  background: var(--glass-1);
  border: 1px solid var(--border-stronger);
  backdrop-filter: blur(20px);
  padding: 24px;
  box-shadow: var(--shadow-float);
  animation: floatCard 7s ease-in-out infinite;
}
.chat-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.chat-card-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-avatar); }
.chat-card-name { font-weight: 700; font-size: 14.5px; }
.chat-card-status { font-size: 12px; color: var(--success); }
.chat-bubble { align-self: flex-start; max-width: 80%; background: var(--glass-3); padding: 12px 16px; border-radius: 16px 16px 16px 4px; font-size: 14px; line-height: 1.5; }
.chat-bubble.user { align-self: flex-end; background: var(--gradient-primary); color: oklch(0.1 0.02 280); border-radius: 16px 16px 4px 16px; font-weight: 600; }
.chat-body { display: flex; flex-direction: column; gap: 12px; }
.typing-dots { display: flex; gap: 5px; padding: 4px 16px; }
.typing-dots div { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.7 0.02 280); animation: dotPulse 1.2s ease-in-out infinite; }
.typing-dots div:nth-child(2) { animation-delay: 0.2s; }
.typing-dots div:nth-child(3) { animation-delay: 0.4s; }

.trust-strip { text-align: center; padding: 32px clamp(20px, 5vw, 64px); }
.trust-label { font-size: 13px; letter-spacing: 0.06em; color: var(--text-faint); text-transform: uppercase; margin-bottom: 22px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: clamp(24px, 6vw, 64px); justify-content: center; align-items: center; opacity: 0.55; }
.trust-logos div { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: oklch(0.75 0.01 280); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-head.narrow { max-width: 640px; margin-bottom: 60px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--violet-light); text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.section-head p { color: var(--text-muted); font-size: 17px; line-height: 1.6; margin: 0; }

.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--glass-1); border: 1px solid var(--border); border-radius: 20px; padding: 32px; transition: transform 0.3s, border-color 0.3s, background 0.3s; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-stronger); background: var(--glass-3); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-icon); background: linear-gradient(135deg, oklch(0.68 0.22 300 / 0.25), oklch(0.7 0.16 195 / 0.25)); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.feature-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { padding: 32px 24px; text-align: center; }
.step-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: oklch(0.1 0.02 280); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 10px; }
.step p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

.grid-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case-card { background: var(--glass-1); border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.case-card:hover { border-color: var(--border-stronger); }
.case-metric { font-family: var(--font-display); font-weight: 800; font-size: 36px; }
.case-quote { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin: 0; }
.case-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.case-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-avatar-neutral); }
.case-company { font-weight: 700; font-size: 14px; }
.case-industry { font-size: 12.5px; color: var(--text-faint); }

.stats-band { padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 64px); background: var(--glass-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-band-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; text-align: center; }
.stats-band-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); }
.stats-band-label { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

.pricing-toggle-wrap { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.tier-card { position: relative; background: var(--glass-1); border: 1px solid var(--border); border-radius: var(--radius-card-lg); padding: 36px 28px; }
.tier-card.popular { background: linear-gradient(160deg, oklch(0.3 0.08 300 / 0.35), oklch(0.25 0.06 280 / 0.35)); border: 1px solid oklch(0.65 0.2 300 / 0.5); transform: scale(1.04); }
.tier-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-primary); color: oklch(0.1 0.02 280); font-size: 12.5px; font-weight: 800; padding: 6px 16px; border-radius: var(--radius-pill); white-space: nowrap; }
.tier-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.tier-tagline { color: var(--text-muted); font-size: 14px; margin: 0 0 24px; min-height: 38px; }
.tier-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; }
.tier-price { font-family: var(--font-display); font-weight: 800; font-size: 40px; }
.tier-price-suffix { color: var(--text-faint); font-size: 14px; }
.tier-cta { display: block; text-align: center; text-decoration: none; padding: 13px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15px; margin-bottom: 28px; }
.tier-perks { display: flex; flex-direction: column; gap: 12px; }
.tier-perk { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.tier-perk svg { flex-shrink: 0; }

.contact-panel { display: flex; flex-wrap: wrap; gap: 56px; background: var(--glass-1); border: 1px solid var(--border-strong); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.contact-info { flex: 1 1 320px; min-width: 280px; }
.contact-info h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -0.02em; margin: 0 0 16px; }
.contact-info p { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 28px; }
.contact-detail { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-secondary); margin-bottom: 16px; }
.contact-detail .icon-box { width: 36px; height: 36px; border-radius: 10px; background: var(--glass-2); display: flex; align-items: center; justify-content: center; }
.contact-form-wrap { flex: 1 1 340px; min-width: 280px; }
#contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row .field { flex: 1 1 140px; min-width: 120px; }
#contact-form textarea.field { resize: vertical; }
#contact-form .btn { width: 100%; padding: 15px; font-size: 15.5px; }
.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; gap: 16px; padding: 40px 0; }
.form-success .check-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; }
.form-success h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0; }
.form-success p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

.landing-footer { padding: 40px clamp(20px, 5vw, 64px); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.landing-footer .brand { font-size: 17px; }
.landing-footer .brand-mark { width: 24px; height: 24px; border-radius: 7px; }
.landing-footer .copyright { color: var(--text-faint); font-size: 13.5px; }

/* Stacked directly above the chat bubble (same size/alignment: 52px, right:20px) */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 84px; /* 20px bubble offset + 52px bubble + 12px gap */
  z-index: 999998;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: oklch(0.1 0.02 280);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.scroll-top-btn:hover { transform: translateY(-2px); }
.scroll-top-btn[hidden] { display: none !important; }

/* ── Compare Plans Button & Modal ── */
.compare-plans-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass-2);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}
.compare-plans-btn:hover {
  background: var(--glass-3);
  border-color: var(--violet);
  color: var(--text-primary);
}

.compare-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: oklch(0.08 0.02 275 / 0.85);
  backdrop-filter: blur(12px);
  justify-content: center;
  align-items: flex-start;
  padding: 40px 16px;
  overflow-y: auto;
}
.compare-modal-overlay.open { display: flex; }

.compare-modal {
  width: min(820px, 96vw);
  background: var(--bg-drawer);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  animation: compareFadeIn 0.25s ease;
}
@keyframes compareFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.compare-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.compare-modal-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.compare-modal-close {
  background: var(--glass-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  place-items: center;
}
.compare-modal-close:hover { background: var(--glass-3); color: var(--text-primary); }

.compare-modal-body {
  padding: 0;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) oklch(0.15 0.02 275);
}
.compare-modal-body::-webkit-scrollbar { width: 6px; }
.compare-modal-body::-webkit-scrollbar-track { background: oklch(0.15 0.02 275); border-radius: 3px; }
.compare-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  border-radius: 3px;
}
.compare-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--violet-light), var(--cyan-light));
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: oklch(0.13 0.02 275);
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-strong);
}
.compare-table th:first-child { text-align: left; padding-left: 20px; }
.compare-table th .col-price { font-size: 11px; font-weight: 500; color: var(--text-faint); margin-top: 2px; }
.compare-table th.col-start { color: #a5b4fc; }
.compare-table th.col-business { color: var(--violet-light); }
.compare-table th.col-enterprise { color: oklch(0.8 0.15 80); }

.compare-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.compare-table td:first-child { text-align: left; padding-left: 20px; font-weight: 500; }

.compare-table tr:hover td { background: var(--glass-1); }

.compare-table .section-row td {
  background: oklch(0.12 0.02 275);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--violet);
  padding: 8px 20px;
}

.compare-table .yes { color: var(--success); font-size: 17px; }
.compare-table .no { color: var(--danger); font-size: 15px; opacity: 0.5; }
.compare-table .val { color: var(--text-primary); font-weight: 600; }
.compare-table .val.hl { color: var(--success); }
.compare-table .val.gold { color: oklch(0.8 0.15 80); }
.compare-table .val small { font-size: 11px; color: var(--text-faint); font-weight: 400; }
