/* =========================================================
   QuickFlo - site styles
   Design language: white page, near-black type, soft gray
   panels, pill buttons. Color is reserved for brand and
   status accents (WhatsApp, Instagram, live/high-intent).
   ========================================================= */

:root {
  --bg: #ffffff;
  --panel: #f5f5f5;
  --ink: #141414;
  --muted: #6b6b6b;
  --line: #ebebeb;
  --line-strong: #dcdcdc;

  --green: #22c55e;
  --green-bg: #e8f7ee;
  --green-ink: #14532d;
  --wa: #25d366;
  --wa-bubble: #d9fdd3;
  --amber-bg: #fff7ec;
  --amber-line: #ffe0b8;
  --amber-ink: #a35d00;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.ico {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.btn-lg {
  height: 48px;
  padding: 0 22px;
}

/* ---------- loader ---------- */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s ease;
  animation: loader-failsafe 0.01s linear 4s forwards;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.site-loader canvas {
  width: 180px;
  height: 180px;
}

.site-loader span {
  font-size: 34px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.035em;
}

body.is-loading {
  overflow: hidden;
}

@keyframes loader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ---------- floating pill nav ---------- */

.nav {
  --nav-gap: 28px;
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 60;
  transform: translateX(-50%);
  width: min(640px, calc(100% - 32px));
  height: 56px;
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(243, 243, 243, 0.86);
  transition: padding 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

/* CTA slides in once the hero buttons are out of view, nudging the links over */
.nav-cta {
  max-width: 0;
  margin-left: calc(-1 * var(--nav-gap));
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px) scale(0.94);
  transition:
    max-width 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    margin-left 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.9s;
}

.nav.has-cta {
  padding-right: 8px;
}

