/* ═══════════════════════════════════════════════════════════════
   PIREMIT GLOBAL — PREMIUM FINTECH DESIGN SYSTEM
   Palette: Deep Navy + Emerald + Gold
   Fonts: DM Serif Display (headings) + Plus Jakarta Sans (body) + Space Mono (data)
═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Core Palette */
  --navy-950: #020B18;
  --navy-900: #040F1F;
  --navy-800: #071428;
  --navy-700: #0C1E3A;
  --navy-600: #112649;
  --navy-500: #1A3560;
  --navy-400: #254880;

  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-400: #34D399;
  --emerald-300: #6EE7B7;
  --emerald-200: #A7F3D0;
  --emerald-glow: rgba(16,185,129,0.15);
  --emerald-glow-strong: rgba(16,185,129,0.3);

  --gold-600: #B45309;
  --gold-500: #D97706;
  --gold-400: #F59E0B;
  --gold-300: #FCD34D;
  --gold-glow: rgba(245,158,11,0.15);

  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;

  --red-500: #EF4444;
  --red-400: #F87171;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-emerald: 0 0 24px rgba(16,185,129,0.25);
  --shadow-gold: 0 0 24px rgba(245,158,11,0.2);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }
em { font-family: var(--font-display); font-style: italic; color: var(--emerald-400); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── TICKER BAR ───────────────────────────────────────────── */
.ticker-bar {
  background: var(--navy-800);
  border-bottom: 1px solid rgba(16,185,129,0.2);
  height: 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-4);
  padding: 0 var(--space-6);
}

.ticker-pi-price {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
}

.ticker-pi-icon {
  font-size: 1rem;
  color: var(--emerald-400);
  font-weight: 700;
}

.ticker-label { color: var(--gray-400); font-size: 0.72rem; }

.ticker-price {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.ticker-change {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
}
.ticker-change.positive { color: var(--emerald-400); }
.ticker-change.negative { color: var(--red-400); }

.ticker-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.ticker-scroll-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-scroll {
  display: flex;
  gap: var(--space-8);
  white-space: nowrap;
  animation: tickerMove 40s linear infinite;
  width: max-content;
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tick-item {
  font-size: 0.75rem;
  color: var(--gray-400);
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.tick-item strong {
  color: var(--gray-200);
  font-family: var(--font-mono);
}

.ticker-live-badge {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--emerald-400);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulse 1.5s ease-in-out infinite;
  display: inline-block;
}

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

/* ── HEADER ───────────────────────────────────────────────── */
.main-header {
  position: sticky;
  top: 40px;
  z-index: 999;
  background: rgba(2,11,24,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--t-base);
}

.main-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 var(--space-6);
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  box-shadow: var(--shadow-emerald);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--emerald-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn-ghost {
  padding: var(--space-2) var(--space-5);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-200);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  box-shadow: 0 0 16px rgba(16,185,129,0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(16,185,129,0.45);
}

.btn-pi-icon {
  font-size: 1rem;
  font-weight: 900;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-300);
  border-radius: 2px;
  transition: all var(--t-fast);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--navy-800);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 108px;
  z-index: 998;
}

.mobile-nav a {
  padding: var(--space-3) var(--space-4);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: var(--r-sm);
}

.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.mobile-nav.open { display: flex; }
.full-w { width: 100%; justify-content: center; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-16);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,185,129,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  top: 50%;
  left: 40%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald-400);
  margin-bottom: var(--space-6);
  width: fit-content;
}

.badge-pi {
  font-size: 1rem;
  font-weight: 900;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 520px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

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

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-400);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  border-radius: var(--r-full);
  transition: all var(--t-base);
  box-shadow: 0 0 24px rgba(16,185,129,0.35);
  border: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16,185,129,0.5);
}

.btn-hero-ghost {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-200);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}

.btn-hero-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
}

/* ── HERO CALCULATOR ──────────────────────────────────────── */
.hero-calculator {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16,185,129,0.08);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: rgba(16,185,129,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.calc-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.calc-live {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald-400);
}

.calc-body { padding: var(--space-6); }

.calc-row { margin-bottom: var(--space-4); }

