/* ============================================
   SECURE PAY — Landing Page Styles
   Design: Clean fintech, Meru-inspired
============================================ */

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

:root {
  --green: #00C853;
  --green-light: #E8FAF0;
  --green-dark: #009940;
  --purple: #6C63FF;
  --orange: #FF6B35;
  --black: #0A0A0F;
  --gray-dark: #1A1A24;
  --gray-mid: #6B7280;
  --gray-light: #F5F7FA;
  --gray-border: #E5E7EB;
  --white: #FFFFFF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
  flex-shrink: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.logo-text strong { font-weight: 800; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-mid);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover { color: var(--black); background: var(--gray-light); }

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--black);
  transition: all 0.2s;
}

.lang-toggle:hover { background: var(--gray-border); }

.btn-nav {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.btn-nav:hover { background: var(--gray-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  border: 1px solid rgba(0,200,83,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--black);
}

.gradient-text {
  background: linear-gradient(135deg, #00C853 0%, #00897B 50%, #1565C0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-mid);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 72px;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  background: linear-gradient(135deg, #0A0A0F 0%, #1A1A24 100%);
  box-shadow: 0 4px 20px rgba(10,10,15,0.25), 0 0 0 0 rgba(0,200,83,0.3);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00C853, #6C63FF, #FF6B35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(10,10,15,0.3); }

.btn-primary.large { padding: 18px 48px; font-size: 17px; }

.btn-ghost {
  background: none;
  border: 1.5px solid var(--gray-border);
  border-radius: 100px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  color: var(--black);
  transition: all 0.2s;
}

.btn-ghost:hover { border-color: var(--black); background: var(--gray-light); }

/* Floating icons */
.float-icon {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
}

.float-lock { top: 180px; left: 4%; }
.float-shield { top: 300px; right: 5%; }
.float-check { bottom: 260px; left: 8%; }

/* Hero card */
.hero-card-wrap {
  position: relative;
  display: inline-block;
  margin-top: 16px;
}

.hero-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.card-dot { width: 10px; height: 10px; border-radius: 50%; }
.card-dot.green { background: var(--green); box-shadow: 0 0 8px rgba(0,200,83,0.5); }

.card-label { font-size: 13px; font-weight: 600; color: var(--gray-mid); flex: 1; }

.card-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 100px;
}

.card-amount {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--black);
}

.card-row {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.card-item-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 4px; letter-spacing: 0.5px; }
.card-item-val { font-size: 14px; font-weight: 600; color: var(--black); }
.card-item-val.verified { color: var(--green); }

.card-bar {
  height: 4px;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.card-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), #00897B);
  border-radius: 4px;
  animation: barFill 4s ease 0.5s forwards;
}

@keyframes barFill { to { width: 85%; } }

.card-encrypt-label { font-size: 11px; color: var(--gray-mid); font-weight: 500; }

.hero-ping {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px;
  border: 1.5px solid rgba(0,200,83,0.15);
  border-radius: 50%;
  z-index: 1;
  animation: ping 5s ease-out infinite;
}

.hero-ping-2 {
  width: 540px; height: 540px;
  animation-delay: 1.5s;
  border-color: rgba(0,200,83,0.08);
}

@keyframes ping {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* ---- LOGOS STRIP ---- */
.logos-strip {
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 28px 24px;
  text-align: center;
  background: var(--gray-light);
}

.logos-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-mid);
  margin-bottom: 18px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logo-pill {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: 0.3px;
}

/* ---- SECTIONS COMMON ---- */
.section { padding: 100px 24px; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--black);
  max-width: 700px;
  margin: 0 auto 20px;
  text-align: center;
}

.section-title.left { text-align: left; margin-left: 0; }

.section-sub {
  font-size: 17px;
  color: var(--gray-mid);
  max-width: 580px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.7;
}

.section-sub.left { text-align: left; margin-left: 0; }

/* ---- FEATURES ---- */
.features { background: var(--gray-light); }

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

.feat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  border: 1px solid var(--gray-border);
  transition: all 0.25s;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.feat-icon.green { background: #E8FAF0; }
.feat-icon.purple { background: #F0EEFF; }
.feat-icon.orange { background: #FFF1EB; }

.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
  letter-spacing: -0.3px;
}

.feat-card p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ---- HOW IT WORKS ---- */
.how { background: var(--white); }

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.how-step {
  flex: 1;
  padding: 0 20px;
}

.how-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-light), var(--green));
  margin-top: 24px;
}

.step-num {
  font-size: 40px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--green);
  letter-spacing: -2px;
  margin-bottom: 16px;
  line-height: 1;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  color: var(--black);
}

.step-content p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ---- STATS BANNER ---- */
.stats-banner {
  background: var(--black);
  padding: 56px 24px;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.stat-num {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ---- TRUST ---- */
.trust { background: var(--gray-light); }

.trust-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.trust-text { flex: 1; }

.trust-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.5;
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.trust-visual {
  flex-shrink: 0;
  width: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0,200,83,0.2);
  animation: shieldPulse 6s ease-in-out infinite;
}

.ring1 { width: 140px; height: 140px; animation-delay: 0s; }
.ring2 { width: 180px; height: 180px; animation-delay: 1s; border-color: rgba(0,200,83,0.12); }
.ring3 { width: 220px; height: 220px; animation-delay: 2s; border-color: rgba(0,200,83,0.07); }

@keyframes shieldPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

.shield-core {
  position: relative;
  z-index: 2;
  background: var(--white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,200,83,0.2), 0 0 0 1px rgba(0,200,83,0.15);
  flex-direction: column;
  gap: 6px;
}

.shield-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green-dark);
  text-align: center;
  position: absolute;
  bottom: -28px;
  white-space: nowrap;
}

/* ---- CERTIFICATIONS ---- */
.certifications { background: var(--white); }

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

.cert-card {
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
}

.cert-card:hover {
  border-color: var(--green);
  background: var(--green-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cert-icon { font-size: 28px; margin-bottom: 14px; }

.cert-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--black);
  margin-bottom: 10px;
}

.cert-desc {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ---- FAQ ---- */
.faq { background: var(--gray-light); }

.faq-inner {
  max-width: 720px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.faq-item { border-bottom: 1px solid var(--gray-border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  transition: background 0.2s;
}

.faq-q:hover { background: var(--gray-light); }

.faq-arrow {
  flex-shrink: 0;
  color: var(--gray-mid);
  transition: transform 0.3s;
}

.faq-q.open .faq-arrow { transform: rotate(180deg); color: var(--green-dark); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--black);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,83,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,200,83,0.12);
  border: 1px solid rgba(0,200,83,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.cta-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--gray-dark);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { flex: 1.5; }

.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: inline-flex; }
.footer-brand .logo-text { color: var(--white); }

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 280px;
}

.footer-cols {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-certs {
  display: flex;
  gap: 10px;
}

.footer-certs span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 4px 10px;
  letter-spacing: 0.3px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-nav { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    padding: 16px 24px 24px;
    gap: 4px;
    z-index: 99;
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }

  .how-steps { flex-direction: column; gap: 32px; }
  .how-connector { width: 2px; height: 32px; margin: 0 auto; }

  .trust-inner { flex-direction: column; gap: 48px; }
  .trust-visual { width: 100%; }

  .stats-inner { flex-wrap: wrap; gap: 32px; }
  .stat-divider { display: none; }
  .stat { min-width: 40%; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-cols { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 16px 60px; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-cta { flex-direction: column; }
  .float-icon { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .how-step { padding: 0; }
  .footer-cols { flex-wrap: wrap; gap: 24px; }
  .footer-col { min-width: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
