/* ─── ROOT TOKENS ──────────────────────────────────────────────────────────── */
:root {
  --purple: #7B5CF5;
  --magenta: #C44BFF;
  --purple-dark: #5B3DD5;
  --bg: #07080F;
  --bg2: #0E0F1C;
  --bg3: #141527;
  --glass: rgba(123, 92, 245, 0.07);
  --glass-border: rgba(123, 92, 245, 0.18);
  --text: #F0EFFF;
  --text-muted: rgba(240, 239, 255, 0.55);
  --text-dim: rgba(240, 239, 255, 0.35);
  --grad: linear-gradient(135deg, #7B5CF5 0%, #C44BFF 100%);
  --grad2: linear-gradient(135deg, #C44BFF 0%, #7B5CF5 100%);
  --radius: 18px;
  --radius-lg: 28px;
}

/* ─── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NOISE OVERLAY ──────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.35;
}

/* ─── MESH ───────────────────────────────────────────────────────────────────── */
.mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
}

/* Hero orbs */
.orb-hero-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7B5CF5, transparent);
  top: -100px; left: -150px;
}
.orb-hero-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #C44BFF, transparent);
  top: 100px; right: -100px;
}
.orb-hero-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #7B5CF5, transparent);
  bottom: -50px; left: 30%;
}

/* CTA orbs */
.orb-cta-1 {
  width: 400px; height: 300px;
  background: radial-gradient(circle, #7B5CF5, transparent);
  top: 0; left: 10%;
  opacity: 0.15;
}
.orb-cta-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #C44BFF, transparent);
  bottom: 0; right: 15%;
  opacity: 0.12;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.69rem, 3.9vw, 3.38rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 30px rgba(196, 75, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(196, 75, 255, 0.55);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--purple);
  background: var(--glass);
}

/* Nav demo button variant */
.btn-nav {
  padding: 10px 20px;
  font-size: 13px;
}

/* Modal submit button */
.btn-modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ─── LANG SWITCH ────────────────────────────────────────────────────────────── */
.lang-switch {
  display: flex;
  gap: 3px;
  background: var(--bg3);
  border-radius: 30px;
  padding: 4px;
  border: 1px solid var(--glass-border);
}
.lang-btn {
  padding: 5px 10px;
  border-radius: 24px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: transparent;
  color: var(--text-muted);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--grad);
  color: #fff;
}

/* ─── NAV ────────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(7, 8, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123, 92, 245, 0.12);
  transition: padding 0.3s;
}
nav.scrolled { padding: 10px 0; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-svg { width: 40px; height: 32px; }
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}

/* ─── MOBILE MENU ────────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 73px; left: 0; right: 0;
  z-index: 99;
  background: rgba(14, 15, 28, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
#hero {
  padding: 100px 0 60px;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden; /* contain any h1 overflow within the column */
}
.hero-left {
  min-width: 0;  /* allow column to shrink, critical for long text */
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.hero-title { margin-bottom: 24px; }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 2px;
}
.hero-visual { position: relative; }
.hero-visual-wrap {
  position: relative;
  padding: 30px 10px 30px 0;
  min-height: 420px;   /* stable — prevents hero column from collapsing */
}

/* ─── CHAT WIDGET ────────────────────────────────────────────────────────────── */
.chat-card {
  background: var(--bg2);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 80px rgba(123, 92, 245, 0.15), 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  contain: layout;     /* isolate repaints inside the card */
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.chat-status-text {
  font-size: 11px;
  color: #44ff88;
  font-weight: 600;
}
.chat-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(240, 239, 255, 0.4);
  font-weight: 600;
}
.chat-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #44ff88;
  animation: pulse 1.5s infinite;
  display: inline-block;
}
.chat-msgs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 250px;       /* fixed — never changes, no layout jump */
  overflow: hidden;
  position: relative;
  flex-shrink: 0;      /* prevent parent from squeezing it */
}
.msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; }
.msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}
.msg.bot .msg-bubble {
  background: var(--bg3);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.msg.user .msg-bubble {
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-time {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 4px;
}
.msg.user .msg-time { text-align: right; }
.chat-input-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--bg3);
  border-radius: 50px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--glass-border);
}
.chat-input-placeholder {
  flex: 1;
  font-size: 13px;
  color: var(--text);
}
.send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

