/* monobank Affiliate Landing Page Stylesheet */
/* Design System Tokens */
:root {
  --bg-dark: #000000;
  --bg-card: rgba(18, 18, 18, 0.65);
  --bg-card-hover: rgba(26, 26, 26, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 0, 127, 0.30);
  
  --color-primary: #ff007f; /* monobank Pink */
  --color-primary-glow: rgba(255, 0, 127, 0.35);
  --color-accent: #d6006a;
  --color-accent-glow: rgba(214, 0, 106, 0.20);
  --color-secondary: #ff3399;
  --color-secondary-glow: rgba(255, 51, 153, 0.20);
  --color-green: #0ecb81;
  --color-green-glow: rgba(14, 203, 129, 0.20);
  --color-red: #f6465d;
  --color-red-glow: rgba(246, 70, 93, 0.20);
  
  --text-main: #f5f5f7;
  --text-muted: #8e8e93;
  --text-dark: #48484a;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Anchor Link Reset */
a {
  color: inherit;
  text-decoration: none;
}


/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(255, 0, 127, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 0%, rgba(214, 0, 106, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 0, 127, 0.04) 0%, transparent 40%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Language Switcher Logic (Zero CLS) */
html[lang="uk"] .lang-en { display: none !important; }
html[lang="en"] .lang-uk { display: none !important; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.8);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--text-main);
  text-decoration: none;
}

.logo-accent {
  color: var(--color-primary);
}

/* Language Toggle */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 3px;
  border-radius: 9999px;
}

.lang-btn {
  padding: 0.35rem 0.85rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn.active {
  background: var(--color-primary);
  color: #000000;
  box-shadow: 0 2px 8px var(--color-primary-glow);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), transparent);
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.hero-content {
  max-width: 650px;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 203, 129, 0.10);
  border: 1px solid rgba(14, 203, 129, 0.25);
  color: var(--color-green);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-green-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 203, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(14, 203, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 203, 129, 0); }
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 50%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 640px) {
  h1 { font-size: 2.25rem; }
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.cta-primary-wrapper {
  width: 100%;
}

.cta-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 500px;
  align-items: stretch;
}

@media (max-width: 968px) {
  .cta-container { align-items: center; }
  .cta-secondary-grid { margin: 0 auto;   align-items: stretch;
}
}

