/* =========================================================
   GB Fintech — Merchants Landing v2
   White + Blue · Minimal · Inter
   ========================================================= */

:root {
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-tint: #f5f8ff;

  --ink: #0a1330;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --muted-2: #9ca3af;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #f0f4ff;

  --line: #e5e7eb;
  --line-2: #eef0f4;

  --green: #10b981;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(37, 99, 235, 0.12), 0 20px 48px rgba(15, 23, 42, 0.08);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --container: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

/* ========== HIGHLIGHTS ========== */
.hl {
  background: var(--blue-100);
  color: var(--blue-600);
  padding: 2px 12px;
  border-radius: 8px;
  white-space: nowrap;
  display: inline-block;
}
.hl-white {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 2px 12px;
  border-radius: 8px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--bg-soft);
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; border-radius: 10px; }
.btn--block { display: flex; width: 100%; }

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text__main {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.logo-text__sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--blue); }
.nav__actions {
  display: flex;
  gap: 8px;
}
.nav__burger {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
  margin: 0 auto;
}

/* ========== HERO ========== */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, 0.05), transparent 60%),
    #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  margin-bottom: 24px;
}
.badge__dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
.hero__title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__proof {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__proof-avatars {
  display: flex;
}
.hero__proof-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__proof-avatars span:first-child { margin-left: 0; }
.hero__proof-text strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.hero__proof-text span {
  font-size: 13px;
  color: var(--muted);
}

/* ====== HERO VISUAL (card 3D) ====== */
.hero__visual {
  position: relative;
  perspective: 1400px;
}
.card-3d {
  position: relative;
  transform: rotate3d(1, -0.7, -0.05, 8deg);
  transform-style: preserve-3d;
}
.float-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 3;
  white-space: nowrap;
}
.float-tag--green {
  color: var(--green);
  top: -18px;
  left: -28px;
  animation: floaty 6s ease-in-out infinite;
}
.float-tag--blue {
  color: var(--blue);
  bottom: 20px;
  right: -32px;
  animation: floaty 7s ease-in-out -2s infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.dash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.dash__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.dash__title-main {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.dash__title-val {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.up {
  font-size: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.dash__pills {
  display: flex;
  gap: 6px;
}
.pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
}
.pill--active {
  background: var(--blue);
  color: #fff;
}

.chart {
  width: 100%;
  height: 140px;
  margin-bottom: 20px;
}
.chart__grid line {
  stroke: var(--line-2);
  stroke-dasharray: 2 4;
}

.dash__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.dash__stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.dash__stat-val {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
}
.dash__bar {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 3px;
  overflow: hidden;
}
.dash__bar span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
}

/* ========== TRUSTBAR ========== */
.trust {
  padding: 48px 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.trust__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 24px;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.trust__icon { font-size: 18px; }

/* ========== METRICS ========== */
.metrics {
  padding: 80px 0;
  background: #fff;
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric {
  text-align: left;
  padding: 24px 0;
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}
.metric__val {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.metric__val span {
  font-size: 26px;
  color: var(--blue);
  font-weight: 700;
}
.metric__lbl {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* ========== SECTION HEADS ========== */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-head--narrow { max-width: 680px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-eyebrow--white {
  color: rgba(255, 255, 255, 0.85);
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ========== SOLUTIONS ========== */
.solutions {
  padding: 100px 0;
  background: var(--bg-soft);
}
.solutions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sol-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: all 0.2s;
}
.sol-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.sol-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
}
.sol-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sol-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.sol-card p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.55;
}
.sol-card__list {
  list-style: none;
  margin: 0 0 0;
  padding: 0;
}
.sol-card__list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  border-top: 1px solid var(--line-2);
}
.sol-card__list li:first-child { border-top: none; }
.sol-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 6px;
  top: 17px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 10px; }

/* Payment methods grid (decor) */
.pm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pm {
  background: var(--blue-tint);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 10px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-600);
  letter-spacing: 0.02em;
}

/* ========== SEGMENTS ========== */
.segments {
  padding: 100px 0;
  background: #fff;
}
.seg__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.seg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: all 0.2s;
  position: relative;
}
.seg:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.seg--accent {
  background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
  border-color: rgba(37, 99, 235, 0.25);
}
.seg__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.seg h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.seg p {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 15px;
}
.seg__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.seg__tags span {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  background: var(--bg-soft);
  color: var(--ink-2);
  border-radius: 6px;
}
.seg--accent .seg__tags span {
  background: #fff;
}
.seg__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  gap: 4px;
}
.seg__link:hover { gap: 8px; }

/* ========== HOW IT WORKS ========== */
.how {
  padding: 100px 0;
  background: var(--bg-soft);
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 0 0 60px;
}
.flow__box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}
.flow__box-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.flow__box h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.flow__box p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.flow__arrow {
  height: 20px;
  width: 100%;
  min-width: 60px;
}
.flow__arrow svg {
  width: 100%;
  height: 100%;
}
.flow__col--hub {
  display: flex;
  justify-content: center;
}
.flow__hub {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow__hub-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(37, 99, 235, 0.25);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.flow__hub-ring--2 {
  inset: 30px;
  border-style: solid;
  border-color: rgba(37, 99, 235, 0.12);
  animation: spin 18s linear reverse infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.flow__hub-core {
  width: 160px;
  height: 160px;
  background: var(--blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
  position: relative;
  z-index: 2;
}
.flow__hub-logo {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.flow__hub-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.flow__hub-sub {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
}

.how__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.how-feat {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.how-feat__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.how-feat h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.how-feat p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ========== COMPARE / CHART ========== */
.compare {
  padding: 100px 0;
  background: #fff;
}
.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.compare__copy .section-title {
  text-align: left;
  margin-top: 12px;
}
.compare__copy p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 24px;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
}
.check-list li svg { flex-shrink: 0; }

.cc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.cc-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cc-card__sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 28px;
}
.bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}
.bar__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.bar__val { font-weight: 600; font-size: 15px; color: var(--muted); }
.bar__val--accent { color: var(--blue); font-size: 20px; }
.bar__track {
  height: 12px;
  background: var(--bg-soft);
  border-radius: 6px;
  overflow: hidden;
}
.bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #3b82f6);
  border-radius: 6px;
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
}
.bar__fill--gray {
  background: linear-gradient(90deg, #cbd5e1, #94a3b8);
}
.bar--accent .bar__label strong {
  color: var(--blue);
  font-size: 16px;
}
.cc-card__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.cc-foot-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cc-foot-val span {
  color: var(--blue);
  font-size: 18px;
}
.cc-foot-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ========== PRICING ========== */
.pricing {
  padding: 100px 0;
  background: var(--bg-soft);
}
.price__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
}
.price:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.price--popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), var(--shadow-md);
}
.price__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.price__for {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.4;
  min-height: 38px;
}
.price__val {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price__from {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.price__num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.price__pct {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
}
.price__per {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  margin-top: 4px;
}
.price__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex-grow: 1;
}
.price__list li {
  padding: 10px 0 10px 26px;
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
  border-top: 1px solid var(--line-2);
}
.price__list li:first-child { border-top: none; }
.price__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--blue-50);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========== FAQ ========== */
.faq {
  padding: 100px 0;
  background: #fff;
}
.faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  background: #fff;
  transition: all 0.2s;
}
.faq__item:hover { border-color: var(--blue-100); }
.faq__item[open] {
  border-color: var(--blue);
  background: var(--blue-tint);
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s;
  line-height: 1;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ========== CTA ========== */
.cta {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(135deg, var(--blue) 0%, #1e40af 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.cta__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 16px 0;
}
.cta__copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  margin: 0 0 24px;
  line-height: 1.55;
}
.cta__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cta__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-size: 15px;
}