/* ─── TRUSTED BY ─────────────────────────────────────────────────────────────── */
#trusted {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.trusted-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.logos-scroll {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  transition: all 0.3s;
  gap: 10px;
}
.logo-item:hover {
  color: var(--text);
  border-color: var(--purple);
  background: rgba(123, 92, 245, 0.1);
}
.logo-item--active {
  border-color: rgba(47, 198, 246, 0.3);
  background: rgba(47, 198, 246, 0.06);
}
.logo-item--soon {
  opacity: 0.45;
  filter: grayscale(1);
}
.logo-active-name { color: #2fc6f6; }
.logo-badge {
  font-size: 10px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-badge--active {
  background: rgba(47, 198, 246, 0.15);
  color: #2fc6f6;
}
.logo-badge--soon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* ─── SECTIONS COMMON ────────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.section-title { margin-bottom: 16px; }
.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 17px;
}
.section-sub--center { margin: 0 auto; }
.section-header { margin-bottom: 70px; }
.section-header--center { text-align: center; }

/* ─── HOW IT WORKS ───────────────────────────────────────────────────────────── */
#how { padding: 120px 0; }
.steps { display: flex; flex-direction: column; }
.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--glass-border);
}
.step-row:last-child { border-bottom: none; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}
.step-content h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}
.step-content p {
  color: var(--text-muted);
  font-size: 16px;
}
.step-visual-card {
  background: var(--bg2);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.step-icon-big {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.step-detail-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 14px;
  background: var(--glass);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  font-size: 13px;
}
.step-detail-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* ─── INTEGRATIONS ───────────────────────────────────────────────────────────── */
#integrations {
  padding: 100px 0;
  background: var(--bg2);
}
.int-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}
.int-card {
  width: 280px;
  padding: 36px 32px;
  background: var(--bg3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
}
.int-card--active {
  border-color: var(--purple);
  background: linear-gradient(145deg, rgba(123, 92, 245, 0.12), rgba(196, 75, 255, 0.07));
  box-shadow: 0 0 40px rgba(123, 92, 245, 0.2), inset 0 1px 0 rgba(123, 92, 245, 0.2);
}
.int-card--active:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(123, 92, 245, 0.25);
}
.int-card--soon {
  opacity: 0.55;
  filter: grayscale(1);
}
.int-card--soon:hover {
  opacity: 0.7;
  filter: grayscale(0.7);
}
.int-logo-wrap {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.int-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.int-status-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(123, 92, 245, 0.15);
  border: 1px solid var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.int-status-active::before {
  content: '●';
  color: #44ff88;
  font-size: 8px;
}
.int-status-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.int-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.int-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  font-family: 'DM Sans', sans-serif;
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}
.int-btn-icon {
  width: 14px;
  height: 14px;
}
.int-btn--active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 24px rgba(196, 75, 255, 0.35);
}
.int-btn--active:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(196, 75, 255, 0.55);
}
.int-btn--soon {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

/* ─── BENEFITS ───────────────────────────────────────────────────────────────── */
#benefits { padding: 120px 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.benefit-card {
  background: var(--bg2);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(123, 92, 245, 0.12);
  border-color: var(--purple);
}
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.benefit-card h3 { margin-bottom: 12px; }
.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.benefit-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.benefit-list li::before {
  content: '→';
  color: var(--magenta);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── CASES ──────────────────────────────────────────────────────────────────── */
#cases {
  padding: 120px 0;
  background: var(--bg2);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.case-card {
  background: var(--bg3);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: 0 20px 50px rgba(123, 92, 245, 0.1);
}
.case-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
}
.case-company {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.case-card h3 { font-size: 1.1rem; }
.case-desc {
  font-size: 13px;
  color: var(--text-muted);
}
.case-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--glass);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}
.case-result-val {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}
.case-result-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── PRICING ────────────────────────────────────────────────────────────────── */
#pricing { padding: 120px 0 40px; }
.pricing-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 40px;
  background: rgba(68, 255, 136, 0.08);
  border: 1px solid rgba(68, 255, 136, 0.25);
  font-size: 14px;
  font-weight: 600;
  color: rgba(68, 255, 136, 0.9);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan-card {
  background: var(--bg2);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card--popular {
  border-color: var(--purple);
  background: linear-gradient(160deg, rgba(123, 92, 245, 0.13) 0%, rgba(196, 75, 255, 0.07) 100%);
  box-shadow: 0 0 50px rgba(123, 92, 245, 0.2);
}
.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  background: var(--grad);
  border-radius: 0 0 14px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  margin-top: 10px;
}
.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price sup {
  font-size: 1.4rem;
  vertical-align: super;
}
.plan-period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.plan-msgs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 24px;
}
.plan-divider {
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 24px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  align-items: flex-start;
}
.pf-check {
  color: var(--magenta);
  font-weight: 700;
  flex-shrink: 0;
}
.pf-x {
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.feature-dim { opacity: 0.35; }
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}
.plan-btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--glass-border);
}
.plan-btn--outline:hover {
  border-color: var(--purple);
  background: var(--glass);
}
.plan-btn--grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 30px rgba(196, 75, 255, 0.3);
}
.plan-btn--grad:hover {
  box-shadow: 0 0 50px rgba(196, 75, 255, 0.5);
  transform: translateY(-1px);
}
.plan-trial {
  text-align: center;
  font-size: 11px;
  color: rgba(68, 255, 136, 0.7);
  font-weight: 600;
  margin-top: 10px;
}

