/* ============================================================
   ChurchConnect — Landing Page Design System
   Modern, animated, pain-led SaaS landing UI
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --primary:       #1a365d;
  --primary-mid:   #2d4a7a;
  --primary-light: #3a6fc9;
  --secondary:     #d4af37;
  --secondary-dk:  #b8941f;
  --accent:        #4f46e5;
  --accent-light:  #818cf8;
  --sky:           #0ea5e9;
  --emerald:       #10b981;
  --rose:          #f43f5e;

  --dark:          #0f1729;
  --dark-surface:  #1a2744;
  --dark-border:   #2d3f63;

  --text:          #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;

  --bg:            #f8faff;
  --bg-card:       #ffffff;
  --border:        #e2e8f0;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(26,54,93,.08);
  --shadow-lg:  0 16px 48px rgba(26,54,93,.14);
  --shadow-xl:  0 24px 64px rgba(26,54,93,.18);

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --font-body:  'Inter', system-ui, sans-serif;
  --font-head:  'Poppins', 'Inter', system-ui, sans-serif;

  --nav-h:      72px;
  --max-w:      1200px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.text-gradient {
  background: linear-gradient(135deg, var(--secondary) 0%, #f59e0b 60%, var(--secondary-dk) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ────────────────────────────────────────────────── */
.lp-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.lp-section {
  padding: 96px 0;
}

.lp-section-sm {
  padding: 64px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(79,70,229,.1);
  color: var(--accent);
  border: 1px solid rgba(79,70,229,.2);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label.gold {
  background: rgba(212,175,55,.12);
  color: var(--secondary-dk);
  border-color: rgba(212,175,55,.25);
}

.section-label.rose {
  background: rgba(244,63,94,.1);
  color: var(--rose);
  border-color: rgba(244,63,94,.2);
}

.section-label.emerald {
  background: rgba(16,185,129,.1);
  color: var(--emerald);
  border-color: rgba(16,185,129,.2);
}

.lp-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.lp-section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--primary);
}

.lp-section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Navigation ────────────────────────────────────────────── */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.lp-nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(26,54,93,.06);
}

.lp-nav.dark-nav.scrolled {
  background: rgba(15,23,41,.92);
  box-shadow: 0 1px 0 var(--dark-border), 0 4px 24px rgba(0,0,0,.2);
}

.lp-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
  transition: color .2s;
}

.lp-nav.scrolled .lp-logo { color: var(--primary); }
.lp-nav.dark-nav.scrolled .lp-logo { color: white; }

.lp-logo-icon {
  width: 36px; height: 36px;
  background: var(--secondary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .9rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212,175,55,.4);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.lp-nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color .2s, background .2s;
}

.lp-nav-links a:hover { color: white; background: rgba(255,255,255,.1); }
.lp-nav.scrolled .lp-nav-links a { color: var(--text-muted); }
.lp-nav.scrolled .lp-nav-links a:hover { color: var(--primary); background: var(--bg); }
.lp-nav.dark-nav.scrolled .lp-nav-links a { color: rgba(255,255,255,.7); }
.lp-nav.dark-nav.scrolled .lp-nav-links a:hover { color: white; background: rgba(255,255,255,.08); }

.lp-nav-links a.active {
  color: var(--secondary);
  font-weight: 600;
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lp-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  border: none;
}

.lp-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .3s;
}

.lp-nav.scrolled .lp-hamburger span { background: var(--primary); }

.lp-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.lp-mobile-menu.open { display: flex; }

.lp-mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  transition: background .2s, color .2s;
}

.lp-mobile-menu a:hover { background: var(--bg); color: var(--primary); }

.lp-mobile-menu .mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-lp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}

.btn-lp-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(26,54,93,.25);
}

.btn-lp-primary:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,54,93,.3);
  color: white;
}

.btn-lp-gold {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dk) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(212,175,55,.35);
}

.btn-lp-gold:hover {
  background: linear-gradient(135deg, #e0be45 0%, var(--secondary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,.4);
  color: white;
}

.btn-lp-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.5);
}

.btn-lp-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  color: white;
}

.btn-lp-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-lp-outline-dark:hover {
  border-color: var(--primary);
  background: rgba(26,54,93,.04);
  color: var(--primary);
}

.btn-lp-ghost {
  background: rgba(255,255,255,.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,.2);
}

.btn-lp-ghost:hover { background: rgba(255,255,255,.18); color: white; }

.btn-lp-sm { padding: 9px 18px; font-size: .84rem; }
.btn-lp-lg { padding: 16px 32px; font-size: 1rem; }

