/* ================================================
   UpanPay – Global Payment Solutions Platform
   Design System: Deep navy/indigo base, electric
   blue accents, violet gradients, Space Grotesk
   display + Inter body.
   Signature element: "signal wave" logo motif
   echoed in gradient underlines and chart pulses.
================================================= */

/* ─── CSS CUSTOM PROPERTIES ─────────────────── */
:root {
  /* Core Palette */
  --c-bg:         #0a0f1e;
  --c-bg-2:       #0f1629;
  --c-bg-3:       #141c35;
  --c-surface:    #1a2340;
  --c-surface-2:  #1e2a4a;
  --c-border:     rgba(79,124,247,0.15);
  --c-border-2:   rgba(79,124,247,0.25);

  /* Brand */
  --c-blue:       #4f7cf7;
  --c-blue-light: #6b93ff;
  --c-violet:     #7c3aed;
  --c-violet-light:#9d60ff;
  --c-teal:       #0ed4c6;
  --c-amber:      #f59e0b;
  --c-green:      #10b981;
  --c-red:        #ef4444;

  /* Text */
  --c-text:       #e8edf8;
  --c-text-2:     #9aa5c0;
  --c-text-3:     #6b7694;
  --c-heading:    #f0f4ff;

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, var(--c-blue) 0%, var(--c-violet) 100%);
  --grad-glow:    radial-gradient(ellipse at center, rgba(79,124,247,0.15) 0%, transparent 70%);
  --grad-hero:    radial-gradient(ellipse at 60% 40%, rgba(124,58,237,0.2) 0%, transparent 55%),
                  radial-gradient(ellipse at 20% 70%, rgba(79,124,247,0.15) 0%, transparent 45%);

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.6);
  --shadow-glow:  0 0 40px rgba(79,124,247,0.2);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(79,124,247,0.1) inset;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  /* Borders */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --duration:   220ms;
}

/* Light mode overrides */
[data-theme="light"] {
  --c-bg:         #f0f4ff;
  --c-bg-2:       #e8eef8;
  --c-bg-3:       #dde6f5;
  --c-surface:    #ffffff;
  --c-surface-2:  #f5f8ff;
  --c-border:     rgba(79,124,247,0.2);
  --c-border-2:   rgba(79,124,247,0.35);
  --c-text:       #1a2340;
  --c-text-2:     #4a5580;
  --c-text-3:     #7a88a8;
  --c-heading:    #0a0f1e;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.1);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.15);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.08), 0 1px 0 rgba(79,124,247,0.15) inset;
}

/* ─── RESET & BASE ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

img { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--c-blue-light); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--c-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ─── CONTAINER ──────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.btn:hover::after { opacity: 0.05; }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79,124,247,0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(79,124,247,0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--c-blue);
  border: 1.5px solid var(--c-blue);
}
.btn-outline:hover {
  background: rgba(79,124,247,0.1);
  transform: translateY(-1px);
  color: var(--c-blue-light);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--c-heading);
}

.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--duration) var(--ease), padding var(--duration) var(--ease);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10,15,30,0.97);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .navbar {
  background: rgba(240,244,255,0.9);
  border-bottom-color: var(--c-border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-heading);
  letter-spacing: -0.03em;
}

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

.nav-link {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text-2);
  transition: all var(--duration) var(--ease);
}

.nav-link:hover {
  color: var(--c-heading);
  background: rgba(79,124,247,0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: all var(--duration) var(--ease);
}

.lang-btn:hover { background: var(--c-surface-2); color: var(--c-text); }

.chevron { transition: transform var(--duration) var(--ease); }
.lang-switcher.open .chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--duration) var(--ease);
  z-index: 100;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--c-text-2);
  text-align: left;
  transition: all var(--duration) var(--ease);
}

.lang-option:hover, .lang-option.active {
  background: rgba(79,124,247,0.1);
  color: var(--c-blue);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text-2);
  transition: all var(--duration) var(--ease);
}

.theme-toggle:hover { background: var(--c-surface-2); color: var(--c-text); }

[data-theme="dark"] .moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: block; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: var(--c-bg-2);
  border-bottom: 1px solid var(--c-border);
  z-index: 999;
  padding: var(--sp-lg) var(--sp-xl);
  transform: translateY(-110%);
  transition: transform 320ms var(--ease);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open { transform: translateY(0); }

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,124,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,124,247,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow-1 {
  width: 600px; height: 600px;
  right: -100px; top: -100px;
  background: radial-gradient(circle, rgba(79,124,247,0.12) 0%, transparent 70%);
}

.hero-glow-2 {
  width: 500px; height: 500px;
  left: -50px; bottom: 50px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
}

.hero-glow-3 {
  width: 300px; height: 300px;
  left: 40%; top: 20%;
  background: radial-gradient(circle, rgba(14,212,198,0.06) 0%, transparent 70%);
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(79,124,247,0.12);
  border: 1px solid rgba(79,124,247,0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-blue-light);
  margin-bottom: var(--sp-xl);
  animation: fadeIn 0.6s var(--ease);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--sp-xl);
  animation: slideUp 0.7s var(--ease) 0.1s both;
}

.hero-title-line { display: block; color: var(--c-heading); }

.hero-title-accent {
  display: block;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--c-text-2);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
  animation: slideUp 0.7s var(--ease) 0.2s both;
}

.hero-cta {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-3xl);
  animation: slideUp 0.7s var(--ease) 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
  animation: slideUp 0.7s var(--ease) 0.4s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-heading);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--c-text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border-2);
}

/* Floating elements */
.hero-floaters { position: absolute; inset: 0; pointer-events: none; }