@media (max-width: 640px) {
  .cta-secondary-grid { grid-template-columns: 1fr;   align-items: stretch;
}
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255, 0, 127, 0.25);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  width: 100%;
  max-width: 500px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 0, 127, 0.45);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-sub:hover {
  background: rgba(255, 0, 127, 0.06);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-card-sub {
  background: #121212;
  color: #fff;
  border-color: rgba(255, 0, 127, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-card-sub:hover {
  background: #1c1c1c;
  border-color: var(--color-primary);
  box-shadow: 0 6px 28px rgba(255, 0, 127, 0.2);
}

.cta-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cta-hint svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Terminal Visual */
.terminal-container {
  background: rgba(10, 10, 12, 0.90);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 40px rgba(255, 0, 127, 0.06);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: left;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 0.35rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.terminal-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.terminal-body {
  padding: 1.25rem;
  min-height: 250px;
  color: #ffd6e8;
  overflow-y: auto;
}

.terminal-line {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.terminal-input {
  color: var(--text-main);
}

.terminal-input::before {
  content: "$ ";
  color: var(--color-primary);
}

.terminal-error {
  color: var(--color-red);
}

.terminal-success {
  color: var(--color-green);
}

.terminal-comment {
  color: var(--text-muted);
}

/* Stats Bar */
.stats-bar {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 0, 127, 0.02);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

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

@media (max-width: 400px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 40%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

/* Section Styles */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 3.5rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-padding {
  padding: 5rem 0;
}

/* Banka Section */
.banka-section {
  background: radial-gradient(circle at 10% 50%, rgba(255, 0, 127, 0.05) 0%, transparent 50%);
}

.banka-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .banka-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.banka-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.banka-visual {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 3D Glassmorphism Banka Jar Styling */
.banka-glass {
  width: 220px;
  height: 320px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-radius: 40px 40px 30px 30px;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5), 
    inset 0 10px 20px rgba(255, 255, 255, 0.2), 
    inset 0 -10px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.banka-glass::before {
  /* Jar neck / lid adapter */
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 0 10px 10px;
  z-index: 10;
}

.banka-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 87.4%; /* Calculated based on target progress 87,420/100,000 UAH */
  background: linear-gradient(180deg, #ff007f 0%, #800040 100%);
  border-radius: 0 0 24px 24px;
  transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Wavy Liquid Surface */
.banka-liquid::before, .banka-liquid::after {
  content: '';
  position: absolute;
  width: 250%;
  height: 40px;
  top: -25px;
  left: -75%;
  border-radius: 40%;
}

.banka-liquid::before {
  background: rgba(255, 0, 127, 0.7);
  animation: wave 6s infinite linear;
}

.banka-liquid::after {
  background: rgba(255, 255, 255, 0.2);
  animation: wave 8s infinite linear;
  top: -20px;
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.banka-reflection {
  position: absolute;
  top: 0;
  left: 15px;
  width: 15px;
  height: 90%;
  background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  border-radius: 10px;
  pointer-events: none;
}

.banka-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 40px;
  pointer-events: none;
}

.banka-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-align: center;
  width: 80%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.banka-title-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.banka-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.banka-goal {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 2px;
}

.banka-shadow {
  width: 160px;
  height: 16px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  margin-top: 1.5rem;
  filter: blur(4px);
}

.banka-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: var(--color-primary);
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.banka-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mono-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 0, 127, 0.10);
  border: 1px solid rgba(255, 0, 127, 0.20);
  color: var(--color-primary);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.banka-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
  text-align: left;
}

.mono-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  width: 100%;
}

.mono-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  text-align: left;
}

.mono-feature-item svg {
  color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Calculator Section */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 2.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .calculator-card {
    padding: 2rem;
  }
}

.calc-input-side {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.calc-input-group label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #fff;
  text-align: left;
}

.calc-slider-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.calc-slider-container input[type="range"] {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: var(--transition-smooth);
}

.calc-slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--color-primary-glow);
  transition: var(--transition-smooth);
}

.calc-slider-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px var(--color-primary);
}

.calc-value-display {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  min-width: 100px;
  text-align: right;
}

.calc-info-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
}

.calc-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  text-align: left;
}

.calc-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-info-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.25rem;
  text-align: left;
  line-height: 1.4;
}

.calc-info-list li::before {
  content: '🐾';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
}

.calc-result-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.result-box.highlight {
  background: rgba(255, 0, 127, 0.03);
  border-color: rgba(255, 0, 127, 0.25);
  box-shadow: inset 0 0 20px rgba(255,0,127,0.02);
}

.result-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.result-val {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
}

.tax-amount {
  color: #ff5e7e;
}

.net-amount {
  color: #0ecb81;
  text-shadow: 0 0 15px rgba(14, 203, 129, 0.15);
}

.calc-bonus-badge {
  background: rgba(14, 203, 129, 0.08);
  border: 1px solid rgba(14, 203, 129, 0.2);
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.calc-bonus-badge strong {
  color: #0ecb81;
}

/* Use Cases / Open API cards */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.usecase-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: var(--transition-smooth);
}

.usecase-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(255, 0, 127, 0.07);
}

.usecase-card:hover::after {
  opacity: 1;
}

.usecase-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 0, 127, 0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  border: 1px solid rgba(255, 0, 127, 0.20);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.usecase-card:hover .usecase-icon-box {
  background: var(--color-primary);
  color: #000000;
  transform: scale(1.05);
}

.usecase-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: #fff;
  text-align: left;
}

.usecase-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  text-align: left;
}

.usecase-code-snippet {
  margin-top: 1.5rem;
  background: rgba(0,0,0,0.5);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-primary);
  border: 1px solid rgba(255,255,255,0.04);
  text-align: left;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.step-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 0, 127, 0.2);
  transform: translateY(-3px);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 0, 127, 0.08);
  line-height: 1;
  pointer-events: none;
}

.step-card:hover .step-number {
  color: rgba(255, 0, 127, 0.15);
}

.step-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.step-card:hover .step-icon-box {
  background: rgba(255, 0, 127, 0.05);
  border-color: var(--color-primary);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  text-align: left;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
}

