/* ═══════════════════════════════════════════════════════════════════
   custom.css — UQPAY Stablecoin Payments
   Figma-accurate · USDC.com-inspired polish
═══════════════════════════════════════════════════════════════════ */

/* ── Fonts ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&display=swap');

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

:root {
  --brand:        #0177FD;
  --brand-dark:   #015FCA;
  --brand-100:    #D9EBFF;
  --brand-200:    #B0D5FE;
  --dark:         #1a1a1a;
  --gray:         #666666;
  --gray-light:   #737373;
  --border:       rgba(0,0,0,0.08);
  --radius-card:  40px;
  --radius-img:   24px;
  --section-px:   clamp(20px, 5vw, 96px);
  --section-py:   clamp(64px, 8vw, 120px);
  --container:    1728px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

/* ── Accessibility: focus rings ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Accessibility: reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-inner { animation: none !important; }
  .how-panel__progress { transition: none !important; }
}

img { display: block; max-width: 100%; }

.text-brand { color: var(--brand); }


/* ──────────────────────────────────────────────────────────────────
   LAYOUT HELPERS
──────────────────────────────────────────────────────────────────── */
.sec-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.sec-header {
  text-align: center;
  margin-bottom: 56px;
}

.sec-h2 {
  font-size: clamp(2rem, 4vw, 4rem);   /* 64px at full width */
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}

.sec-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--gray);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(1,119,253,0.07);
  border: 1px solid rgba(1,119,253,0.15);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

/* Active nav link (set by IntersectionObserver in app.js) */
.nav-link.is-active {
  color: var(--brand);
  font-weight: 600;
}