/* ─── LAUNCH STEPS ───────────────────────────────────────────────────────────── */
.launch-steps-wrap { margin-top: 80px; }
.launch-steps-title { margin-bottom: 32px; }
.launch-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.launch-step {
  padding: 28px;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}
.launch-step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}
.launch-step h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 15px;
}
.launch-step p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
#faq { padding: 80px 0 60px; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.faq-item {
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--purple); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-item.open .faq-q { color: var(--purple); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  padding: 0 24px;
}
.faq-a-inner {
  padding-bottom: 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ─── CTA BAND ───────────────────────────────────────────────────────────────── */
#cta-band { padding: 40px 0 120px; }
.cta-inner {
  background: var(--bg2);
  border-radius: 36px;
  padding: 80px;
  border: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(123, 92, 245, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner h2 { margin-bottom: 20px; }
.cta-p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 17px;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 260px;
}
.footer-logo-svg {
  width: 36px;
  height: 28px;
}
.footer-col h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(123, 92, 245, 0.12);
  border: 1px solid rgba(123, 92, 245, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social:hover {
  background: rgba(123, 92, 245, 0.25);
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 92, 245, 0.3);
}
.footer-social svg {
  width: 17px;
  height: 17px;
  fill: var(--purple);
}
.footer-payments-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(123, 92, 245, 0.1);
}
.payment-label {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 4px;
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.2s;
}
.pay-badge:hover {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.8);
}
.pay-badge--pix {
  border-color: rgba(50, 205, 130, 0.25);
  color: rgba(50, 205, 130, 0.7);
}
.paddle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(123, 92, 245, 0.1);
  border: 1px solid rgba(123, 92, 245, 0.25);
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
}