/* Articles Section & Docs Grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.docs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: var(--transition-smooth);
}

.docs-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 0, 127, 0.08);
}

.docs-badge-wrapper {
  margin-bottom: 1.25rem;
  display: flex;
}

.docs-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.docs-badge.api {
  background: rgba(162, 0, 255, 0.1);
  color: #d18aff;
  border: 1px solid rgba(162, 0, 255, 0.2);
}

.docs-badge.banka {
  background: rgba(255, 0, 127, 0.1);
  color: #ff66b2;
  border: 1px solid rgba(255, 0, 127, 0.2);
}

.docs-badge.tax {
  background: rgba(14, 203, 129, 0.1);
  color: #8effc3;
  border: 1px solid rgba(14, 203, 129, 0.2);
}

.docs-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 0.75rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.docs-card:hover .docs-card-title {
  color: var(--color-primary);
}

.docs-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
  margin-bottom: 2rem;
}

.docs-card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.docs-card-link svg {
  transition: transform 0.3s ease;
}

.docs-card:hover .docs-card-link svg {
  transform: translateX(4px);
}

/* Pricing / Promo Box Section */
.pricing-section {
  position: relative;
  overflow: hidden;
}

.pricing-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  filter: blur(120px);
  opacity: 0.05;
  pointer-events: none;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.8) 0%, rgba(5, 5, 5, 0.9) 100%);
  border: 1px solid rgba(255, 0, 127, 0.25);
  border-radius: 24px;
  padding: 4rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 50px rgba(255,0,127,0.05);
}

.badge-promo {
  display: inline-block;
  background: var(--color-primary);
  color: #000;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.pricing-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 650px;
  margin: 2rem auto 3rem;
  text-align: left;
}

@media (max-width: 640px) {
  .pricing-features-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.pricing-feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.pricing-feat-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.pricing-cta-dual {
  display: flex;
  justify-content: center;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-item.active {
  border-color: var(--border-color-hover);
  box-shadow: 0 4px 20px rgba(255, 0, 127, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer-inner p {
  margin: 0;
}

.faq-answer-inner strong {
  color: #fff;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background: #020202;
  padding: 4rem 0;
  margin-top: 5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3.5rem;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (max-width: 968px) {
  .footer-brand {
    align-items: center;
  }
}

.footer-logo {
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.25rem;
}

.footer-tagline {
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (max-width: 968px) {
  .footer-nav {
    align-items: center;
  }
}

.footer-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (max-width: 968px) {
  .footer-legal {
    align-items: center;
  }
}

.footer-disclaimer {
  line-height: 1.6;
  text-align: left;
  font-size: 0.8rem;
}

@media (max-width: 968px) {
  .footer-disclaimer {
    text-align: center;
  }
}

/* Mobile Responsiveness & Spacing Scale adjustments */
@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
  h2 {
    font-size: 1.75rem;
  }
  .usecase-card {
    padding: 1.75rem;
  }
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
  .step-card {
    padding: 1.75rem;
  }
}

/* Accessibility Focus Indicators (WCAG 2.2 AA) */
:focus-visible {
  outline: 3px solid var(--color-primary) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.95), 0 0 15px var(--color-primary-glow) !important;
}

/* Article Page Specific Styles */
.article-content-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .article-content-wrapper {
    padding: 1.75rem;
  }
}

.article-content-wrapper h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 50%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.25;
  text-align: left;
}

@media (max-width: 640px) {
  .article-content-wrapper h1 {
    font-size: 2rem;
  }
}

.article-content-wrapper h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #fff;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  text-align: left;
  background: none;
  -webkit-text-fill-color: initial;
}

.article-content-wrapper h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #fff;
  text-align: left;
}

.article-content-wrapper p {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  text-align: left;
}

.article-content-wrapper p strong {
  color: #fff;
}

.article-content-wrapper a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-primary);
  transition: var(--transition-smooth);
}

.article-content-wrapper a:hover {
  color: var(--color-secondary);
  border-bottom-style: solid;
}

.article-content-wrapper ul, .article-content-wrapper ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  text-align: left;
}