.floater {
  position: absolute;
  font-size: 2rem;
  animation: float linear infinite;
  opacity: 0.15;
}

.floater-1 { top: 15%; right: 20%; animation-duration: 6s; animation-delay: 0s; }
.floater-2 { top: 30%; right: 8%; animation-duration: 8s; animation-delay: -2s; }
.floater-3 { top: 60%; right: 25%; animation-duration: 7s; animation-delay: -4s; }
.floater-4 { top: 75%; right: 12%; animation-duration: 5s; animation-delay: -1s; }
.floater-5 { top: 45%; right: 35%; animation-duration: 9s; animation-delay: -3s; }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  75% { transform: translateY(10px) rotate(-5deg); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ─── TRUST BAR ──────────────────────────────── */
.trust-bar {
  padding: var(--sp-xl) 0;
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.trust-bar .container { display: flex; align-items: center; gap: var(--sp-xl); }

.trust-bar-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  gap: var(--sp-2xl);
  align-items: center;
  overflow: hidden;
  flex: 1;
}

.trust-logo {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text-3);
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
  letter-spacing: -0.01em;
}

.trust-logo:hover { color: var(--c-blue); }

/* ─── SECTION HEADERS ────────────────────────── */
section { padding: var(--sp-4xl) 0; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-3xl);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-blue);
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-md);
  color: var(--c-heading);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

/* ─── PAYMENT SOLUTIONS ──────────────────────── */
.solutions { background: var(--c-bg); }

.filter-tabs {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--sp-2xl);
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: all var(--duration) var(--ease);
}

.filter-tab:hover { color: var(--c-blue); border-color: var(--c-blue); background: rgba(79,124,247,0.05); }
.filter-tab.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 4px 15px rgba(79,124,247,0.3); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}

/* Solution Card (populated by JS) */
.solution-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--c-border-2);
}

.solution-card:hover::before { opacity: 1; }

.solution-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-md);
}

.solution-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 4px;
}

.solution-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-blue);
  margin-bottom: var(--sp-sm);
}

.solution-desc {
  font-size: 0.88rem;
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}

.solution-meta {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}

.solution-tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(79,124,247,0.1);
  color: var(--c-blue);
  border: 1px solid rgba(79,124,247,0.2);
}

.solution-fee {
  font-size: 0.82rem;
  color: var(--c-text-3);
  margin-bottom: var(--sp-md);
}

.solution-fee strong { color: var(--c-text); }

.solution-actions {
  display: flex;
  gap: var(--sp-sm);
}

.solutions-cta { text-align: center; }

/* ─── PAYMENT FINDER ─────────────────────────── */
.finder { background: var(--c-bg-2); }

