/* ==========================================================================
   PayHamyon — Asosiy Veb-Sayt Uslublari (style.css)
   Fintech Aesthetic: Deep Space Navy, Neon Cyan, Electric Indigo, Glassmorphism
   ========================================================================== */

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121f;
  --bg-card: rgba(15, 22, 38, 0.72);
  --bg-card-hover: rgba(22, 32, 54, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-input: rgba(10, 16, 28, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(99, 102, 241, 0.45);
  --border-cyan-glow: rgba(6, 182, 212, 0.45);
  
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --grad-cyan-blue: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --grad-purple-pink: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --grad-indigo-cyan: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 32px rgba(6, 182, 212, 0.25);
  --shadow-glow-indigo: 0 0 32px rgba(99, 102, 241, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Ambient Background Lights */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.16) 0%, rgba(6, 182, 212, 0.1) 45%, transparent 70%);
  filter: blur(80px);
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  position: absolute;
  top: 40%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
  filter: blur(90px);
  animation: floatOrb 16s ease-in-out infinite alternate;
}

.ambient-glow-3 {
  position: absolute;
  bottom: 10%;
  left: -200px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 65%);
  filter: blur(90px);
  animation: floatOrb 20s ease-in-out infinite alternate-reverse;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
}

@keyframes pulseGlow {
  0% { transform: translateX(-50%) scale(0.92); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

@keyframes floatOrb {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, -60px); }
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--transition-normal);
  padding: 16px 0;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 40px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(6, 182, 212, 0.45));
  flex-shrink: 0;
  display: block;
}

.mobile-close-btn,
.mobile-drawer-header,
.mobile-drawer-footer {
  display: none !important;
}