.calc-row label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.calc-input-wrap {
  display: flex;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy-700);
  transition: border-color var(--t-fast);
}

.calc-input-wrap:focus-within {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.calc-input-wrap input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.calc-input-wrap select {
  padding: var(--space-3) var(--space-3);
  background: rgba(255,255,255,0.05);
  border: none;
  border-left: 1px solid rgba(255,255,255,0.08);
  outline: none;
  color: var(--gray-200);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.calc-pi-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  margin: var(--space-2) 0;
}

.calc-pi-equiv {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-400);
  font-family: var(--font-mono);
}

.pi-sym {
  font-size: 1rem;
  font-weight: 900;
}

.calc-arrow {
  font-size: 1.2rem;
  color: var(--gray-500);
}

.calc-fee-row {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: var(--space-4);
  margin: var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.fee-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.fee-val {
  color: var(--gray-200);
  font-family: var(--font-mono);
  font-weight: 600;
}

.fee-val.delivery { color: var(--emerald-400); }

.btn-calc-send {
  width: 100%;
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: 0 0 20px rgba(16,185,129,0.3);
}

.btn-calc-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(16,185,129,0.45);
}

/* ── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-800);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: var(--space-5) 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-500);
  flex-shrink: 0;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-4);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-it-works { background: var(--navy-900); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step-card {
  flex: 1;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--t-base);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.step-card:hover::before { opacity: 1; }
.step-card:hover {
  border-color: rgba(16,185,129,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-emerald);
}

.step-icon-wrap {
  margin-bottom: var(--space-4);
}

.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--emerald-400);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald-600);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.step-tags span {
  padding: 3px 10px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald-400);
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--emerald-600);
  padding: 0 var(--space-3);
  flex-shrink: 0;
  margin-top: 60px;
}

/* ── SEND MONEY SECTION ───────────────────────────────────── */
.send-money-section { background: var(--navy-950); }

.transfer-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-8);
  align-items: start;
}

.transfer-form-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.tf-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tf-tab {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}

.tf-tab.active {
  color: var(--emerald-400);
  border-bottom-color: var(--emerald-500);
  background: rgba(16,185,129,0.04);
}

.tf-tab:hover:not(.active) {
  color: var(--gray-300);
  background: rgba(255,255,255,0.03);
}

.tf-body { padding: var(--space-8); }

.tf-field { margin-bottom: var(--space-5); }

.tf-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--space-2);
}

.tf-input-group {
  display: flex;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy-700);
  transition: border-color var(--t-fast);
}

.tf-input-group:focus-within {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.tf-input-group input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.tf-input-group select {
  min-width: 200px;
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.04);
  border: none;
  border-left: 1px solid rgba(255,255,255,0.08);
  outline: none;
  color: var(--gray-200);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

/* Pi Bridge */
.tf-pi-bridge {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-4) 0;
}

.pi-bridge-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.3), transparent);
}

.pi-bridge-center {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-400);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.pi-bridge-icon {
  font-size: 1.1rem;
  font-weight: 900;
}

.pi-bridge-label {
  font-size: 0.7rem;
  color: var(--emerald-600);
  font-weight: 600;
}

/* Delivery Options */
.tf-delivery { margin-bottom: var(--space-5); }
.tf-delivery label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--space-3);
}

.delivery-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.delivery-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-2);
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
}

.delivery-opt:has(input:checked) {
  border-color: var(--emerald-500);
  background: rgba(16,185,129,0.08);
}

.delivery-opt input { display: none; }

.dopt-icon { font-size: 1.3rem; }
.dopt-label { font-size: 0.72rem; font-weight: 600; color: var(--gray-300); }
.dopt-time { font-size: 0.65rem; color: var(--emerald-400); font-weight: 600; }

/* Breakdown */
.tf-breakdown {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
}

.breakdown-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--space-4);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  font-size: 0.875rem;
  color: var(--gray-400);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.breakdown-row:last-child { border-bottom: none; }

.fee-highlight {
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-weight: 700;
}

.fee-tier {
  font-size: 0.72rem;
  color: var(--emerald-500);
  font-weight: 600;
}

.breakdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: var(--space-3) 0;
}

.total-row {
  font-weight: 700;
  color: var(--white) !important;
  font-size: 1rem !important;
  border-bottom: none !important;
}

.total-val {
  color: var(--emerald-400) !important;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-send-now {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: 0 0 24px rgba(16,185,129,0.3);
}

.btn-send-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16,185,129,0.45);
}

.btn-send-now svg { width: 18px; height: 18px; }

/* Transfer Info Panel */
.transfer-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tip-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  transition: all var(--t-base);
}

.tip-card:hover {
  border-color: rgba(16,185,129,0.2);
  transform: translateX(4px);
}

.tip-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

.tip-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.tip-card p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ── FEES SECTION ─────────────────────────────────────────── */
.fees-section { background: var(--navy-900); }

.fee-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

.fee-tier-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--t-base);
}

.fee-tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16,185,129,0.2);
  box-shadow: var(--shadow-emerald);
}

.featured-tier {
  border-color: var(--emerald-600) !important;
  background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, var(--navy-800) 100%);
  box-shadow: 0 0 32px rgba(16,185,129,0.15);
}

.tier-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

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

.tier-badge {
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tier-badge.starter { background: rgba(100,116,139,0.2); color: var(--gray-400); }
.tier-badge.standard { background: rgba(16,185,129,0.15); color: var(--emerald-400); }
.tier-badge.premium { background: rgba(245,158,11,0.15); color: var(--gold-400); }
.tier-badge.enterprise { background: rgba(139,92,246,0.15); color: #A78BFA; }

.tier-range {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-family: var(--font-mono);
}

.tier-fee {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.featured-tier .tier-fee { color: var(--emerald-400); }

.tier-fee-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: var(--space-2);
}

.tier-min {
  font-size: 0.78rem;
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tier-features li {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* Compare Table */
.fee-compare h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: var(--space-6);
  text-align: center;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

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

.compare-table th {
  padding: var(--space-4) var(--space-5);
  background: var(--navy-800);
  color: var(--gray-400);
  font-weight: 700;
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.compare-table td {
  padding: var(--space-4) var(--space-5);
  color: var(--gray-300);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compare-table tr:last-child td { border-bottom: none; }

.highlight-row td {
  background: rgba(16,185,129,0.05);
  color: var(--white);
}

.green { color: var(--emerald-400) !important; }
.red { color: var(--red-400) !important; }
.check { color: var(--emerald-400); font-size: 1.1rem; }
.cross { color: var(--gray-600); font-size: 1.1rem; }

/* ── BLOCKCHAIN EXPLORER ──────────────────────────────────── */
.blockchain-section { background: var(--navy-950); }

.explorer-layout { display: flex; flex-direction: column; gap: var(--space-6); }

.explorer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.exp-stat {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.exp-stat-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--emerald-400);
}

.exp-stat-lbl {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.explorer-search {
  display: flex;
  gap: var(--space-3);
}

.explorer-search input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t-fast);
}

.explorer-search input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.explorer-search input::placeholder { color: var(--gray-600); }

.explorer-search button {
  padding: var(--space-4) var(--space-6);
  background: var(--emerald-600);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
}

.explorer-search button:hover { background: var(--emerald-500); }
.explorer-search button svg { width: 20px; height: 20px; color: var(--white); }

.explorer-filters {
  display: flex;
  gap: var(--space-2);
}

.exp-filter {
  padding: var(--space-2) var(--space-5);
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--t-fast);
}

.exp-filter.active, .exp-filter:hover {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.3);
  color: var(--emerald-400);
}

/* TX Table */
.tx-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.07);
}

.tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.tx-table thead tr {
  background: var(--navy-800);
}

.tx-table th {
  padding: var(--space-4) var(--space-4);
  color: var(--gray-500);
  font-weight: 700;
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}

.tx-table td {
  padding: var(--space-4) var(--space-4);
  color: var(--gray-300);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  white-space: nowrap;
}

.tx-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.tx-table tbody tr:last-child td { border-bottom: none; }

.tx-hash {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald-400);
  cursor: pointer;
}