.finder-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-lg);
}

.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-2xl);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-text-3);
  transition: all var(--duration) var(--ease);
}

.step.active .step-num {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 15px rgba(79,124,247,0.4);
}

.step.completed .step-num {
  background: var(--c-green);
  border-color: transparent;
  color: #fff;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step.active .step-label { color: var(--c-blue); }
.step.completed .step-label { color: var(--c-green); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--c-border);
  margin: 0 8px;
  margin-bottom: 20px;
}

.finder-step-content { display: none; }
.finder-step-content.active { display: block; }

.finder-step-content h3 {
  font-size: 1.3rem;
  margin-bottom: var(--sp-xl);
  color: var(--c-heading);
}

.country-select-wrapper { position: relative; }

.finder-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  font-size: 0.95rem;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease);
}

.finder-select:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(79,124,247,0.1);
}

.industry-grid, .model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--sp-sm);
}

.industry-btn, .model-btn {
  padding: 14px 12px;
  border-radius: var(--radius-md);
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  color: var(--c-text-2);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.industry-btn:hover, .model-btn:hover {
  border-color: var(--c-blue);
  background: rgba(79,124,247,0.08);
  color: var(--c-blue);
}

.industry-btn.selected, .model-btn.selected {
  background: rgba(79,124,247,0.15);
  border-color: var(--c-blue);
  color: var(--c-blue);
}

.volume-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

.volume-option { cursor: pointer; }

.volume-option input { display: none; }

.volume-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.volume-option input:checked + .volume-card {
  border-color: var(--c-blue);
  background: rgba(79,124,247,0.1);
}

.volume-range {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 4px;
}

.volume-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.finder-nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-sm);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--c-border);
}

.finder-results {
  max-width: 900px;
  margin: var(--sp-2xl) auto 0;
  text-align: center;
}

.finder-results h3 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-xl);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
  text-align: left;
}

/* ─── CHECKOUT SHOWCASE ──────────────────────── */
.checkout-showcase { background: var(--c-bg); }

.checkout-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-3xl);
}

.checkout-feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: all var(--duration) var(--ease);
}

.checkout-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--c-border-2);
}

.checkout-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-md);
}

.checkout-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}

.checkout-feature-card p {
  font-size: 0.88rem;
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}

.checkout-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--c-text-3);
  font-weight: 500;
}

/* Checkout Demo */
.checkout-demo-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3xl);
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.demo-phone {
  width: 240px;
  height: 480px;
  background: var(--c-bg-3);
  border-radius: 36px;
  border: 6px solid var(--c-surface-2);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(79,124,247,0.1);
  flex-shrink: 0;
}

.demo-phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.demo-controls h3 {
  font-size: 1.3rem;
  margin-bottom: var(--sp-sm);
}

.demo-controls p {
  color: var(--c-text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
}

.demo-btns {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* ─── COMPARISON TOOL ────────────────────────── */
.comparison { background: var(--c-bg-2); }

.compare-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
  flex-wrap: wrap;
}

.compare-slot {
  width: 200px;
  height: 120px;
  border: 2px dashed var(--c-border-2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
}

.compare-slot:hover { border-color: var(--c-blue); }

.compare-add-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--c-text-3);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--duration) var(--ease);
}

.compare-add-btn:hover { color: var(--c-blue); }

.compare-add-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
}

.compare-vs {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--c-text-3);
  letter-spacing: 0.05em;
}

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th {
  padding: 14px 20px;
  background: var(--c-surface);
  font-weight: 700;
  color: var(--c-heading);
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: rgba(79,124,247,0.02); }

.compare-feature {
  font-weight: 600;
  color: var(--c-text-2);
  font-size: 0.85rem;
}

.compare-val { font-size: 0.88rem; color: var(--c-text); }

.compare-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.compare-badge.best { background: rgba(16,185,129,0.15); color: var(--c-green); border: 1px solid rgba(16,185,129,0.3); }
.compare-badge.good { background: rgba(79,124,247,0.1); color: var(--c-blue); border: 1px solid rgba(79,124,247,0.2); }
.compare-badge.mid { background: rgba(245,158,11,0.1); color: var(--c-amber); border: 1px solid rgba(245,158,11,0.2); }

