*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --bg: #ffffff;
  --bg2: #f8f9fa;
  --bg3: #f1f3f5;
  --ink: #0f0f10;
  --ink2: #3a3a40;
  --muted: #6b6b75;
  --border: #e8e8ec;
  --border2: #d4d4dc;
  --accent: #5b50f0;
  --accent2: #7c73f5;
  --accent-bg: #f0efff;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

/* NAV */
nav {
  position: sticky;
  top: 0; z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 450;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

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

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  gap: 1px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.04em;
}

.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: white; color: var(--ink); box-shadow: var(--shadow-sm); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
  line-height: 1;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 3px rgba(91,80,240,0.3);
}
.btn-primary:hover {
  background: #4a3fe0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91,80,240,0.35);
}

/* HERO */
.hero {
  padding: 80px 5% 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(91,80,240,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid rgba(91,80,240,0.2);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}

.url-widget { max-width: 560px; margin: 0 auto 1rem; }

.url-input-row {
  display: flex;
  align-items: center;
  background: white;
  border: 1.5px solid var(--border2);
  border-radius: 12px;
  padding: 5px 5px 5px 14px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.url-input-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(91,80,240,0.1), var(--shadow);
}

.url-prefix {
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
  user-select: none;
  margin-right: 2px;
}

.url-input-row input {
  flex: 1; border: none; outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
  background: transparent;
  padding: 0.55rem 0.5rem;
  min-width: 0;
}

.url-input-row input::placeholder { color: #b4b4be; }
.url-input-row .btn-primary { flex-shrink: 0; padding: 0.6rem 1.25rem; border-radius: 8px; }

.hero-hint { font-size: 0.8125rem; color: var(--muted); }
.hero-hint strong { color: var(--ink); font-weight: 500; }

/* BROWSER MOCKUP */
.hero-mockup { max-width: 1100px; margin: 3.5rem auto 0; }

.browser-frame {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  background: white;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-dots { display: flex; gap: 5px; }
.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--muted);
}

.browser-content {
  position: relative;
  height: 620px;
  background: #fff;
  overflow: hidden;
}

/* The live iframe preview */
#heroIframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  transition: opacity 0.3s;
}