/* ─── MODAL ──────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 8, 15, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg2);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--glass-border);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 100px rgba(123, 92, 245, 0.1);
}
.modal h3 { margin-bottom: 8px; }
.modal-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg3);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--purple); }
.form-group input::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg3); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.modal-close:hover {
  color: var(--text);
  background: var(--glass-border);
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(14px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30%            { transform: translateY(-6px); opacity: 1; }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }

.msg-enter {
  animation: msgIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  background: var(--bg3);
  width: fit-content;
}
.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.6;
  animation: typingBounce 1.1s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }
.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--purple);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 0.8s step-end infinite;
}
.chat-msgs::-webkit-scrollbar { display: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1050px) {
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid,
  .step-row { grid-template-columns: 1fr; }
  .benefits-grid,
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cta-inner { padding: 40px 24px; }
}
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .logos-scroll { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .launch-steps { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  .lang-btn { padding: 5px 7px; font-size: 10px; }
}


/* ─── MOBILE NAV OVERRIDES ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Hide lang switcher and demo button from nav header on mobile */
  .nav-right .lang-switch { display: none; }
  .nav-right .btn-nav     { display: none; }

  /* Hamburger always visible on mobile */
  .hamburger { display: flex; }
}

/* Mobile menu lang switcher */
.mobile-menu-langs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 0 4px;
  border-top: 1px solid var(--glass-border);
  margin-top: 4px;
}
.mobile-menu .lang-btn {
  padding: 7px 14px;
  font-size: 12px;
}

/* Mobile menu demo button */
.mobile-menu-cta {
  margin-top: 8px;
}

/* ─── LANG DROPDOWN (mobile header) ────────────────────────────────────────── */
.lang-dropdown {
  position: relative;
  display: none;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  transition: all 0.2s;
}
.lang-dropdown-btn:hover {
  border-color: var(--purple);
  background: rgba(123,92,245,.12);
}
.lang-dropdown-arrow {
  font-size: 10px;
  transition: transform 0.25s;
  color: var(--text-muted);
}
.lang-dropdown.open .lang-dropdown-arrow { transform: rotate(180deg); }
.lang-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 6px;
  min-width: 120px;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
  z-index: 150;
  flex-direction: column;
  gap: 2px;
}
.lang-dropdown.open .lang-dropdown-panel { display: flex; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.lang-option:hover { background: var(--glass); color: var(--text); }
.lang-option.active {
  background: rgba(123,92,245,.15);
  color: var(--purple);
}
.lang-option-flag { font-size: 16px; line-height: 1; }

/* ─── SHOW LANG DROPDOWN ON MOBILE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .lang-dropdown { display: block; }
}

/* ─── CHAT ON MOBILE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-visual {
    display: block;
    width: 100%;
    margin-top: 40px;
  }
  .hero-visual-wrap { padding: 0; }
  .chat-card { padding: 18px; }
  .chat-msgs { height: 200px; }  /* fixed on mobile too */
  .msg-bubble { font-size: 12px; padding: 10px 13px; }
}

/* ─── NAV MOBILE FIT FIX ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav .container { padding: 0 16px; }
  .nav-right { gap: 8px; }
}

@media (max-width: 480px) {
  nav .container     { padding: 0 12px; }
  .nav-logo-text     { font-size: 17px; }
  .nav-logo-svg      { width: 32px; height: 26px; }
  .nav-logo          { gap: 8px; }
  .lang-dropdown-btn { padding: 6px 10px; font-size: 12px; gap: 4px; }
  .lang-dropdown-arrow { font-size: 9px; }
  .nav-right         { gap: 6px; }
}

/* ─── PRICING SLIDER ─────────────────────────────────────────────────────────── */
#pricing { padding: 100px 0 60px; }

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg3);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 48px;
}
.billing-btn {
  padding: 9px 22px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.billing-btn.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 20px rgba(123,92,245,.35);
}
.billing-discount {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(68,255,136,.15);
  color: rgba(68,255,136,.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* slider + card wrapper */
.pricing-slider-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

/* left: slider controls */
.slider-controls { padding-top: 8px; }

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.slider-conversations {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.slider-conversations span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}
.slider-tier-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* range input */
.pricing-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: var(--bg3);
  outline: none;
  cursor: pointer;
  position: relative;
  margin-bottom: 10px;
}
.pricing-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(123,92,245,.2), 0 4px 12px rgba(0,0,0,.3);
  cursor: pointer;
  transition: box-shadow .2s, transform .15s;
}
.pricing-range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(123,92,245,.3), 0 4px 12px rgba(0,0,0,.3);
  transform: scale(1.1);
}
.pricing-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(123,92,245,.2);
  cursor: pointer;
}