.tx-hash:hover { text-decoration: underline; }

.tx-addr {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-400);
}

.tx-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--white);
}

.tx-usd {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray-400);
}

.tx-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.status-completed {
  background: rgba(16,185,129,0.12);
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,0.2);
}

.status-pending {
  background: rgba(245,158,11,0.12);
  color: var(--gold-400);
  border: 1px solid rgba(245,158,11,0.2);
}

.status-failed {
  background: rgba(239,68,68,0.12);
  color: var(--red-400);
  border: 1px solid rgba(239,68,68,0.2);
}

.tx-time {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.tx-block {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-500);
}

.tx-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.page-btn {
  padding: var(--space-2) var(--space-5);
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  color: var(--gray-300);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}

.page-btn:hover {
  border-color: var(--emerald-500);
  color: var(--emerald-400);
}

#pageInfo {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-family: var(--font-mono);
}

/* ── COUNTRIES ────────────────────────────────────────────── */
.countries-section { background: var(--navy-900); }

.corridors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.corridor-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  cursor: pointer;
  transition: all var(--t-base);
}

.corridor-card:hover {
  border-color: rgba(16,185,129,0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-emerald);
}

.corridor-flags { font-size: 1.4rem; margin-bottom: var(--space-2); }
.corridor-name { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: var(--space-2); }
.corridor-rate { font-size: 0.78rem; color: var(--gray-400); font-family: var(--font-mono); margin-bottom: var(--space-1); }
.corridor-fee { font-size: 0.75rem; color: var(--gold-400); font-weight: 600; margin-bottom: var(--space-1); }
.corridor-time { font-size: 0.75rem; color: var(--emerald-400); font-weight: 600; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-section { background: var(--navy-950); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testi-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  transition: all var(--t-base);
}

.testi-card:hover {
  border-color: rgba(16,185,129,0.2);
  transform: translateY(-3px);
}

.testi-stars {
  color: var(--gold-400);
  font-size: 0.9rem;
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testi-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 700;
}

.testi-author span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-section { background: var(--navy-900); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-content .section-badge { margin-bottom: var(--space-4); }
.about-content .section-title { text-align: left; margin-bottom: var(--space-5); }

.about-content p {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.about-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.astat-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--emerald-400);
}

.astat-lbl {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Pi Globe Animation */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pi-globe {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,0.2);
  animation: globeSpin linear infinite;
}

.globe-ring-1 { width: 100%; height: 100%; animation-duration: 20s; }
.globe-ring-2 { width: 75%; height: 75%; animation-duration: 15s; animation-direction: reverse; border-color: rgba(245,158,11,0.15); }
.globe-ring-3 { width: 50%; height: 50%; animation-duration: 10s; }

@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.globe-center {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  box-shadow: 0 0 40px rgba(16,185,129,0.4);
}

.globe-node {
  position: absolute;
  font-size: 1.3rem;
  transform: rotate(var(--angle)) translateX(var(--dist)) rotate(calc(-1 * var(--angle)));
  animation: nodeFloat 3s ease-in-out infinite;
  animation-delay: calc(var(--angle) / 45deg * 0.3s);
}

@keyframes nodeFloat {
  0%, 100% { transform: rotate(var(--angle)) translateX(var(--dist)) rotate(calc(-1 * var(--angle))) scale(1); }
  50% { transform: rotate(var(--angle)) translateX(calc(var(--dist) + 8px)) rotate(calc(-1 * var(--angle))) scale(1.1); }
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  padding: var(--space-16) 0;
  background: var(--navy-950);
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-xl);
  padding: var(--space-20) var(--space-16);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(16,185,129,0.1);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
}

.cta-pi-symbol {
  font-size: 3rem;
  font-weight: 900;
  color: var(--emerald-400);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.cta-card p {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 500px;
  margin: 0 auto var(--space-8);
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.main-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand .logo { margin-bottom: var(--space-4); }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: all var(--t-fast);
}

.footer-socials a:hover {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.3);
  color: var(--emerald-400);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: var(--space-3);
  transition: color var(--t-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 600px;
}

.footer-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-badges span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 600;
}

