/* ============================================================
   FLiiP Design System — Landing Pages
   go.myfliip.com
   ============================================================ */

/* ─────────────────────────────────────────
   BRAND TOKENS
───────────────────────────────────────── */
:root {
  /* Official FLiiP Brand Colors */
  --blue:        #0B83FA;
  --blue-dark:   #1568BA;
  --blue-sky:    #1FBEFC;
  --blue-light:  #D8E5EE;
  --noir:        #161719;
  --gray-dark:   #050505;
  --gray-mid:    #8C969B;
  --white:       #FFFFFF;

  /* Semantic */
  --bg-dark:     #161719;
  --bg-light:    #FFFFFF;
  --bg-tint:     #F4F8FC;
  --text-on-dark:  #FFFFFF;
  --text-on-light: #161719;
  --text-muted-dark:  #8C969B;
  --text-muted-light: #5A6472;
  --border-dark:  rgba(255,255,255,0.08);
  --border-light: #E2EAF2;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --max-w: 1160px;
  --px: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --ease: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: rgba(11,131,250,0.25); }

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ─────────────────────────────────────────
   TYPOGRAPHY SCALE
───────────────────────────────────────── */
.t-display {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.t-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.t-h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.t-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
}
.t-body {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.7;
}
.t-small {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
}
.t-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blue { color: var(--blue); }
.text-muted-dark { color: var(--text-muted-dark); }
.text-muted-light { color: var(--text-muted-light); }

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sr.sr-left  { transform: translateX(-28px); }
.sr.sr-right { transform: translateX(28px); }
.sr.sr-scale { transform: scale(0.96); }
.sr.visible  { opacity: 1; transform: none; }
.sr-d1 { transition-delay: 0.08s; }
.sr-d2 { transition-delay: 0.16s; }
.sr-d3 { transition-delay: 0.24s; }
.sr-d4 { transition-delay: 0.32s; }
.sr-d5 { transition-delay: 0.40s; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,131,250,0.35);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.btn-full { width: 100%; justify-content: center; }