/* tick marks */
.slider-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  margin-bottom: 40px;
}
.slider-tick {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: color .2s;
  user-select: none;
  flex: 1;
}
.slider-tick:first-child { text-align: left; }
.slider-tick:last-child  { text-align: right; }
.slider-tick.active { color: var(--purple); font-weight: 700; }

/* feature list on left */
.slider-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slider-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.slider-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(123,92,245,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* right: price card */
.price-card {
  background: var(--bg2);
  border: 1px solid var(--purple);
  border-radius: 28px;
  padding: 40px 36px;
  position: sticky;
  top: 100px;
  box-shadow: 0 0 60px rgba(123,92,245,.15), inset 0 1px 0 rgba(123,92,245,.2);
}
.price-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.price-card-amount {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 4px;
  line-height: 1;
  min-height: 72px;
  align-items: center;
}
.price-currency {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 8px;
}
.price-number {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  transition: opacity .2s;
}
.price-custom {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.price-period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.price-annual-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(68,255,136,.8);
  font-weight: 600;
  margin-bottom: 28px;
  min-height: 20px;
}
.price-divider {
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 24px;
}
.price-conv-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(123,92,245,.1);
  border: 1px solid rgba(123,92,245,.25);
  border-radius: 14px;
  margin-bottom: 24px;
}
.price-conv-number {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple);
}
.price-conv-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.price-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.price-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.price-card-features li::before {
  content: '✓';
  color: var(--magenta);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--grad);
  color: #fff;
  transition: all .25s;
  box-shadow: 0 0 30px rgba(196,75,255,.3);
  text-decoration: none;
}
.price-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(196,75,255,.5);
}
.price-card-trial {
  text-align: center;
  font-size: 11px;
  color: rgba(68,255,136,.7);
  font-weight: 600;
  margin-top: 10px;
}

/* responsive */
@media (max-width: 900px) {
  .pricing-slider-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .price-card { position: static; }
}
@media (max-width: 600px) {
  .slider-ticks { display: none; }
}

/* ─── PRICING SECTION BACKGROUND BLOCK ───────────────────────────────────────── */
#pricing {
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

/* subtle radial glow behind the whole section */
#pricing::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(123,92,245,.12) 0%, transparent 70%);
  pointer-events: none;
}

/* inner visual container wrapping toggle + slider */
#pricing .container > .billing-toggle-wrap,
#pricing .pricing-slider-wrap {
  position: relative;
  z-index: 1;
}

/* card inside pricing gets a brighter border to pop against the bg */
#pricing .price-card {
  background: var(--bg3);
  box-shadow: 0 0 80px rgba(123,92,245,.18), 0 24px 48px rgba(0,0,0,.35), inset 0 1px 0 rgba(123,92,245,.25);
}

/* ─── PRICING SLIDER VISUAL OVERHAUL ─────────────────────────────────────────── */

/* Visible track with gradient fill + drag hint */
.pricing-range {
  height: 8px;
  border-radius: 8px;
  cursor: grab;
}
.pricing-range:active { cursor: grabbing; }

