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

:root {
  --bg-void:    #05070d;
  --bg-deep:    #080c16;
  --bg-surface: #0d1425;
  --bg-glass:   rgba(13, 20, 37, 0.6);
  --glass-border: rgba(0, 212, 255, 0.12);
  --glass-border-strong: rgba(0, 212, 255, 0.28);

  --cyan:    #00d4ff;
  --cyan-dim:#004a5c;
  --purple:  #8b5cf6;
  --purple-dim: #2d1b69;
  --mint:    #06d6a0;
  --gold:    #f59e0b;

  --text-primary: #e8f4f8;
  --text-secondary: #7a9ab0;
  --text-muted: #3d5a70;

  --font-display: 'Sen', sans-serif;
  --font-body: 'Sen', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --glow-cyan: 0 0 20px rgba(0,212,255,0.25), 0 0 60px rgba(0,212,255,0.08);
  --glow-purple: 0 0 20px rgba(139,92,246,0.3), 0 0 60px rgba(139,92,246,0.1);
  --glow-mint: 0 0 20px rgba(6,214,160,0.25);
}

html { scroll-behavior: smooth; }

nav.scrolled {
  border-bottom: 1px solid rgba(0,212,255,0.2);
}

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

/* ─── PAGE CONTENT: above all fixed bg layers ─── */
#page-content {
  position: relative;
  z-index: 10;
  isolation: isolate;
}

/* ─── STARFIELD CANVAS ─── */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ─── NIGHT SKY LAYERS ─── */
.sky-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Deep space base */
.sky-deep {
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, #0d1a3a 0%, #05070d 55%),
    radial-gradient(ellipse 60% 50% at 80% 20%, #07102a 0%, transparent 60%),
    #05070d;
}

/* Nebula 1 — blue/cyan cloud left */
.sky-nebula-1 {
  background: radial-gradient(ellipse 55% 40% at 15% 30%, rgba(0,100,180,0.07) 0%, transparent 70%);
  animation: nebula-drift-1 30s ease-in-out infinite alternate;
}

/* Nebula 2 — purple cloud right */
.sky-nebula-2 {
  background: radial-gradient(ellipse 65% 50% at 85% 20%, rgba(90,40,160,0.09) 0%, transparent 70%);
  animation: nebula-drift-2 40s ease-in-out infinite alternate;
}

/* Nebula 3 — teal center glow */
.sky-nebula-3 {
  background: radial-gradient(ellipse 45% 35% at 50% 55%, rgba(0,50,80,0.06) 0%, transparent 70%);
  animation: nebula-drift-1 25s ease-in-out infinite alternate-reverse;
}

/* Horizon glow — faint city light at bottom */
.sky-horizon {
  background: linear-gradient(to top,
    rgba(0, 30, 60, 0.35) 0%,
    rgba(0, 15, 35, 0.15) 8%,
    transparent 30%
  );
}

@keyframes nebula-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}
@keyframes nebula-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-20px, 30px) scale(0.96); }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 8px;
  background: rgba(0,212,255,0.05);
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
  z-index: 201;
}
.nav-toggle:hover { background: rgba(0,212,255,0.12); border-color: rgba(0,212,255,0.5); }
.nav-toggle .bar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}
.nav-toggle .bar span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-toggle.open .bar span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .bar span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── DRAWER OVERLAY ─── */
#drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 210;
  opacity: 0;
  transition: opacity 0.3s;
}
#drawer-overlay.visible { opacity: 1; }

/* ─── DRAWER ─── */
#nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: rgba(8, 12, 22, 0.98);
  backdrop-filter: blur(24px);
  border-left: 1px solid rgba(0,212,255,0.15);
  z-index: 220;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
#nav-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,212,255,0.08);
}
.drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 16px;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s;
}
.drawer-close:hover { background: rgba(0,212,255,0.1); }

.drawer-links {
  list-style: none;
  padding: 24px 0;
  flex: 1;
}
.drawer-links li a {
  display: flex;
  align-items: center;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
  border-left: 2px solid transparent;
}
.drawer-links li a:hover {
  color: var(--cyan);
  background: rgba(0,212,255,0.05);
  border-left-color: var(--cyan);
}
.drawer-cta-wrap {
  padding: 20px 28px 36px;
  border-top: 1px solid rgba(0,212,255,0.08);
}
.drawer-cta-wrap .btn-primary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links   { display: none; }
}


/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,212,255,0.08);
  transition: border-color 0.3s;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo span {
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
}

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan) !important;
  padding: 7px 20px;
  border-radius: 4px;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: rgba(0,212,255,0.1) !important;
  box-shadow: var(--glow-cyan) !important;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

#hero .hero-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 130px 28px 80px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Gradient orbs */
#hero::before {
  content: '';
  position: absolute;
  top: 10%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite alternate;
  z-index: 0;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 5%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.09) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-drift 15s ease-in-out infinite alternate-reverse;
  z-index: 0;
}

.hero-wrap > * { position: relative; z-index: 2; }

@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

.hero-left {
  padding: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  animation: fade-up 0.8s ease both;
}

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

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fade-up 0.8s 0.1s ease both;
}

.hero-title .line-1 { display: block; color: var(--text-primary); }
.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.hero-title .line-3 { display: block; color: var(--text-primary); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fade-up 0.8s 0.2s ease both;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  animation: fade-up 0.8s 0.25s ease both;
}

.tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.02);
  text-transform: uppercase;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.3s ease both;
}

.btn-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--bg-void);
  background: linear-gradient(135deg, var(--cyan), #0099bb);
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,212,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,212,255,0.45);
}

.btn-secondary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.07);
}