/* ─────────────────────────────────────────
   LOGO MARK
───────────────────────────────────────── */
.fliip-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}
.fliip-logo .logo-icon {
  width: 30px;
  height: 30px;
  background: var(--blue);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fliip-logo .logo-icon svg { display: block; }
.fliip-logo .logo-text-dark .ii { color: var(--blue); }
.fliip-logo .logo-text-light { color: #fff; }
.fliip-logo .logo-text-light .ii { color: var(--blue-sky); }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(22,23,25,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--ease);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  background: var(--bg-dark);
  padding-block: clamp(4.5rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,131,250,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,131,250,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
/* Dots at each grid intersection — dim base layer + animated bright wave */
.hero-grid-overlay::before,
.hero-grid-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 56px 56px;
  background-position: -28px -28px;
}
.hero-grid-overlay::before {
  background-image: radial-gradient(circle 1.5px at 28px 28px, rgba(11,131,250,0.35), transparent 2.2px);
}
.hero-grid-overlay::after {
  background-image: radial-gradient(circle 2px at 28px 28px, rgba(31,190,252,1), transparent 2.8px);
  -webkit-mask-image: radial-gradient(circle 200px at var(--hero-mx, 50%) var(--hero-my, 50%), #000 0%, rgba(0,0,0,0.45) 45%, transparent 80%);
          mask-image: radial-gradient(circle 200px at var(--hero-mx, 50%) var(--hero-my, 50%), #000 0%, rgba(0,0,0,0.45) 45%, transparent 80%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: mask-image;
}
.hero-grid-overlay.is-hot::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-grid-overlay.is-hot::after { opacity: 0; }
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(11,131,250,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-sky);
  background: rgba(11,131,250,0.12);
  border: 1px solid rgba(11,131,250,0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%,100% { opacity:1; } 50% { opacity:0.3; }
}
.hero-headline { margin-bottom: 1.25rem; }
.hero-headline em {
  font-style: normal;
  color: var(--blue);
  background-image: linear-gradient(
    90deg,
    var(--blue-dark) 0%,
    var(--blue) 25%,
    var(--blue-sky) 50%,
    var(--blue) 75%,
    var(--blue-dark) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-headline-shimmer 6s linear infinite;
}
@keyframes hero-headline-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-headline em {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: var(--blue);
  }
}
.hero-sub {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.hero-body {
  font-size: 1.0625rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  margin-bottom: 2rem;
}
.hero-proof-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero image placeholder */
.hero-visual {
  position: relative;
}
.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a2535 0%, #0d1825 50%, #111827 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11,131,250,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.hero-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11,131,250,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,131,250,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-img-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}
.hero-img-dash {
  background: rgba(11,131,250,0.08);
  border: 1px solid rgba(11,131,250,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.dash-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.dash-row:last-child { margin-bottom: 0; }
.dash-label { font-size: 0.7rem; color: var(--text-muted-dark); min-width: 70px; text-align: left; }
.dash-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; }
.dash-bar { height: 100%; border-radius: 3px; background: var(--blue); }
.dash-val { font-size: 0.7rem; font-weight: 700; color: var(--blue); min-width: 32px; text-align: right; }
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0.5rem;
}
.hero-stat-mini {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 0.6rem;
  text-align: center;
}
.hero-stat-mini-val {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue);
  line-height: 1;
}
.hero-stat-mini-lbl {
  font-size: 0.6rem;
  color: var(--text-muted-dark);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   SECTION FRAMES
───────────────────────────────────────── */
.section-dark  { background: var(--bg-dark);  color: var(--text-on-dark); }
.section-light { background: var(--bg-light); color: var(--text-on-light); }
.section-tint  { background: var(--bg-tint);  color: var(--text-on-light); }
.section-blue  { background: var(--blue);     color: #fff; }

.section-pad { padding-block: clamp(4rem, 7vw, 6.5rem); }
.section-pad-sm { padding-block: clamp(2.5rem, 4vw, 3.5rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}
.section-label-light {
  color: var(--blue-sky);
}
.section-label-dot {
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .t-h2 { margin-bottom: 0.75rem; }
.section-header .t-lead { max-width: 640px; margin-inline: auto; }

/* ─────────────────────────────────────────
   LOGO STRIP
───────────────────────────────────────── */
#logos {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.logo-strip-heading {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted-light);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.logo-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
#testimonials { overflow: hidden; }
.testimonial-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  transition: background var(--ease), width var(--ease);
  padding: 0;
}
.t-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────
   PRICING
───────────────────────────────────────── */
#pricing { background: var(--bg-dark); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem;
  align-items: start;
}
.p-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--ease), transform var(--ease);
}
.p-card:hover {
  border-color: rgba(11,131,250,0.35);
  transform: translateY(-4px);
}
.p-card.featured {
  background: rgba(11,131,250,0.07);
  border-color: var(--blue);
  transform: translateY(-8px);
}
.p-card.featured:hover { transform: translateY(-12px); }
.p-card.addon {
  background: rgba(31,190,252,0.04);
  border-color: rgba(31,190,252,0.25);
}
.p-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}
.p-addon-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-sky);
  background: rgba(31,190,252,0.12);
  border: 1px solid rgba(31,190,252,0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.p-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 0.5rem;
}
.p-card.featured .p-tier { color: var(--blue); }
.p-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}
.p-currency { font-size: 1.25rem; font-weight: 700; color: var(--text-muted-dark); }
.p-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}
.p-period { font-size: 0.875rem; color: var(--text-muted-dark); }
.p-desc {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-dark);
  flex: 1;
}

/* ─────────────────────────────────────────
   TWO-COL CONTENT
───────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

.content-copy .t-h2 { margin-bottom: 1.25rem; }
.content-copy .t-lead { margin-bottom: 1.5rem; }
.content-copy .t-body { margin-bottom: 1.25rem; }

.img-placeholder {
  width: 100%;
  aspect-ratio: 16/11;
  border-radius: var(--radius-lg);
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.img-placeholder.dark-ph {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
}
.img-placeholder.light-ph {
  background: var(--blue-light);
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.img-ph-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}
.img-ph-icon {
  font-size: 3rem;
  opacity: 0.25;
  margin-bottom: 0.5rem;
}
.img-ph-label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.4;
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────
   FEATURES SECTION SPECIFICS
───────────────────────────────────────── */
.features-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.features-imgs .img-placeholder { aspect-ratio: 4/3; }