.compare-stars { color: var(--c-amber); font-size: 0.9rem; letter-spacing: 1px; }
.compare-check { font-size: 1rem; font-weight: 700; }
.compare-check.yes { color: var(--c-green); }
.compare-check.no { color: var(--c-red); opacity: 0.6; }

/* ─── GLOBAL MAP ─────────────────────────────── */
.global-map { background: var(--c-bg); }

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-2xl);
  align-items: start;
}

.map-visual {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-lg);
  overflow: hidden;
}

.world-svg { width: 100%; height: auto; }

.map-region {
  cursor: pointer;
  transition: opacity var(--duration) var(--ease);
}

.map-region:hover { opacity: 1 !important; }

.map-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  fill: var(--c-heading);
  pointer-events: none;
}

.map-sublabel {
  font-size: 10px;
  fill: var(--c-text-3);
  pointer-events: none;
}

.map-details { display: flex; flex-direction: column; gap: var(--sp-md); }

.region-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  transition: all var(--duration) var(--ease);
  opacity: 0.6;
}

.region-card.active {
  opacity: 1;
  border-color: var(--c-blue);
  box-shadow: 0 0 20px rgba(79,124,247,0.15);
}

.region-flag { font-size: 1.5rem; margin-bottom: 8px; }
.region-card h4 { font-size: 0.95rem; margin-bottom: 8px; }

.region-methods { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }

.method-tag {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(79,124,247,0.1);
  color: var(--c-blue);
}

.region-stat {
  font-size: 0.78rem;
  color: var(--c-text-3);
  font-weight: 500;
  margin-top: 6px;
}

/* ─── SECURITY ───────────────────────────────── */
.security { background: var(--c-bg-2); }

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-3xl);
}

.security-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: all var(--duration) var(--ease);
}

.security-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--c-border-2);
}

.security-card.featured {
  background: linear-gradient(135deg, rgba(79,124,247,0.1), rgba(124,58,237,0.1));
  border-color: rgba(79,124,247,0.3);
}

.security-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-md);
}

.security-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--sp-sm);
}

.security-card p {
  font-size: 0.88rem;
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}

.security-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-blue);
}

.trust-badges {
  display: flex;
  gap: var(--sp-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-2);
}

.badge-icon { font-size: 1rem; }

/* ─── MERCHANT DASHBOARD ─────────────────────── */
.dashboard-preview { background: var(--c-bg); }

.dashboard-mockup {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto var(--sp-xl);
  box-shadow: var(--shadow-lg);
  min-height: 380px;
}

.dashboard-sidebar {
  background: var(--c-bg-2);
  border-right: 1px solid var(--c-border);
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-text-3);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.sidebar-item:hover { background: rgba(79,124,247,0.08); color: var(--c-text); }

.sidebar-item.active {
  background: rgba(79,124,247,0.12);
  color: var(--c-blue);
  font-weight: 600;
}

.dashboard-main {
  padding: var(--sp-xl);
  overflow: hidden;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-xl);
}

.dash-header h4 { font-size: 1rem; color: var(--c-heading); }

.dash-date {
  font-size: 0.78rem;
  color: var(--c-text-3);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.dash-kpi {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  text-align: center;
}

.kpi-label {
  display: block;
  font-size: 0.72rem;
  color: var(--c-text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.kpi-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-heading);
}

.dash-chart-area {
  height: 140px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

#analyticsChart { width: 100% !important; height: 100% !important; }

.dashboard-cta { text-align: center; }

/* ─── ANALYTICS ──────────────────────────────── */
.analytics-section { background: var(--c-bg-2); }

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-lg);
}

.analytics-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: all var(--duration) var(--ease);
}

.analytics-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.analytics-icon { font-size: 1.8rem; margin-bottom: var(--sp-sm); }
.analytics-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-3);
  margin-bottom: 6px;
}

.analytics-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-heading);
  letter-spacing: -0.03em;
}

.analytics-change {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
}

.analytics-change.up { color: var(--c-green); }
.analytics-change.down { color: var(--c-red); }