/* Loading overlay shown while iframe loads */
.browser-loading {
  position: absolute;
  inset: 0;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.browser-loading.hidden { opacity: 0; }

.browser-loading-spinner {
  width: 28px; height: 28px;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.browser-loading-text {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.mock-nav-bar {
  border-radius: var(--radius-sm);
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
  border: 1px solid var(--border);
}

.mock-hero-block {
  border-radius: var(--radius-sm);
  flex: 1;
  padding: 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Chat widget */
.chat-widget {
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  animation: slideIn 0.6s 0.4s ease both;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-av {
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.chat-online {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  color: rgba(255,255,255,0.45);
}

.chat-online::before {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 4px #4ade80;
}

.chat-msgs {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #fafafa;
}

.cm { display: flex; flex-direction: column; }
.cm.bot { align-items: flex-start; }
.cm.user { align-items: flex-end; }

.cb {
  max-width: 90%;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.45;
}

.bot .cb {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
}

.user .cb {
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 3px;
}

.chat-form-mini {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px;
  max-width: 92%;
}

.typing-dots {
  align-items: center;
  gap: 3px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  padding: 7px 10px;
}
@keyframes tdot {
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-foot {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
  background: white;
}

.chat-fake-input {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 0.7rem;
  color: var(--muted);
}

.send-btn {
  border-radius: 6px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* STATS BAR */
.stats-bar {
  display: flex;
  justify-content: center;
  max-width: 700px;
  margin: 4rem auto 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 1.375rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 3px;
}

.stat-label { font-size: 0.7375rem; color: var(--muted); }

/* SECTIONS */
section { padding: 80px 5%; }
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1rem;
}

h2 em { font-style: italic; color: var(--accent); }

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* LOGOS BAR */
.logos-section {
  padding: 28px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.logos-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.logo-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--border2);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* INDUSTRIES — bold marquee layout */
.industries-bg { background: var(--ink); overflow: hidden; }

.industries-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.industries-header h2 { color: white; margin-bottom: 0; }
.industries-header h2 em { color: var(--accent2); }
.industries-header .section-kicker { color: rgba(255,255,255,0.4); }

.industries-header-right {
  max-width: 340px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  flex-shrink: 0;
}

/* Horizontal scrolling marquee rows */
.industry-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  margin: 0 -5%;
  padding: 0;
}

.marquee-row {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee-left 28s linear infinite;
}

.marquee-row.reverse {
  animation: marquee-right 32s linear infinite;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.industry-marquee-wrap:hover .marquee-row { animation-play-state: paused; }

.itag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  padding: 0.75rem 1.375rem;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  cursor: default;
}

.itag:hover {
  background: rgba(91,80,240,0.2);
  border-color: rgba(91,80,240,0.4);
}


.itag-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
}

.itag-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 10px;
  max-width: 200px;
}

/* FEATURES */
.features-section { background: white; }

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg2);
}

.feat-panel {
  padding: 2.25rem 2.5rem;
  background: white;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feat-panel:nth-child(2) { border-right: none; }
.feat-panel:nth-child(3) { border-bottom: none; }
.feat-panel:nth-child(4) { border-right: none; border-bottom: none; }

.feat-panel.featured-panel {
  background: var(--ink);
  border-color: transparent;
}

.feat-panel.featured-panel h3 { color: white; }
.feat-panel.featured-panel p { color: rgba(255,255,255,0.5); }

.feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(91,80,240,0.15);
  margin-bottom: 1.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feat-panel.featured-panel .feat-chip {
  background: rgba(91,80,240,0.2);
  border-color: rgba(91,80,240,0.3);
  color: var(--accent2);
}

.feat-panel h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.625rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
  color: var(--ink);
}

.feat-panel p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.feat-demo { margin-top: 1.375rem; }

/* ── ANIMATED CHAT DEMO ── */
.live-chat-demo {
  background: #fafafa;
  border: 2px solid rgb(50, 50, 53);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lcd-header {
  background: var(--ink);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lcd-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.lcd-name { font-size: 0.75rem; font-weight: 600; color: white; }
.lcd-sub  { font-size: 0.625rem; color: rgba(255,255,255,0.4); }
.lcd-online {
  margin-left: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 5px #4ade80;
}

/* Message scroll area — strictly fixed height, real scrollTop */
.lcd-msgs {
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 12px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
  background: #fafafa;
  /* Subtle shadow under the dark header so messages don't bleed into it */
  box-shadow: inset 0 8px 12px -6px rgba(0,0,0,0.12);
}
.lcd-msgs::-webkit-scrollbar { display: none; }

/* Bot typing indicator — collapses to zero height when hidden, expands when shown */
.lcd-bot-typing {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.lcd-bot-typing.active {
  max-height: 40px;
}

.lcd-typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  border-bottom-left-radius: 2px;
  padding: 8px 11px;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lcd-typing.show { opacity: 1; transform: scale(1); }
.lcd-typing span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: tdot 1.1s infinite ease-in-out;
}
.lcd-typing span:nth-child(2) { animation-delay: 0.18s; }
.lcd-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes tdot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-4px); opacity: 1; }
}

.lcd-msg { display: flex; flex-direction: column; flex-shrink: 0; }
.lcd-msg.bot  { align-items: flex-start; }
.lcd-msg.user { align-items: flex-end; }

.lcd-bubble {
  max-width: 88%;
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(4px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.lcd-bubble.show { opacity: 1; transform: translateY(0) scale(1); }

.lcd-msg.bot  .lcd-bubble {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.lcd-msg.user .lcd-bubble {
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 2px;
}

/* Fake input bar at the bottom */
.lcd-input-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-top: 1px solid var(--border);
  background: white;
}

.lcd-input-fake {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 0.7rem;
  color: var(--ink);
  min-height: 26px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.lcd-input-text { color: var(--ink); }

/* Blinking caret in input bar */
.lcd-input-caret {
  display: inline-block;
  width: 1.5px;
  height: 11px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 1px;
  animation: blink2 0.7s steps(1) infinite;
}
@keyframes blink2 { 0%,100%{opacity:1} 50%{opacity:0} }

.lcd-input-caret.hidden { display: none; }

/* User typing dots — purple, in the input bar — hidden via display:none when inactive */
.lcd-user-typing {
  display: none;
  align-items: center;
  gap: 3px;
}
.lcd-user-typing.show { display: inline-flex; }
.lcd-user-typing span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  animation: tdot 1.1s infinite ease-in-out;
}
.lcd-user-typing span:nth-child(2) { animation-delay: 0.18s; }
.lcd-user-typing span:nth-child(3) { animation-delay: 0.36s; }

.lcd-send-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lcd-send-btn svg { width: 12px; height: 12px; fill: white; }

/* ── ANIMATED FORM DEMO ── */
.live-form-demo {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  position: relative; /* for cursor */
  overflow: visible;
  user-select: none;
}

.lfd-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.lfd-field {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  position: relative;
  min-height: 33px;
  line-height: 1.5;
  /* block layout — spans render inline inside naturally */
}

.lfd-field .lfd-label {
  color: var(--muted);
  pointer-events: none;
  transition: opacity 0.15s;
}

.lfd-field .lfd-value {
  color: var(--ink);
  font-weight: 500;
}

.lfd-field .lfd-caret {
  display: inline-block;
  width: 1.5px;
  height: 12px;
  background: var(--accent);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: blink 0.75s steps(1) infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.lfd-field.focused {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(91,80,240,0.1);
}

/* When focused: hide label, show value + caret */
.lfd-field.focused .lfd-label { display: none; }
.lfd-field.focused .lfd-value { display: inline; }
.lfd-field.focused .lfd-caret { display: inline-block; }

/* Default state: show label, hide value and caret */
.lfd-field:not(.focused):not(.done) .lfd-value { display: none; }
.lfd-field:not(.focused):not(.done) .lfd-caret  { display: none; }

.lfd-field.done {
  border-color: var(--green);
  background: var(--green-bg);
}
.lfd-field.done .lfd-label  { display: none; }
.lfd-field.done .lfd-value  { display: inline; color: var(--green); font-weight: 500; }
.lfd-field.done .lfd-caret  { display: none; }

.lfd-submit {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 7px;
  padding: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.25s, transform 0.15s, box-shadow 0.15s;
  position: relative;
}

.lfd-submit.pressing {
  transform: scale(0.97);
  box-shadow: 0 1px 3px rgba(91,80,240,0.2);
}

.lfd-submit.success {
  background: var(--green);
  transform: scale(1);
}

/* Animated mouse cursor */
.demo-cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s;
}

.demo-cursor svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35));
}