.article-content-wrapper li {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.article-content-wrapper pre {
  background: #0a0a0c;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.article-content-wrapper code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: rgba(255, 0, 127, 0.08);
  color: #ff80bf;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 0, 127, 0.15);
}

.article-content-wrapper pre code {
  background: transparent;
  color: #ffd6e8;
  padding: 0;
  border: none;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Callout alerts in articles */
.article-content-wrapper blockquote {
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.article-content-wrapper blockquote p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Card Comparison & Info Grid Styles */
.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 3.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th, 
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

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

.comparison-table tr:hover td {
  background: rgba(255, 0, 127, 0.02);
}

.card-name-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.card-black-dot {
  background: #000;
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary-glow);
}

.card-white-dot {
  background: #f5f5f7;
  border: 1.5px solid #8e8e93;
}

.card-kids-dot {
  background: #ffd60a;
  border: 1.5px solid #ff9f0a;
  box-shadow: 0 0 8px rgba(255, 159, 10, 0.5);
}

.card-platinum-dot {
  background: linear-gradient(135deg, #e5e5ea, #8e8e93);
  border: 1.5px solid #d1d1d6;
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.card-iron-dot {
  background: linear-gradient(135deg, #2c2c2e, #1c1c1e);
  border: 1.5px solid #48484a;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.card-title-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-badge.basic {
  background: rgba(255, 0, 127, 0.15);
  color: var(--color-primary);
  border: 1px solid rgba(255, 0, 127, 0.3);
}

.card-badge.age {
  background: rgba(255, 159, 10, 0.15);
  color: #ff9f0a;
  border: 1px solid rgba(255, 159, 10, 0.3);
}

.card-badge.premium {
  background: rgba(142, 142, 147, 0.15);
  color: #e5e5ea;
  border: 1px solid rgba(142, 142, 147, 0.3);
}

.card-badge.metal {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.table-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.table-cta-btn:hover {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

/* Requirements & Delivery side panels */
.info-boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 968px) {
  .info-boxes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.info-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.info-box-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 0, 127, 0.04);
}

.info-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.info-box-header svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.info-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: none;
  -webkit-text-fill-color: initial;
  margin-bottom: 0;
  text-align: left;
}

.info-box-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.info-box-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
  position: relative;
  padding-left: 1.25rem;
}

.info-box-list li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}


/* ── Hub Navigation (Sprint 1) ── */
.hub-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}
.hub-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.625rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.hub-nav-link:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.06); }
.hub-nav-link[aria-current="page"] { color: var(--text-main); background: rgba(255, 255, 255, 0.09); }
.hub-nav-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.header-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.hamburger:hover { border-color: var(--border-color-hover); }
.hamburger:hover span { background: var(--text-main); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) {
  .hub-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 10, 19, 0.97);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    gap: 0.25rem;
    z-index: 99;
    -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  }
  .hub-nav.open { display: flex; }
  .hub-nav-link { padding: 0.625rem 0.875rem; font-size: 0.9375rem; }
  .hamburger { display: flex; }
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}


/* ==========================================================================
   MOBILE ADAPTATION & ACCESSIBILITY FIXES (AUDIT 2026)
   ========================================================================== */

/* === Safe Area & Viewport Integration === */
.header, header {
  padding-top: env(safe-area-inset-top, 0px) !important;
}

@media (max-width: 1024px) {
  .hub-nav {
    top: calc(64px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }
}

/* === Touch Targets Optimization === */
@media (max-width: 768px) {
  .hamburger {
    width: 44px !important;
    height: 44px !important;
    padding: 12px !important;
  }
  
  .lang-btn {
    padding: 8px 14px !important;
    font-size: 0.9rem !important;
  }
}

/* === iOS Zoom Prevention (Inputs >= 16px) === */
@media (max-width: 768px) {
  .calc-select,
  .input-group select,
  .input-group input,
  .invest-num-field {
    font-size: 16px !important;
  }
}

/* === Accessibility: Focus Visible compliance === */
.invest-num-field:focus-visible,
.calc-select:focus-visible,
.input-group select:focus-visible,
.input-group input:focus-visible {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: var(--focus-ring) !important;
}

.invest-num-field:focus:not(:focus-visible),
.calc-select:focus:not(:focus-visible),
.input-group select:focus:not(:focus-visible),
.input-group input:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
  border-color: var(--border-color);
}

/* === Reduced Motion Integration === */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: scroll !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}


/* ── Audit Utility Classes (Sprint 2) ── */
.section-shaded { background: rgba(0, 0, 0, 0.1); }
.border-t { border-top: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }
