:root {
  --brand-orange: #f5842a;
  --brand-orange-dark: #e2661a;
  --brand-blue: #1e5fd9;
  --brand-blue-dark: #14459e;
  --ink: #10192c;
  --ink-soft: #4b5773;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e6e9f0;
  --radius: 14px;
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .price-amount, .addon-price, .step-number {
  font-family: var(--font-display);
}

a { color: inherit; }

/* Scroll-reveal: JS toggles .is-visible when the element enters the viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, -6%) scale(1.08); }
  66% { transform: translate(-3%, 4%) scale(0.95); }
}

@keyframes softBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(16, 25, 44, 0.25);
}

.logo img { transition: transform 0.2s ease; }
.logo:hover img { transform: scale(1.04); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 32px; display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 15px;
}

.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.lang-switch a { color: var(--ink-soft); text-decoration: none; padding: 2px 4px; }
.lang-switch a.is-active { color: var(--ink); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch span { color: var(--border); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(30, 95, 217, 0.55);
  animation: gradientShift 6s ease infinite;
}

.btn-primary:hover {
  box-shadow: 0 14px 28px -8px rgba(30, 95, 217, 0.65);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover { background: var(--bg-soft); }

.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: blobFloat 16s ease-in-out infinite;
}

.hero-blob.b1 {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, var(--brand-orange), transparent 70%);
}

.hero-blob.b2 {
  width: 480px;
  height: 480px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, var(--brand-blue), transparent 70%);
  animation-delay: -5s;
  animation-duration: 20s;
}

.hero-blob.b3 {
  width: 320px;
  height: 320px;
  bottom: -160px;
  left: 40%;
  background: radial-gradient(circle, var(--brand-blue-dark), transparent 70%);
  animation-delay: -10s;
  animation-duration: 18s;
  opacity: 0.2;
}

.hero .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both; }
.hero p.lead { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both; }
.hero-actions { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both; }
.hero-note { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both; }

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Sections */
section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head .eyebrow { margin-bottom: 16px; }

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p { color: var(--ink-soft); font-size: 16px; margin: 0; }

.section-alt { background: var(--bg-soft); }

/* Product intro (what is 0Support) */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.intro-text h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.intro-text p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 16px;
}

.intro-text p:last-of-type { margin-bottom: 0; }

/* CSS-only product mockup: a browser chrome + chat window */
.mockup-window {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(16, 25, 44, 0.25);
  overflow: hidden;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-body { padding: 20px; }

.mockup-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.mockup-bubble.incoming {
  background: var(--bg-soft);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.mockup-bubble.outgoing {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.mockup-bubble.ai {
  background: #fff;
  border: 1px dashed var(--brand-blue);
  color: var(--brand-blue-dark);
  font-size: 12.5px;
}

.mockup-typing {
  display: inline-flex;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--bg-soft);
}

.mockup-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  animation: softBounce 1.4s ease-in-out infinite;
}

.mockup-typing span:nth-child(2) { animation-delay: 0.15s; }
.mockup-typing span:nth-child(3) { animation-delay: 0.3s; }

.mockup-window {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mockup-window:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -30px rgba(16, 25, 44, 0.3);
}

.mockup-bubble {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mockup-bubble:nth-child(1) { animation-delay: 0.1s; }
.mockup-bubble:nth-child(2) { animation-delay: 0.6s; }
.mockup-bubble:nth-child(3) { animation-delay: 1.1s; }

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card { text-align: left; }

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  margin-bottom: 14px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover .step-number { transform: scale(1.12) rotate(-6deg); }

.step-card h3 { margin: 0 0 8px; font-size: 16px; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -24px rgba(16, 25, 44, 0.2);
  border-color: transparent;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  color: #fff;
  margin-bottom: 18px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }

.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 52px -28px rgba(16, 25, 44, 0.25);
}

.price-card.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 20px 40px -20px rgba(30, 95, 217, 0.35);
  position: relative;
}

.price-card.featured:hover {
  box-shadow: 0 32px 56px -24px rgba(30, 95, 217, 0.45);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  background-size: 200% 200%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  animation: gradientShift 4s ease infinite;
  box-shadow: 0 6px 16px -6px rgba(30, 95, 217, 0.5);
}

