/* ═══════════════════════════════════════════════════════════════
   PAYXEM — Marketing Website Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --brand:        #1A3060;
  --brand-rgb:    26, 48, 96;
  --brand-dark:   #0F1D3D;
  --brand-light:  #E8EFF8;
  --teal:         #2BC4C0;
  --teal-rgb:     43, 196, 192;
  --teal-dark:    #1FA8A4;
  --teal-light:   #E0F7F7;
  --text:         #1C1E21;
  --text-secondary: #4A5568;
  --text-muted:   #718096;
  --border:       #E2E8F0;
  --bg:           #FFFFFF;
  --bg-alt:       #F7F8FC;
  --bg-dark:      #0B1628;
  --card:         #FFFFFF;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-xs:    6px;
  --radius-full:  999px;
  --shadow-xs:    0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.10);
  --shadow-brand: 0 4px 24px rgba(var(--brand-rgb), .15);
  --shadow-teal:  0 4px 24px rgba(var(--teal-rgb), .20);
  --nav-h:        72px;
  --section-py:   100px;
  --container:    1200px;
  --transition:   .25s cubic-bezier(.4, 0, .2, 1);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }
input, select, textarea { font: inherit; }

/* ── UTILITIES ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}
@media (min-width: 1280px) {
  .container { padding: 0 24px; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -.02em;
}

.headline-xl {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.headline-lg {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.headline-md {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.015em;
}

.text-lg {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.text-sm { font-size: .875rem; }
.text-xs { font-size: .8125rem; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-teal { color: var(--teal); }
.text-brand { color: var(--brand); }
.text-center { text-align: center; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* ── SECTION LABEL ───────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-subtitle {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 32px rgba(var(--brand-rgb), .25);
  transform: translateY(-1px);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 32px rgba(var(--teal-rgb), .3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid rgba(var(--brand-rgb), .2);
}
.btn-outline:hover {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), .04);
}

.btn-white {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 14px 16px;
}
.btn-ghost:hover { color: var(--brand); }

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: all .35s ease;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255, .0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all .35s ease;
}
.nav.scrolled::before {
  background: rgba(255,255,255, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
}
.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--brand);
  background: rgba(var(--brand-rgb), .05);
}

.nav-cta {
  display: none;
}
@media (min-width: 1024px) {
  .nav-cta { display: flex; }
}

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--brand);
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.nav-toggle-icon {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all .3s ease;
  transform-origin: center;
}
.nav-toggle.active .nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 999;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-menu a:hover { background: var(--bg-alt); }
.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, var(--bg-alt) 50%, #EEF2F9 100%);
}

/* Decorative elements */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-decor .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero-decor .orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(var(--teal-rgb), .25);
  top: -200px;
  right: -100px;
}
.hero-decor .orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(var(--brand-rgb), .15);
  bottom: -100px;
  left: -100px;
}
.hero-decor .grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--brand-rgb), .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-rgb), .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    padding: 0 40px;
  }
}

.hero-text { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(var(--teal-rgb), .1);
  border: 1px solid rgba(var(--teal-rgb), .2);
  border-radius: var(--radius-full);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero h1 {
  margin-bottom: 20px;
}
.hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--brand), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-note {
  font-size: .8125rem;
  color: var(--text-muted);
}
.hero-note svg {
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  margin-right: 4px;
}

/* Hero visual — stats/mockup area */
.hero-visual {
  display: none;
  position: relative;
}
@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

.hero-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(var(--brand-rgb), .12), 0 1px 3px rgba(0,0,0,.06);
  padding: 32px;
  position: relative;
  transform: rotate(-1deg);
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(var(--brand-rgb), .08);
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.hero-card-logo {
  font-weight: 700;
  color: var(--brand);
  font-size: 1rem;
}
.hero-card-badge {
  padding: 4px 10px;
  background: rgba(16, 185, 129, .1);
  color: #059669;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: .875rem;
}
.hero-card-row span:first-child { color: var(--text-muted); }
.hero-card-row span:last-child { font-weight: 600; }

.hero-card-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--brand);
}
.hero-card-total span:first-child {
  font-weight: 600;
  font-size: .9375rem;
}
.hero-card-total span:last-child {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
}

.hero-card-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: var(--teal);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: .9375rem;
  border-radius: var(--radius-sm);
}

/* Floating mini cards */
.hero-float {
  position: absolute;
  background: var(--card);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8125rem;
  font-weight: 500;
  animation: float 4s ease-in-out infinite;
}
.hero-float-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}
.hero-float-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
}
.hero-float .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float .icon-circle.teal {
  background: rgba(var(--teal-rgb), .12);
  color: var(--teal);
}
.hero-float .icon-circle.green {
  background: rgba(16, 185, 129, .12);
  color: #059669;
}
.hero-float svg { width: 18px; height: 18px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .hero-stats {
    grid-column: 1 / -1;
  }
}