/* ── MODALS ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: fadeIn var(--t-base);
}

.modal-overlay.open {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp var(--t-base);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16,185,129,0.1);
}

.modal-box-sm { max-width: 400px; text-align: center; }

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

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--t-fast);
}

.modal-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.3);
  color: var(--red-400);
}

.modal-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.modal-pi-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 auto var(--space-4);
  box-shadow: 0 0 24px rgba(16,185,129,0.4);
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.modal-header p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.si {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  flex-shrink: 0;
}

.si.active {
  background: var(--emerald-600);
  border-color: var(--emerald-500);
  color: var(--white);
}

.si.done {
  background: rgba(16,185,129,0.15);
  border-color: var(--emerald-600);
  color: var(--emerald-400);
}

.si-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
  max-width: 60px;
}

.si-line.active-line { background: var(--emerald-600); }

/* Form Groups */
.form-group { margin-bottom: var(--space-5); }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-300);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t-fast);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.form-group input::placeholder { color: var(--gray-600); }

.input-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-600);
  margin-top: var(--space-1);
}

.input-pi-wrap {
  display: flex;
  align-items: center;
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.input-pi-wrap:focus-within {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.input-pi-prefix {
  padding: var(--space-3) var(--space-4);
  background: rgba(16,185,129,0.1);
  border-right: 1px solid rgba(255,255,255,0.08);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--emerald-400);
}

.input-pi-wrap input {
  border: none;
  background: transparent;
  box-shadow: none;
}

.phone-input-wrap {
  display: flex;
  gap: var(--space-2);
}

.phone-input-wrap select {
  width: 130px;
  flex-shrink: 0;
}

.phone-input-wrap input { flex: 1; }

/* KYC Banner */
.kyc-verified-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-md);
  margin-bottom: var(--space-5);
}

.kyc-icon {
  width: 28px;
  height: 28px;
  background: var(--emerald-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.kyc-verified-banner strong {
  display: block;
  font-size: 0.85rem;
  color: var(--emerald-400);
  font-weight: 700;
  margin-bottom: 3px;
}

.kyc-verified-banner span {
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Terms */
.terms-check {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--emerald-500);
}

.checkbox-label a { color: var(--emerald-400); }

/* Modal Buttons */
.btn-modal-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: 0 0 20px rgba(16,185,129,0.25);
}

.btn-modal-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(16,185,129,0.4);
}

.btn-modal-ghost {
  padding: var(--space-4) var(--space-6);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}

.btn-modal-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}

.form-row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.form-row .btn-modal-primary { flex: 1; }

/* Login Options */
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3);
}

.forgot-link {
  font-size: 0.82rem;
  color: var(--emerald-400);
  transition: color var(--t-fast);
}

.forgot-link:hover { color: var(--emerald-300); }

.modal-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.modal-divider span {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 600;
}

.btn-pi-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-md);
  color: var(--emerald-400);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-base);
}

.btn-pi-login:hover {
  background: rgba(16,185,129,0.15);
  border-color: rgba(16,185,129,0.4);
}

.pi-btn-icon {
  font-size: 1.2rem;
  font-weight: 900;
}

.modal-footer-link {
  text-align: center;
  margin-top: var(--space-5);
  font-size: 0.85rem;
  color: var(--gray-500);
}

.modal-footer-link a {
  color: var(--emerald-400);
  font-weight: 600;
  cursor: pointer;
}

/* Success Modal */
.success-animation {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.success-circle {
  width: 80px;
  height: 80px;
  animation: successPop var(--t-slow) ease;
}

.success-circle svg { width: 100%; height: 100%; }

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.modal-box-sm h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.modal-box-sm p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* ── DASHBOARD STYLES ─────────────────────────────────────── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 108px);
}

.sidebar {
  background: var(--navy-900);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-6) 0;
  position: sticky;
  top: 108px;
  height: calc(100vh - 108px);
  overflow-y: auto;
}

.sidebar-section {
  padding: 0 var(--space-4);
  margin-bottom: var(--space-6);
}

.sidebar-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 var(--space-3);
  margin-bottom: var(--space-2);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

