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

:root {
  --bg: #0A0A0F;
  --bg2: #0F0F18;
  --bg3: #13131E;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --accent: #6C47FF;
  --accent2: #9B7EFF;
  --accent-glow: rgba(108,71,255,0.25);
  --green: #00D97E;
  --text: #F0F0F8;
  --text2: #A0A0B8;
  --text3: #606080;
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text2);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--card-hover);
}

.btn-nav {
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.btn-nav:hover {
  background: var(--accent2);
  box-shadow: 0 0 20px var(--accent-glow);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
  gap: 4px;
}
.mobile-menu a {
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.btn-nav-mobile {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border-bottom: none !important;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--accent2);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-primary.large { padding: 13px 28px; font-size: 1rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text2);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--card);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}
.btn-outline.large { padding: 13px 28px; font-size: 1rem; }

.full-width { width: 100%; justify-content: center; }

/* ===== SECTION BASE ===== */
.section { padding: 88px 0; }
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content { flex: 1; min-width: 0; }

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent2);
  background: rgba(108,71,255,0.12);
  border: 1px solid rgba(108,71,255,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #6C47FF 0%, #C47EFF 50%, #FF7EB3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text2);
  animation: floatIn 0.5s ease both;
  letter-spacing: 0.03em;
}

.pill.upi { color: #A78BFA; border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.08); }
.pill.visa { color: #60A5FA; border-color: rgba(96,165,250,0.3); background: rgba(96,165,250,0.08); }
.pill.mc { color: #F59E0B; border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.08); }
.pill.rupay { color: #34D399; border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.08); }
.pill.gpay { color: #60A5FA; border-color: rgba(96,165,250,0.3); background: rgba(96,165,250,0.08); }
.pill.phonepe { color: #C084FC; border-color: rgba(192,132,252,0.3); background: rgba(192,132,252,0.08); }
.pill.paytm { color: #38BDF8; border-color: rgba(56,189,248,0.3); background: rgba(56,189,248,0.08); }
.pill.amex { color: #93C5FD; border-color: rgba(147,197,253,0.3); background: rgba(147,197,253,0.08); }
.pill.nb { color: var(--text2); }
.pill.bhim { color: #6EE7B7; border-color: rgba(110,231,183,0.3); background: rgba(110,231,183,0.08); }

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

/* HERO VISUAL */
.hero-visual {
  flex: 0 0 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.green { background: #00D97E; }
.dash-dot.yellow { background: #F59E0B; }
.dash-dot.red { background: #EF4444; }
.dash-title {
  font-size: 0.75rem;
  color: var(--text3);
  margin-left: 6px;
  font-weight: 500;
}

.dash-stat { margin-bottom: 20px; }
.dash-label { font-size: 0.75rem; color: var(--text2); display: block; margin-bottom: 4px; }
.dash-value { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; display: block; }
.dash-change { font-size: 0.75rem; font-weight: 600; display: block; margin-top: 2px; }
.dash-change.up { color: var(--green); }

.dash-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.dash-mini {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
.dash-mini span { font-size: 0.7rem; color: var(--text2); display: block; margin-bottom: 4px; }
.dash-mini strong { font-size: 1rem; font-weight: 700; }

.dash-bar-label { font-size: 0.72rem; color: var(--text2); font-weight: 600; margin-bottom: 10px; }

.dash-bars { display: flex; flex-direction: column; gap: 8px; }
.bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text2);
}
.bar-item > span:first-child { width: 48px; flex-shrink: 0; }
.bar-item > span:last-child { width: 32px; text-align: right; flex-shrink: 0; color: var(--text); font-weight: 600; }
.bar-track { flex: 1; height: 6px; background: var(--card); border-radius: 100px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 100px; }
.bar-fill.cards { background: #F59E0B; }
.bar-fill.wallets { background: var(--green); }

/* ===== STATS BAR ===== */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px;
}
.stat-item strong {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.stat-item span {
  font-size: 0.75rem;
  color: var(--text2);
  font-weight: 500;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== PAYMENT METHODS ===== */
.payment-methods { background: var(--bg); }

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: default;
}
.method-card:hover {
  border-color: var(--border-hover);
  background: var(--card-hover);
  transform: translateY(-3px);
}
.method-icon { width: 48px; height: 48px; }
.method-icon svg { width: 48px; height: 48px; border-radius: 10px; }
.method-card span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text2);
  text-align: center;
}

/* ===== RATES TABLE ===== */
.rates-section { background: var(--bg2); }

.rates-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.rates-table th {
  padding: 16px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text2);
  background: var(--bg3);
  text-align: left;
  white-space: nowrap;
}
.rates-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  color: var(--text2);
  white-space: nowrap;
}
.rates-table tbody tr:hover td { background: var(--card); }

.highlight-col {
  background: rgba(108,71,255,0.06) !important;
  border-left: 1px solid rgba(108,71,255,0.2);
  border-right: 1px solid rgba(108,71,255,0.2);
  font-weight: 700;
  color: var(--text) !important;
}
.rates-table th.highlight-col {
  color: var(--accent2) !important;
  font-size: 0.8rem;
}

.method-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}
.rate-badge {
  display: inline-block;
  background: rgba(108,71,255,0.15);
  color: var(--accent2);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 6px;
}
.rate-badge.green-badge {
  background: rgba(0,217,126,0.12);
  color: var(--green);
}
.rates-note {
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 16px;
}

/* ===== FEATURES ===== */
.features-section { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--card-hover);
  transform: translateY(-2px);
}
.feature-icon { font-size: 1.6rem; margin-bottom: 14px; }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }

/* ===== INTERNATIONAL ===== */
.intl-section { background: var(--bg2); }
.intl-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.intl-text { flex: 1; }
.intl-text h2 { margin-bottom: 16px; }
.intl-text p { color: var(--text2); line-height: 1.75; margin-bottom: 24px; max-width: 480px; }
.intl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.intl-list li { font-size: 0.875rem; color: var(--text2); font-weight: 500; }
.intl-list li span { color: var(--green); font-weight: 700; }

.intl-visual { flex: 0 0 280px; }
.globe-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.globe-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.currency-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.currency-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: background 0.15s;
}
.currency-row:hover { background: var(--card); }
.rate-val { font-weight: 700; color: var(--green); font-size: 0.875rem; }
.globe-footer {
  font-size: 0.7rem;
  color: var(--text3);
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(108,71,255,0.15) 0%, rgba(155,126,255,0.08) 100%);
  border-top: 1px solid rgba(108,71,255,0.2);
  border-bottom: 1px solid rgba(108,71,255,0.2);
  padding: 80px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: var(--text2);
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer { background: var(--bg2); padding: 64px 0 0; }
.footer-inner {
  display: flex;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-brand { flex: 0 0 240px; }
.footer-brand .logo { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.8rem; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text2);
  text-transform: uppercase;
}

.footer-links {
  flex: 1;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.8rem;
  color: var(--text2);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text3); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 80px 24px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, rgba(108,71,255,0.12) 0%, transparent 70%);
}
.page-hero .section-label { display: block; margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ===== ABOUT PAGE ===== */
.story-section { background: var(--bg); }
.story-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.story-text { flex: 1; }
.story-text h2 { margin-bottom: 20px; }
.story-text p { color: var(--text2); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }

.story-card { flex: 0 0 320px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 16px; position: relative; }
.tl-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: -16px;
  width: 2px;
  background: var(--border);
}
.tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 0.2s;
}
.tl-item.active .tl-dot { border-color: var(--accent); background: var(--accent); }
.tl-content { padding-bottom: 28px; }
.tl-content strong { font-size: 0.875rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; }
.tl-content p { font-size: 0.8rem; color: var(--text2); line-height: 1.6; }

.values-section { background: var(--bg2); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.value-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.value-icon { font-size: 1.6rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }

.team-section { background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
}
.team-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.team-card span { font-size: 0.75rem; color: var(--accent2); font-weight: 600; display: block; margin-bottom: 10px; }
.team-card p { font-size: 0.8rem; color: var(--text2); line-height: 1.6; }

.trust-section { background: var(--bg2); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.trust-icon { font-size: 1.8rem; margin-bottom: 12px; }
.trust-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: 0.8rem; color: var(--text2); line-height: 1.6; }

/* ===== CONTACT PAGE ===== */
.contact-section { background: var(--bg); }
.contact-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.contact-info { flex: 1; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text2); line-height: 1.75; margin-bottom: 32px; }
.contact-info > p a { color: var(--accent2); }

.info-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-icon { font-size: 1.2rem; flex-shrink: 0; }
.info-card strong { font-size: 0.875rem; font-weight: 700; display: block; margin-bottom: 2px; }
.info-card p { font-size: 0.8rem; color: var(--text2); }
.info-card a { color: var(--accent2); }

.contact-features h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; }
.contact-features ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.contact-features li { font-size: 0.875rem; color: var(--text2); }

.contact-form-wrap {
  flex: 0 0 460px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text2); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text3); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg3); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.72rem; color: var(--text3); text-align: center; }
