/* ============================================================
   SBD ERP — Landing page styles
   Minimal B2B (Linear / Stripe uslubida)
   Asosiy rang: teal #0d9488 · Fon: oq · Matn: slate-900
   ============================================================ */

:root {
  --teal:        #0d9488;
  --teal-dark:   #0f766e;
  --teal-darker: #115e59;
  --teal-50:     #f0fdfa;
  --teal-100:    #ccfbf1;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --bg:        #ffffff;
  --bg-soft:   #f8fafc;
  --border:    #e6eaf0;
  --ink:       var(--slate-900);
  --muted:     var(--slate-600);

  --radius:    16px;
  --radius-sm: 12px;
  --container:  1200px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .22);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: #fff;
  color: var(--slate-900);
  border-color: var(--slate-200);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn-ghost-invert {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost-invert:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 8px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--slate-900); }
.brand-name--light { color: #fff; }
.brand-accent { color: var(--teal); font-weight: 800; }

.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color .15s ease;
}
.nav a:hover { color: var(--slate-900); }

.header-cta { display: flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--slate-900);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section rhythm ---------- */
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  color: var(--slate-900);
}
.section-lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(1100px 460px at 78% -8%, var(--teal-50), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--slate-900);
}
.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate-500);
}
.ic-check {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: var(--teal); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.hero-visual { position: relative; }
.hero-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

/* ---------- Trusted brands (marquee) ---------- */
.logos { padding: 34px 0; border-bottom: 1px solid var(--border); }
.brands-wrap { display: flex; align-items: center; gap: 40px; }
.brands-label {
  flex: none; width: 200px; margin: 0;
  font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--slate-500);
}
.brands-marquee {
  position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brands-track { display: flex; align-items: center; width: max-content; animation: brands-scroll 42s linear infinite; }
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brand-logo {
  flex: none; width: 164px; height: 92px; margin-right: 18px;
  display: grid; place-items: center; padding: 16px 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.brand-logo img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; display: block; }
@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  .brands-wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .brands-label { width: auto; }
  .brands-marquee { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; }
  .brands-marquee { overflow-x: auto; }
}

/* ---------- Cards (problem/solution) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-problem {
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--slate-400); text-transform: uppercase; margin-bottom: 6px;
}
.card-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--slate-900); margin-bottom: 10px; }
.card-text { font-size: 15.5px; color: var(--muted); }

/* ---------- Modules / features ---------- */
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.feature-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--slate-900);
  margin-bottom: 18px;
}
.feature-icon svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--slate-900); margin-bottom: 8px; }
.feature-text { font-size: 15px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: var(--slate-900); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: clamp(34px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat-num { background: linear-gradient(180deg, #fff, #5eead4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 14.5px; color: var(--slate-400); }

/* ---------- Platform / infographic ---------- */
.platform-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.platform-copy .section-title, .platform-copy .section-lead { text-align: left; }
.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--slate-700); font-weight: 500; }
.platform-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #fff;
}

/* ---------- Pricing ---------- */
.pricing { align-items: start; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.price-card--popular {
  border-color: var(--teal);
  box-shadow: 0 20px 50px -20px rgba(13,148,136,.4);
  transform: translateY(-8px);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.price-name { font-size: 20px; font-weight: 700; color: var(--slate-900); }
.price-desc { font-size: 14.5px; color: var(--slate-500); margin-top: 4px; min-height: 42px; }
.price-value { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--slate-900); margin: 12px 0 20px; }
.price-unit { font-size: 15px; font-weight: 500; color: var(--slate-500); }
.price-card .btn { margin-bottom: 22px; }
.price-list { display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 22px; }
.price-list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--slate-700); }
.price-list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px;
  background: var(--teal-50);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--teal-100);
}
.price-list li::after {
  content: "";
  position: absolute; left: 6px; top: 8px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(94,234,212,.18), transparent 60%),
    var(--teal-darker);
  color: #fff;
}
.cta-inner {
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.025em; }
.cta-sub { margin-top: 12px; font-size: 18px; color: rgba(255,255,255,.8); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-actions .btn-primary { background: #fff; color: var(--teal-darker); }
.cta-actions .btn-primary:hover { background: var(--teal-50); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: var(--slate-400); padding: 72px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-tag { margin-top: 18px; font-size: 15px; color: var(--slate-400); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 15px; color: var(--slate-400); margin-bottom: 12px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-muted { color: var(--slate-500); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 14px;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--slate-500); transition: color .15s ease; }
.footer-legal a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Light section-head variants (on dark bg) ---------- */
.eyebrow--dark { color: #5eead4; background: rgba(94,234,212,.1); border-color: rgba(94,234,212,.25); }
.section-title--light { color: #fff; }
.section-lead--light { color: var(--slate-400); }

/* ---------- Module showcase (deep-dive) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.showcase + .showcase { margin-top: 88px; }
.showcase--reverse .showcase-media { order: 2; }
.showcase-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.showcase-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.showcase-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  color: var(--slate-900); margin-bottom: 14px;
}
.showcase-text { font-size: 17px; color: var(--muted); }
.showcase .check-list { margin-top: 22px; }
.showcase .check-list li { font-size: 15.5px; }

/* ---------- Video section + carousel ---------- */
.video-section { background: var(--slate-900); color: #fff; padding: 104px 0; }
.video-section .section-head { margin-bottom: 48px; }

.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto 36px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
}
.carousel-viewport { overflow: hidden; width: 100%; border-radius: 20px; }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.carousel-slide {
  min-width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 52px; padding: 8px 6px;
}
.phone-frame {
  flex: none;
  width: 264px;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border: 8px solid #1e293b;
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.phone-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-caption { max-width: 340px; text-align: left; }
.slide-index { font-size: 14px; font-weight: 700; color: #5eead4; letter-spacing: .12em; }
.slide-caption h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 8px 0 12px; }
.slide-caption p { font-size: 17px; color: var(--slate-400); }

.carousel-arrow {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
  z-index: 2;
}
.carousel-arrow:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); }
.carousel-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.carousel-dots {
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.25); cursor: pointer;
  transition: background .15s ease, width .15s ease, border-radius .15s ease;
}
.carousel-dots button.active { background: var(--teal); width: 22px; border-radius: 4px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.testi-stars { color: #f59e0b; letter-spacing: 2px; font-size: 15px; margin-bottom: 14px; }
.testi-quote { margin: 0 0 24px; font-size: 16.5px; line-height: 1.65; color: var(--slate-700); }
.testi-person {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border);
}
.testi-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-meta { display: flex; flex-direction: column; }
.testi-name { font-weight: 700; font-size: 15px; color: var(--slate-900); }
.testi-role { font-size: 13px; color: var(--slate-500); }
.testi-company { margin-left: auto; font-weight: 800; font-size: 15px; letter-spacing: -.01em; color: var(--slate-400); }

/* ---------- Demo request modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%; max-width: 440px;
  background: #fff; border-radius: 20px;
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(10px) scale(.98);
  transition: transform .25s ease;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border: 0; border-radius: 8px;
  background: transparent; color: var(--slate-400);
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--slate-100); color: var(--slate-700); }
.modal-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--slate-900); margin: 12px 0 8px; }
.modal-sub { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; text-align: left; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; }
.field label span { color: #ef4444; }
.field input, .field textarea {
  /* 16px — iOS Safari fokusda avto-zoom qilmasligi uchun (<16px bo'lsa zoom qiladi) */
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px;
  color: var(--slate-900); background: #fff;
  border: 1px solid var(--slate-200); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-50);
}
.field textarea { resize: vertical; min-height: 84px; }
.field.invalid input, .field.invalid textarea { border-color: #ef4444; }
.field.invalid input:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.field-error { display: block; color: #ef4444; font-size: 13px; margin-top: 5px; }
.form-note { font-size: 12.5px; color: var(--slate-400); text-align: center; margin-top: 14px; }
#demoSubmit { margin-top: 6px; }
.modal-success { text-align: center; padding: 16px 0 8px; }
.success-check {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal); border: 1px solid var(--teal-100);
  border-radius: 50%; font-size: 30px; font-weight: 700;
}
.modal-success h3 { font-size: 22px; font-weight: 800; color: var(--slate-900); margin-bottom: 8px; }
.modal-success p { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
body.modal-open { overflow: hidden; }

/* ---------- Header right + language switch ---------- */
.header-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--slate-200); border-radius: 8px; overflow: hidden; }
.lang-btn {
  border: 0; background: transparent; padding: 6px 9px;
  font-size: 12.5px; font-weight: 700; color: var(--slate-500);
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--slate-200); }
.lang-btn.active { background: var(--teal); color: #fff; }
.lang-btn:not(.active):hover { background: var(--slate-100); color: var(--slate-900); }

.container--narrow { max-width: 820px; }

/* ---------- Integrations ---------- */
.int-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.int-copy { text-align: left; }
.eyebrow--dot { display: inline-flex; align-items: center; gap: 8px; }
.int-title { text-align: left; }
.int-lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 18px 0 30px; max-width: 470px; }
.int-cta { display: inline-flex; }

.int-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; min-width: 0; }
.int-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  aspect-ratio: 1 / 0.84; padding: 18px 12px; min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.int-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.int-ico { flex: none; height: 52px; display: grid; place-items: center; max-width: 100%; }
.int-ico img, .int-ico svg { height: 46px; width: auto; max-width: min(130px, 100%); object-fit: contain; display: block; }
.int-label { font-size: 13.5px; font-weight: 600; color: var(--slate-700); text-align: center; line-height: 1.25; }
.integrations-note { text-align: center; margin-top: 40px; font-size: 15px; color: var(--slate-500); }

@media (max-width: 900px) {
  .int-layout { grid-template-columns: 1fr; gap: 40px; }
  .int-lead { max-width: none; }
}
@media (max-width: 420px) {
  .int-tiles { gap: 12px; }
  .int-ico { height: 44px; }
  .int-ico img, .int-ico svg { height: 40px; max-width: min(104px, 100%); }
}

/* ---------- Results / case studies ---------- */
.result-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.result-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.result-metric { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--teal); line-height: 1; margin-bottom: 14px; }
.result-title { font-size: 19px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.result-text { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.result-company { font-size: 13px; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Mobile app ---------- */
.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mobile-copy .section-title, .mobile-copy .section-lead { text-align: left; }
.mobile-copy .check-list { margin-top: 22px; }
.phone-frame--app { width: 300px; aspect-ratio: 9 / 19.5; margin: 0 auto; }
.phone-frame--app img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: var(--slate-900); color: #fff; border-radius: 12px;
  transition: transform .15s ease, background .15s ease;
}
.store-badge:hover { transform: translateY(-2px); background: #1e293b; }
.store-badge svg { width: 24px; height: 24px; fill: #fff; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 10px; opacity: .8; }
.store-badge strong { font-size: 15px; font-weight: 700; }
.tg-inline { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--teal-dark); font-weight: 600; font-size: 15px; }
.tg-inline svg { width: 20px; height: 20px; fill: var(--teal); }
.tg-inline:hover { text-decoration: underline; }

/* ---------- Process / how we work ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { position: relative; }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 62px; right: -24px; height: 2px;
  background: var(--border); z-index: 0;
}
.process-num {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 12px; background: var(--teal-50); border: 1px solid var(--teal-100);
  color: var(--teal-dark); font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.process-title { font-size: 18px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.process-text { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 16.5px; font-weight: 600; color: var(--slate-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--teal-dark); }
.faq-icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.faq-icon::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-icon::after { top: 2px; left: 9px; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: 15.5px; color: var(--muted); }

/* ---------- Blog / resources ---------- */
.blog-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.blog-cat {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--teal-dark);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 16px;
}
.blog-card-title { font-size: 18px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; line-height: 1.3; }
.blog-card-text { font-size: 15px; color: var(--muted); margin-bottom: 18px; flex: 1; }
.blog-date { font-size: 13px; color: var(--slate-400); }
.resource-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.resource-link {
  padding: 12px 22px; background: #fff; border: 1px solid var(--border); border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--slate-700);
  transition: border-color .15s ease, color .15s ease;
}
.resource-link:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info .section-title, .contact-info .section-lead { text-align: left; }
.contact-list { margin-top: 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { font-size: 16px; color: var(--slate-700); font-weight: 500; }
.contact-list a:hover { color: var(--teal-dark); }
.contact-form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-md); }
.contact-form-title { font-size: 19px; font-weight: 700; color: var(--slate-900); margin-bottom: 20px; }
.contact-form-ok { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--teal-dark); text-align: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase-media { order: -1 !important; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide { flex-direction: column; gap: 28px; }
  .slide-caption { text-align: center; max-width: 420px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .platform-grid { grid-template-columns: 1fr; gap: 40px; }
  .platform-visual { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .mobile-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 48px; }

  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    transform: translateY(-120%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .grid-3 { grid-template-columns: 1fr; }
  .price-card--popular { transform: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .video-section { padding: 72px 0; }
  .showcase + .showcase { margin-top: 56px; }
  .testi-grid { grid-template-columns: 1fr; }
  .carousel { gap: 6px; }
  .carousel-arrow { width: 40px; height: 40px; }
  .phone-frame { width: 232px; }
  .process-grid { grid-template-columns: 1fr; }
  .resource-links { gap: 10px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .carousel-arrow { position: absolute; top: 38%; }
  .carousel-arrow--prev { left: -4px; }
  .carousel-arrow--next { right: -4px; }
  .phone-frame { width: 210px; }
  .integrations-grid { grid-template-columns: 1fr; }
  .store-badge { flex: 1; justify-content: center; }
}

/* ===================== Video reviews ===================== */
.reviews-section { padding: 104px 0; background: var(--bg); }
.reviews-head { text-align: left; margin-bottom: 36px; }
.reviews-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-dark); background: var(--teal-50);
  border: 1px solid var(--teal-100); padding: 7px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.reviews-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.reviews-title {
  font-size: clamp(30px, 4.4vw, 48px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.05; color: var(--slate-900); margin: 0;
}

.reviews-carousel { position: relative; }
.reviews-track {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 4px 18px; margin: 0 -4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 clamp(240px, 26vw, 300px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.review-thumb {
  position: relative; display: block; width: 100%;
  border: 0; padding: 0; margin: 0; cursor: pointer;
  background: #0b1220; aspect-ratio: 4 / 5; overflow: hidden;
}
.review-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.review-thumb:hover img { transform: scale(1.045); }
.review-play {
  position: absolute; inset: 0; margin: auto;
  width: 62px; height: 62px; border-radius: 16px;
  background: rgba(15, 23, 42, .5); backdrop-filter: blur(2px);
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.review-thumb:hover .review-play, .review-thumb:focus-visible .review-play { background: rgba(13, 148, 136, .94); transform: scale(1.06); }
.review-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 2px; }

.review-foot { display: flex; align-items: center; gap: 10px; padding: 15px 18px; }
.review-logo {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff;
  background: var(--teal);
}
.review-logo::before { content: attr(data-mono); }
.review-card:nth-child(1) .review-logo { background: #0d9488; }
.review-card:nth-child(2) .review-logo { background: #2563eb; }
.review-card:nth-child(3) .review-logo { background: #7c3aed; }
.review-card:nth-child(4) .review-logo { background: #ea580c; }
.review-card:nth-child(5) .review-logo { background: #059669; }
.review-card:nth-child(6) .review-logo { background: #db2777; }
.review-company { font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--slate-900); }

.reviews-nav { display: flex; gap: 12px; margin-top: 26px; }
.reviews-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg);
  display: grid; place-items: center; cursor: pointer; color: var(--slate-700);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.reviews-arrow:hover { background: var(--teal-50); border-color: var(--teal-100); color: var(--teal-dark); }
.reviews-arrow:disabled { opacity: .4; cursor: default; }
.reviews-arrow:disabled:hover { background: var(--bg); border-color: var(--border); color: var(--slate-700); }
.reviews-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Video lightbox */
.video-lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: none; place-items: center;
  background: rgba(8, 12, 22, .82); padding: 24px;
}
.video-lightbox.open { display: grid; }
.video-lightbox__frame {
  background: #000; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); line-height: 0;
}
.video-lightbox__frame video { display: block; max-width: 92vw; max-height: 84vh; width: auto; height: auto; }
.video-lightbox__close {
  position: absolute; top: 20px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .15s ease;
}
.video-lightbox__close:hover { background: rgba(255, 255, 255, .18); }
.video-lightbox__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

@media (max-width: 640px) {
  .reviews-section { padding: 64px 0; }
  .review-card { flex-basis: 76vw; }
  .int-tiles { gap: 12px; }
  .int-tile { aspect-ratio: auto; padding: 16px 8px; }
  .int-label { font-size: 12.5px; }
}

/* ---------- Social icon links ---------- */
.socials, .footer-social { display: flex; gap: 12px; }
.socials { margin-top: 26px; }
.footer-social { margin-top: 20px; }
.socials a, .footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.socials a { border: 1px solid var(--border); background: #fff; color: var(--slate-600); }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); }
.footer-social a { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--slate-400); }
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); }
.socials svg, .footer-social svg { width: 20px; height: 20px; }