.sidebar-link.active {
  background: rgba(16,185,129,0.1);
  color: var(--emerald-400);
  border: 1px solid rgba(16,185,129,0.15);
}

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

.sidebar-badge {
  margin-left: auto;
  padding: 2px 8px;
  background: var(--emerald-600);
  border-radius: var(--r-full);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
}

.dashboard-main {
  padding: var(--space-8);
  background: var(--navy-950);
  overflow-y: auto;
}

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

.dash-greeting h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.dash-greeting p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.dash-actions {
  display: flex;
  gap: var(--space-3);
}

/* Wallet Cards */
.wallet-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.wallet-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.wallet-card.primary-card {
  background: linear-gradient(135deg, var(--emerald-600) 0%, #047857 100%);
  border-color: transparent;
  box-shadow: 0 0 32px rgba(16,185,129,0.3);
}

.wallet-card.pi-card {
  background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-700) 100%);
  border-color: rgba(16,185,129,0.2);
}

.wcard-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.wcard-amount {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.wcard-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.wcard-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  margin-top: var(--space-3);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t-base);
}

.qa-btn:hover {
  border-color: rgba(16,185,129,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-emerald);
}

.qa-icon {
  width: 44px;
  height: 44px;
  background: rgba(16,185,129,0.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.qa-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-300);
  text-align: center;
}

/* Dashboard Grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-6);
}

.dash-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  padding: var(--space-6);
}

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

.dash-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.dash-card-action {
  font-size: 0.8rem;
  color: var(--emerald-400);
  font-weight: 600;
  cursor: pointer;
}

/* Mini TX List */
.mini-tx-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mini-tx {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}

.mini-tx:hover { background: rgba(255,255,255,0.03); }

.mini-tx-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.mini-tx-icon.send { background: rgba(239,68,68,0.1); }
.mini-tx-icon.recv { background: rgba(16,185,129,0.1); }

.mini-tx-info { flex: 1; }

.mini-tx-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.mini-tx-detail {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.mini-tx-amount {
  text-align: right;
}

.mini-tx-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-tx-val.out { color: var(--red-400); }
.mini-tx-val.in { color: var(--emerald-400); }

.mini-tx-time {
  font-size: 0.72rem;
  color: var(--gray-600);
}

/* Send Form in Dashboard */
.send-form { display: flex; flex-direction: column; gap: var(--space-4); }

.send-form .tf-input-group input {
  font-size: 1rem;
  padding: var(--space-3) var(--space-4);
}

.send-form .tf-input-group select {
  min-width: 120px;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .fee-tiers { grid-template-columns: repeat(2, 1fr); }
  .corridors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-calculator { max-width: 520px; margin: 0 auto; }
  .transfer-layout { grid-template-columns: 1fr; }
  .transfer-info-panel { display: grid; grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); margin: 0 auto; }
  .explorer-stats { grid-template-columns: repeat(2, 1fr); }
  .wallet-cards { grid-template-columns: 1fr 1fr; }
  .quick-actions { grid-template-columns: repeat(5, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: var(--space-12) 0; min-height: auto; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { gap: var(--space-4); }
  .trust-items { gap: var(--space-4); }
  .trust-item span { display: none; }
  .fee-tiers { grid-template-columns: 1fr 1fr; }
  .corridors-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .delivery-options { grid-template-columns: repeat(2, 1fr); }
  .tf-input-group select { min-width: 140px; }
  .wallet-cards { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(3, 1fr); }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .explorer-stats { grid-template-columns: repeat(2, 1fr); }
  .tx-table { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .hero-title { font-size: 2rem; }
  .section { padding: var(--space-16) 0; }
  .fee-tiers { grid-template-columns: 1fr; }
  .corridors-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ticker-scroll-wrap { display: none; }
  .quick-actions { grid-template-columns: repeat(3, 1fr); }
  .modal-box { padding: var(--space-6); }
}

/* ── UTILITY ──────────────────────────────────────────────── */
.text-emerald { color: var(--emerald-400); }
.text-gold { color: var(--gold-400); }
.text-muted { color: var(--gray-500); }
.font-mono { font-family: var(--font-mono); }
.hidden { display: none !important; }

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}