.price-card h3 { margin: 0 0 6px; font-size: 19px; }
.price-card .price-desc { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }

.price-amount {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 4px;
}

.price-amount span { font-size: 15px; font-weight: 500; color: var(--ink-soft); }

.price-period { color: var(--ink-soft); font-size: 14px; margin: 0 0 24px; }

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.price-features li::before {
  content: "✓";
  color: var(--brand-blue);
  font-weight: 700;
}

.price-card .btn { width: 100%; }

.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-formula {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  margin: 32px auto 0;
  max-width: 560px;
}

/* CX add-on cards */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.addon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.addon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -22px rgba(16, 25, 44, 0.2);
  border-color: var(--brand-blue);
}

.addon-card h3 { margin: 0 0 8px; font-size: 16px; }

.addon-price {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
}

.addon-price span { font-size: 13px; font-weight: 500; color: var(--ink-soft); }

.addon-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.addon-specs li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 4px 0;
}

/* CTA band */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
  overflow: hidden;
}

.cta-band h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.cta-band p { margin: 0 0 28px; opacity: 0.95; }
.cta-band .btn-primary { background: #fff; color: var(--brand-blue-dark); box-shadow: none; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 { font-size: 14px; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); font-size: 14px; }
.footer-grid a:hover { color: var(--ink); }

.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 280px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── Hero two-column layout with dashboard mockup ─────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.hero-grid .eyebrow { margin-bottom: 18px; }
.hero-grid h1 { font-size: clamp(34px, 4.2vw, 54px); }
.hero-grid p.lead { margin: 0 0 32px; max-width: 480px; }
.hero-grid .hero-actions { justify-content: flex-start; }

.hero-visual {
  position: relative;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Dashboard mockup */
.dash {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(16, 25, 44, 0.06),
    0 24px 60px -24px rgba(16, 25, 44, 0.28);
  overflow: hidden;
  font-size: 12px;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual:hover .dash { transform: perspective(1400px) rotateY(0) rotateX(0); }

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.dash-chrome span { width: 9px; height: 9px; border-radius: 50%; }
.dash-chrome span:nth-child(1) { background: #ff5f57; }
.dash-chrome span:nth-child(2) { background: #febc2e; }
.dash-chrome span:nth-child(3) { background: #28c840; }

.dash-url {
  margin-left: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  color: var(--ink-soft);
  font-size: 11px;
}

.dash-body {
  display: grid;
  grid-template-columns: 44px 168px 1fr;
  min-height: 320px;
}

.dash-side {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.dash-side .dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
}

.dash-side .item {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
}

.dash-side .item.active { background: rgba(255, 255, 255, 0.42); }

.dash-list {
  border-right: 1px solid var(--border);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fbfcfe;
}

.dash-list .list-title {
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 4px 6px;
}

.convo {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
}

.convo.active { border-color: var(--brand-blue); box-shadow: 0 2px 8px -2px rgba(30, 95, 217, 0.25); }

.convo .avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
}

.avatar.wa { background: #25d366; }
.avatar.ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.avatar.web { background: var(--brand-blue); }

.convo .meta { min-width: 0; }
.convo .name { font-weight: 600; font-size: 11.5px; display: flex; justify-content: space-between; gap: 6px; }
.convo .name time { font-weight: 400; color: var(--ink-soft); font-size: 10px; }
.convo .snippet {
  color: var(--ink-soft);
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 108px;
}

.dash-chat {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
}

.dash-msg {
  max-width: 75%;
  padding: 7px 11px;
  border-radius: 11px;
  font-size: 11.5px;
  line-height: 1.45;
}

.dash-msg.in { background: var(--bg-soft); border-bottom-left-radius: 3px; }
.dash-msg.out {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 3px;
}

.dash-ai {
  border: 1px dashed var(--brand-blue);
  background: rgba(30, 95, 217, 0.04);
  color: var(--brand-blue-dark);
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 11px;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.dash-ai .spark { flex-shrink: 0; }

.dash-input {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-input .send {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
}

/* Floating chips around the mockup */
.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 34px -14px rgba(16, 25, 44, 0.3);
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  animation: chipFloat 5s ease-in-out infinite;
}

.float-chip .chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
}

.float-chip strong { display: block; font-size: 12px; }
.float-chip small { color: var(--ink-soft); font-size: 10.5px; }

.float-chip.c1 { top: -18px; right: -10px; }
.float-chip.c1 .chip-icon { background: #25d366; }
.float-chip.c2 { bottom: -16px; left: -14px; animation-delay: -2.5s; }
.float-chip.c2 .chip-icon { background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue)); }
.float-chip.c3 { top: 42%; right: -34px; animation-delay: -1.2s; }
.float-chip.c3 .chip-icon { background: var(--brand-blue); }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
}

.hero-stats .stat strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  display: block;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats .stat span { font-size: 13px; color: var(--ink-soft); }

/* ── Feature showcase rows (alternating text + mini demo) ─────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}

.showcase + .showcase { border-top: 1px solid var(--border); }

.showcase.flip .showcase-text { order: 2; }
.showcase.flip .showcase-demo { order: 1; }

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue-dark);
  background: rgba(30, 95, 217, 0.07);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 14px;
}

.showcase-text h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.showcase-text p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

.showcase-demo {
  background: linear-gradient(160deg, #fdf7f1, #eef3fd);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}

.demo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 8px 20px -12px rgba(16, 25, 44, 0.18);
}

.demo-card + .demo-card { margin-top: 10px; }

.demo-card .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.demo-card .txt { min-width: 0; flex: 1; }
.demo-card .txt strong { font-size: 13px; display: flex; justify-content: space-between; }
.demo-card .txt strong time { color: var(--ink-soft); font-weight: 400; font-size: 11px; }
.demo-card .txt span {
  color: var(--ink-soft);
  font-size: 12.5px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-bubble {
  border-radius: 13px;
  padding: 10px 14px;
  font-size: 13px;
  max-width: 82%;
}

.demo-bubble.q { background: #fff; border: 1px solid var(--border); }
.demo-bubble.a {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  color: #fff;
  margin: 10px 0 0 auto;
}

.demo-ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue-dark);
}

.demo-ai-tag .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(40, 200, 64, 0); }
}

/* report demo bars */
.demo-report { display: flex; align-items: flex-end; gap: 12px; height: 130px; padding: 0 8px; }
.demo-report .bar {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-blue-dark));
  opacity: 0.85;
  animation: barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: bottom;
}
.demo-report .bar:nth-child(odd) { background: linear-gradient(180deg, var(--brand-orange), var(--brand-orange-dark)); }
.demo-report .bar:nth-child(1) { height: 45%; }
.demo-report .bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.demo-report .bar:nth-child(3) { height: 55%; animation-delay: 0.2s; }
.demo-report .bar:nth-child(4) { height: 88%; animation-delay: 0.3s; }
.demo-report .bar:nth-child(5) { height: 65%; animation-delay: 0.4s; }
.demo-report .bar:nth-child(6) { height: 96%; animation-delay: 0.5s; }

@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.demo-report-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-soft);
  padding: 0 8px;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 50px -18px rgba(16, 25, 44, 0.35);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-text { font-size: 14px; color: var(--ink-soft); flex: 1; min-width: 220px; }
.cookie-text a { color: var(--brand-blue); font-weight: 600; text-decoration: none; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 9px 20px; font-size: 14px; }
.cookie-reject { border: 1px solid var(--border); }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* Legal pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-content h1 { font-size: 32px; margin-bottom: 8px; }
.legal-content .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 40px; }
.legal-content h2 { font-size: 20px; margin-top: 36px; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 15px; }