/* ── Hero ──────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  background: var(--dark);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* animated gradient blobs */
.lp-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(79,70,229,.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: blob1 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.lp-hero::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: blob2 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes blob1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(120px,80px) scale(1.15); }
}

@keyframes blob2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-100px,-60px) scale(1.2); }
}

.lp-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.lp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lp-hero-eyebrow span { width: 6px; height: 6px; background: var(--secondary); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.lp-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.lp-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.lp-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.lp-hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

.lp-hero-trust .avatars {
  display: flex;
}

.lp-hero-trust .avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}

.lp-hero-trust .avatars span:first-child { margin-left: 0; }

.lp-hero-visual {
  position: relative;
}

/* Dashboard mock in hero */
.hero-dash-mock {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  position: relative;
}

.hero-dash-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.hero-dash-dot:nth-child(1) { background: #ff5f57; }
.hero-dash-dot:nth-child(2) { background: #febc2e; }
.hero-dash-dot:nth-child(3) { background: #28c840; }

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.hero-stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.hero-stat-card .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-card .lbl {
  font-size: .68rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-activity {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hero-activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .78rem;
  color: rgba(255,255,255,.7);
}

.hero-activity-item:last-child { border-bottom: none; }

.hero-activity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-activity-dot.green { background: var(--emerald); }
.hero-activity-dot.gold  { background: var(--secondary); }
.hero-activity-dot.blue  { background: var(--accent-light); }

.hero-activity-time {
  margin-left: auto;
  color: rgba(255,255,255,.35);
  font-size: .72rem;
}

/* Floating badge cards */
.float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 3;
}

.float-badge.badge-1 {
  top: -24px;
  right: -20px;
  animation-delay: 0s;
}

.float-badge.badge-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.float-badge .badge-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.float-badge .badge-icon.green { background: rgba(16,185,129,.12); color: var(--emerald); }
.float-badge .badge-icon.gold  { background: rgba(212,175,55,.12); color: var(--secondary-dk); }
.float-badge .badge-sub { font-size: .71rem; font-weight: 400; color: var(--text-muted); }

@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* ── Pain Section ──────────────────────────────────────────── */
.lp-pain {
  background: linear-gradient(180deg, #0f1729 0%, #1a2744 100%);
  padding: 80px 0;
}

.lp-pain-header {
  text-align: center;
  margin-bottom: 56px;
}

.lp-pain-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white;
  margin-bottom: 14px;
}

.lp-pain-header p {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.pain-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .3s, background .3s;
}

.pain-card:hover {
  border-color: rgba(244,63,94,.3);
  background: rgba(244,63,94,.06);
}

.pain-card .pain-icon {
  width: 44px; height: 44px;
  background: rgba(244,63,94,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fb7185;
  margin-bottom: 14px;
}

.pain-card h4 {
  color: white;
  font-size: .95rem;
  margin-bottom: 8px;
}

.pain-card p {
  color: rgba(255,255,255,.5);
  font-size: .84rem;
  line-height: 1.6;
}

.pain-cta {
  text-align: center;
  margin-top: 48px;
}

.pain-cta p {
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

/* ── Features ──────────────────────────────────────────────── */
.features-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.feat-tab {
  padding: 8px 20px;
  border-radius: 99px;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all .2s;
}

.feat-tab.active, .feat-tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.feat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(79,70,229,.15);
}

.feat-card:hover::before { transform: scaleX(1); }

.feat-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.feat-card-icon.indigo  { background: rgba(79,70,229,.1);  color: var(--accent); }
.feat-card-icon.navy    { background: rgba(26,54,93,.1);   color: var(--primary); }
.feat-card-icon.gold    { background: rgba(212,175,55,.12); color: var(--secondary-dk); }
.feat-card-icon.emerald { background: rgba(16,185,129,.1); color: var(--emerald); }
.feat-card-icon.sky     { background: rgba(14,165,233,.1); color: var(--sky); }
.feat-card-icon.rose    { background: rgba(244,63,94,.1);  color: var(--rose); }

.feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.feat-card p {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feat-tag {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── Big Feature Showcase ──────────────────────────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-grid.reverse { direction: rtl; }
.showcase-grid.reverse > * { direction: ltr; }

.showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.showcase-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.showcase-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.showcase-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.showcase-list-item .sc-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(16,185,129,.15);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-list-item span {
  font-size: .9rem;
  color: var(--text);
}

.showcase-visual {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--dark-border);
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.lp-stats-bar {
  background: var(--primary);
  padding: 48px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}

.stat-item .stat-label {
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Pricing ───────────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: background .3s;
}

.pricing-switch.on { background: var(--primary); }

.pricing-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  transition: left .3s;
  box-shadow: var(--shadow-sm);
}

.pricing-switch.on::after { left: 27px; }

.pricing-save {
  background: rgba(16,185,129,.12);
  color: var(--emerald);
  border-radius: 99px;
  padding: 2px 10px;
  font-size: .75rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow .3s, transform .3s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26,54,93,.35);
}

.pricing-card.featured:hover { transform: translateY(-12px); }

.pricing-best {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: white;
  border-radius: 99px;
  padding: 4px 16px;
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(212,175,55,.4);
}

.pricing-plan-name {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-plan-name { color: rgba(255,255,255,.65); }

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-amount .currency { font-size: 1rem; font-weight: 700; color: var(--text); }
.pricing-amount .num { font-size: 2.8rem; font-weight: 800; line-height: 1; color: var(--primary); letter-spacing: -.03em; }
.pricing-amount .period { font-size: .85rem; color: var(--text-muted); }

.pricing-card.featured .pricing-amount .currency,
.pricing-card.featured .pricing-amount .num  { color: white; }
.pricing-card.featured .pricing-amount .period { color: rgba(255,255,255,.6); }

.pricing-desc {
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.pricing-card.featured .pricing-desc {
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.15);
}

.pricing-features-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--text);
}

.pricing-card.featured .pricing-feat-item { color: rgba(255,255,255,.85); }

.pricing-feat-item .pf-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pf-icon.yes { background: rgba(16,185,129,.15); color: var(--emerald); }
.pf-icon.no  { background: rgba(148,163,184,.1); color: var(--text-light); }
.pricing-card.featured .pf-icon.yes { background: rgba(255,255,255,.2); color: white; }

.pricing-feat-item.dimmed { opacity: .45; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .3s;
}

.testi-card:hover { box-shadow: var(--shadow-lg); }

.testi-stars {
  display: flex;
  gap: 3px;
  color: var(--secondary);
  font-size: .85rem;
  margin-bottom: 16px;
}

.testi-quote {
  font-size: .93rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testi-author-name { font-size: .9rem; font-weight: 700; color: var(--primary); }
.testi-author-role { font-size: .78rem; color: var(--text-muted); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}

.faq-item:hover { box-shadow: var(--shadow); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
  user-select: none;
}

.faq-q .faq-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .3s, background .2s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary);
  color: white;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}

.faq-item.open .faq-a { max-height: 400px; }

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.lp-cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #2d3a8c 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.lp-cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,.2) 0%, transparent 70%);
  border-radius: 50%;
}

.lp-cta-band::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(79,70,229,.25) 0%, transparent 70%);
  border-radius: 50%;
}

