/* ═══════════════════════════════════════════════════════════════════
   EasyChurch Landing — Global Stylesheet
   Color System:
     Primary:  #2563eb (blue-600)
     Dark:     #1d4ed8 (blue-700)
     Light:    #eff6ff (blue-50)
     Accent:   #0ea5e9 (sky-500)
     Text:     #0f172a / #475569 / #94a3b8
     Surface:  #f8fafc
═══════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: #0f172a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; border: none; transition: all 0.18s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-full { width: 100%; margin-top: 24px; }

.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.35); }

.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

.btn-outline { background: transparent; color: #2563eb; border: 1.5px solid #2563eb; }
.btn-outline:hover { background: #eff6ff; }

.btn-white { background: #fff; color: #2563eb; }
.btn-white:hover { background: #eff6ff; transform: translateY(-1px); }

.btn-ghost-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); }

/* ── Nav ── */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-wrap.scrolled { border-color: #e2e8f0; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: #0f172a;
}
.logo strong { color: #2563eb; }
.logo-img { height: 36px; width: auto; display: block; }
.logo-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.logo-white { color: #fff; }
.logo-white strong { color: #bfdbfe; }
.logo-white .logo-icon { background: rgba(255,255,255,0.2); }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 6px 14px; border-radius: 7px; font-size: 14px; font-weight: 500;
  color: #475569; transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: #2563eb; background: #eff6ff; }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #475569; border-radius: 2px; transition: 0.2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  padding: 140px 0 80px; position: relative; overflow: hidden;
  background: #0a1628;
}

/* Collage background */
.hero-collage {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  gap: 6px; overflow: hidden; pointer-events: none;
}
.collage-track {
  display: flex; gap: 6px; flex-shrink: 0;
  animation: collage-scroll 35s linear infinite;
  width: max-content;
}
.collage-track-2 { animation-direction: reverse; animation-duration: 40s; }
.collage-track-3 { animation-duration: 32s; }
.collage-track-4 { animation-direction: reverse; animation-duration: 38s; }

@keyframes collage-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cp {
  width: 220px; height: 150px; flex-shrink: 0;
  border-radius: 10px; overflow: hidden;
}
.cp img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; filter: brightness(0.75) saturate(0.85);
}
.collage-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,22,40,0.55) 0%,
    rgba(10,22,40,0.72) 40%,
    rgba(10,22,40,0.82) 70%,
    rgba(10,22,40,0.92) 100%
  );
}

.hero-inner { position: relative; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 600;
  margin-bottom: 24px; backdrop-filter: blur(8px);
}

.hero-headline {
  font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.1;
  color: #fff; letter-spacing: -2px; margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.65);
  letter-spacing: 2px; text-transform: uppercase; margin: -14px 0 28px;
}

.hero-sub {
  max-width: 600px; margin: 0 auto 36px; font-size: 18px;
  color: rgba(255,255,255,0.82); line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }

.hero-note { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 64px; }