/* Guide pages */
.guide-kb-page {
  min-height: 100vh;
  padding-bottom: 96px;
  background: #f8fbff;
}

.guide-kb-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 92px;
  background:
    radial-gradient(circle at 24% 10%, rgba(67, 83, 190, 0.12), transparent 29%),
    radial-gradient(circle at 72% 15%, rgba(0, 191, 214, 0.16), transparent 34%),
    linear-gradient(180deg, #f9fbff 0%, #edfaff 100%);
}

.guide-kb-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.guide-kb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #26328d;
  background: rgba(38, 50, 141, 0.10);
  font-size: 14px;
  font-weight: 700;
}

.guide-kb-pill svg,
.guide-kb-search svg,
.guide-side-icon svg,
.guide-card-icon svg,
.guide-welcome-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-kb-hero h1 {
  margin: 26px auto 14px;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  background: linear-gradient(90deg, #2e3da8 15%, #159ee8 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.guide-kb-hero p {
  max-width: 700px;
  margin: 0 auto 34px;
  color: #4d5c73;
  font-size: 19px;
  line-height: 1.55;
}

.guide-kb-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 580px);
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  border: 1px solid rgba(154, 168, 190, 0.25);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 55px -36px rgba(17, 34, 66, 0.55);
  color: #718096;
}

