/* ============================================================
   Chargeback Shield — Premium SaaS Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg:            #FFFFFF;
  --bg-subtle:     #F9FAFB;
  --bg-muted:      #F3F4F6;
  --border:        #E5E7EB;
  --border-strong: #D1D5DB;

  --text:          #111827;
  --text-muted:    #6B7280;
  --text-subtle:   #9CA3AF;

  --blue:          #2563EB;
  --blue-dark:     #1D4ED8;
  --blue-deeper:   #1E40AF;
  --blue-light:    #EFF6FF;
  --blue-muted:    #DBEAFE;

  --hero-bg:       #080C14;
  --hero-border:   rgba(255,255,255,.08);
  --hero-text:     rgba(255,255,255,.65);

  --green:         #10B981;
  --amber:         #F59E0B;
  --red:           #EF4444;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Typography */
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  --shadow-blue: 0 4px 24px rgba(37,99,235,.2);

  --max-w: 1120px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section    { padding: var(--space-3xl) 0; }
.section-sm { padding: var(--space-2xl) 0; }

/* ---- Typography ---- */
h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
p { line-height: 1.7; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-md);
}
.section-label {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-label p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 10px auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(37,99,235,.3), inset 0 1px 0 rgba(255,255,255,.1);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow);
}
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--radius-sm); }

/* ---- Nav ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo .logo-icon {
  width: 30px;
  height: 30px;
  background: var(--blue);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(37,99,235,.35);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }

/* ---- Hero ---- */
.hero {
  background: var(--hero-bg);
  padding: 112px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37,99,235,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  color: #93C5FD;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero h1 {
  color: #FFFFFF;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #60A5FA, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--hero-text);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust span { display: flex; align-items: center; gap: 5px; }

/* ---- Proof banner ---- */
.proof-banner {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.proof-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.proof-stat-label {
  font-size: 12.5px;
  color: var(--text-subtle);
  margin-top: 4px;
  font-weight: 500;
}
.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ---- Savings spotlight ---- */
.savings-section {
  background: var(--blue-deeper);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.savings-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(96,165,250,.15) 0%, transparent 70%);
  pointer-events: none;
}
.savings-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.savings-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 16px;
}
.savings-headline {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.savings-body {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 420px;
}
.savings-number-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.savings-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  line-height: 1;
  margin-bottom: 2px;
}
.savings-amount {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.05em;
  line-height: 1;
}
.savings-sublabel {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-top: 12px;
  font-weight: 500;
}
.savings-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.savings-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
}
.savings-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60A5FA;
  flex-shrink: 0;
}

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-2xl);
}
.feature-cell {
  background: var(--bg);
  padding: 32px 28px;
  transition: background .2s;
}
.feature-cell:hover { background: var(--bg-subtle); }
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.feature-cell h3 { margin-bottom: 8px; }
.feature-cell p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---- How it works ---- */
.how-bg { background: var(--bg-subtle); }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-2xl);
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}
.step-card h3 { margin-bottom: 8px; }
.step-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---- Risk levels ---- */
.risk-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: var(--space-2xl);
}
.risk-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid;
}
.risk-card.low   { background: #F0FDF4; border-color: #BBF7D0; }
.risk-card.med   { background: #FFFBEB; border-color: #FDE68A; }
.risk-card.high  { background: #FEF2F2; border-color: #FECACA; }
.risk-dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 14px; }
.risk-card.low  .risk-dot { background: #22C55E; }
.risk-card.med  .risk-dot { background: #F59E0B; }
.risk-card.high .risk-dot { background: #EF4444; }
.risk-title { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.risk-card.low  .risk-title { color: #15803D; }
.risk-card.med  .risk-title { color: #B45309; }
.risk-card.high .risk-title { color: #B91C1C; }
.risk-card p { font-size: 13.5px; line-height: 1.6; }
.risk-card.low  p { color: #166534; }
.risk-card.med  p { color: #92400E; }
.risk-card.high p { color: #991B1B; }

/* ---- Pricing grid ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: var(--space-2xl);
  align-items: stretch;
}
.pg-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.pg-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pg-card-popular {
  background: var(--blue-light);
  border: 2px solid var(--blue);
  padding-top: 42px;
}
.pg-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 0;
  border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
}
.pg-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.pg-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 4px;
}
.pg-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.pg-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.pg-orders {
  font-size: 12.5px;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 16px;
}
.pg-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}
.pg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 20px;
}
.pg-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.pg-check {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pg-check-inherit {
  color: var(--text-subtle);
  font-weight: 400;
}
.pg-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.pg-btn-primary {
  background: var(--blue);
  color: #fff !important;
  border: none;
  box-shadow: 0 1px 3px rgba(37,99,235,.3);
}
.pg-btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-blue); }
.pg-btn-outline {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border-strong);
}
.pg-btn-outline:hover { border-color: var(--blue); color: var(--blue) !important; }

/* ---- FAQ ---- */
.faq-wrap { max-width: 680px; margin: var(--space-2xl) auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  transition: color .15s;
}
.faq-item summary:hover { color: var(--blue); }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-subtle);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 0 20px; }
.faq-item .faq-body p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item .faq-body a { color: var(--blue); }

/* ---- CTA ---- */
.cta-section {
  background: var(--hero-bg);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(37,99,235,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-section .sub {
  font-size: 1.05rem;
  color: var(--hero-text);
  margin-bottom: 36px;
  position: relative;
}
.cta-section .actions { position: relative; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-note { margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.3); position: relative; }

/* ---- Footer ---- */
footer {
  background: #080C14;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand .logo-icon { background: var(--blue); width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,.4); line-height: 1.65; max-width: 220px; }
.footer-col h4 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 9px;
  transition: color .15s;
}
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span { font-size: 12.5px; color: rgba(255,255,255,.3); }

/* ---- Inner page hero ---- */
.page-hero {
  background: var(--hero-bg);
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,99,235,.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; position: relative; font-size: clamp(1.75rem, 4vw, 2.75rem); }
.page-hero p  { color: var(--hero-text); margin-top: 10px; position: relative; }

/* ---- Prose ---- */
.prose { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }
.prose h2 { font-size: 1.2rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1rem; margin: 24px 0 8px; color: var(--text); }
.prose p  { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.prose ul { margin: 0 0 16px 0; }
.prose ul li { font-size: 15px; color: var(--text-muted); padding: 5px 0 5px 20px; position: relative; line-height: 1.65; }
.prose ul li::before { content: '·'; position: absolute; left: 4px; color: var(--blue); font-weight: 700; }
.prose a { color: var(--blue); }

/* ---- Support ---- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: var(--space-2xl);
}
.support-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.support-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.support-icon { font-size: 28px; margin-bottom: 16px; }
.support-card h3 { margin-bottom: 8px; }
.support-card p  { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.support-card a  { color: var(--blue); font-size: 14px; font-weight: 600; }

/* ---- Scroll animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-row       { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .risk-row        { grid-template-columns: 1fr; }
  .savings-inner   { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links .nav-hide { display: none; }
  .features-grid   { grid-template-columns: 1fr; }
  .support-grid    { grid-template-columns: 1fr; }
  .proof-divider   { display: none; }
  .proof-inner     { gap: 28px; }
  .hero            { padding: 80px 0 72px; }
  .pricing-grid    { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; text-align: center; }
}