/* Dashboard mockup */
.hero-mockup {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(15,23,42,0.15), 0 0 0 1px #e2e8f0;
  max-width: 860px; margin: 0 auto; text-align: left;
}
.mockup-bar {
  background: #f1f5f9; padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }
.mockup-url {
  margin-left: 8px; font-size: 12px; color: #94a3b8; font-family: monospace;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 2px 12px;
}
.mockup-body { display: flex; height: 360px; }
.mockup-sidebar {
  width: 160px; background: #0f172a; padding: 16px 0; flex-shrink: 0;
}
.ms-item {
  padding: 10px 16px; font-size: 12px; font-weight: 500; color: #94a3b8;
  cursor: default; border-left: 3px solid transparent; margin-bottom: 2px;
}
.ms-item.active { color: #fff; background: rgba(37,99,235,0.25); border-color: #2563eb; }
.mockup-content { flex: 1; padding: 20px; background: #f8fafc; overflow: hidden; }
.mc-header { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.mc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.mc-stat {
  background: #fff; border-radius: 10px; padding: 14px;
  border: 1px solid #e2e8f0;
}
.mc-stat-val { font-size: 22px; font-weight: 800; color: #2563eb; }
.mc-stat-lbl { font-size: 10px; color: #94a3b8; font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.mc-chart-area {
  display: flex; align-items: flex-end; gap: 8px; height: 100px;
  background: #fff; border-radius: 10px; padding: 16px; border: 1px solid #e2e8f0;
}
.mc-chart-bar {
  flex: 1; background: #bfdbfe; border-radius: 4px 4px 0 0; transition: height 0.3s;
}
.mc-chart-bar.active { background: #2563eb; }

/* ── Trust Bar ── */
.trust-bar { padding: 32px 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; overflow: hidden; }
.trust-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; font-weight: 600; margin-bottom: 24px; }

.trust-marquee-wrap {
  position: relative;
  overflow: hidden;
}
.trust-marquee-wrap::before,
.trust-marquee-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.trust-marquee-wrap::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.trust-marquee-wrap::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }

.trust-marquee { overflow: hidden; }

.trust-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 100px;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.25s, opacity 0.25s;
}
.trust-logo-item:hover { filter: grayscale(0%); opacity: 1; }
.trust-logo-item img {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── Sections ── */
.section { padding: 96px 0; }
.section-alt { background: #f8fafc; }

.section-label {
  display: inline-block; background: #eff6ff; color: #2563eb;
  border: 1px solid #bfdbfe; border-radius: 20px; padding: 4px 14px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #0f172a;
  line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: #475569; max-width: 560px; margin-bottom: 56px; line-height: 1.65; }

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15,23,42,0.1); }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #475569; margin-bottom: 16px; line-height: 1.6; }
.feature-list { list-style: none; }
.feature-list li { font-size: 13px; color: #475569; padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: '✓'; color: #2563eb; font-weight: 700; flex-shrink: 0; }

/* ── Steps ── */
.steps-grid {
  display: flex; align-items: flex-start; gap: 0; flex-wrap: nowrap;
}
.step-card {
  flex: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 32px 28px; text-align: center;
}
.step-card:hover { box-shadow: 0 8px 32px rgba(15,23,42,0.08); }
.step-num {
  font-size: 40px; font-weight: 900; color: #bfdbfe; margin-bottom: 16px; display: block;
  font-variant-numeric: tabular-nums;
}
.step-card h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: #475569; line-height: 1.6; }
.step-arrow {
  font-size: 24px; color: #cbd5e1; padding: 0 8px; align-self: center;
  flex-shrink: 0; margin-top: -20px;
}

/* ── Roles Row ── */
.roles-marquee-wrap {
  padding: 0 40px;
  margin-top: 48px;
}

.roles-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 8px 0 16px;
}

.role-scroll-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  flex: 1;
  min-width: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.role-scroll-card:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.10);
}
.role-scroll-icon { font-size: 34px; margin-bottom: 12px; display: block; }
.role-scroll-card h3 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 8px; line-height: 1.4; }
.role-scroll-card p  { font-size: 12px; color: #475569; line-height: 1.6; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }

.plan-card {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px;
  padding: 32px 28px; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15,23,42,0.1); }
.plan-popular {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  transform: scale(1.02);
}
.plan-popular:hover { transform: scale(1.02) translateY(-4px); }

.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #2563eb; color: #fff; border-radius: 20px; padding: 4px 16px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.plan-name { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.plan-price { font-size: 40px; font-weight: 900; color: #0f172a; }
.plan-period { font-size: 13px; color: #94a3b8; margin-bottom: 16px; }
.plan-desc { font-size: 14px; color: #475569; margin-bottom: 24px; line-height: 1.5; }
.plan-features { list-style: none; }
.plan-features li {
  font-size: 14px; padding: 7px 0; border-bottom: 1px solid #f1f5f9; color: #374151;
  display: flex; align-items: center; gap: 10px;
}
.plan-features li:last-child { border: none; }
.plan-features li:has(✗) { color: #94a3b8; }

.pricing-note { text-align: center; font-size: 13px; color: #94a3b8; }
.pricing-note a { color: #2563eb; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px;
}
.stars { color: #fbbf24; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: #0f172a; }
.testimonial-author span { font-size: 12px; color: #94a3b8; }

/* ── Pricing v6 ── */
.pricing-toggle-row { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:36px; flex-wrap:wrap; }
.ptgl-label { font-size:14px; font-weight:700; color:#0f172a; }
.ptgl-track { width:48px; height:26px; border-radius:13px; background:#e2e8f0; border:1px solid #cbd5e1; cursor:pointer; position:relative; transition:background 0.2s; flex-shrink:0; }
.ptgl-track.on { background:#2563eb; border-color:#2563eb; }
.ptgl-thumb { position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,0.2); transition:left 0.2s; }
.ptgl-track.on .ptgl-thumb { left:25px; }
.ptgl-save { font-size:12px; font-weight:600; padding:3px 12px; border-radius:20px; background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; transition:opacity 0.2s; }

.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:24px; }
.plan-card { background:#fff; border:1.5px solid #e2e8f0; border-radius:16px; padding:28px 24px; position:relative; display:flex; flex-direction:column; transition:transform 0.2s,box-shadow 0.2s; }
.plan-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(15,23,42,0.1); }
.plan-card.plan-popular { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,0.1); }
.plan-badge { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:#2563eb; color:#fff; font-size:11px; font-weight:700; padding:3px 14px; border-radius:20px; white-space:nowrap; }
.pv6-icon { width:36px; height:36px; border-radius:9px; display:flex; align-items:center; justify-content:center; margin-bottom:12px; flex-shrink:0; }
.plan-name { font-size:12px; font-weight:600; color:#6b7280; text-transform:uppercase; letter-spacing:0.5px; margin-bottom:4px; }
.plan-price { font-size:28px; font-weight:800; color:#0f172a; line-height:1.1; }
.plan-price span { font-size:13px; font-weight:400; color:#94a3b8; }
.plan-orig { font-size:12px; color:#94a3b8; text-decoration:line-through; min-height:16px; margin-top:2px; }
.plan-save-txt { font-size:12px; color:#16a34a; font-weight:600; min-height:16px; margin-bottom:12px; }
.members-chip { display:inline-block; font-size:12px; font-weight:600; padding:5px 12px; border-radius:7px; background:#f1f5f9; color:#475569; margin-bottom:12px; }
.pv6-divider { border:none; border-top:1px solid #f1f5f9; margin:10px 0; }
.pv6-feat { display:flex; align-items:flex-start; gap:8px; margin-bottom:7px; }
.pv6-ck { width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.pv6-ck.green { background:#dcfce7; }
.pv6-ck.green::after { content:'✓'; font-size:9px; color:#16a34a; font-weight:900; }
.pv6-ck.amber { background:#fef3c7; }
.pv6-ck.amber::after { content:'✓'; font-size:9px; color:#d97706; font-weight:900; }
.pv6-ck.blue { background:#dbeafe; }
.pv6-ck.blue::after { content:'✓'; font-size:9px; color:#2563eb; font-weight:900; }
.pv6-ft { font-size:13px; color:#374151; line-height:1.4; }
.pv6-fn { font-size:11px; color:#9ca3af; display:block; margin-top:1px; }
.pv6-ctx { font-size:10px; color:#9ca3af; display:block; font-style:italic; margin-top:1px; }
.sms-pill { display:inline-block; font-size:10px; font-weight:600; padding:1px 7px; border-radius:20px; background:#fef3c7; color:#92400e; margin-left:4px; }
.free-pill { display:inline-block; font-size:10px; font-weight:600; padding:1px 7px; border-radius:20px; background:#dcfce7; color:#166534; margin-left:4px; }
.pv6-btn { display:block; width:100%; padding:10px; border-radius:9px; font-size:14px; font-weight:600; text-align:center; cursor:pointer; border:1.5px solid #e2e8f0; background:#fff; color:#374151; text-decoration:none; font-family:inherit; transition:background 0.15s,border-color 0.15s; }
.pv6-btn:hover { background:#f8fafc; border-color:#cbd5e1; }
.pv6-btn.primary { background:#2563eb; color:#fff; border-color:#2563eb; }
.pv6-btn.primary:hover { background:#1d4ed8; }

/* Finance Add-On */
.addon-card-v6 { border:1.5px dashed #93c5fd; border-radius:16px; padding:28px; margin-bottom:24px; background:#fff; position:relative; overflow:hidden; }
.addon-beta-ribbon { position:absolute; top:18px; right:-26px; background:#dc2626; color:#fff; font-size:10px; font-weight:700; padding:4px 36px; transform:rotate(45deg); letter-spacing:0.06em; }
.addon-top-row { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:16px; flex-wrap:wrap; }
.addon-pill { display:inline-block; font-size:12px; font-weight:600; padding:2px 12px; border-radius:20px; background:#ede9fe; color:#5b21b6; margin-bottom:6px; }
.beta-pill { display:inline-block; font-size:12px; font-weight:600; padding:2px 12px; border-radius:20px; background:#fee2e2; color:#b91c1c; margin-bottom:6px; margin-left:6px; }
.addon-title { font-size:18px; font-weight:800; color:#0f172a; margin-bottom:2px; }
.addon-subtitle { font-size:13px; color:#6b7280; }
.addon-price-block { text-align:right; flex-shrink:0; }
.addon-orig-price { font-size:13px; color:#9ca3af; text-decoration:line-through; margin-bottom:2px; }
.addon-beta-price { font-size:28px; font-weight:800; color:#0f172a; line-height:1.1; }
.addon-beta-price span { font-size:13px; font-weight:400; color:#94a3b8; }
.addon-beta-off { display:inline-block; font-size:11px; font-weight:600; padding:2px 9px; border-radius:20px; background:#fee2e2; color:#b91c1c; margin-top:4px; }
.addon-save-txt { font-size:12px; color:#16a34a; font-weight:600; min-height:14px; margin-top:3px; }
.addon-beta-note { font-size:13px; color:#b91c1c; background:#fee2e2; border-left:3px solid #dc2626; border-radius:8px; padding:10px 14px; margin-bottom:18px; line-height:1.6; }
.addon-two-col { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.addon-col { background:#f8fafc; border-radius:10px; padding:14px 16px; }
.addon-col-label { font-size:11px; font-weight:700; color:#6b7280; text-transform:uppercase; letter-spacing:0.5px; margin-bottom:10px; }
.role-pill-v6 { display:inline-block; font-size:11px; padding:3px 10px; border-radius:20px; background:#fff; border:1px solid #e2e8f0; color:#475569; margin:2px 2px 2px 0; }

/* SMS Top-Up */
.sms-topup-section { margin-bottom:24px; }
.topup-heading { font-size:17px; font-weight:700; color:#0f172a; margin-bottom:6px; }
.topup-sub { font-size:13px; color:#6b7280; margin-bottom:16px; }
.topup-grid-v6 { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.topup-card-v6 { background:#fff; border:1.5px solid #e2e8f0; border-radius:12px; padding:16px; position:relative; transition:border-color 0.15s; }
.topup-card-v6:hover { border-color:#bfdbfe; }
.topup-card-v6.best { border-color:#2563eb; box-shadow:0 0 0 2px rgba(37,99,235,0.1); }
.topup-best-label { position:absolute; top:-10px; left:50%; transform:translateX(-50%); background:#2563eb; color:#fff; font-size:10px; font-weight:700; padding:2px 10px; border-radius:20px; white-space:nowrap; }
.topup-price-v6 { font-size:20px; font-weight:800; color:#0f172a; margin-bottom:2px; }
.topup-credits-v6 { font-size:14px; font-weight:600; color:#0f172a; }
.topup-bonus-v6 { font-size:12px; color:#16a34a; font-weight:600; margin-bottom:8px; }
.topup-stat-v6 { font-size:12px; color:#6b7280; margin-bottom:2px; }

/* Competitor */
.comp-grid-v6 { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:24px; }
.comp-card-v6 { background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:14px 16px; }
.comp-name-v6 { font-size:14px; font-weight:700; color:#0f172a; margin-bottom:2px; }
.comp-price-v6 { font-size:13px; color:#6b7280; margin-bottom:3px; }
.comp-note-v6 { font-size:12px; color:#94a3b8; margin-bottom:6px; }
.comp-adv-v6 { display:inline-block; font-size:12px; padding:2px 10px; border-radius:20px; background:#dbeafe; color:#1d4ed8; font-weight:600; }

/* ── Ecosystem Section ── */
.ecosystem-section {
  background: #0a1628;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.ecosystem-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.eco-header { text-align: center; margin-bottom: 56px; position: relative; }
.eco-label {
  display: inline-block; background: rgba(251,191,36,0.15); color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.3); border-radius: 20px;
  padding: 4px 16px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 18px;
}
.eco-title {
  font-size: clamp(30px, 4vw, 50px); font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 18px;
}
.eco-gradient {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.eco-sub { font-size: 16px; color: #94a3b8; max-width: 620px; margin: 0 auto; line-height: 1.7; }

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  margin-bottom: 48px;
}

.eco-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.eco-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.eco-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }

.eco-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}

.coming-soon-badge {
  background: rgba(251,191,36,0.15); color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.35); border-radius: 20px;
  padding: 3px 12px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.4px; white-space: nowrap;
}

.eco-name {
  font-size: 20px; font-weight: 800; color: #fff;
  line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.3px;
}

.eco-desc { font-size: 14px; color: #94a3b8; line-height: 1.7; margin-bottom: 16px; }

.eco-bullets { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 7px; }
.eco-bullets li {
  font-size: 13px; color: #cbd5e1; display: flex; align-items: flex-start; gap: 8px;
}
.eco-bullets li::before { content: '→'; color: #60a5fa; font-weight: 700; flex-shrink: 0; }

.eco-join-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
  color: #e2e8f0; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); cursor: pointer;
  transition: background 0.2s, border-color 0.2s; text-decoration: none;
  font-family: inherit;
}
.eco-join-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: #fff; }

.eco-footer-note { text-align: center; padding-top: 8px; position: relative; }
.eco-footer-note p { font-size: 15px; color: #64748b; margin-bottom: 16px; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 9px; font-size: 14px; font-weight: 600;
  color: #e2e8f0; border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent; transition: all 0.2s; font-family: inherit;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); color: #fff; }

/* Footer soon badge */
.footer-soon {
  display: inline-block; background: rgba(251,191,36,0.2); color: #fbbf24;
  border-radius: 10px; padding: 1px 7px; font-size: 10px; font-weight: 700;
  margin-left: 4px; vertical-align: middle;
}

/* ── Demo Banner ── */
.demo-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.demo-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.demo-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap; position: relative;
}
.demo-banner-text { flex: 1; min-width: 300px; }
.demo-badge {
  display: inline-block; background: rgba(251,191,36,0.2); color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.4); border-radius: 20px;
  padding: 4px 14px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px;
}
.demo-banner-text h2 {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; color: #fff;
  letter-spacing: -1px; margin-bottom: 14px; line-height: 1.2;
}
.demo-banner-text p { font-size: 16px; color: #bfdbfe; line-height: 1.65; margin-bottom: 20px; }
.demo-perks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.demo-perks li { font-size: 14px; color: #93c5fd; display: flex; align-items: center; gap: 8px; }

.demo-banner-cta { text-align: center; flex-shrink: 0; }
.btn-xl { padding: 18px 36px; font-size: 17px; border-radius: 12px; font-weight: 800; letter-spacing: -0.2px; }
.btn-white.btn-xl:hover { background: #eff6ff; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.demo-sub-note { font-size: 13px; color: #93c5fd; margin-top: 12px; }

/* Hero demo button pulse */
.btn-demo {
  position: relative;
  animation: pulse-demo 2.5s ease-in-out infinite;
}
@keyframes pulse-demo {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.5); }
  50%       { box-shadow: 0 0 0 10px rgba(37,99,235,0); }
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  padding: 96px 0; text-align: center;
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -1px; }
.cta-inner p { font-size: 17px; color: #bfdbfe; max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ── Footer ── */
.footer { background: #0f172a; color: #94a3b8; padding: 72px 0 0; }
.footer-inner { display: flex; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-brand { max-width: 260px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 16px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; flex: 1; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: #94a3b8; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e293b; padding: 20px 0;
  font-size: 13px;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ══ Documentation & Security page shared ══ */
.page-hero {
  padding: 120px 0 64px;
  background: linear-gradient(165deg, #f0f6ff 0%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.page-hero-inner { max-width: 720px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: #0f172a; letter-spacing: -1.5px; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: #475569; max-width: 560px; }

.docs-layout { display: flex; gap: 48px; padding: 64px 0 96px; align-items: flex-start; }
.docs-sidebar { width: 240px; flex-shrink: 0; position: sticky; top: 88px; }
.docs-sidebar h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: #94a3b8; font-weight: 700; margin-bottom: 8px; margin-top: 20px; }
.docs-sidebar h4:first-child { margin-top: 0; }
.docs-nav-link {
  display: block; font-size: 14px; color: #475569; padding: 6px 12px; border-radius: 7px;
  border-left: 2px solid transparent; transition: all 0.15s; margin-bottom: 2px;
}
.docs-nav-link:hover { color: #2563eb; background: #eff6ff; }
.docs-nav-link.active { color: #2563eb; background: #eff6ff; border-color: #2563eb; font-weight: 600; }

.docs-content { flex: 1; min-width: 0; }
.docs-section { margin-bottom: 64px; }
.docs-section h2 { font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 12px; padding-top: 12px; letter-spacing: -0.5px; }
.docs-section h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin: 28px 0 10px; }
.docs-section p { font-size: 15px; color: #475569; line-height: 1.75; margin-bottom: 14px; }
.docs-section ul { margin: 12px 0 16px 20px; }
.docs-section ul li { font-size: 15px; color: #475569; line-height: 1.75; margin-bottom: 6px; }
.docs-section ol { margin: 12px 0 16px 20px; }
.docs-section ol li { font-size: 15px; color: #475569; line-height: 1.75; margin-bottom: 8px; }

.info-box {
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 16px 18px;
  margin: 16px 0; display: flex; gap: 12px; align-items: flex-start;
}
.info-box span:first-child { font-size: 18px; flex-shrink: 0; }
.info-box p { font-size: 14px; color: #1d4ed8; margin: 0; }

.warn-box {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 16px 18px;
  margin: 16px 0; display: flex; gap: 12px; align-items: flex-start;
}
.warn-box p { font-size: 14px; color: #92400e; margin: 0; }

.step-list { counter-reset: steps; list-style: none; margin: 16px 0; }
.step-list li {
  counter-increment: steps; display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: #374151; line-height: 1.6; margin-bottom: 16px;
}
.step-list li::before {
  content: counter(steps); width: 28px; height: 28px; border-radius: 50%;
  background: #2563eb; color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.feature-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.feature-table th { text-align: left; padding: 10px 14px; background: #f8fafc; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; border-bottom: 2px solid #e2e8f0; }
.feature-table td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; color: #374151; vertical-align: top; }
.feature-table tr:last-child td { border-bottom: none; }
.badge-yes { background: #f0fdf4; color: #166534; border-radius: 20px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.badge-no  { background: #fef2f2; color: #991b1b; border-radius: 20px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.badge-partial { background: #fffbeb; color: #92400e; border-radius: 20px; padding: 2px 10px; font-size: 12px; font-weight: 600; }

/* Security specific */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.security-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px;
}
.security-card:hover { border-color: #bfdbfe; box-shadow: 0 8px 32px rgba(37,99,235,0.08); }
.security-card .sec-icon {
  font-size: 32px; margin-bottom: 14px; display: block;
  width: 56px; height: 56px; background: #eff6ff; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.security-card h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.security-card p { font-size: 14px; color: #475569; line-height: 1.65; }

.compliance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.compliance-card {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px 22px;
  display: flex; align-items: flex-start; gap: 14px;
}
.compliance-icon { font-size: 28px; flex-shrink: 0; }
.compliance-card h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.compliance-card p { font-size: 13px; color: #475569; line-height: 1.55; }

/* ── Responsive ── */

/* Tablet landscape */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .plan-popular { transform: scale(1); }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; margin: 0; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: 1fr; }
  .docs-layout { flex-direction: column; }
  .docs-sidebar { width: 100%; position: static; }
  .topup-grid-v6 { grid-template-columns: repeat(2, 1fr); }
  .comp-grid-v6 { grid-template-columns: 1fr; }
  .addon-two-col { grid-template-columns: 1fr; }
  .roles-marquee-track { flex-wrap: wrap; }
  .role-scroll-card { flex: 0 1 calc(33.333% - 12px); min-width: 160px; }
}

/* Tablet portrait */
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .demo-banner-inner { flex-direction: column; text-align: center; }
  .demo-perks { align-items: center; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .roles-marquee-track { flex-wrap: wrap; }
  .role-scroll-card { flex: 0 1 calc(50% - 8px); }
  .roles-marquee-wrap { padding: 0 20px; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Container */
  .container { padding: 0 16px; }

  /* Section spacing */
  .section { padding: 60px 0; }
  .section-title { letter-spacing: -0.5px; }
  .section-sub { font-size: 15px; margin-bottom: 36px; }

  /* Nav */
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 16px 20px;
    border-bottom: 1px solid #e2e8f0; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; font-size: 15px; border-radius: 8px; }
  .nav-mobile-cta { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f1f5f9; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 100px 0 56px; }
  .hero-headline { font-size: clamp(32px, 9vw, 48px); letter-spacing: -1px; margin-bottom: 16px; }
  .hero-tagline { font-size: 12px; letter-spacing: 1.5px; margin: -8px 0 20px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-note { font-size: 12px; margin-bottom: 40px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; }

  /* Trust bar */
  .trust-marquee-wrap::before,
  .trust-marquee-wrap::after { width: 40px; }
  .trust-logo-item { width: 120px; height: 80px; }
  .trust-logo-item img { max-height: 68px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Roles */
  .roles-marquee-wrap { padding: 0 16px; margin-top: 32px; }
  .roles-marquee-track { flex-wrap: wrap; gap: 12px; }
  .role-scroll-card { flex: 0 1 calc(50% - 6px); padding: 20px 14px; }
  .role-scroll-icon { font-size: 28px; margin-bottom: 8px; }
  .role-scroll-card h3 { font-size: 13px; }
  .role-scroll-card p { font-size: 11px; }

  /* Steps */
  .mockup-body { flex-direction: column; height: auto; }
  .mockup-sidebar { width: 100%; display: flex; gap: 0; overflow-x: auto; }
  .ms-item { white-space: nowrap; }
  .mc-stats { grid-template-columns: repeat(2, 1fr); }

  /* Pricing */
  .topup-grid-v6 { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Security */
  .security-grid { grid-template-columns: 1fr; }

  /* Demo banner */
  .demo-banner-inner { padding: 32px 20px; }
  .demo-banner-text h2 { font-size: 22px; }

  /* CTA section */
  .cta-inner { padding: 48px 20px; }
  .cta-inner h2 { font-size: 24px; }
  .cta-actions { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { flex-direction: column; gap: 28px; }
  .footer-links .footer-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .footer-links .footer-col h4 { grid-column: 1 / -1; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }

  /* Misc */
  .trust-logos { gap: 16px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .role-scroll-card { flex: 0 1 100%; }
  .hero-actions .btn { max-width: 100%; }
  .cta-actions .btn { max-width: 100%; }
  .footer-links .footer-col { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .trust-logo-item { width: 100px; height: 70px; }
}

/* Hide mobile CTA on desktop */
@media (min-width: 769px) {
  .nav-mobile-cta { display: none; }
}