.lp-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.lp-cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  margin-bottom: 16px;
}

.lp-cta-content p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

.cta-trust-item i { color: var(--secondary); }

/* ── Footer ────────────────────────────────────────────────── */
.lp-footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand p {
  font-size: .87rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  color: rgba(255,255,255,.5);
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: background .2s, color .2s;
}

.footer-social-btn:hover { background: var(--secondary); color: white; }

.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--secondary); }

.lp-footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lp-footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-of-type { border-bottom: none; }

.ci-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ci-icon.navy { background: rgba(26,54,93,.1); color: var(--primary); }
.ci-icon.gold { background: rgba(212,175,55,.12); color: var(--secondary-dk); }
.ci-icon.emerald { background: rgba(16,185,129,.1); color: var(--emerald); }

.ci-label { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.ci-value { font-size: .92rem; font-weight: 600; color: var(--primary); margin-top: 2px; }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: .83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,54,93,.1);
  background: white;
}

.form-textarea { resize: vertical; min-height: 130px; }

/* ── Help Center ───────────────────────────────────────────── */
.help-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 120px 0 80px;
  text-align: center;
}

.help-search-box {
  max-width: 540px;
  margin: 28px auto 0;
  position: relative;
}

.help-search-box input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  box-shadow: var(--shadow-xl);
  outline: none;
}

.help-search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.help-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}

.help-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
}

.help-cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.help-cat-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.help-articles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-article-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

.help-article-item:hover {
  border-color: var(--primary);
  background: rgba(26,54,93,.02);
  color: var(--primary);
  transform: translateX(4px);
}

/* ── Page Hero (non-landing pages) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: calc(var(--nav-h) + 64px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: blob1 12s ease-in-out infinite alternate;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Breadcrumb */
.lp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}

.lp-breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.lp-breadcrumb a:hover { color: var(--secondary); }
.lp-breadcrumb .sep { opacity: .4; }