.demo-cursor.visible { opacity: 1; }

/* Large feature panels */
.feat-panel.wide {
  grid-column: span 2;
  border-right: none;
}

.feat-pair {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feat-pair-text { flex: 1; min-width: 0; }
.feat-pair-visual { flex: 1; min-width: 0; }

.fd-field {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.75rem;
  color: var(--muted);
}

.fd-submit {
  background: var(--accent);
  color: white;
  border-radius: 6px;
  padding: 7px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 2px;
}

.form-demo {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-demo-title { font-size: 0.8125rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }

/* HOW IT WORKS */
.how-bg { background: var(--bg2); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(16.666% + 22px);
  right: calc(16.666% + 22px);
  height: 2px;
  border-top: 2px dashed var(--border2);
  pointer-events: none;
}

.step-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.625rem;
}

.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 2px solid rgba(91,80,240,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.125rem;
  position: relative;
  z-index: 1;
}

.step-card h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.step-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.tcard {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.tcard-stars { display: flex; gap: 2px; margin-bottom: 0.875rem; color: #f59e0b; font-size: 0.8rem; }

.tcard-text {
  font-size: 0.9rem;
  color: var(--ink2);
  line-height: 1.65;
  margin-bottom: 1.125rem;
  font-style: italic;
}

.tcard-author { display: flex; align-items: center; gap: 0.625rem; }

.tcard-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.tcard-av.c1 { background: #7c73f5; }
.tcard-av.c2 { background: #0ea5e9; }
.tcard-av.c3 { background: #10b981; }

.tcard-name { font-size: 0.8375rem; font-weight: 600; color: var(--ink); }
.tcard-role { font-size: 0.75rem; color: var(--muted); }

/* PRICING */
.pricing-bg { background: var(--bg2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.pcard {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.875rem;
  position: relative;
  transition: box-shadow 0.2s;
}
.pcard:hover { box-shadow: var(--shadow); }

.pcard.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.featured-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
}

.ptier {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.pcard.featured .ptier { color: var(--accent); }

.pprice { display: flex; align-items: baseline; gap: 3px; margin-bottom: 0.2rem; }

.pprice-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.pprice-per { font-size: 0.8rem; color: var(--muted); }

.pdesc {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-bottom: 1.125rem;
  margin-bottom: 1.125rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.pfeatures {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.625rem;
}

.pfeatures li {
  font-size: 0.8375rem;
  color: var(--ink2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pfeatures li::before {
  content: '✓';
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--green-bg);
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 1px solid var(--border2);
  background: white;
  color: var(--ink);
  transition: all 0.15s;
  text-decoration: none;
}
.btn-plan:hover { background: var(--bg2); }

.pcard.featured .btn-plan {
  background: var(--accent);
  color: white;
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(91,80,240,0.3);
}
.pcard.featured .btn-plan:hover { background: #4a3fe0; }

/* CTA */
.cta-section {
  background: var(--ink);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 600px;
  background: radial-gradient(ellipse, rgba(91,80,240,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }
.cta-section h2 { color: white; }
.cta-section h2 em { color: var(--accent2); }
.cta-section .section-desc { color: rgba(255,255,255,0.5); margin: 0 auto 2rem; }

.cta-url-wrap { max-width: 500px; margin: 0 auto; }

.cta-url-wrap .url-input-row {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
.cta-url-wrap .url-input-row:focus-within {
  border-color: var(--accent2);
  box-shadow: 0 0 0 4px rgba(124,115,245,0.2);
}
.cta-url-wrap .url-prefix { color: rgba(255,255,255,0.3); }
.cta-url-wrap input { color: white; }
.cta-url-wrap input::placeholder { color: rgba(255,255,255,0.22); }

/* FOOTER */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-logo-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  font-weight: 700;
}

footer p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

.footer-links { list-style: none; display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* URL disclaimer */
.url-disclaimer {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.url-disclaimer strong { color: var(--ink); }

/* ── BOOKING ANIMATION (feat3) ── */
.booking-anim {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.booking-row.in { opacity: 1; transform: translateX(0); }

.booking-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: white;
  flex-shrink: 0;
}

.booking-info { flex: 1; min-width: 0; }
.booking-name { font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.booking-time { font-size: 0.67rem; color: var(--muted); }

.booking-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 100px;
  background: #dcfce7;
  color: #16a34a;
  white-space: nowrap;
  flex-shrink: 0;
}

.booking-badge.pending {
  background: #fef9c3;
  color: #b45309;
}

.booking-counter {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-counter-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.booking-counter-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── BRAND COMPARISON INFOGRAPHIC (feat4) ── */
.brand-compare {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.brand-col {
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.brand-col.generic {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
}

.brand-col.custom {
  background: rgba(91,80,240,0.06);
  border: 1px solid rgba(91,80,240,0.2);
}

.brand-col-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.brand-col.generic .brand-col-label { color: #71717a; }
.brand-col.custom  .brand-col-label { color: var(--accent); }

.brand-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.brand-row .bi {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
}

.brand-col.generic .bi { background: #fee2e2; color: #ef4444; }
.brand-col.custom  .bi { background: #dcfce7; color: #16a34a; }

.brand-col.generic .brand-row { color: #71717a; }
.brand-col.custom  .brand-row { color: var(--ink); }
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim { animation: fadeUp 0.55s ease both; }
.anim-1 { animation-delay: 0.05s; }
.anim-2 { animation-delay: 0.12s; }
.anim-3 { animation-delay: 0.19s; }
.anim-4 { animation-delay: 0.25s; }
.anim-5 { animation-delay: 0.31s; }
.anim-6 { animation-delay: 0.38s; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .features-layout { grid-template-columns: 1fr; }
  .feat-panel:nth-child(2) { border-right: none; }
  .feat-panel:nth-child(3) { border-bottom: 1px solid var(--border); }
  .feat-panel.wide { grid-column: span 1; }
  .feat-pair { flex-direction: column; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .browser-content { flex-direction: column; }
  footer { flex-direction: column; text-align: center; }
  .industries-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .stats-bar { flex-direction: column; border-radius: 16px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .logos-row { gap: 1.5rem; }
}

/* ── SVG icon base styles ── */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.itag-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.itag-icon .icon {
  width: 100%;
  height: 100%;
}
.feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feat-chip .icon {
  width: 14px;
  height: 14px;
}
.lfd-title {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lfd-title .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* ── Brand compare: SVG check/cross icons ── */
.bi {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-col.generic .bi { background: #fee2e2; color: #ef4444; }
.brand-col.custom  .bi { background: #dcfce7; color: #16a34a; }
.bi svg { width: 10px; height: 10px; }

/* ── Tcard stars ── */
.tcard-stars { display: flex; gap: 2px; margin-bottom: 10px; }
.tcard-stars .icon { width: 14px; height: 14px; }

/* ── Pricing setup note ── */
.pricing-setup-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.pricing-setup-note strong { color: var(--ink); }

/* ── Logo pill icon sizing ── */
.logo-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.logo-icon .icon { width: 100%; height: 100%; }