/* Thumb: bigger, with animated pulse ring to signal interactivity */
.pricing-range::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 5px rgba(123,92,245,.30),
    0 0 0 10px rgba(123,92,245,.10),
    0 4px 14px rgba(0,0,0,.40);
}
.pricing-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(123,92,245,.30), 0 4px 14px rgba(0,0,0,.40);
}

/* "Drag me" label row under slider */
.slider-drag-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: -4px;
  margin-bottom: 10px;
}
.slider-drag-hint-line {
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}
.slider-drag-arrows {
  display: flex;
  gap: 3px;
  color: var(--purple);
  font-size: 13px;
}

/* ─── PRICE CARD AMOUNT: proper vertical centering ───────────────────────────── */
.price-card-amount {
  display: flex;
  align-items: center;   /* vertically center $ and number */
  gap: 2px;
  min-height: 72px;
  line-height: 1;
}
.price-currency {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  align-self: center;     /* perfectly centered with the big number */
  padding-top: 0;         /* remove old offset */
  margin-bottom: 4px;     /* slight optical lift to sit beside number cap */
}
.price-number {
  font-family: 'Syne', sans-serif;
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  align-self: center;
  transition: opacity .15s;
}

/* ─── SLIDER TICKS FONT SIZE ─────────────────────────────────────────────────── */
.slider-tick {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.slider-tick.active {
  color: var(--purple);
  font-weight: 700;
}

/* ─── SLIDER TICKS COLOR FIX ─────────────────────────────────────────────────── */
.slider-tick {
  color: var(--text);
}

/* ─── MOBILE: hide slider controls, show dropdown ───────────────────────────── */
.mobile-tier-select-wrap { display: none; }

@media (max-width: 900px) {
  /* hide desktop slider elements */
  .pricing-range      { display: none; }
  .slider-drag-hint   { display: none; }
  .slider-ticks       { display: none; }

  /* show mobile dropdown */
  .mobile-tier-select-wrap {
    display: block;
    margin-bottom: 32px;
  }
  .mobile-tier-select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1.5px solid var(--purple);
    background: var(--bg3);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237B5CF5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    transition: border-color .2s, box-shadow .2s;
  }
  .mobile-tier-select:focus {
    border-color: var(--magenta);
    box-shadow: 0 0 0 3px rgba(123,92,245,.2);
  }
  .mobile-tier-select option {
    background: #0E0F1C;
    color: #F0EFFF;
    padding: 8px;
  }
  .mobile-tier-select-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 8px;
    display: block;
  }
}

/* ─── MOBILE SELECT — gradient background ────────────────────────────────────── */
@media (max-width: 900px) {
  .mobile-tier-select-wrap {
    background: var(--grad);
    border-radius: 18px;
    padding: 3px;          /* creates gradient border effect */
  }
  .mobile-tier-select-label {
    color: rgba(255,255,255,.8);
    padding: 0 2px 6px;
  }
  .mobile-tier-select {
    background: var(--grad);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    box-shadow: 0 0 30px rgba(196,75,255,.4);
  }
  .mobile-tier-select option {
    background: #0E0F1C;
    color: #F0EFFF;
    font-weight: 500;
  }

  /* ── Move features BELOW price card on mobile ─────────────────────────────── */
  .pricing-slider-wrap {
    display: flex;
    flex-direction: column;
  }

  /* Break .slider-controls out of flow so children can be reordered */
  .slider-controls {
    display: contents;
  }

  /* Assign order to direct children of pricing-slider-wrap */
  .mobile-tier-select-wrap { order: 1; margin-bottom: 24px; }
  .slider-label-row        { order: 2; }
  .pricing-range           { order: 3; }    /* hidden anyway */
  .slider-drag-hint        { order: 4; }    /* hidden anyway */
  .slider-ticks            { order: 5; }    /* hidden anyway */
  .price-card              { order: 6; margin-bottom: 24px; }
  .slider-features         { order: 7; }

  /* Style features nicely when shown below card */
  .slider-features {
    background: var(--bg2);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 20px;
  }
  .slider-feature {
    font-size: 14px;
  }
}