/* ─────────────────────────────────────────
   CTA + FORM SECTION
───────────────────────────────────────── */
.cta-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cta-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9375rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
}
.cta-bullet-icon {
  width: 22px; height: 22px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}
.cta-bullet strong { color: #fff; }
.cta-sub {
  font-size: 1rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Form — white card so HubSpot iframe text is readable */
.form-card {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

/* HubSpot form overrides */
.hs-form-frame { width: 100%; min-height: 420px; }

/* ─────────────────────────────────────────
   COMPARISON TABLE
───────────────────────────────────────── */
#comparison { background: var(--bg-light); }
.comp-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.comp-table thead tr {
  background: var(--bg-tint);
}
.comp-table thead th {
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border-light);
  color: var(--text-on-light);
}
.comp-table thead th:first-child {
  width: 55%;
  color: var(--text-muted-light);
}
.comp-table thead th.th-fliip {
  color: var(--blue);
  background: rgba(11,131,250,0.04);
}
.comp-table thead th.th-abc {
  color: var(--text-muted-light);
}
.comp-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background var(--ease);
}
.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table tbody tr:hover { background: #F8FAFD; }
.comp-table tbody td {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-on-light);
}
.comp-table tbody td:first-child {
  font-weight: 500;
  color: #2D3748;
}
.comp-table tbody td.td-fliip {
  background: rgba(11,131,250,0.03);
}
.check-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.875rem;
}
.check-no {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94A3B8;
  font-weight: 600;
  font-size: 0.875rem;
}
.check-yes-icon { font-size: 1rem; }
.check-no-icon  { font-size: 1rem; }