/* ─── BLOG / KNOWLEDGE HUB ───────────────────── */
.blog { background: var(--c-bg); }

.blog-tabs {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}

.blog-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: all var(--duration) var(--ease);
}

.blog-tab.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.blog-filter-bar {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}

.tag-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: all var(--duration) var(--ease);
}

.tag-btn:hover { color: var(--c-blue); border-color: var(--c-blue); }
.tag-btn.active { background: rgba(79,124,247,0.12); color: var(--c-blue); border-color: var(--c-blue); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}

.blog-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--c-border-2);
}

.blog-card-img {
  height: 160px;
  background: var(--grad-brand);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.blog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
}

.blog-card-body { padding: var(--sp-lg); }

.blog-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--sp-sm); }

.blog-tag {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(79,124,247,0.1);
  color: var(--c-blue);
}

.blog-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: var(--sp-sm);
  color: var(--c-heading);
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--c-text-3);
}

.blog-card-lang {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--c-bg-2);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-text-3);
}

.blog-load-more { text-align: center; }

/* ─── PRICING ─────────────────────────────────── */
.pricing { background: var(--c-bg-2); }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
  font-size: 0.9rem;
  color: var(--c-text-2);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle-switch input { display: none; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 50%;
  transform: translateY(-50%);
  background: var(--c-text-3);
  border-radius: 50%;
  transition: all var(--duration) var(--ease);
}

.toggle-switch input:checked + .toggle-slider { background: var(--grad-brand); border-color: transparent; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px) translateY(-50%); background: #fff; }

.save-badge {
  background: rgba(16,185,129,0.15);
  color: var(--c-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16,185,129,0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-xl);
  position: relative;
  transition: all var(--duration) var(--ease);
}

.pricing-card.featured {
  border-color: rgba(79,124,247,0.5);
  background: linear-gradient(145deg, var(--c-surface), rgba(79,124,247,0.04));
  box-shadow: 0 0 40px rgba(79,124,247,0.1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--c-surface-2);
  color: var(--c-text-3);
  border: 1px solid var(--c-border);
  margin-bottom: var(--sp-md);
}

.plan-badge.popular { background: rgba(79,124,247,0.15); color: var(--c-blue); border-color: rgba(79,124,247,0.3); }
.plan-badge.enterprise { background: rgba(124,58,237,0.15); color: var(--c-violet-light); border-color: rgba(124,58,237,0.3); }

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: var(--sp-md);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--sp-sm);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-heading);
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 0.85rem;
  color: var(--c-text-3);
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--c-border);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-xl);
}

.plan-features li {
  font-size: 0.875rem;
  color: var(--c-text-2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* ─── TESTIMONIALS ───────────────────────────── */
.testimonials { background: var(--c-bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  max-width: 960px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.testimonial-stars {
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--c-amber);
  margin-bottom: var(--sp-md);
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--c-text-2);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: var(--sp-sm); }

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.9rem; color: var(--c-heading); }
.author-role { font-size: 0.78rem; color: var(--c-text-3); }

/* ─── CONTACT ─────────────────────────────────── */
.contact { background: var(--c-bg-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-3xl);
  max-width: 900px;
  margin: 0 auto;
}

.contact-info { display: flex; flex-direction: column; gap: var(--sp-xl); }

.contact-item {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
}

.contact-icon { font-size: 1.5rem; flex-shrink: 0; }

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--c-text-2);
}

.contact-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-blue);
}

.contact-form-wrapper {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-xl);
}

.contact-form { display: flex; flex-direction: column; gap: var(--sp-md); }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  font-size: 0.9rem;
  transition: border-color var(--duration) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(79,124,247,0.1);
}

.form-note {
  font-size: 0.78rem;
  color: var(--c-text-3);
  text-align: center;
}

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--c-bg-3);
  border-top: 1px solid var(--c-border);
  padding: var(--sp-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-3xl);
}

.footer-logo { margin-bottom: var(--sp-md); }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--c-text-3);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}

.footer-email {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-blue);
}

.footer-links-group h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-text-3);
  margin-bottom: var(--sp-md);
}

.footer-links-group ul { display: flex; flex-direction: column; gap: 8px; }