.form-note a { color: var(--accent2); }

.faq-section { background: var(--bg2); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.faq-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.faq-item p { font-size: 0.825rem; color: var(--text2); line-height: 1.7; }

/* ===== API PAGE ===== */
.api-overview { background: var(--bg); padding-bottom: 0; }
.api-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.api-overview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.api-overview-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.api-icon { font-size: 1.4rem; margin-bottom: 12px; }
.api-overview-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.api-overview-card p { font-size: 0.8rem; color: var(--text2); line-height: 1.65; }

.quickstart-section { background: var(--bg); }
.webhooks-section { background: var(--bg2); }
.api-ref-section { background: var(--bg); }
.sdk-section { background: var(--bg2); }

.api-step {
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(108,71,255,0.3);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.05em;
}
.step-header h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step-header p { font-size: 0.85rem; color: var(--text2); }

.code-tabs { background: var(--bg); }
.tab-buttons {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  gap: 0;
  background: var(--bg3);
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  font-family: var(--font);
}
.tab-btn.active { color: var(--accent2); border-bottom-color: var(--accent); }
.tab-btn:hover { color: var(--text); }

.tab-content { display: none; }
.tab-content.active { display: block; }

pre {
  padding: 24px 28px;
  overflow-x: auto;
  background: var(--bg);
}
pre code {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #C9D1D9;
  white-space: pre;
}
.code-comment { color: #6E7681; }
.code-keyword { color: #FF7B72; }
.code-string { color: #A5D6FF; }
.code-number { color: #79C0FF; }

.api-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.api-table th {
  padding: 14px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text2);
  background: var(--bg3);
  text-align: left;
}
.api-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  color: var(--text2);
}
.api-table tbody tr:hover td { background: var(--card); }
.api-table code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--accent2);
  background: rgba(108,71,255,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.method-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.method-badge.post { background: rgba(108,71,255,0.15); color: var(--accent2); }
.method-badge.get { background: rgba(0,217,126,0.12); color: var(--green); }

.sdk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.sdk-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.sdk-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.sdk-icon { font-size: 1.4rem; margin-bottom: 10px; }
.sdk-card h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 8px; }
.sdk-card code {
  font-size: 0.7rem;
  color: var(--text3);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ===== STEPS (Payment Gateway page) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.step-badge {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(108,71,255,0.35);
  letter-spacing: -0.05em;
  margin-bottom: 12px;
  line-height: 1;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }

/* ===== PG MODES GRID ===== */
.pg-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.pg-mode-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.pg-mode-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.pg-mode-icon { font-size: 1.6rem; margin-bottom: 14px; }
.pg-mode-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.pg-mode-card p { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--text);
}
.legal-section p {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.legal-section ul li {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}
.legal-section ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}
.legal-section a { color: var(--accent2); }
.legal-section a:hover { text-decoration: underline; }

/* ===== HIGH RISK BADGE in select ===== */
select option[value="High Risk Merchant"] {
  font-weight: 700;
  color: #F59E0B;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; gap: 40px; min-height: auto; padding: 48px 24px; }
  .hero-visual { width: 100%; }
  .dashboard-card { max-width: 100%; }
  .intl-inner { flex-direction: column; }
  .intl-visual { width: 100%; }
  .story-inner { flex-direction: column; }
  .story-card { width: 100%; }
  .contact-inner { flex-direction: column; }
  .contact-form-wrap { flex: none; width: 100%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: block; }
  .mobile-menu.open { display: flex; }

  .stats-bar { gap: 0; }
  .stat-item { padding: 8px 20px; }
  .stat-divider { display: none; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-brand { flex: none; width: 100%; }
  .footer-links { gap: 24px; }

  .form-row { flex-direction: column; }

  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { width: 100%; text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