/* ─────────────────────────────────────────
   COMPETITOR COMPARISON TABLE (.compare)
   Used on competitor pages (hapana, gym-master, abc, etc.).
   FLiiP column is solid blue to visually win at a glance.
───────────────────────────────────────── */
.compare-wrap {
  margin: 2.75rem auto 0;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 24px 60px -24px rgba(11, 131, 250, 0.22),
    0 8px 24px -8px rgba(21, 104, 186, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  position: relative;
}
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  background: #fff;
}
.compare thead th {
  padding: 1.5rem 1.75rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8C969B;
  background: #FAFBFC;
  border-bottom: 1px solid #EEF3F7;
  vertical-align: middle;
}
.compare thead th:nth-child(2) {
  background: #0B83FA;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 800;
  text-align: center;
}
.compare-logo {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}
.compare thead th:nth-child(3) {
  color: #161719;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  text-align: center;
}
.compare tbody th,
.compare tbody td {
  padding: 0.85rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid #F2F5F8;
  text-align: left;
  background: #fff;
  transition: background-color 0.2s ease;
}
.compare tbody th {
  font-weight: 600;
  color: #161719;
  width: 28%;
  font-size: 0.875rem;
}
.compare tbody td {
  color: #3A3D40;
  padding-left: 3.25rem;
  position: relative;
}
.compare tbody td:nth-child(2) {
  background: #0B83FA;
  color: #fff;
  font-weight: 500;
}
.compare tbody td:nth-child(3) {
  color: #6A7177;
}
.compare tbody tr:hover th { background: #FAFBFC; }
.compare tbody tr:hover td:nth-child(2) { background: #1568BA; }
.compare tbody tr:hover td:nth-child(3) { background: #FAFBFC; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}
.compare-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 26px;
  height: 26px;
  margin: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(11, 131, 250, 0.15));
}
.compare-icon.compare-no { filter: none; }
.compare-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 760px) {
  .compare-wrap {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    margin: 1.5rem auto 0;
  }
  .compare-wrap::before { display: none; }
  .compare {
    display: block;
    background: transparent;
    font-size: 0.95rem;
  }
  .compare thead { display: none; }
  .compare tbody { display: block; }
  .compare tbody tr {
    display: block;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 12px 32px -8px rgba(11, 131, 250, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
  }
  .compare tbody tr::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1FBEFC 0%, #0B83FA 100%);
  }
  .compare tbody th,
  .compare tbody td {
    display: block;
    width: 100%;
    border-bottom: none;
    text-align: left;
    background: #fff;
    padding-left: 1.25rem;
  }
  .compare-icon {
    position: static;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin: 0 0.55rem 0 0;
    vertical-align: -6px;
  }
  .compare tbody th {
    padding: 1.15rem 1.25rem 0.9rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #161719;
    background: #FAFBFC;
    border-bottom: 1px solid #EEF3F7;
  }
  .compare tbody td {
    padding: 0.95rem 1.25rem;
    position: relative;
  }
  .compare tbody td:nth-child(2) {
    background: linear-gradient(180deg, rgba(11, 131, 250, 0.06) 0%, rgba(11, 131, 250, 0.03) 100%);
    border-left: 4px solid #0B83FA;
    color: #1568BA;
    font-weight: 500;
  }
  .compare tbody td:nth-child(3) {
    border-left: 4px solid #EEF3F7;
    color: #6A7177;
    border-top: 1px solid #F2F5F8;
  }
  .compare tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8C969B;
    margin-bottom: 0.4rem;
  }
  .compare tbody td:nth-child(2)::before { color: #0B83FA; }
  .compare tbody tr:hover th,
  .compare tbody tr:hover td,
  .compare tbody tr:hover td:nth-child(2),
  .compare tbody tr:hover td:nth-child(3) {
    background-color: initial;
    background-image: none;
  }
  .compare tbody tr:hover td:nth-child(2) {
    background: linear-gradient(180deg, rgba(11, 131, 250, 0.06) 0%, rgba(11, 131, 250, 0.03) 100%);
  }
}