.cta__form {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.25);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field-row .field { margin-bottom: 14px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input,
.field select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: all 0.15s;
  outline: none;
}
.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 18px;
  line-height: 1.45;
}
.check input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.check a { color: var(--blue); font-weight: 500; }
.cta__form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 60px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand p {
  font-size: 14px;
  margin: 16px 0 0;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 320px;
}
.footer__brand .logo-text__main { color: #fff; }
.footer__brand .logo-text__sub { color: #94a3b8; }
.footer__col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.15s;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  padding-top: 24px;
  font-size: 12px;
  color: #64748b;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn--ghost { display: none; }

  .hero { padding: 56px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .card-3d { transform: none; }
  .float-tag--green { left: 0; }
  .float-tag--blue { right: 0; }

  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .solutions__grid { grid-template-columns: 1fr; }
  .sol-card--wide { grid-template-columns: 1fr; gap: 28px; padding: 32px; }

  .seg__grid { grid-template-columns: 1fr; }

  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); height: 32px; max-width: 100px; margin: 0 auto; }
  .how__features { grid-template-columns: repeat(2, 1fr); }

  .compare__grid { grid-template-columns: 1fr; gap: 40px; }

  .price__grid { grid-template-columns: 1fr; }
  .price--popular { order: -1; }

  .cta__grid { grid-template-columns: 1fr; gap: 40px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 40px 0 60px; }
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 16px; }
  .btn--lg { padding: 14px 22px; font-size: 15px; }
  .hero__actions .btn { width: 100%; }

  .metrics { padding: 56px 0; }
  .metric__val { font-size: 40px; }

  .solutions, .segments, .how, .compare, .pricing, .faq, .cta { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: 28px; }

  .how__features { grid-template-columns: 1fr; }
  .flow__hub { width: 200px; height: 200px; }
  .flow__hub-core { width: 130px; height: 130px; padding: 14px; }

  .cc-card__foot { grid-template-columns: 1fr; gap: 14px; }
  .cc-foot-val { font-size: 22px; }

  .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .pm-grid { grid-template-columns: repeat(3, 1fr); }

  .trust__row { gap: 10px 18px; }
  .trust__item { font-size: 13px; }
}

/* ========== MOBILE UX ENHANCEMENTS ========== */
@media (max-width: 1024px) {
  .nav__inner { position: relative; }
  .nav__links.open {
    z-index: 60;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .nav__links.open a { display: block; }
}

@media (max-width: 640px) {
  .nav__actions { gap: 8px; }
  .nav__actions .btn--primary { padding: 9px 16px; font-size: 14px; }

  .hero__title { line-height: 1.12; word-break: normal; overflow-wrap: anywhere; }
  .hero__visual { max-width: 100%; }
  .hero__proof { flex-wrap: wrap; }

  .float-tag { font-size: 11px; padding: 7px 10px; }
  .float-tag--green { top: -10px; left: -4px; }
  .float-tag--blue { bottom: -10px; right: -4px; }

  .dash { padding: 18px; }
  .dash__head { flex-wrap: wrap; gap: 12px; }
  .dash__title-val { font-size: 20px; }
  .dash__stats { gap: 16px; }

  .btn { white-space: normal; text-align: center; }

  .metrics__grid { gap: 24px 18px; }

  .seg__tags { gap: 6px; }
  .seg__tags span { font-size: 11px; }

  .price { padding: 28px 22px; }

  .cta__form { padding: 24px 18px; }
  .field-row { gap: 14px; }
  .cta__form input,
  .cta__form select,
  .cta__form textarea { font-size: 16px; }
  .cta__form .btn { width: 100%; }

  .faq__item summary,
  .faq__item .faq__q { font-size: 15px; }

  .footer__bottom { text-align: center; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .hero__title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .metrics__grid { grid-template-columns: 1fr; }
  .metric__val { font-size: 36px; }
  .pm-grid { grid-template-columns: repeat(2, 1fr); }
  .trust__row { justify-content: flex-start; }
}

/* Comfortable touch targets on touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn--sm { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .nav__links a,
  .seg__link,
  .link-arrow,
  .footer__col a { padding-top: 4px; padding-bottom: 4px; }
}

/* ========== REVEAL ========== */
/* JS adds .reveal class before observing. Default state hides; .in reveals.
   Fallback: if JS fails or observer doesn't fire (e.g. screenshot tools), 
   media query on motion-reduce keeps everything visible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