/* ─── PRICING CLEANUP ─────────────────────────────────────────────────────────── */

/* 1. Hide features list everywhere (already in price card) */
.slider-features { display: none !important; }

/* 2. Desktop: single-column centered layout after removing features */
.pricing-slider-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 680px;
  margin: 0 auto;
}
.slider-controls {
  width: 100%;
}
.price-card {
  width: 100%;
  position: static;
}

/* 3. Mobile: hide slider-label-row (30 conversations / mo FREE PLAN) */
@media (max-width: 900px) {
  .slider-label-row { display: none; }

  /* Fix select gradient — wrapper provides gradient, select is transparent */
  .mobile-tier-select-wrap {
    background: var(--grad);
    border-radius: 18px;
    padding: 3px;
    position: relative;
  }
  .mobile-tier-select-wrap::after {
    content: '▾';
    position: absolute;
    right: 18px;
    bottom: 15px;
    color: #fff;
    font-size: 18px;
    pointer-events: none;
    line-height: 1;
  }
  .mobile-tier-select {
    background: linear-gradient(135deg, #7B5CF5 0%, #C44BFF 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: none;   /* remove old SVG arrow */
    padding-right: 40px;
    box-shadow: 0 0 30px rgba(196,75,255,.4);
  }
  .mobile-tier-select option {
    background: #0E0F1C;
    color: #F0EFFF;
  }

  /* Mobile layout: select → price card only */
  .pricing-slider-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    max-width: 100%;
    margin: 0;
  }
  .slider-controls { display: contents; }
  .mobile-tier-select-wrap { order: 1; }
  .price-card              { order: 2; }
}

/* ─── MOBILE SELECT — center label and text ──────────────────────────────────── */
@media (max-width: 900px) {
  .mobile-tier-select-label {
    text-align: center;
    display: block;
    width: 100%;
  }
  .mobile-tier-select {
    text-align: center;
    text-align-last: center;   /* centers selected option text in the box */
    padding-left: 40px;        /* balance padding around centered text */
  }
  .mobile-tier-select-wrap::after {
    bottom: 50%;
    transform: translateY(50%);  /* vertically center the arrow */
  }
}

/* ─── DESKTOP PRICE CARD — wider + compact height ────────────────────────────── */
.pricing-slider-wrap {
  max-width: 960px;    /* wider overall container */
}

.price-card {
  padding: 28px 36px 32px;   /* less vertical padding */
}

.price-card-eyebrow  { margin-bottom: 12px; }
.price-card-amount   { min-height: 56px; }   /* tighter */
.price-number        { font-size: 3.4rem; }
.price-currency      { font-size: 1.3rem; }
.price-period        { margin-bottom: 2px; }
.price-annual-note   { margin-bottom: 16px; min-height: 16px; }
.price-divider       { margin-bottom: 16px; }

.price-conv-highlight {
  padding: 10px 14px;
  margin-bottom: 16px;
}
.price-conv-number   { font-size: 1.2rem; }
.price-conv-label    { font-size: 12px; }

/* features 2-column grid to reduce height */
.price-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 20px;
}
.price-card-features li { font-size: 13px; }

/* ─── H1 LINES — never break mid-phrase ─────────────────────────────────────── */
.h1-line {
  display: inline-block;
  white-space: nowrap;        /* prevent mid-word wrap */
}

/* ─── Per-language font scaling — long phrases must fit in one line ─────────── */
/* FIL has the longest phrases */
html[lang="fil"] h1 {
  font-size: clamp(0.95rem, 2.6vw, 2.5rem);
}
/* PT is medium length */
html[lang="pt"] h1 {
  font-size: clamp(1.3rem, 3.2vw, 2.9rem);
}
/* RO is medium */
html[lang="ro"] h1 {
  font-size: clamp(1.2rem, 3.0vw, 2.8rem);
}
/* HI script is naturally compact */
html[lang="hi"] h1 {
  font-size: clamp(1.4rem, 3.5vw, 3.1rem);
}