.brand-name span {
  background: linear-gradient(135deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-cyan-blue);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(6, 182, 212, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px rgba(6, 182, 212, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-telegram {
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px -2px rgba(42, 171, 238, 0.4);
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(42, 171, 238, 0.6);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover, .mobile-toggle:active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 170px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item .stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  letter-spacing: -0.02em;
}

.stat-item .stat-num span {
  color: var(--accent-cyan);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   3D Cards Showcase (HUMO & HUMO Visa)
   ========================================================================== */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.cards-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base Fintech Card */
.fintech-card {
  position: absolute;
  width: 360px;
  height: 225px;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
}

/* Card 1: Standard HUMO (9860) */
.card-humo {
  background: linear-gradient(135deg, #093354 0%, #0d1e3a 45%, #05162b 100%);
  border: 1px solid rgba(34, 211, 238, 0.3);
  top: 40px;
  left: 10px;
  z-index: 2;
  transform: rotate(-7deg) translateY(0);
}

.card-humo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

/* Card 2: HUMO Visa Platinum (4067) */
.card-visa {
  background: linear-gradient(135deg, #271249 0%, #150d2e 50%, #0c081d 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  bottom: 50px;
  right: 10px;
  z-index: 3;
  transform: rotate(6deg) translateY(20px);
}

.card-visa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

/* Hover Tilt Effect triggers */
.cards-stage:hover .card-humo {
  transform: rotate(-12deg) translateY(-25px) scale(1.02);
  box-shadow: 0 35px 70px -10px rgba(6, 182, 212, 0.3), 0 0 1px 1px rgba(255, 255, 255, 0.3) inset;
}

.cards-stage:hover .card-visa {
  transform: rotate(8deg) translateY(35px) scale(1.04);
  box-shadow: 0 40px 80px -10px rgba(168, 85, 247, 0.4), 0 0 1px 1px rgba(255, 255, 255, 0.3) inset;
}

/* Inside the Card */
.card-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chip-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-chip {
  width: 44px;
  height: 32px;
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 50%, #cbd5e1 100%);
  border-radius: 6px;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.card-chip::after {
  content: '';
  position: absolute;
  inset: 5px 6px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}

.contactless-icon {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.7);
}

.card-logo-badge {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.humo-badge {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.visa-badge {
  color: #facc15;
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}

.card-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin: 12px 0 6px;
}

.card-footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.card-holder-info {
  display: flex;
  flex-direction: column;
}

.card-holder-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.card-holder-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.card-expiry {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* Floating Badges around Cards */
.floating-badge {
  position: absolute;
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  z-index: 10;
  animation: floatBadge 6s ease-in-out infinite alternate;
}

.floating-badge.badge-top {
  top: 0;
  right: 0;
  border-color: rgba(6, 182, 212, 0.35);
}

.floating-badge.badge-bottom {
  bottom: 0;
  left: -10px;
  border-color: rgba(16, 185, 129, 0.35);
  animation-delay: -3s;
}

.floating-badge .icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge.badge-top .icon-wrap {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.floating-badge.badge-bottom .icon-wrap {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Interactive Live Demo Simulator (Calculator)
   ========================================================================== */
.demo-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(13, 20, 36, 0.8) 0%, var(--bg-primary) 70%);
}

.simulator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg), 0 0 40px -10px rgba(99, 102, 241, 0.15);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.sim-controls {
  padding: 40px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-header {
  margin-bottom: 28px;
}

.sim-header h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.sim-header p {
  font-size: 0.9rem;
}

.input-group {
  margin-bottom: 24px;
}

.input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-addon {
  position: absolute;
  right: 16px;
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

.sim-input {
  width: 100%;
  padding: 14px 70px 14px 18px;
  background: var(--bg-glass-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  transition: all var(--transition-fast);
}

.sim-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

.presets-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.preset-chip {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-chip:hover, .preset-chip.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.sim-meta-list {
  background: rgba(10, 16, 28, 0.6);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--border-subtle);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.meta-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-row .val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #ffffff;
}

.meta-row .val.highlight {
  color: var(--accent-cyan);
  font-weight: 700;
}

.sim-actions {
  display: flex;
  gap: 12px;
}

/* Simulator Screen (Right Side) */
.sim-screen {
  padding: 40px;
  background: #090e1a;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sim-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.flow-step {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: all var(--transition-normal);
  opacity: 0.4;
}

.flow-step.active {
  opacity: 1;
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.flow-step.done {
  opacity: 1;
  border-color: rgba(16, 185, 129, 0.3);
}

.step-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.flow-step.active .step-label {
  color: var(--accent-cyan);
}

.flow-step.done .step-label {
  color: var(--accent-emerald);
}

.step-content {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Telegram SMS Card simulation */
.telegram-bubble {
  background: #17212b;
  border-radius: 12px 12px 12px 2px;
  padding: 12px 16px;
  font-size: 0.85rem;
  border: 1px solid rgba(42, 171, 238, 0.3);
  margin-top: 8px;
}

.tg-author {
  color: #2aabee;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.tg-body {
  color: #e2e8f0;
  line-height: 1.5;
}

/* Code Snippet inside flow */
.code-inline {
  background: #050811;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #38bdf8;
  margin-top: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Bento Grid Section (Features)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.15);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.bento-card.col-span-3 {
  grid-column: span 3;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.bento-icon.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.bento-icon.purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.bento-icon.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.bento-icon.indigo {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-indigo);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.bento-feature-visual {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mini visual bars inside bento */
.speed-bar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 6px;
}

.progress-fill {
  height: 100%;
  background: var(--grad-cyan-blue);
  border-radius: var(--radius-full);
  width: 98%;
}

/* ==========================================================================
   How It Works (Steps Flow)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 3rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 28px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item.active {
  border-color: var(--border-cyan-glow);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.1);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 28px;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(99, 102, 241, 0.2) 50%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.2);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
  filter: blur(50px);
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-desc {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
  color: #cbd5e1;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
  background: #04060b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .simulator-box {
    grid-template-columns: 1fr;
  }
  .sim-controls {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.col-span-2, .bento-card.col-span-3 {
    grid-column: span 1;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 130px 0 60px;
  }
  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
    letter-spacing: -0.03em;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 12px;
    padding-top: 24px;
  }
  .stat-item .stat-num {
    font-size: 1.5rem;
  }
  .stat-item .stat-label {
    font-size: 0.75rem;
  }

  .nav-links, .status-indicator {
    display: none;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-telegram-btn {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .nav-telegram-btn .tg-btn-text {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
  }

  /* Full Screen Mobile Drawer */
  .nav-links.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 24px 20px 40px;
    gap: 0;
    z-index: 1000;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
    border-bottom: none;
  }
  .nav-links.mobile-active .mobile-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    width: 100%;
  }
  .nav-links.mobile-active .mobile-drawer-footer {
    display: flex !important;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }
  .nav-links.mobile-active .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 14px 12px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .mobile-close-btn {
    display: flex !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
  }

  /* 3D Fintech cards responsive scaling */
  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 24px;
    overflow: visible;
  }
  .cards-stage {
    width: 100%;
    max-width: 320px;
    height: 250px;
    position: relative;
    margin: 0 auto;
  }
  .fintech-card {
    width: min(280px, 86vw);
    height: 170px;
    padding: 16px;
    border-radius: 16px;
    touch-action: pan-y;
  }
  .card-humo {
    top: 0;
    left: calc(50% - 145px);
    transform: rotate(-4deg);
  }
  .card-visa {
    top: 50px;
    left: calc(50% - 125px);
    transform: rotate(4deg);
  }
  .card-number {
    font-size: clamp(0.9rem, 4.2vw, 1.1rem);
    letter-spacing: 0.1em;
    margin: 8px 0;
  }
  .card-chip {
    width: 34px;
    height: 24px;
  }
  .card-logo-badge {
    font-size: 1rem;
  }
  .floating-badge {
    display: none;
  }

  /* Simulator */
  .sim-controls, .sim-screen {
    padding: 24px 20px;
  }
  .sim-input {
    font-size: 1.15rem;
    padding: 12px 60px 12px 14px;
  }
  .preset-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .code-inline {
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 0.75rem;
  }

  /* Bento Grid */
  .bento-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }
  .bento-title {
    font-size: 1.25rem;
  }
  .bento-desc {
    font-size: 0.9rem;
  }

  /* Steps & FAQ */
  .step-card {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }
  .step-number {
    font-size: 2.2rem;
    top: 16px;
    right: 20px;
  }
  .faq-question {
    padding: 18px 20px;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 20px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 44px 20px;
    border-radius: var(--radius-lg);
  }
  .cta-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
  .cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .cta-btns .btn {
    width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .cards-stage {
    max-width: 275px;
    height: 275px;
  }
  .fintech-card {
    width: 255px;
    height: 160px;
    padding: 14px;
  }
  .card-number {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
  }
  .card-holder-name, .card-expiry {
    font-size: 0.75rem;
  }
  .sim-controls, .sim-screen {
    padding: 20px 14px;
  }
  .presets-row {
    gap: 6px;
  }
  .preset-chip {
    padding: 5px 10px;
    font-size: 0.78rem;
    flex: 1 1 auto;
    text-align: center;
  }
  .bento-card {
    padding: 20px 14px;
  }
  .step-card {
    padding: 24px 16px;
  }
  .faq-question {
    padding: 16px 14px;
  }
  .faq-answer {
    padding: 0 14px;
  }
  .cta-banner {
    padding: 36px 16px;
  }
  .cta-title {
    font-size: 1.75rem;
  }
}