.nav.has-cta .nav-cta {
  max-width: 220px;
  margin-left: 0;
  padding: 0 16px;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav-cta,
  .nav-links,
  .nav-toggle span {
    transition: none;
  }
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.nav-brand img {
  height: 24px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  opacity: 0.86;
  transition: opacity 0.15s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-menu-cta {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: top 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav.is-open .nav-toggle span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(120px, 14vw, 168px) 0 0;
}

.hero-head {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.eyebrow {
  margin-top: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--panel);
  color: #4a4a4a;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin-top: 20px;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}

.hero-sub {
  max-width: 640px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.works-with {
  margin-top: 56px;
  color: var(--muted);
  font-size: 14px;
}

.works-list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  color: #8f8f8f;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.works-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.works-list .ico,
.works-list .logo {
  width: 22px;
  height: 22px;
  flex: none;
}

.logo {
  fill: currentColor;
}

/* ---------- product panel (chat demo) ---------- */

.product-panel {
  margin: 72px 14px 0;
  padding: clamp(24px, 5vw, 72px) clamp(16px, 4vw, 56px);
  border-radius: 40px;
  background: var(--panel);
}

.visual {
  --gap-x: 40px;
  --gap-y: 46px;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 470fr) minmax(0, 330fr);
  column-gap: var(--gap-x);
  row-gap: var(--gap-y);
  align-items: center;
}

.chat-window {
  grid-row: 1 / span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.2), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.chat-header {
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: #fff;
}

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

.chat-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.chat-name {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.chat-sub {
  margin-top: 1px;
  color: #a3a3a3;
  font-size: 11px;
}

.live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.chat-body {
  flex: 1;
  padding: 16px 16px 6px;
}

.speaker {
  margin-bottom: 3px;
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.message {
  display: flow-root;
  max-width: 88%;
  margin-bottom: 9px;
  padding: 9px 14px;
  border-radius: 17px;
  font-size: 13.5px;
  line-height: 1.38;
  letter-spacing: -0.005em;
}

.message.customer {
  border: 1px solid var(--line);
  background: #f3f3f3;
}

.message.assistant {
  margin-left: auto;
  border-bottom-right-radius: 5px;
  background: var(--ink);
  color: #fff;
}

.message.assistant-light {
  margin-left: auto;
  border-bottom-right-radius: 5px;
  background: #e9e9e9;
}

.message-time {
  float: right;
  margin: 6px 0 0 12px;
  color: #9a9a9a;
  font-size: 9px;
}

.product-card {
  width: 88%;
  margin: 2px 0 9px auto;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.product-image {
  width: 52px;
  height: 52px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: radial-gradient(circle at 35% 35%, #f6f6f6, #f0f0f0 55%, #e8e8e8);
}

.bottle {
  position: relative;
  width: 30px;
  height: 55px;
  border-radius: 8px 8px 11px 11px;
  background: linear-gradient(90deg, #fff, #f0f0f0);
  box-shadow: inset 0 0 0 1px #d9d9d9;
  transform: scale(0.72);
}

.bottle::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 5.5px;
  width: 19px;
  height: 9px;
  border-radius: 5px 5px 2px 2px;
  background: #121416;
}

.bottle::after {
  content: "";
  position: absolute;
  bottom: 11px;
  left: 8px;
  width: 13px;
  height: 3px;
  border-radius: 5px;
  background: #b6b6b6;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.product-price {
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 650;
}

.product-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-btn {
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 650;
}

.product-btn.buy {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.chat-input {
  height: 38px;
  margin: 0 16px 12px;
  padding: 0 4px 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.input-placeholder {
  flex: 1;
  color: #9d9d9d;
  font-size: 12px;
}

.input-icon {
  color: #9a9a9a;
}

.input-icon svg {
  width: 18px;
  height: 18px;
}

.send {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.intent-card,
.whatsapp-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.2);
}

.intent-card {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.whatsapp-card {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

/* arrows sit in the gaps: chat -> intent (sideways), intent -> WhatsApp (down) */
.intent-card::before,
.intent-card::after {
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.intent-card::before {
  content: "→";
  top: 50%;
  left: calc(-1 * (var(--gap-x) / 2 + 17px));
  transform: translateY(-50%);
}

.intent-card::after {
  content: "↓";
  left: 50%;
  bottom: calc(-1 * (var(--gap-y) / 2 + 17px));
  transform: translateX(-50%);
}

.intent-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.intent-label::before {
  content: "↗";
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 10px;
}

.intent-product {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.small-product-image {
  width: 54px;
  height: 54px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f4f4, #ececec);
}

.small-product-image .bottle {
  transform: scale(0.62);
}

.intent-product-name {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.intent-price {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 650;
}

.intent-divider {
  height: 1px;
  margin: 16px 0;
  background: var(--line);
}

.check-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a4a4a;
  font-size: 12.5px;
  font-weight: 550;
}

.check {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.whatsapp-header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wa-icon {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--wa);
}

.wa-icon svg {
  width: 36px;
  height: 36px;
}

.wa-title {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.wa-status {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.wa-message {
  margin-top: 14px;
  padding: 13px;
  border-radius: 13px;
  background: var(--wa-bubble);
  color: #2f3b2f;
  font-size: 11.5px;
  line-height: 1.55;
}

.wa-logo {
  float: right;
  color: var(--wa);
  font-size: 16px;
}

/* ---------- benefits strip ---------- */

.benefits {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) 24px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.benefit-item {
  text-align: center;
}

.benefit-item svg {
  width: 30px;
  height: 30px;
  margin: 0 auto 14px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.benefit-item p {
  max-width: 220px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- shared section pieces ---------- */

.section {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 48px) 0;
  scroll-margin-top: 80px;
}

.section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.section-eyebrow {
  display: block;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section-title {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}

.section-sub {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.tick {
  width: 20px;
  height: 20px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- made for India / languages ---------- */

.product-panel {
  scroll-margin-top: 90px;
}

.lang-tiles {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.lang-tile {
  min-height: 132px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border-radius: 24px;
  background: var(--panel);
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-tile b {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lang-tile span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.lang-tile:hover {
  background: #ebebeb;
  transform: translateY(-2px);
}

.lang-tile.is-active {
  background: var(--ink);
  color: #fff;
}

.lang-tile.is-active span {
  color: rgba(255, 255, 255, 0.65);
}

.lang-tile:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.lang-hint {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.lang-points {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.lang-points li {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.lang-points h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lang-points p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .lang-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .lang-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .lang-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lang-tile {
    min-height: 116px;
  }

  .lang-tile:last-child {
    grid-column: 1 / -1;
  }
}

/* ---------- why quickflo ---------- */

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

.why-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
}

.why-card--wide {
  grid-column: span 3;
  padding: 32px;
}

.why-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.why-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-card h3 {
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.why-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.mini-chat {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.35;
}

.mini-bubble--customer {
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  background: #fff;
}

.mini-bubble--bot {
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  background: var(--ink);
  color: #fff;
}

.mini-product {
  margin-top: auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: #fff;
}

.mini-thumb {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(135deg, #f4f4f4, #ececec);
}

.mini-thumb .bottle {
  transform: scale(0.5);
}

.mini-product b,
.p-product b {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.mini-product .price,
.p-product .price {
  display: block;
  margin-top: 2px;
  color: #4a4a4a;
  font-size: 13px;
  font-weight: 600;
}

.mini-buy {
  margin-left: auto;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

/* ---------- stage panels (journey + support) ---------- */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.1fr) 56px minmax(0, 1fr);
  align-items: center;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: 40px;
  background: var(--panel);
}

.stage-label {
  display: block;
  margin-bottom: 4px;
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-link {
  position: relative;
  height: 34px;
  display: grid;
  place-items: center;
}

.stage-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.22), transparent);
}

.stage-link span {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* journey */

.channel,
.outcome {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
}

.channel-icon,
.outcome-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
}

.channel-icon--ig {
  background: linear-gradient(45deg, #f9a03f 0%, #e1306c 55%, #833ab4 100%);
  color: #fff;
}

.channel-icon--wa,
.outcome-icon--wa {
  background: var(--wa);
  color: #fff;
}

.channel-name,
.outcome-name {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.channel-msg,
.outcome-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.outcome--purchase {
  background: var(--ink);
  color: #fff;
}

.outcome--purchase .outcome-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.outcome--purchase .outcome-sub {
  color: rgba(255, 255, 255, 0.66);
}

.core-card {
  padding: 26px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.45);
}

.core-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.core-head img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.core-head b {
  display: block;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.core-head small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.core-list {
  margin-top: 18px;
  display: grid;
  gap: 13px;
}

.core-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.core-list .tick {
  background: #fff;
  color: var(--ink);
}

.journey-steps {
  margin-top: clamp(44px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.journey-steps li {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.step-num {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.journey-steps h3 {
  margin-top: 16px;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.journey-steps strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.journey-steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* support */

.stage--support {
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 0.85fr) 56px minmax(0, 1fr);
}

.q-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.q-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: #fff;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.q-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.q-chip--human {
  border: 1px solid var(--amber-line);
  background: var(--amber-bg);
}

.q-chip--human::before {
  background: #ff9d2e;
}

.flow-node {
  padding: 28px 24px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.45);
}

.flow-node img {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
}

.flow-node b {
  display: block;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.flow-node p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.5;
}

.result-card {
  padding: 20px;
  border: 1px solid;
  border-radius: 22px;
}

.result-card--resolved {
  border-color: #cfe9d8;
  background: var(--green-bg);
}

.result-card--human {
  border-color: var(--amber-line);
  background: var(--amber-bg);
}

.result-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.result-card--resolved .result-tag {
  color: var(--green-ink);
}

.result-card--human .result-tag {
  color: var(--amber-ink);
}

.result-card b {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.result-card p {
  margin-top: 6px;
  color: #4b4b4b;
  font-size: 14px;
  line-height: 1.5;
}

.handoff {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.handoff-step {
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.handoff-arrow {
  color: #9a9a9a;
  font-size: 20px;
  font-weight: 700;
}

.pull-quote {
  margin-top: clamp(48px, 6vw, 88px);
  text-align: center;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}

/* ---------- customer intelligence ---------- */

.intel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.intel-copy .section-title {
  font-size: clamp(34px, 4.4vw, 56px);
}

.intel-copy .section-sub {
  margin-left: 0;
}

.field-chips {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field-chips li {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--panel);
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 550;
}

.profile-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}

.profile-head b {
  display: block;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.profile-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.intent-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.intent-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

.profile-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.profile-cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.profile-cols .profile-block {
  min-width: 0;
}

.p-label {
  display: block;
  margin-bottom: 8px;
  color: #8a8a8a;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.p-label--gap {
  margin-top: 16px;
}

.p-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-list {
  display: grid;
  gap: 8px;
  color: #3d3d3d;
  font-size: 13.5px;
  font-weight: 550;
}

.p-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.p-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
}

.p-value {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.meter {
  display: flex;
  gap: 5px;
}

.meter i {
  width: 32px;
  height: 8px;
  border-radius: 99px;
  background: var(--ink);
}

.p-quote {
  padding: 12px 14px;
  border: 1px solid var(--amber-line);
  border-radius: 14px;
  background: var(--amber-bg);
  color: #6b4a14;
  font-size: 14px;
  font-weight: 550;
}

.p-summary {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.profile-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--green-bg);
  color: var(--green-ink);
  font-size: 13.5px;
  font-weight: 650;
}

.profile-foot .tick {
  background: var(--wa);
  color: #fff;
}

/* ---------- closing CTA + footer ---------- */

.section--cta {
  padding-bottom: clamp(56px, 7vw, 96px);
  text-align: center;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

.cta-sub {
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.cta-form {
  max-width: 520px;
  margin: 32px auto 0;
  padding: 6px;
  display: flex;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cta-form:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.cta-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.cta-form input[type="email"]::placeholder {
  color: #9a9a9a;
}

.cta-form .btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.cta-status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 550;
}

.cta-status.is-success {
  color: var(--green-ink);
}

.cta-status.is-error {
  color: #b42318;
}

.cta-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.cta-note span {
  white-space: nowrap;
}

.site-footer {
  padding: 24px clamp(20px, 4vw, 48px) 44px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.footer-brand img {
  height: 26px;
  width: auto;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card,
  .why-card--wide {
    grid-column: span 1;
  }

  .why-card:last-child {
    grid-column: 1 / -1;
  }

  .stage,
  .stage--support {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-link {
    width: 100%;
    height: 56px;
  }

  .stage-link::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22), transparent);
  }

  .stage-link span {
    transform: rotate(90deg);
  }

  .core-card,
  .flow-node {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .q-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .intel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .intel-copy {
    text-align: center;
  }

  .intel-copy .section-sub {
    margin-left: auto;
  }

  .field-chips {
    justify-content: center;
  }

  .profile-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .stage-col--in,
  .stage-col--out {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-col .stage-label {
    grid-column: 1 / -1;
  }

  .channel,
  .outcome {
    flex-direction: column;
  }

  .result-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-col .stage-label {
    grid-column: 1 / -1;
  }
}

/* demo stacks into one column; arrows turn downward */
@media (max-width: 900px) {
  .visual {
    max-width: 520px;
    grid-template-columns: minmax(0, 1fr);
  }

  .chat-window,
  .intent-card,
  .whatsapp-card {
    grid-column: 1;
    grid-row: auto;
    align-self: stretch;
  }

  .intent-card::before {
    content: "↓";
    top: calc(-1 * (var(--gap-y) / 2 + 17px));
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 860px) {
  .handoff {
    flex-direction: column;
    gap: 8px;
  }

  .handoff-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 720px) {
  .nav {
    --nav-gap: 12px;
  }

  .nav,
  .nav.has-cta {
    padding: 0 8px 0 20px;
  }

  .nav-brand span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: 28px;
    background: #f3f3f3;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.22);
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 0.25s ease,
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.35s;
  }

  .nav.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: 16px;
    opacity: 1;
  }

  .nav-links a:active {
    background: #e9e9e9;
  }

  .nav-links .nav-menu-cta {
    display: inline-flex;
    height: 48px;
    margin-top: 6px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 16px;
    color: #fff;
  }

  .nav-links .nav-menu-cta:active {
    background: var(--ink);
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .nav {
    top: 12px;
    height: 52px;
  }

  .hero {
    padding-top: 112px;
  }

  .app-icon {
    width: 68px;
    height: 68px;
    border-radius: 17px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .works-with {
    margin-top: 44px;
  }

  .works-list {
    gap: 10px 22px;
    font-size: 15px;
  }

  .product-panel {
    margin: 56px 10px 0;
    padding: 20px 12px;
    border-radius: 28px;
  }

  .section-title br {
    display: none;
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-card:last-child {
    grid-column: auto;
  }

  .why-card,
  .why-card--wide {
    padding: 24px;
    border-radius: 24px;
  }

  .stage {
    padding: 18px;
    border-radius: 28px;
  }

  .journey-steps,
  .q-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefits {
    gap: 28px 16px;
  }

  .profile-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .profile-card {
    padding: 22px;
    border-radius: 24px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .hero-head {
    padding: 0 16px;
  }

  .chat-body {
    padding-left: 10px;
    padding-right: 10px;
  }

  .product-image {
    width: 46px;
    height: 46px;
  }

  .product-card {
    gap: 10px;
  }

  .product-btn {
    padding: 5px 8px;
    font-size: 10.5px;
  }
}

@media (max-width: 340px) {
  .product-actions {
    gap: 5px;
  }

  .product-btn {
    padding: 5px 7px;
    font-size: 10px;
  }
}


/* Pricing */
.pricing-section { padding-top: 96px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.pricing-card { position: relative; display: flex; flex-direction: column; min-height: 510px; padding: 24px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); }
.pricing-card--featured { border-color: rgba(174,255,37,.85); background: linear-gradient(180deg, rgba(245,255,225,.95), rgba(255,255,255,.9)); box-shadow: 0 30px 80px -42px rgba(105,150,0,.8); }
.popular-badge { position: absolute; top: 18px; right: 18px; padding: 7px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 850; }
.pricing-card-head { min-height: 94px; padding-right: 84px; }
.plan-name { display: block; font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.pricing-card-head p { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin-top: 10px; }
.plan-price span { font-size: clamp(34px, 3vw, 44px); font-weight: 900; letter-spacing: -.07em; }
.plan-price em { color: var(--muted); font-size: 14px; font-style: normal; font-weight: 700; }
.plan-limit { display: block; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: #f4f6ef; color: #334000; font-size: 14px; }
.pricing-card ul { display: grid; gap: 11px; margin: 22px 0 24px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; line-height: 1.45; }
.pricing-card li { position: relative; padding-left: 24px; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 900; }
.pricing-btn { width: 100%; margin-top: auto; }
.pricing-note { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.74); color: var(--muted); font-size: 14px; line-height: 1.55; }
.pricing-note strong { color: var(--ink); }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pricing-section { padding-top: 64px; } .pricing-grid { grid-template-columns: minmax(0, 1fr); } .pricing-card { min-height: auto; } .pricing-card-head { min-height: auto; } .pricing-note { grid-template-columns: minmax(0, 1fr); } }


/* QuickFlo black logo mark */
.nav-brand img,
.footer-brand img {
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.nav-brand img {
  width: 34px;
  height: 34px;
}

.footer-brand img {
  width: 26px;
  height: 26px;
}

.app-icon {
  object-fit: contain;
  padding: 14px;
  background: #fff;
}

.chat-header .brand img,
.chat-header .brand-icon img,
.bot-avatar img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* White logo tile on dark chatbot header */
.chat-logo {
  width: 34px !important;
  height: 34px !important;
  padding: 7px;
  border-radius: 11px !important;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

/* White logo tile on dark QuickFlo cards */
.flow-node img,
.core-head img {
  padding: 10px;
  border-radius: 18px !important;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.core-head img {
  width: 50px !important;
  height: 50px !important;
}

.flow-node img {
  width: 70px !important;
  height: 70px !important;
  margin-bottom: 14px;
}

/* Keep desktop nav on one line */
.nav {
  gap: 18px;
}

.nav-brand {
  flex: 0 0 auto;
}

.nav-links {
  gap: clamp(18px, 3vw, 42px);
  white-space: nowrap;
}

.nav-links a {
  white-space: nowrap;
}

.nav-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .nav-links {
    white-space: normal;
  }
}


/* Language conversation demo */
.language-demo {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.language-demo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.language-switcher span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f4f5ef;
}

.language-switcher .is-active {
  background: var(--lime);
  color: var(--ink);
}

.language-chat {
  display: grid;
  grid-template-columns: 1fr auto 1fr minmax(220px, 0.72fr);
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.language-bubble {
  min-height: 160px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #f4f5ef;
}

.language-bubble span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 850;
}

.language-bubble p {
  font-size: 17px;
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.quickflo-lang {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.quickflo-lang span {
  color: rgba(255, 255, 255, 0.62);
}

.language-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  transform: rotate(-90deg);
}

.language-product {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px -34px rgba(0, 0, 0, 0.35);
}

.language-product-art {
  position: relative;
  min-height: 86px;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff7df, #ffe1eb 48%, #d8fff1);
}

.language-product-art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  bottom: 12px;
  width: 28px;
  transform: translateX(-50%);
  border-radius: 10px 10px 12px 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 21, 0.08), 0 8px 18px rgba(17, 19, 21, 0.12);
}

.language-product-art::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 13px;
  width: 22px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 6px 6px 3px 3px;
  background: var(--ink);
}

.language-product b,
.language-product strong {
  display: block;
}

.language-product b {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.language-product strong {
  margin-top: 4px;
  font-size: 18px;
}

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

.language-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: #f7f7f2;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.language-actions button:last-child {
  border-color: var(--lime);
  background: var(--lime);
}

.language-demo-line {
  margin-top: 18px;
  text-align: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

@media (max-width: 1000px) {
  .language-demo-head {
    display: grid;
  }

  .language-switcher {
    justify-content: flex-start;
  }

  .language-chat {
    grid-template-columns: minmax(0, 1fr);
  }

  .language-arrow {
    margin: 0 auto;
    transform: none;
  }

  .language-bubble {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .language-demo {
    padding: 20px;
    border-radius: 26px;
  }

  .language-bubble p {
    font-size: 15px;
  }
}

/* In-chat language switcher */
.language-demo {
  display: none !important;
}

.chat-language-switcher {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
}

.chat-language-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f0f1ec;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.chat-language-switcher button.is-active {
  background: var(--ink);
  color: #fff;
}

.chat-language-line {
  grid-column: 1;
  margin: -28px auto 18px;
  max-width: 430px;
  text-align: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

@media (max-width: 900px) {
  .chat-language-line {
    grid-column: 1;
    margin: 4px auto 14px;
  }
}

/* Language switcher at top of how-it-works section */
#journey > .section-inner > .chat-language-switcher {
  margin: -8px 0 24px;
  justify-content: flex-start;
}

/* Language switcher at very top of How it works section */
#journey > .section-inner > .chat-language-switcher:first-child {
  margin: 0 0 28px;
  justify-content: flex-start;
}

/* Language switcher belongs in Why QuickFlo section */
#why-quickflo .chat-language-switcher {
  margin: -4px 0 28px;
  justify-content: flex-start;
}

#journey > .section-inner > .chat-language-switcher {
  display: none !important;
}

/* Language switcher above hero chatbot widget */
.product-panel > .chat-language-switcher {
  margin: 0 auto 18px;
  justify-content: center;
}

#why-quickflo .chat-language-switcher,
#journey > .section-inner > .chat-language-switcher {
  display: none !important;
}

/* Language switcher placement and switching animation */
.product-panel > .chat-language-switcher {
  transform: translateY(-26px);
  margin-bottom: 18px;
}

@media (max-width: 700px) {
  .product-panel > .chat-language-switcher {
    transform: none;
    margin-bottom: 28px;
  }
}

.chat-window .message {
  transition: opacity 0.16s ease, transform 0.16s ease, filter 0.16s ease;
}

.wa-message {
  transition: opacity 0.16s ease, filter 0.16s ease;
}

.wa-message.is-switching {
  opacity: 0.35;
  filter: blur(1.5px);
}

.chat-window.is-switching .message {
  opacity: 0.35;
  transform: translateY(4px);
  filter: blur(1.5px);
}

.chat-window.has-switched .message {
  animation: chatLanguageIn 0.34s ease both;
}

@keyframes chatLanguageIn {
  from {
    opacity: 0.45;
    transform: translateY(5px);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Tighter desktop nav spacing */
.nav-links {
  gap: clamp(14px, 2vw, 26px) !important;
}