/* ─── HERO RIGHT: FLOATING CARDS ─── */
.hero-right {
  position: relative;
  height: 540px;
  animation: fade-up 0.8s 0.3s ease both;
}

.float-card {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), var(--glow-cyan);
}

.fc-main {
  top: 40px; right: 0;
  width: 300px;
  animation: float-1 6s ease-in-out infinite;
}
.fc-stat {
  top: 180px; right: 280px;
  width: 190px;
  animation: float-2 7s ease-in-out infinite;
}
.fc-tx {
  top: 320px; right: 40px;
  width: 270px;
  animation: float-3 8s ease-in-out infinite;
}
.fc-live {
  top: 100px; right: 220px;
  width: 180px;
  border-color: rgba(6,214,160,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), var(--glow-mint);
  animation: float-2 9s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.fc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.fc-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  line-height: 1;
}

.fc-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.fc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.fc-row:last-child { margin-bottom: 0; }

.fc-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 500;
}
.fc-pill.up {
  background: rgba(6,214,160,0.12);
  color: var(--mint);
  border: 1px solid rgba(6,214,160,0.25);
}
.fc-pill.ok {
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.2);
}

.fc-tx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fc-tx-row:last-child { border: none; padding-bottom: 0; }

.tx-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tx-icon.cryp { background: rgba(247,147,26,0.15); color: #f7931a; }
.tx-icon.bank { background: rgba(0,212,255,0.12); color: var(--cyan); }
.tx-icon.card { background: rgba(139,92,246,0.15); color: var(--purple); }

.tx-info { flex: 1; }
.tx-name { font-size: 0.72rem; color: var(--text-primary); font-weight: 500; }
.tx-time { font-size: 0.62rem; font-family: var(--font-mono); color: var(--text-muted); }
.tx-amount { font-family: var(--font-mono); font-size: 0.75rem; color: var(--mint); font-weight: 500; }

/* Live card */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--mint);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.live-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}
.live-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-primary);
  line-height: 1;
}
.live-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ─── SECTION TITLES ─── */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.section-eyebrow::after {
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-title .accent { color: var(--cyan); }
.section-title .accent-purple { color: var(--purple); }

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── STATS STRIP ─── */
#stats {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  z-index: 2;
}

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

.stat-item {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.stat-item:last-child { border: none; }

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ─── LIMITS ─── */
#limits {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.limit-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.limit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.5;
}

.limit-card:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow-cyan);
}

.lc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.lc-cyan { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); }
.lc-purple { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); }
.lc-mint { background: rgba(6,214,160,0.1); border: 1px solid rgba(6,214,160,0.2); }

.lc-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.lc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.lc-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lc-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
}
.lc-val.cyan-v { color: var(--cyan); }
.lc-val.purple-v { color: var(--purple); }
.lc-val.mint-v { color: var(--mint); }

.lc-dash { color: var(--text-muted); font-size: 0.8rem; }

.lc-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.limits-highlight {
  background: linear-gradient(135deg, rgba(0,212,255,0.07), rgba(139,92,246,0.07));
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lh-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lh-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.5));
}

.lh-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cyan);
}
.lh-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.lh-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--cyan);
  padding: 8px 20px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: var(--glow-cyan);
}

/* ─── INFRA ─── */
#infra {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

#infra::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.infra-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.infra-card:hover {
  border-color: rgba(139,92,246,0.35);
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

.ic-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.infra-card:hover .ic-logo { color: var(--text-primary); }

.ic-type {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.infra-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ─── ADVANTAGES ─── */
#advantages {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.adv-card:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-4px);
}

.adv-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,212,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.adv-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.adv-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.4));
}

.adv-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.adv-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.adv-meta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.adv-meta::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--cyan);
}

/* ─── REFERENCES ─── */
#references {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

#references::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.3;
}

.ref-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 64px;
  padding: 40px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.rc-item {
  text-align: center;
}

.rc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.rc-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.rc-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.ref-item {
  background: rgba(13, 20, 37, 0.5);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  cursor: default;
  text-transform: uppercase;
}

.ref-item:hover {
  background: rgba(0,212,255,0.07);
  border-color: rgba(0,212,255,0.25);
  color: var(--cyan);
  transform: scale(1.04);
  box-shadow: var(--glow-cyan);
  z-index: 1;
  position: relative;
}

.ref-more {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* ─── CTA FINAL ─── */
#cta-final {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

.cta-box {
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(139,92,246,0.08));
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.cta-contact {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.cta-contact a {
  color: var(--cyan);
  text-decoration: none;
  font-family: var(--font-mono);
}
.cta-contact a:hover { text-shadow: var(--glow-cyan); }

/* ─── TELEGRAM FLOAT BUTTON ─── */
#tg-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #229ED9, #1a7fb5);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(34,158,217,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
#tg-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(34,158,217,0.6);
}
#tg-float svg { flex-shrink: 0; }
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.footer-logo span { color: var(--cyan); }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }

.footer-legal {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ─── ANIMATIONS ─── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 1;
  transform: none;
}

/* Animate sections in with scroll-driven CSS where supported,
   fallback: just visible always */
@supports (animation-timeline: scroll()) {
  .reveal {
    animation: reveal-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }
  @keyframes reveal-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }
}
.no-js .reveal, .reveal.fallback {
  opacity: 1;
  transform: none;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  #hero .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .limits-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .limits-highlight { flex-direction: column; align-items: flex-start; }
  .ref-counter { gap: 24px; flex-wrap: wrap; }
  .cta-box { padding: 60px 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .ref-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .float-card {
    position: relative;
    top: auto !important;
    right: auto !important;
    width: 100%;
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .fc-main, .fc-stat, .fc-tx, .fc-live {
    animation: none;
  }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
  .section-title { font-size: 1.7rem; }
}