.footer-links-group a {
  font-size: 0.875rem;
  color: var(--c-text-3);
  transition: color var(--duration) var(--ease);
}

.footer-links-group a:hover { color: var(--c-blue); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: var(--sp-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--c-text-3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-lg);
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--c-text-3);
}

.footer-bottom-links a:hover { color: var(--c-blue); }

/* ─── TOAST ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--sp-xl);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
  box-shadow: var(--shadow-lg);
  transition: transform 300ms var(--ease);
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(16,185,129,0.3); color: var(--c-green); }
.toast.error { border-color: rgba(239,68,68,0.3); color: var(--c-red); }

/* ─── BACK TO TOP ─────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--sp-xl);
  right: var(--sp-xl);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 4px 15px rgba(79,124,247,0.4);
  z-index: 100;
}

.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(79,124,247,0.5); }

/* ─── CHECKOUT DEMO SCREENS ──────────────────── */
.checkout-screen {
  width: 100%;
  height: 100%;
  padding: 16px;
  overflow-y: auto;
  font-size: 0.78rem;
}

.demo-product {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-surface);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 12px;
}

.demo-product-img {
  width: 40px; height: 40px;
  background: var(--grad-brand);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.demo-product-name { font-weight: 600; font-size: 0.75rem; color: var(--c-heading); }
.demo-product-price { font-size: 0.72rem; color: var(--c-text-3); }

.demo-total {
  text-align: right;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-heading);
  margin-bottom: 12px;
}

.demo-field {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  color: var(--c-text-3);
}

.demo-pay-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  transition: opacity var(--duration) var(--ease);
}

.demo-pay-btn:hover { opacity: 0.9; }

.demo-express-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.demo-express-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.demo-express-btn.apple { background: #000; color: #fff; border-color: #000; }
.demo-express-btn.google { background: #fff; color: #333; border-color: #ddd; }

/* ─── SKIP LINK ───────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--c-blue);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top var(--duration) var(--ease);
}

.skip-link:focus { top: 0; }

/* ─── LOADING SHIMMER ─────────────────────────── */
.shimmer {
  background: linear-gradient(90deg, var(--c-surface) 25%, var(--c-surface-2) 50%, var(--c-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── RTL SUPPORT ─────────────────────────────── */
[dir="rtl"] {
  --font-display: 'Inter', sans-serif;
}

[dir="rtl"] .nav-container { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats { flex-direction: row-reverse; }
[dir="rtl"] .logo-text { letter-spacing: 0; }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn:not(.btn-primary) { display: none; }

  .map-wrapper { grid-template-columns: 1fr; }
  .map-details { flex-direction: row; flex-wrap: wrap; }
  .region-card { flex: 1; min-width: 200px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: var(--sp-3xl) 0; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-stats { gap: var(--sp-md); }
  .stat-divider { display: none; }

  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .checkout-demo-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .dashboard-mockup { grid-template-columns: 1fr; }
  .dashboard-sidebar { flex-direction: row; overflow-x: auto; padding: var(--sp-sm); }
  .dash-kpis { grid-template-columns: 1fr 1fr; }

  .checkout-demo-wrapper { grid-template-columns: 1fr; justify-items: center; }
  .demo-phone { width: 200px; height: 400px; }

  .compare-vs-3, #compareSlot3 { display: none; }
  .compare-picker { gap: var(--sp-md); }
  .compare-slot { width: 160px; }

  .trust-bar .container { flex-direction: column; gap: var(--sp-md); }
  .trust-logos { overflow-x: auto; padding-bottom: 4px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .solutions-grid { grid-template-columns: 1fr; }
  .checkout-demo-grid { grid-template-columns: 1fr; }
  .industry-grid, .model-grid { grid-template-columns: repeat(2, 1fr); }
  .volume-options { grid-template-columns: 1fr; }
  .filter-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .step-label { display: none; }
  .finder-card { padding: var(--sp-lg); }
}

/* ─── PRINT ───────────────────────────────────── */
@media print {
  .navbar, .footer, .back-to-top, .toast, .hero-floaters { display: none; }
  body { color: #000; background: #fff; }
}

/* ─── REDUCED MOTION ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