.guide-kb-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.guide-kb-layout {
  display: grid;
  grid-template-columns: 325px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: -42px;
}

.guide-kb-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 28px 22px;
  border: 1px solid rgba(222, 229, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px -52px rgba(27, 42, 78, 0.45);
}

.guide-kb-sidebar h2 {
  margin: 0 0 22px;
  color: #5a6780;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-side-group + .guide-side-group {
  margin-top: 24px;
}

.guide-side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #1d2738;
  font-size: 15px;
  font-weight: 800;
}

.guide-side-icon,
.guide-card-icon,
.guide-welcome-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, #3442b5, #00b5d8);
}

.guide-side-icon {
  width: 30px;
  height: 30px;
  border-radius: 11px;
}

.guide-side-article {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 39px;
  padding: 7px 9px;
  border-radius: 10px;
  color: #506079;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
}

.guide-side-article span {
  color: #8d99aa;
  font-size: 18px;
}

.guide-side-article:hover,
.guide-side-article.is-active {
  color: #2232a0;
  background: rgba(46, 61, 168, 0.08);
}

.guide-featured {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 36px;
  padding: 46px;
  min-height: 220px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(120deg, #34399a 0%, #256ee0 54%, #05b9ca 100%);
  box-shadow: 0 32px 75px -48px rgba(32, 60, 140, 0.8);
}

.guide-welcome-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.guide-featured h2 {
  margin: 3px 0 20px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.guide-featured p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.55;
}

.guide-article-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-richtext {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.88);
}

.guide-richtext p,
.guide-richtext li {
  font-size: 16px;
  line-height: 1.7;
}

.guide-richtext h3 {
  margin: 22px 0 8px;
  color: #fff;
  font-size: 20px;
}

.guide-richtext ul,
.guide-richtext ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.guide-kb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.guide-kb-card {
  min-height: 214px;
  padding: 28px;
  border: 1px solid rgba(215, 224, 237, 0.95);
  border-radius: 26px;
  background: linear-gradient(145deg, #eef3ff 0%, #f8fbff 72%);
  box-shadow: 0 24px 65px -52px rgba(20, 36, 80, 0.55);
}

.guide-kb-card--cyan {
  background: linear-gradient(145deg, #e7fbff 0%, #f8fbff 78%);
}

.guide-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.guide-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
}

.guide-count {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #526178;
  font-size: 13px;
  font-weight: 800;
}

.guide-kb-card h2 {
  margin: 0 0 15px;
  color: #1d2738;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.guide-card-links {
  display: grid;
  gap: 10px;
}

.guide-card-links a {
  color: #53637a;
  text-decoration: none;
  font-size: 15px;
}

.guide-card-links a:hover,
.guide-card-links a.is-active {
  color: #2232a0;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-grid p.lead { margin-left: auto; margin-right: auto; }
  .hero-grid .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual .dash { transform: none; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 28px; }
  .showcase.flip .showcase-text { order: 1; }
  .showcase.flip .showcase-demo { order: 2; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .features-grid, .pricing-grid, .pricing-grid-2, .pricing-grid-3, .steps-grid, .addon-grid, .guide-kb-grid { grid-template-columns: 1fr; }
  .guide-kb-layout { grid-template-columns: 1fr; margin-top: -32px; }
  .guide-kb-sidebar { position: static; max-height: none; }
  .guide-featured { grid-template-columns: 1fr; padding: 30px; }
  .intro-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-blob.b1, .hero-blob.b2 { width: 260px; height: 260px; }
  .hero-blob.b3 { width: 200px; height: 200px; }
  .float-chip { display: none; }
  .hero-stats { gap: 22px; }
}
