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

:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #22223a;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --green: #10b981;
  --gradient-primary: linear-gradient(135deg, #3b82f6, #06b6d4);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6, #3b82f6);
  --gradient-text: linear-gradient(135deg, #3b82f6, #06b6d4);
  --nav-height: 72px;
  --max-width: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== UTILITIES ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px 24px;
  z-index: 999;
}

.nav-mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile-menu a:hover {
  color: var(--text);
}

.nav-mobile-menu .btn {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

/* ===== DROPDOWN NAV ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s;
  line-height: 1;
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown:hover .nav-dropdown-trigger {
  color: var(--text);
}

.nav-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.nav-item-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
  color: var(--text-secondary);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3);
  padding: 12px;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Bridge prevents gap from closing panel when moving mouse */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.nav-item-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 4px 10px 8px;
  margin: 0;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.05);
}

.nav-dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(59,130,246,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}

.nav-dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 2px;
}

.nav-dropdown-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.nav-dropdown-item-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Dashboard as subtle secondary button */
.btn-nav-dashboard {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-nav-dashboard:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

/* Mobile nav additions */
.nav-mobile-section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 16px 0 6px;
  border-bottom: none !important;
  pointer-events: none;
}

.nav-mobile-sub-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  border-radius: var(--radius-sm);
  border-bottom: none !important;
  font-size: 15px !important;
  color: var(--text-secondary);
  margin-left: 4px;
}

.nav-mobile-sub-item:hover {
  background: var(--bg-card);
  color: var(--text);
}

.nav-mobile-sub-icon {
  font-size: 15px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-dropdown-panel { display: none !important; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 32px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== BANKS / TRUST BAR ===== */
.banks {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.banks-label {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 40px;
}

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

.bank-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.bank-badge:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--bg-card);
}

.bank-badge .bank-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  color: #fff;
}

.bank-badge .bank-logo {
  flex-shrink: 0;
  border-radius: 6px;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.product-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.product-card:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.product-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-card .product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.2s;
}

.product-card:hover .product-link {
  gap: 10px;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== CODE EXAMPLE ===== */
.code-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.code-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.code-text h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.code-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.code-block {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-header span {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-body {
  padding: 24px;
  overflow-x: auto;
}

.code-body pre {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre;
  tab-size: 2;
}

/* Syntax highlighting */
.code-body .kw { color: #c678dd; }      /* keywords */
.code-body .fn { color: #61afef; }      /* functions */
.code-body .str { color: #98c379; }     /* strings */
.code-body .cm { color: #5c6370; }      /* comments */
.code-body .num { color: #d19a66; }     /* numbers */
.code-body .op { color: #56b6c2; }      /* operators */
.code-body .prop { color: #e5c07b; }    /* properties */

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.feature-card {
  padding: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

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

.stat-number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== SECURITY CALLOUT ===== */
.security-callout-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.security-callout-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.security-mini-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.security-mini-card:hover {
  border-color: var(--border-hover);
}

.security-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-mini-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.security-mini-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2000;
  max-width: 680px;
  width: calc(100% - 48px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.cookie-banner p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.cookie-banner p a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  padding: 8px 18px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.cookie-accept:hover { opacity: 0.9; }

.cookie-decline {
  padding: 8px 18px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.cookie-decline:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* ===== FOOTER ACTIVE LINK ===== */
.footer-col a.active {
  color: var(--text);
}

/* ===== USE CASES ===== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.use-case-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s;
}

.use-case-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
  transform: translateY(-4px);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.use-case-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.use-case-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.use-case-products {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.use-case-products span {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

/* ===== DEVELOPER CTA ===== */
.dev-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dev-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.dev-cta h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}

.dev-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.dev-cta .code-block {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
  position: relative;
}

.dev-cta .hero-ctas {
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 52px;
  }

  .section-title {
    font-size: 32px;
  }

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

  .code-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .security-callout-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 0;
  }

  .stat-item {
    flex: none;
    width: 50%;
    padding: 24px;
    border-bottom: 1px solid var(--border);
  }

  .stat-divider {
    display: none;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .section-title {
    font-size: 28px;
  }

  .dev-cta h2 {
    font-size: 32px;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

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

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .security-callout-cards {
    grid-template-columns: 1fr;
  }

  .stat-item {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps::before {
    display: none;
  }

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

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

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

  .banks-grid {
    gap: 10px;
  }

  .bank-badge {
    padding: 10px 16px;
    font-size: 13px;
  }

  .code-text h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .product-card {
    padding: 24px;
  }

  .feature-card {
    padding: 28px;
  }
}

/* ===== FOR-DEVELOPERS CTA (consumer homepage) ===== */
.for-dev-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.for-dev-bullets {
  list-style: none;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.for-dev-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.for-dev-bullets li svg {
  flex-shrink: 0;
  color: var(--green);
}

.dev-badge-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.dev-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
}

.dev-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .for-dev-cta-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .dev-badge-stack { padding: 24px; }
}

/* ===== HERO VISUAL (connection diagram) ===== */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 320px;
}

.hero-diagram-node {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  width: 100%;
}

.hero-diagram-node.node-mid {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 0 32px rgba(59,130,246,0.15);
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.06));
}

.hero-diagram-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, #3b82f6, #06b6d4);
  opacity: 0.5;
  position: relative;
  overflow: hidden;
}

.hero-diagram-connector::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #fff, transparent);
  animation: flowLine 1.5s linear infinite;
  opacity: 0.6;
}

@keyframes flowLine {
  from { top: -40px; }
  to { top: 40px; }
}

.hero-diagram-node-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
}

/* ===== APP CATEGORIES SECTION ===== */
.app-categories {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.app-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.app-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.app-cat-tile:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.app-cat-icon {
  font-size: 28px;
  line-height: 1;
}

.app-cat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .app-cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .app-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CODE TABS ===== */
.code-tabs-wrapper {
  position: relative;
}

.code-tab-bar {
  display: flex;
  gap: 2px;
  margin-bottom: 0;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
}

.code-tab-btn {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.code-tab-btn:hover { color: var(--text-secondary); background: rgba(255,255,255,0.06); }
.code-tab-btn.active { color: var(--text); background: rgba(255,255,255,0.1); }

.code-tab-panel { display: none; }
.code-tab-panel.active { display: block; }

.code-tab-panel .code-block {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ===== VS DIY COMPARISON ===== */
.compare-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-col {
  padding: 32px;
}

.compare-col-bad {
  background: rgba(239, 68, 68, 0.04);
}

.compare-col-good {
  background: rgba(16, 185, 129, 0.04);
}

.compare-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.compare-col-bad .compare-col-header { color: #f87171; }
.compare-col-good .compare-col-header { color: var(--green); }

.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}

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

.compare-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* ===== ACTIVE NAV STATE ===== */
.nav-links a.nav-active {
  color: var(--text) !important;
  font-weight: 600;
}

/* ===== FOOTER STATUS INDICATOR ===== */
.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.status-dot-footer {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 20px 0 24px;
}

.about-hero p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-two-col h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-two-col p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-value-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-value-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.about-value-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 0 auto;
  max-width: 600px;
}

.about-contact-block h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-contact-block p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-two-col { grid-template-columns: 1fr; gap: 40px; }
  .about-values-grid { grid-template-columns: 1fr; }
}

/* ===== 404 PAGE ===== */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.page-404-inner {
  max-width: 480px;
}

.page-404-number {
  font-size: clamp(96px, 15vw, 160px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.page-404-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-404-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