.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: .8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── SECTION — WHY ───────────────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,.65); }
.section-dark .section-label { color: var(--teal); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .problems-grid { grid-template-columns: repeat(3, 1fr); }
}

.problem-card {
  padding: 32px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.problem-card:hover {
  border-color: rgba(var(--teal-rgb), .3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(var(--teal-rgb), .1);
  color: var(--teal);
}
.problem-icon svg { width: 24px; height: 24px; }

.problem-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
.problem-card p {
  color: var(--text-secondary);
  font-size: .9375rem;
  line-height: 1.7;
}

/* ── SECTION — FEATURES ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  padding: 32px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-icon.navy {
  background: rgba(var(--brand-rgb), .08);
  color: var(--brand);
}
.feature-icon.teal {
  background: rgba(var(--teal-rgb), .1);
  color: var(--teal);
}

.feature-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}
.feature-card > p {
  color: var(--text-secondary);
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 6px;
}

/* ── SECTION — HOW IT WORKS ─────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
  position: relative;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* Connector line */
@media (min-width: 768px) {
  .steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.667% + 24px);
    right: calc(16.667% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--brand));
    opacity: .2;
  }
}

.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  background: rgba(var(--brand-rgb), .06);
  border: 2px solid rgba(var(--brand-rgb), .12);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step:hover .step-number {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-secondary);
  font-size: .9375rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* ── SECTION — WHO IT'S FOR ──────────────────────────────────── */
.personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .personas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .personas-grid { grid-template-columns: repeat(4, 1fr); }
}

.persona-card {
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.persona-card:hover {
  border-color: rgba(var(--teal-rgb), .3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.persona-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .08), rgba(var(--teal-rgb), .08));
  color: var(--brand);
}
.persona-icon svg { width: 26px; height: 26px; }

.persona-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}
.persona-card p {
  color: var(--text-secondary);
  font-size: .875rem;
  line-height: 1.6;
}

.personas-tagline {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: rgba(var(--brand-rgb), .03);
  border-radius: var(--radius);
  border: 1px solid rgba(var(--brand-rgb), .06);
}
.personas-tagline p {
  font-size: clamp(.9375rem, 1.3vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

/* ── SECTION — PRICING ───────────────────────────────────────── */
.pricing-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.pricing-header {
  padding: 40px 40px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--brand), #1e3a6e);
  color: #fff;
}
.pricing-header h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.pricing-price sub {
  font-size: 1rem;
  font-weight: 500;
  opacity: .7;
  vertical-align: baseline;
}
.pricing-period {
  font-size: .875rem;
  opacity: .7;
  margin-top: 4px;
}

.pricing-body {
  padding: 32px 40px 40px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9375rem;
}
.pricing-feature .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(var(--teal-rgb), .12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pricing-feature .check svg { width: 12px; height: 12px; }
.pricing-feature span {
  color: var(--text-secondary);
}
.pricing-feature strong {
  color: var(--text);
  font-weight: 600;
}

.pricing-notes {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-note {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}

/* ── SECTION — SECURITY ──────────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .security-grid { grid-template-columns: repeat(3, 1fr); }
}

.security-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: all var(--transition);
}
.security-item:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(var(--teal-rgb), .3);
}

.security-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(var(--teal-rgb), .12);
  color: var(--teal);
}
.security-icon svg { width: 20px; height: 20px; }

.security-item h4 {
  font-size: .9375rem;
  margin-bottom: 4px;
  color: #fff;
}
.security-item p {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

/* ── SECTION — FAQ ───────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: rgba(var(--brand-rgb), .2); }
.faq-item.active { border-color: rgba(var(--teal-rgb), .3); }

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
  background: var(--card);
}
.faq-question:hover { color: var(--brand); }
.faq-item.active .faq-question { color: var(--brand); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform .3s ease;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── SECTION — CTA ───────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--brand) 0%, #1e3a6e 50%, var(--brand-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(var(--teal-rgb), .15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(var(--teal-rgb), .1) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner h2 {
  color: #fff;
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,.7);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  margin-bottom: 32px;
}
.cta-note {
  margin-top: 16px;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
  color: rgba(255,255,255,.5);
}

.footer-col h4 {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  text-align: center;
  max-width: 800px;
}
@media (min-width: 768px) {
  .footer-copyright { text-align: left; }
}

.footer-legal {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-legal p {
  font-size: .6875rem;
  color: rgba(255,255,255,.25);
  line-height: 1.6;
  max-width: 900px;
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease-out, transform .45s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .06s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .18s; }
.reveal-delay-4 { transition-delay: .22s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* No-JS fallback */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --section-py: 64px;
    --nav-h: 64px;
  }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 32px) 0 48px; }
  .hero-stats { gap: 8px; }
  .section-header { margin-bottom: 40px; }
  .pricing-header, .pricing-body { padding-left: 24px; padding-right: 24px; }
}