/* Mobile: all languages scale tighter */
@media (max-width: 600px) {
  .h1-line { white-space: normal; } /* allow wrap on very small screens */
  html[lang="fil"] h1 { font-size: clamp(1.05rem, 6.5vw, 1.5rem); }
  html[lang="pt"]  h1 { font-size: clamp(1.1rem, 7vw,  1.55rem); }
  html[lang="ro"]  h1 { font-size: clamp(1.1rem, 7vw,  1.55rem); }
}

/* Scale down on very narrow screens so lines still fit */
@media (max-width: 480px) {
  h1 { font-size: clamp(1.3rem, 7.5vw, 1.69rem); }
}

/* ─── LOGO SVG FIT ───────────────────────────────────────────────────────────── */
.nav-logo-svg {
  width: 52px;
  height: 36px;
}
.footer-logo-svg {
  width: 52px;
  height: 36px;
}

/* ─── LOGO OVERHAUL — match original exactly ─────────────────────────────────── */

/* Icon: square aspect ratio, properly sized */
.nav-logo-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.footer-logo-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* Text: match logo font — DM Sans Bold, NOT Syne */
.nav-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* Tighter gap between icon and text */
.nav-logo { gap: 8px; }

/* Mobile: slightly smaller */
@media (max-width: 480px) {
  .nav-logo-svg  { width: 36px; height: 36px; }
  .nav-logo-text { font-size: 18px; }
}

/* ─── H1 OVERFLOW FIX ────────────────────────────────────────────────────────── */
/* Remove overflow:hidden that clips h1 text */
.hero-left {
  overflow: visible;
  min-width: 0;
}
.hero-grid {
  overflow: visible;
}
/* Remove nowrap — use font scaling instead to keep phrases on one line */
.h1-line {
  white-space: normal;
}

/* Scale EN h1 to fit "Support Faster." in 50% column without overflow */
html[lang="en"] h1 {
  font-size: clamp(1.4rem, 3.2vw, 2.9rem);
}

/* ─── FIL H1 FONT SIZE — force override with !important ─────────────────────── */
html[lang="fil"] h1 {
  font-size: clamp(1.0rem, 2.1vw, 1.72rem) !important;
  white-space: nowrap;
  line-height: 1.15;
}
html[lang="fil"] .h1-line {
  white-space: nowrap;
}

/* Recalibrate all lang sizes with !important to override any stale rules */
html[lang="en"]  h1 { font-size: clamp(1.4rem, 3.2vw, 2.9rem)  !important; }
html[lang="pt"]  h1 { font-size: clamp(1.2rem, 2.9vw, 2.6rem)  !important; }
html[lang="hi"]  h1 { font-size: clamp(1.3rem, 3.2vw, 2.8rem)  !important; }
html[lang="ro"]  h1 { font-size: clamp(1.15rem, 2.8vw, 2.5rem) !important; }

/* ─── MODAL SUCCESS STATE ────────────────────────────────────────────────────── */
.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7B5CF5, #C44BFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 0 auto 24px;
}
#modalSuccess {
  text-align: center;
  padding: 20px 0;
}
#modalSuccess .modal-sub { margin-bottom: 28px; }

/* Error message */
.modal-error {
  margin-top: 12px;
  font-size: 13px;
  color: #ff6b6b;
  text-align: center;
}
.modal-error a {
  color: var(--purple);
  text-decoration: underline;
}

/* ─── FIL H1 — allow natural line wrap ───────────────────────────────────────── */
html[lang="fil"] .h1-line {
  white-space: normal !important;
}
html[lang="fil"] h1 {
  font-size: clamp(1.3rem, 2.8vw, 2.4rem) !important;
  line-height: 1.2;
}