/* ── Reveal Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity .65s, transform .65s; }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity .65s, transform .65s; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s, transform .5s;
}

.stagger-children.visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay:.05s; }
.stagger-children.visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay:.15s; }
.stagger-children.visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay:.25s; }
.stagger-children.visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay:.35s; }
.stagger-children.visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay:.45s; }
.stagger-children.visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay:.55s; }
.stagger-children.visible > *:nth-child(7)  { opacity:1; transform:none; transition-delay:.60s; }
.stagger-children.visible > *:nth-child(8)  { opacity:1; transform:none; transition-delay:.65s; }
.stagger-children.visible > *:nth-child(9)  { opacity:1; transform:none; transition-delay:.70s; }
.stagger-children.visible > *:nth-child(10) { opacity:1; transform:none; transition-delay:.75s; }
.stagger-children.visible > *:nth-child(11) { opacity:1; transform:none; transition-delay:.80s; }
.stagger-children.visible > *:nth-child(12) { opacity:1; transform:none; transition-delay:.85s; }
/* catch-all: any child beyond 12 also becomes visible */
.stagger-children.visible > *:nth-child(n+13) { opacity:1; transform:none; transition-delay:.90s; }

/* ── Utilities ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.hidden { display: none !important; }

/* ── Steps grid (How It Works 4-col) ───────────────────────── */
.lp-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-step-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .3s;
}

.lp-steps-cta { margin-top: 48px; }

/* Showcase spacing helper (replaces inline margin-bottom:96px) */
.lp-showcase-block { margin-bottom: 80px; }
.lp-showcase-block:last-child { margin-bottom: 0; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-section { padding: 72px 0; }
  .lp-section-header { margin-bottom: 48px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase-grid.reverse { direction: ltr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .lp-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-showcase-block { margin-bottom: 56px; }
  .lp-step-card { padding: 22px; }
  .lp-steps-cta { margin-top: 36px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Section spacing */
  .lp-section { padding: 56px 0; }
  .lp-section-header { margin-bottom: 36px; }
  .lp-section-header p { font-size: 1rem; }
  .lp-pain { padding: 56px 0; }
  .lp-pain-header { margin-bottom: 40px; }
  .lp-stats-bar { padding: 36px 0; }
  .lp-cta-band { padding: 64px 0; }

  /* Hero */
  .lp-hero-grid { grid-template-columns: 1fr; gap: 0; padding: 40px 0 32px; }
  .lp-hero-visual { display: none; }
  .lp-hero-sub { font-size: 1rem; }
  .lp-hero-actions { margin-bottom: 32px; }

  /* Mobile nav: hide desktop links + action buttons, show hamburger on right */
  .lp-nav-links { display: none; }
  .lp-nav-actions { display: none; }
  .lp-hamburger { display: flex; margin-left: auto; }

  /* Grids */
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .help-cats { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .lp-steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lp-step-card { padding: 20px; }
  .lp-steps-cta { margin-top: 32px; }
  .lp-showcase-block { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .lp-container { padding: 0 16px; }

  /* Section spacing — tightest on phones */
  .lp-section { padding: 40px 0; }
  .lp-section-header { margin-bottom: 28px; }
  .lp-section-header h2 { margin-bottom: 12px; }
  .lp-section-header p { font-size: .9rem; }
  .lp-pain { padding: 40px 0; }
  .lp-pain-header { margin-bottom: 28px; }
  .lp-stats-bar { padding: 28px 0; }
  .lp-cta-band { padding: 48px 0; }
  .lp-cta-content h2 br { display: none; }

  /* Hero */
  .lp-hero-grid { padding: 28px 0 20px; }
  .lp-hero-title { font-size: 1.9rem; }
  .lp-hero-sub { font-size: .95rem; margin-bottom: 28px; }
  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 24px;
  }
  .lp-hero-actions > a { width: 100%; justify-content: center; }
  .lp-hero-trust { font-size: .78rem; gap: 8px; }

  /* Grids */
  .pricing-toggle { flex-direction: column; gap: 8px; }
  .help-cats { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .lp-steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .lp-step-card { padding: 18px; }
  .lp-steps-cta { margin-top: 28px; }
  .lp-steps-cta .btn-lp { margin-right: 0 !important; margin-bottom: 10px; width: 100%; justify-content: center; }
  .lp-showcase-block { margin-bottom: 28px; }

  /* Testimonials tighter */
  .testi-card { padding: 20px; }

  /* Pricing cards tighter */
  .pricing-card { padding: 24px 20px; }

  /* FAQ tighter */
  .faq-q { padding: 16px 18px; font-size: .9rem; }
  .faq-a-inner { padding: 0 18px 16px; }
}