/* Section alternating bg for visual rhythm */
.section-alt { background: #F8FAFC; }

/* Trust bar */
.trust-bar {
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px var(--section-px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}
.trust-bar__item svg {
  flex-shrink: 0;
  color: var(--brand);
}


/* ──────────────────────────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(1,119,253,0.35);
}

.btn-primary--lg { padding: 14px 40px; font-size: 17px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  background: transparent;
  color: var(--brand);
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--brand-100);
  transform: translateY(-1px);
}

.btn-outline--white {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline--white:hover {
  background: rgba(255,255,255,0.15);
}


/* ──────────────────────────────────────────────────────────────────
   NAVIGATION
──────────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 71px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 96px);
}

.nav-logo { flex-shrink: 0; text-decoration: none; }
.nav-logo svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { background: #f5f5f5; color: var(--dark); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-btn-login {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav-btn-login:hover { background: #f5f5f5; }

.nav-btn-signup {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  text-decoration: none;
  padding: 8px 22px;
  border-radius: 999px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav-btn-signup:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 16px rgba(1,119,253,0.35);
}

/* Mobile burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu__actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.mobile-menu__actions a { border-bottom: none; padding: 0; }
.mobile-menu__actions .nav-btn-login { padding: 9px 20px; border: 1.5px solid var(--border); border-radius: 999px; text-align: center; flex: 1; }
.mobile-menu__actions .nav-btn-signup { flex: 1; text-align: center; padding: 9px 20px; }

@media (max-width: 1199px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
}


/* ──────────────────────────────────────────────────────────────────
   HERO SECTION
──────────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: #fff;
  padding-top: 71px; /* nav height */
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Concentric rings decoration (matches Figma) */
.hero-rings {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(1,119,253,0.12);
}
.hero-ring--1 { width:  200px; height:  200px; }
.hero-ring--2 { width:  400px; height:  400px; }
.hero-ring--3 { width:  620px; height:  620px; }
.hero-ring--4 { width:  840px; height:  840px; }
.hero-ring--5 { width: 1060px; height: 1060px; }

/* Hero inner layout */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* Hero text */
.hero-text {
  flex: 0 0 auto;
  max-width: 750px;
}

.hero-title {
  display: block;
  margin-bottom: 28px;
  font-size: clamp(2.25rem, 4.5vw, 4rem); /* 64px */
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.hero-title__italic {
  display: block;
  font-style: italic;
  font-weight: 700;
  color: var(--dark);
}
.hero-title__plain {
  display: block;
  font-style: normal;
}
.hero-title__accent {
  display: block;
  color: var(--brand);
  font-style: normal;
}

.hero-subtitle {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 640px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero visual (right side) */
.hero-visual {
  position: relative;
  flex: 0 0 auto;
  width: clamp(320px, 45vw, 800px);
}

.hero-slideshow {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 799 / 675;
  background: #f0f4f8;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-glass-card {
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 58%;
  opacity: 0;
  transition: opacity 0.7s ease 0.15s;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}
.hero-glass-card img { width: 100%; height: auto; }

/* Glass card visibility — JS toggles .active class */
.hero-glass-card.active { opacity: 1; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}


/* ──────────────────────────────────────────────────────────────────
   MARQUEE
──────────────────────────────────────────────────────────────────── */
.marquee-section {
  padding: 40px 0 36px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 24px;
}

.marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}

.mi {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.04em;
  padding: 0 6px;
}
.ms {
  color: #d1d5db;
  font-size: 14px;
  padding: 0 4px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ──────────────────────────────────────────────────────────────────
   WHY STABLECOIN PAYMENTS MATTER
──────────────────────────────────────────────────────────────────── */
.why-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.why-body {
  display: flex;
  align-items: center;
  gap: 64px;
}

.why-visual {
  flex: 0 0 auto;
  width: clamp(280px, 44%, 703px);
}

.why-globe {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  display: block;
}

.why-text {
  flex: 1 1 0;
  min-width: 0;
}

.why-text p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--gray);
  line-height: 1.75;
}
.why-text p + p { margin-top: 28px; }
.why-text strong {
  font-weight: 700;
  color: var(--dark);
}


/* ──────────────────────────────────────────────────────────────────
   PLATFORM CARDS
──────────────────────────────────────────────────────────────────── */
.platform-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.pcards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pcard {
  border-radius: var(--radius-card);
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.pcard:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

/* Green — On Ramp */
.pcard--green { background: #f0fdf4; border: 1px solid #bbf7d0; }
/* Blue — Acquiring */
.pcard--blue  { background: #eff6ff; border: 1px solid #bfdbfe; }
/* Purple — Off-Ramp */
.pcard--purple{ background: #faf5ff; border: 1px solid #e9d5ff; }

.pcard__badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.pcard__badge--green  { color: #166534; }
.pcard__badge--blue   { color: #014798; }
.pcard__badge--purple { color: #692190; }

.pcard__visual {
  width: 100%;
  max-width: 260px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pcard__body {
  text-align: center;
  width: 100%;
  max-width: 420px;
}

.pcard__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.pcard__title--green  { color: #14532d; }
.pcard__title--blue   { color: #002a59; }
.pcard__title--purple { color: #6c1e96; }

.pcard__sub {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.4;
}
.pcard__sub--green  { color: #166534; }
.pcard__sub--blue   { color: #014798; }
.pcard__sub--purple { color: #692190; }

.pcard__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}
.pcard__desc--green  { color: #15803d; }
.pcard__desc--blue   { color: #015fca; }
.pcard__desc--purple { color: #7c3aed; }


/* ──────────────────────────────────────────────────────────────────
   QUOTE DIVIDER
──────────────────────────────────────────────────────────────────── */
.quote-divider {
  padding: 56px var(--section-px);
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-divider__text {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.01em;
  line-height: 1.5;
}


/* ──────────────────────────────────────────────────────────────────
   HOW STABLECOIN PAYMENTS WORK
──────────────────────────────────────────────────────────────────── */
.how-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.how-panels {
  display: flex;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
}

.how-panel {
  position: relative;
  flex: 0 0 80px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition: flex 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 0;
}
.how-panel:first-child { border-radius: 20px 0 0 20px; }
.how-panel:last-child  { border-radius: 0 20px 20px 0; }
.how-panel.is-active   { flex: 1 1 auto; }

/* Background photo */
.how-panel__bg {
  position: absolute;
  inset: 0;
}
.how-panel__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark overlay */
.how-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  transition: background 0.4s ease;
}
.how-panel.is-active .how-panel__overlay {
  background: rgba(0,0,0,0.45);
}

/* Number */
.how-panel__num {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  transition: font-size 0.4s ease;
}

/* Content (title + desc) — only visible when active */
.how-panel__content {
  position: absolute;
  bottom: 56px;
  left: 40px;
  right: 40px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
  max-width: 580px;
}
.how-panel.is-active .how-panel__content {
  opacity: 1;
  transform: translateY(0);
}

.how-panel__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.how-panel__desc {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* Progress bar */
.how-panel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 0;
  background: var(--brand-200);
  border-radius: 0 3px 3px 0;
  transition: width 5s linear;
}
.how-panel.is-active .how-panel__progress {
  width: 100%;
}


/* ──────────────────────────────────────────────────────────────────
   COMPLIANCE SECTION
──────────────────────────────────────────────────────────────────── */
.compliance-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.compliance-grid {
  display: flex;
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}

.compliance-visual {
  flex: 0 0 auto;
  width: clamp(280px, 46%, 804px);
}

.compliance-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  object-fit: cover;
  aspect-ratio: 1408/768;
  display: block;
}

.compliance-text { flex: 1 1 0; min-width: 0; }

.compliance-heading {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.compliance-sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.compliance-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.compliance-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.compliance-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(1,119,253,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compliance-feature span {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
}

.compliance-disclaimer {
  font-size: 13px;
  font-style: italic;
  color: var(--gray-light);
  line-height: 1.6;
  max-width: 600px;
}


/* ──────────────────────────────────────────────────────────────────
   DUAL RAIL SECTION (BLUE)
──────────────────────────────────────────────────────────────────── */
.dual-rail-section {
  position: relative;
  background: var(--brand);
  padding: clamp(64px, 8vw, 120px) var(--section-px);
  overflow: hidden;
  text-align: center;
}

/* Waveform bars container */
.dual-rail-waveform {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding: 0 16px;
  opacity: 0.3;
  pointer-events: none;
}

.wbar {
  flex-shrink: 0;
  width: 4px;
  background: rgba(255,255,255,0.5);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
}

.dual-rail-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.dual-rail-heading {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
  white-space: nowrap;
}
@media (max-width: 900px) { .dual-rail-heading { white-space: normal; } }

.dual-rail-desc {
  font-size: clamp(15px, 1.3vw, 20px);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}


/* ──────────────────────────────────────────────────────────────────
   FINAL CTA SECTION
──────────────────────────────────────────────────────────────────── */
.cta-section {
  padding: clamp(40px, 5vw, 64px) 0;
  background: #fff;
}

.cta-card {
  position: relative;
  background:
    radial-gradient(ellipse 80% 120% at 0% 60%, #3040c4 0%, transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 40%, #6b8df5 0%, transparent 50%),
    linear-gradient(120deg, #3d52d0 0%, #5b78ea 50%, #7094f3 100%);
  border-radius: 32px;
  padding: clamp(64px, 8vw, 100px) clamp(32px, 6vw, 96px);
  text-align: center;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.cta-headline {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 500;
  color: #fdfdfd;
  letter-spacing: 0.02em;
  line-height: 1.33;
  margin: 0;
  max-width: 815px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid #fdfdfd;
  color: #fdfdfd;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: background 200ms ease;
}
.cta-btn-outline:hover { background: rgba(255,255,255,0.1); }

.cta-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  background: #fdfdfd;
  color: #2165f4;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: opacity 200ms ease;
}
.cta-btn-solid:hover { opacity: 0.92; }


/* ──────────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────────────── */
.site-footer {
  background: #f2f8ff;
  color: #0a0a0a;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--section-px) 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Top row: brand + nav columns */
.footer-top {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
  width: 175px;
}

.footer-logo { display: inline-flex; text-decoration: none; }

/* Language button */
.footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease;
  width: fit-content;
}
.footer-lang-btn:hover { background: rgba(0,0,0,0.06); }

/* Contact Us / QR */
.footer-qr { display: flex; flex-direction: column; gap: 6px; }
.footer-qr__label {
  font-size: 14.75px;
  font-weight: 600;
  color: #0a0a0a;
}
.footer-qr__code {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
}

/* Nav columns */
.footer-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0 24px;
  flex: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col h4 {
  font-size: 17.7px;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  line-height: 27px;
}
.footer-col a {
  font-size: 14.75px;
  font-weight: 400;
  color: #0a0a0a;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 200ms ease;
}
.footer-col a:hover { opacity: 0.6; }

/* Social icons */
.footer-socials {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #0a0a0a;
  text-decoration: none;
  transition: opacity 200ms ease;
}
.footer-socials a:hover { opacity: 0.6; }

/* Address */
.footer-address {
  font-size: 13.2px;
  line-height: 21px;
  color: #0a0a0a;
}
.footer-address strong { font-weight: 400; }

/* Bottom legal */
.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-bottom p {
  font-size: 13.2px;
  line-height: 21px;
  color: #737373;
  margin: 0;
}


/* ──────────────────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .hero-inner { flex-direction: column; text-align: center; padding-top: 48px; padding-bottom: 60px; }
  .hero-text { max-width: 680px; }
  .hero-subtitle { max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { width: min(520px, 90vw); }
  .hero-rings { right: 50%; transform: translate(50%, -50%); opacity: 0.5; }
  .how-panels { height: 420px; }
}

@media (max-width: 899px) {
  .why-body { flex-direction: column; gap: 40px; }
  .why-visual { width: 100%; }
  .pcards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .compliance-grid { flex-direction: column; }
  .compliance-visual { width: 100%; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .how-panels { flex-direction: column; height: auto; }
  .how-panel { flex: none !important; height: 300px; }
  .how-panel.is-active { height: 420px; }
  .how-panel:first-child { border-radius: 20px 20px 0 0; }
  .how-panel:last-child  { border-radius: 0 0 20px 20px; }
  .how-panel__content { opacity: 1 !important; transform: none !important; bottom: 32px; left: 24px; right: 24px; }
}

@media (max-width: 599px) {
  .hero-visual { display: none; }
  .hero-section { min-height: auto; padding-bottom: 60px; }
  .pcards-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .dual-rail-heading { font-size: 1.6rem; white-space: normal; }
  .how-panel__num { font-size: 48px; }
  .how-panels { gap: 4px; }
}