/* ─────────────────────────────────────────
   3 WAYS SECTION
───────────────────────────────────────── */
#smarter { background: var(--bg-dark); }
.smarter-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.smarter-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--ease), transform var(--ease);
  position: relative;
  overflow: hidden;
}
.smarter-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.smarter-card:hover {
  border-color: rgba(11,131,250,0.3);
  transform: translateY(-4px);
}
.smarter-card:hover::after { transform: scaleX(1); }
.smarter-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.smarter-icon {
  width: 48px; height: 48px;
  background: rgba(11,131,250,0.12);
  border: 1px solid rgba(11,131,250,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.smarter-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.85rem;
}
.smarter-problem {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}
.smarter-solution {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   CASE STUDY
───────────────────────────────────────── */
#case-study { background: var(--bg-dark); position: relative; overflow: hidden; }
.case-study-glow {
  position: absolute;
  bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(11,131,250,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.case-study-inner {
  position: relative; z-index: 1;
  max-width: 780px; margin-inline: auto;
  text-align: center;
}
.case-study-inner .t-h2 { margin-bottom: 0.75rem; }
.case-study-subtext {
  font-size: 1.0625rem;
  color: var(--text-muted-dark);
  margin-bottom: 2.5rem;
}
.quote-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(11,131,250,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem; left: 1.75rem;
  font-size: 5rem; font-weight: 900; line-height: 1;
  color: var(--blue); opacity: 0.15;
  pointer-events: none;
}
.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.quote-attribution {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}
.quote-logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.quote-logo {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────────
   TRUST LOGOS
───────────────────────────────────────── */
#trust { background: var(--bg-light); }
.trust-heading {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A6472;
  margin-bottom: 2rem;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}

/* ─────────────────────────────────────────
   FAQ
───────────────────────────────────────── */
#faq { background: var(--bg-tint); }
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.faq-item.open {
  border-color: rgba(11,131,250,0.4);
  box-shadow: 0 4px 16px rgba(11,131,250,0.08);
}
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-on-light);
  gap: 1rem;
  transition: color var(--ease);
}
.faq-btn:hover { color: var(--blue); }
.faq-item.open .faq-btn { color: var(--blue); }
.faq-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-tint);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease);
  color: var(--text-muted-light);
  font-size: 0.9rem;
}
.faq-item.open .faq-chevron {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(180deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-body { max-height: 300px; }
.faq-body-inner {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted-light);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
#footer {
  background: var(--noir);
  border-top: 1px solid var(--border-dark);
  padding-block: 2rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-slogan {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  font-style: italic;
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer-link {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  transition: color var(--ease);
}
.footer-link:hover { color: #fff; }

/* ─────────────────────────────────────────
   DIVIDER
───────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
  margin-block: 3rem;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .p-card.featured { transform: none; }
  .smarter-grid { grid-template-columns: repeat(2,1fr); }
  .rcm-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .two-col,
  .two-col.flip { grid-template-columns: 1fr; direction: ltr; }
  .features-imgs { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .smarter-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .quote-logo-strip { flex-direction: column; gap: 0.75rem; }
  .rcm-cards { grid-template-columns: 1fr; }
  .rcm-features { padding: 1.75rem 1.5rem; }
}

@media (max-width: 480px) {
  .logo-pills { gap: 0.75rem 1.25rem; }
  .trust-logos { gap: 0.75rem 1.5rem; }
}

/* ─────────────────────────────────────────
   REVENUE CYCLE MANAGEMENT
───────────────────────────────────────── */
.rcm-top {
  text-align: center;
  margin-bottom: 3.5rem;
}
.rcm-features {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.rcm-features-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-sky);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}
.rcm-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.rcm-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
}
.rcm-item strong { color: #fff; }
.rcm-icon {
  width: 32px;
  height: 32px;
  background: rgba(11,131,250,0.1);
  border: 1px solid rgba(11,131,250,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.rcm-confidence-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.rcm-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) {
  .rcm-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rcm-cards { grid-template-columns: 1fr; }
}
.rcm-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--ease), transform var(--ease);
  position: relative;
  overflow: hidden;
}
.rcm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.rcm-card:hover {
  border-color: rgba(11,131,250,0.35);
  transform: translateY(-4px);
}
.rcm-card:hover::before { transform: scaleX(1); }
.rcm-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(11,131,250,0.1);
  border: 1px solid rgba(11,131,250,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.rcm-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}
.rcm-card-body {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   REAL IMAGE STYLES
───────────────────────────────────────── */
.logo-pill {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease), box-shadow var(--ease);
  background: #fff;
}
.logo-pill:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 12px rgba(11,131,250,0.12);
}
.partner-logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.review-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.features-section-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}
.features-section-img[data-broken] { display: none; }
.content-section-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.content-section-img[data-broken] { display: none; }
.trust-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity var(--ease), filter var(--ease);
}
.trust-logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ─────────────────────────────────────────
   PROOF BADGES — Capterra / GetApp / Software Advice
   Subtle inline row (designed for use inside the hero)
───────────────────────────────────────── */
.hero-proof-badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 1.5rem;
  opacity: 0.72;
  transition: opacity var(--ease);
}
.hero-proof-badges:hover { opacity: 1; }
.hero-proof-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.6;
  margin-right: 0.25rem;
}
.hero-proof-badge {
  display: block;
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  margin-bottom: -6px;
  transition: transform var(--ease), filter var(--ease);
  filter: saturate(0.85);
}
.hero-proof-badges:hover .hero-proof-badge {
  filter: saturate(1);
}
.hero-proof-badge:hover {
  transform: translateY(-2px);
}
@media (max-width: 760px) {
  .hero-proof-badges { gap: 0.5rem 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }
  .hero-proof-badge { height: 42px; max-width: 120px; margin-bottom: -4px; }
  .hero-proof-label { width: 100%; margin-bottom: 0.25rem; margin-right: 0; }
}

/* ─────────────────────────────────────────
   SCROLLBAR
───────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(11,131,250,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
