/* ==========================================================================
   POOLAH ECOSYSTEM - ULTIMATE DARK GREEN & BLACK DESIGN SYSTEM
   Omnichain Uniswap v4 Hook, LayerZero OFT, ERC-4337 Gasless & Viral Loop UI
   ========================================================================== */

:root {
  --bg-primary: #030704;
  --bg-secondary: #07120a;
  --bg-card: rgba(8, 20, 12, 0.72);
  --bg-card-hover: rgba(12, 32, 18, 0.9);
  --border-glow: rgba(16, 185, 129, 0.22);
  --border-glow-active: rgba(0, 255, 135, 0.6);
  
  --accent-green: #00ff87;
  --accent-mint: #10b981;
  --accent-dark-green: #059669;
  --accent-cyan: #00e5ff;
  --accent-gold: #ffb800;
  
  --text-main: #f0fdf4;
  --text-muted: #9ca3af;
  --text-highlight: #6ee7b7;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --shadow-neon: 0 0 25px rgba(0, 255, 135, 0.15);
  --shadow-neon-strong: 0 0 40px rgba(0, 255, 135, 0.35);
  --shadow-cyan: 0 0 25px rgba(0, 229, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 255, 135, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 45%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(0, 229, 255, 0.04) 0%, transparent 50%);
}

img {
  max-width: 100%;
  height: auto;
}

body.nav-drawer-open {
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
  border: 1px solid var(--border-glow);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-mint);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Typography Utilities */
.mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-green) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green {
  color: var(--accent-green);
}

/* Section Common Styling */
.section {
  padding: 96px 0;
  position: relative;
}

[id] {
  scroll-margin-top: 160px;
}
section[id] {
  scroll-margin-top: 160px;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

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

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION BAR (DESKTOP & BASE)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: rgba(3, 7, 4, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: rgba(2, 5, 3, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 255, 135, 0.1);
  border-bottom-color: rgba(0, 255, 135, 0.35);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  min-height: 80px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 8px 20px;
  gap: 12px;
}

.nav-glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 135, 0.5) 50%, transparent 100%);
  pointer-events: none;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
  z-index: 1001;
  transition: opacity 0.2s ease;
}
.nav-brand:hover {
  opacity: 0.9;
}

.logo-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-mint));
  box-shadow: 0 0 14px rgba(0, 255, 135, 0.35);
  flex-shrink: 0;
}

.logo-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: -0.5px;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.6rem;
  color: var(--accent-mint);
  letter-spacing: 0.8px;
  opacity: 0.85;
}

/* Desktop Nav Content */
.nav-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

/* Two-row links wrapper */
.nav-rows-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
  align-items: stretch;
  justify-content: center;
}

.nav-mobile-header {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  gap: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links li {
  display: flex;
  flex: 1;
  justify-content: center;
}

.nav-links .nav-link {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 5px 6px;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
  color: var(--accent-green);
  background: rgba(0, 255, 135, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 16px;
  white-space: nowrap;
}
.btn-nav-cta .btn-icon {
  font-size: 0.8rem;
  line-height: 1;
}

/* Hamburger Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  z-index: 1250;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(0, 255, 135, 0.16);
  border-color: var(--accent-green);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.25);
}

.nav-toggle.active {
  background: rgba(0, 255, 135, 0.18);
  border-color: var(--accent-green);
}

.hamburger-bar {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* System Status Bar Under Navbar */
.under-navbar-status-bar {
  position: fixed;
  top: 78px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(4, 12, 6, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 0;
}

.status-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 20px;
  font-size: 0.72rem;
  color: #facc15;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-ticker-text {
  font-size: 0.72rem;
  color: var(--accent-green);
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}

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

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

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

@keyframes pulse-yellow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(250, 204, 21, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

/* ==========================================================================
   BUTTONS & UI CONTROLS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-mint));
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-neon);
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-strong);
  filter: brightness(1.08);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(8, 20, 12, 0.85);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  font-size: 0.92rem;
}

.btn-secondary:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(0, 255, 135, 0.08);
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.15);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 155px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--accent-green);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 620px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* Contract Pill Box */
.contract-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-glow);
  padding: 12px 18px;
  border-radius: 12px;
  max-width: 580px;
}

.contract-info {
  display: flex;
  flex-direction: column;
}

.contract-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contract-address {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--accent-green);
}

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

.hero-visual img {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 0 35px rgba(0, 255, 135, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ==========================================================================
   STATS BANNER
   ========================================================================== */
.stats-banner {
  padding: 36px 0;
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
  background: rgba(7, 18, 10, 0.6);
  margin-bottom: 80px;
}

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

.stat-card {
  padding: 16px 12px;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-green);
  font-family: var(--font-mono);
  margin-bottom: 4px;
  line-height: 1.1;
}

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

/* ==========================================================================
   CARDS & GRIDS (INNOVATIONS, TOKENOMICS, ARCHITECTURE)
   ========================================================================== */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow-active);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-neon);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-green);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  line-height: 1.55;
  flex: 1;
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  color: var(--accent-green);
  width: fit-content;
}

/* Innovation Spotlight Specific */
.innovation-card {
  position: relative;
  border: 1px solid rgba(0, 255, 135, 0.25);
  background: linear-gradient(180deg, rgba(8, 25, 14, 0.7) 0%, rgba(4, 12, 7, 0.9) 100%);
}

.innovation-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: inline-block;
}

.innovation-highlight {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0, 255, 135, 0.05);
  border-left: 3px solid var(--accent-green);
  font-size: 0.85rem;
  color: #e0f2fe;
  line-height: 1.5;
}

/* ==========================================================================
   OMNICHAIN VERIFIER & MULTI-CHAIN MATRIX
   ========================================================================== */
.verifier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 36px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Buy & Sell Tabs */
.buy-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.buy-tab {
  flex: 1;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 16px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.buy-tab.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(0, 255, 135, 0.1);
}

@media (max-width: 600px) {
  .buy-tabs {
    flex-direction: column;
  }
}

/* KOL Claim Portal */
.kol-claim-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Buy $POOLAH Portal */
.buy-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.buy-connect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.buy-status-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 16px;
  flex: 1;
  min-width: 200px;
}

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

.buy-input-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.buy-input-group {
  background: rgba(10, 26, 16, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 14px 16px;
}

.buy-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.buy-input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  width: 100%;
  font-family: var(--font-mono);
}

.buy-subtext {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.buy-arrow {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  text-align: center;
}

.buy-options-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.buy-slippage-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.buy-slippage-group {
  display: flex;
  gap: 8px;
}

.buy-slippage-btn {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.buy-slippage-btn.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(0, 255, 135, 0.1);
}

.buy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.buy-info {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .buy-input-row {
    grid-template-columns: 1fr;
  }
  .buy-arrow {
    display: none;
  }
  .buy-connect-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.kol-connect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.kol-status-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 16px;
  flex: 1;
  min-width: 200px;
}

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

.kol-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.kol-details-grid .detail-item {
  background: rgba(10, 26, 16, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 14px 16px;
}

.kol-claim-action {
  margin-bottom: 20px;
}

.kol-claim-info {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .kol-details-grid {
    grid-template-columns: 1fr;
  }
  .kol-connect-row {
    flex-direction: column;
    align-items: stretch;
  }
}

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

.chain-input-card {
  background: rgba(10, 26, 16, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.chain-input-card:focus-within {
  border-color: var(--accent-green);
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.2);
}

.chain-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 10px;
}

.base-badge    { background: rgba(0, 82, 255, 0.2);   color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.4); }
.arb-badge     { background: rgba(40, 160, 240, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.bnb-badge     { background: rgba(240, 185, 11, 0.2); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.4); }
.mainnet-badge { background: rgba(153, 69, 255, 0.2); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.4); }
.solana-badge  { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.4); }

.chain-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.chain-subtext {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.chain-input {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
}
.chain-input:focus {
  outline: none;
  border-color: var(--accent-green);
}

/* Loyalty Tier Selector */
.loyalty-tier-selector-box {
  background: rgba(8, 20, 12, 0.5);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.tier-selector-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tier-button-group {
  display: flex;
  gap: 12px;
}

.loyalty-btn {
  flex: 1;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.82rem;
}
.loyalty-btn:hover {
  border-color: var(--accent-green);
}
.loyalty-btn.active {
  background: rgba(0, 255, 135, 0.12);
  border-color: var(--accent-green);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.2);
}

/* VIP Result Box */
.vip-result-box {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 24px;
}

.result-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 10px;
}

.result-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-green);
  padding: 4px 12px;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
}

.result-mode {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.result-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.detail-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   GASLESS MICRO-TIPS & VIRAL LOOP SECTION
   ========================================================================== */
.tip-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.verifier-form-group {
  margin-bottom: 20px;
}

.verifier-label {
  display: block;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.input-action-row {
  display: flex;
  gap: 12px;
}

.verifier-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--accent-green);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
  width: 100%;
}
.verifier-input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.25);
}

.paymaster-sponsor-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.3);
  font-size: 0.85rem;
  margin-top: 16px;
}

/* Telegram Chat Preview Container */
.telegram-chat-container {
  background: #0e1621;
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.tg-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #17212b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #000;
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
  flex-shrink: 0;
}

.tg-channel-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tg-channel-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.tg-status-text {
  font-size: 0.7rem;
  color: var(--accent-green);
}

.tg-verified-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 9px;
  border-radius: 12px;
  white-space: nowrap;
}

.tg-msg-body {
  padding: 20px 18px;
  background: #0e1621;
  min-height: 200px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #e3e3e3;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ==========================================================================
   TELEGRAM RADAR BOT SECTION
   ========================================================================== */
.telegram-radar-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  align-items: start;
}

.bot-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bot-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.25s ease;
}
.bot-feature-item:hover {
  border-color: var(--accent-green);
  background: rgba(0, 255, 135, 0.04);
}

.feature-icon {
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px;
  background: rgba(0, 255, 135, 0.1);
  border-radius: 8px;
  border: 1px solid var(--border-glow);
  flex-shrink: 0;
}

.alert-switcher-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #131c27;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
}

.tg-switch-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 6px 11px;
  border-radius: 14px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.tg-switch-btn:hover,
.tg-switch-btn.active {
  background: rgba(0, 255, 135, 0.12);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* ==========================================================================
   ROADMAP & PIPELINE STEPPER
   ========================================================================== */
.phase-pipeline-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
}

.pipeline-node {
  flex: 1;
  min-width: 190px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pipeline-node:hover,
.pipeline-node.active {
  border-color: var(--accent-green);
  background: rgba(0, 255, 135, 0.08);
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
  transform: translateY(-2px);
}

.node-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: 1px;
}

.node-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.pipeline-connector {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-green);
  opacity: 0.7;
  user-select: none;
  flex-shrink: 0;
}

.phase-details-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow-active);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-neon);
}

.phase-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-glow);
  flex-wrap: wrap;
  gap: 10px;
}

.phase-detail-title {
  font-size: 1.3rem;
  color: var(--text-main);
  margin: 0;
}

.phase-status {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(0, 255, 135, 0.15);
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.phase-detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.phase-detail-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.phase-detail-item:hover {
  border-color: var(--border-glow);
  background: rgba(0, 255, 135, 0.03);
}

/* ==========================================================================
   VERIFICATION GATEWAY PROTOCOL
   ========================================================================== */
.gateway-tier-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.tier-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.tier-btn:hover,
.tier-btn.active {
  border-color: var(--accent-green);
  background: rgba(0, 255, 135, 0.08);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.15);
}

.tier-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.tier-fee {
  font-size: 0.85rem;
  color: var(--accent-green);
}

.security-guard-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

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

.security-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ==========================================================================
   SIMULATOR & MIRRORING
   ========================================================================== */
.simulator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 36px;
  max-width: 960px;
  margin: 0 auto;
}

.sim-slider-group {
  margin-bottom: 30px;
}

.sim-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 8px;
}

.sim-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #0d2616;
  outline: none;
  accent-color: var(--accent-green);
  cursor: pointer;
}

.mirroring-toggle-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.mirroring-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #fff;
  cursor: pointer;
}

.mirroring-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.2);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  white-space: nowrap;
}

.sim-results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sim-result-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-glow);
  padding: 18px 12px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sim-result-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-top: 6px;
}

/* ==========================================================================
   SAFETY NET & CIRCUIT BREAKER
   ========================================================================== */
.widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 28px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  margin-bottom: 20px;
}

.status-indicator.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-glow);
  background: #010402;
  padding: 70px 0 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 50px;
}

.footer-col p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.5;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (LAPTOP, TABLET, MOBILE, SMALL SCREEN)
   ========================================================================== */

/* ── LARGE SCREENS & LAPTOPS (≤1200px) ── */
@media (max-width: 1200px) {
  .nav-links .nav-link {
    font-size: 0.72rem;
    padding: 5px 6px;
  }
  .nav-container {
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
}

/* ── TABLET / DRAWER NAVIGATION (≤1024px) ── */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  /* Slide-in Mobile & Tablet Navigation Drawer */
  .nav-content {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100dvh;
    background: #040d06;
    border-left: 1px solid var(--border-glow);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 24px 20px 36px;
    gap: 0;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0s linear 0.35s;
    overflow-y: auto;
    z-index: 1300;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
  }

  .nav-content.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0s linear 0s;
  }

  .nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 135, 0.15);
  }

  .nav-close-btn {
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.25);
    color: var(--text-main);
    font-size: 1.6rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }
  .nav-close-btn:hover {
    background: rgba(0, 255, 135, 0.2);
    color: var(--accent-green);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 135, 0.12);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links .nav-link {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-muted);
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    color: var(--accent-green);
    background: rgba(0, 255, 135, 0.08);
    border-color: rgba(0, 255, 135, 0.2);
  }

  .nav-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav-actions > * {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  /* Grid adaptations at tablet */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 20px;
  }
  .hero-visual img {
    max-width: 280px;
  }
  .contract-box {
    margin: 0 auto;
  }
  .cards-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .cards-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .multichain-matrix-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tip-demo-grid {
    grid-template-columns: 1fr;
  }
  .telegram-radar-grid {
    grid-template-columns: 1fr;
  }
  .sim-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .result-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── STANDARD MOBILE (≤768px) ── */
@media (max-width: 768px) {
  /* Navbar & Status Bar heights */
  .nav-container {
    height: 60px;
    padding: 0 16px;
  }
  .logo-wrapper {
    width: 34px;
    height: 34px;
  }
  .brand-title {
    font-size: 1.1rem;
  }

  .under-navbar-status-bar {
    top: 78px;
    padding: 5px 0;
  }
  .status-bar-content {
    padding: 0 16px;
  }
  .status-ticker-text {
    display: none;
  }
  .nav-status-badge {
    font-size: 0.68rem;
    padding: 4px 9px;
  }

  /* General Layout & Section Spacing */
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 64px 0;
  }
  .section-title {
    font-size: 1.95rem;
    letter-spacing: -0.5px;
  }
  .section-desc {
    font-size: 0.92rem;
  }
  .section-header {
    margin-bottom: 36px;
  }

  /* Hero Mobile */
  .hero {
    padding: 125px 0 50px;
  }
  .hero-title {
    font-size: 2.15rem;
    letter-spacing: -0.8px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    text-align: left;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  .contract-box {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    max-width: 100%;
    padding: 12px 14px;
  }
  .contract-address {
    font-size: 0.72rem;
    word-break: break-all;
  }

  /* Stats Grid Mobile */
  .stats-banner {
    padding: 24px 0;
    margin-bottom: 50px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-value {
    font-size: 1.7rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }

  /* Cards Grids Mobile */
  .cards-grid-3,
  .cards-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    padding: 22px 18px;
  }

  /* Omnichain Verifier Mobile */
  .verifier-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .multichain-matrix-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .chain-input-card {
    padding: 12px;
  }
  .chain-input {
    font-size: 0.95rem;
    padding: 8px 10px;
  }
  .tier-button-group {
    flex-direction: column;
    gap: 8px;
  }
  .loyalty-btn {
    padding: 10px;
  }
  .result-details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Form and Inputs Mobile */
  .input-action-row {
    flex-direction: column;
    gap: 10px;
  }
  .input-action-row .btn-primary,
  .input-action-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Gateway Mobile */
  .gateway-tier-switcher {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .security-guard-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .security-guard-banner .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Simulator Mobile */
  .simulator-box {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .sim-results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .sim-result-card {
    padding: 14px 10px;
  }
  .sim-result-val {
    font-size: 1.3rem;
  }
  .mirroring-toggle-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  /* Roadmap Mobile Pipeline */
  .pipeline-banner {
    padding: 16px;
  }
  .pipeline-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .pipeline-node {
    width: 100%;
    min-width: unset;
  }
  .pipeline-connector {
    transform: rotate(90deg);
    align-self: center;
    margin: 2px 0;
  }
  .phase-details-card {
    padding: 20px 16px;
  }
  .phase-detail-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Telegram Bot Mobile */
  .telegram-chat-container {
    border-radius: 14px;
  }
  .tg-msg-body {
    padding: 16px 14px;
    font-size: 0.82rem;
  }

  /* Footer Mobile */
  .footer {
    padding: 50px 0 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── SMALL PHONE SCREENS (≤480px) ── */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-value {
    font-size: 1.5rem;
  }
  .multichain-matrix-grid {
    grid-template-columns: 1fr;
  }
  .result-details-grid {
    grid-template-columns: 1fr;
  }
  .sim-results-grid {
    grid-template-columns: 1fr;
  }
  .paymaster-sponsor-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .tg-switch-btn {
    font-size: 0.68rem;
    padding: 5px 8px;
  }
  .container {
    padding: 0 14px;
  }
  .card {
    padding: 18px 14px;
  }
  .verifier-card,
  .widget-box,
  .simulator-box,
  .phase-details-card {
    padding: 18px 14px;
  }
  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 10px;
    line-height: 1.4;
  }
  .pipeline-flow {
    gap: 8px;
  }
  .pipeline-node {
    padding: 12px 10px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .footer-col p {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   WHY POOLAH? NARRATIVE SECTION
   ========================================================================== */
#why-poolah {
  padding: 80px 0;
  background: var(--bg-secondary, #07120a);
  border-top: 1px solid rgba(16, 185, 129, 0.12);
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
  position: relative;
}

#why-poolah .max-w-6xl {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#why-poolah .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  #why-poolah .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#why-poolah .bg-dark-bg {
  background-color: var(--bg-secondary, #07120a);
}

#why-poolah .border-emerald-500\/10 {
  border-color: rgba(16, 185, 129, 0.1);
}

#why-poolah .text-emerald-400 {
  color: #34d399;
}

#why-poolah .bg-emerald-500 {
  background-color: #10b981;
}

#why-poolah .bg-gray-900\/60 {
  background: rgba(10, 24, 15, 0.75);
}

#why-poolah .border-red-500\/20 {
  border: 1px solid rgba(239, 68, 68, 0.25);
}

#why-poolah .border-red-500\/20:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.15);
  transform: translateY(-2px);
}

#why-poolah .border-emerald-500\/30 {
  border: 1px solid rgba(16, 185, 129, 0.35);
}

#why-poolah .border-emerald-500\/30:hover {
  border-color: rgba(0, 255, 135, 0.65);
  box-shadow: 0 0 30px rgba(0, 255, 135, 0.2);
  transform: translateY(-2px);
}

#why-poolah .rounded-2xl {
  border-radius: 1rem;
}

#why-poolah .p-8 {
  padding: 2rem;
}

#why-poolah .backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#why-poolah .transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

#why-poolah .duration-300 {
  transition-duration: 300ms;
}

#why-poolah .flex {
  display: flex;
}

#why-poolah .items-center {
  align-items: center;
}

#why-poolah .items-start {
  align-items: flex-start;
}

#why-poolah .space-x-3 > :not([hidden]) ~ :not([hidden]) {
  margin-left: 0.75rem;
}

#why-poolah .space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem;
}

#why-poolah .p-3 {
  padding: 0.75rem;
}

#why-poolah .bg-red-500\/10 {
  background-color: rgba(239, 68, 68, 0.12);
}

#why-poolah .text-red-400 {
  color: #f87171;
}

#why-poolah .bg-emerald-500\/10 {
  background-color: rgba(16, 185, 129, 0.12);
}

#why-poolah .rounded-xl {
  border-radius: 0.75rem;
}

#why-poolah .text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

#why-poolah .text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

#why-poolah .text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

#why-poolah .font-extrabold {
  font-weight: 800;
}

#why-poolah .font-bold {
  font-weight: 700;
}

#why-poolah .font-semibold {
  font-weight: 600;
}

#why-poolah .font-medium {
  font-weight: 500;
}

#why-poolah .text-white {
  color: #ffffff;
}

#why-poolah .text-gray-200 {
  color: #e5e7eb;
}

#why-poolah .text-gray-300 {
  color: #d1d5db;
}

#why-poolah .text-emerald-400\/90 {
  color: rgba(52, 211, 153, 0.9);
}

#why-poolah .w-16 {
  width: 4rem;
}

#why-poolah .h-1 {
  height: 0.25rem;
}

#why-poolah .rounded-full {
  border-radius: 9999px;
}

#why-poolah .mb-6 {
  margin-bottom: 1.5rem;
}

#why-poolah .mb-12 {
  margin-bottom: 3rem;
}

#why-poolah .mt-1 {
  margin-top: 0.25rem;
}

#why-poolah .mt-4 {
  margin-top: 1rem;
}

#why-poolah .mt-8 {
  margin-top: 2rem;
}

#why-poolah .pt-4 {
  padding-top: 1rem;
}

#why-poolah .mx-auto {
  margin-left: auto;
  margin-right: auto;
}

#why-poolah .text-center {
  text-align: center;
}

#why-poolah .tracking-tight {
  letter-spacing: -0.025em;
}

#why-poolah .leading-relaxed {
  line-height: 1.625;
}

#why-poolah .italic {
  font-style: italic;
}

#why-poolah .border-t {
  border-top-width: 1px;
}

#why-poolah .border-gray-800 {
  border-color: rgba(31, 41, 55, 0.8);
}

#why-poolah .relative {
  position: relative;
}

#why-poolah .overflow-hidden {
  overflow: hidden;
}

#why-poolah .absolute {
  position: absolute;
}

#why-poolah .-top-10 {
  top: -2.5rem;
}

#why-poolah .-right-10 {
  right: -2.5rem;
}

#why-poolah .w-32 {
  width: 8rem;
}

#why-poolah .h-32 {
  height: 8rem;
}

#why-poolah .blur-2xl {
  filter: blur(40px);
  -webkit-filter: blur(40px);
}

/* ==========================================================================
   NAV TRUST BADGE — Whitepaper
   ========================================================================== */
.nav-badge-whitepaper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
  cursor: pointer;
  background: linear-gradient(135deg, #00ff87 0%, #10b981 100%);
  color: #030704;
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.22);
  width: 100%;
}
.nav-badge-whitepaper:hover {
  background: linear-gradient(135deg, #34ffaa 0%, #00ff87 100%);
  box-shadow: 0 0 22px rgba(0, 255, 135, 0.45);
  transform: translateY(-1px);
}

.nav-badge-icon {
  font-size: 0.82rem;
  line-height: 1;
}

/* Mobile Whitepaper Button in Nav Header */
.nav-whitepaper-btn-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
  background: linear-gradient(135deg, #00ff87 0%, #10b981 100%);
  color: #030704;
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.22);
}

.nav-whitepaper-btn-mobile:hover {
  background: linear-gradient(135deg, #34ffaa 0%, #00ff87 100%);
  box-shadow: 0 0 22px rgba(0, 255, 135, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .nav-whitepaper-btn-mobile {
    display: inline-flex;
  }
}

/* Row divider between the two nav rows */
.nav-rows-wrap .nav-links + .nav-links {
  border-top: 1px solid rgba(16, 185, 129, 0.12);
  padding-top: 3px;
}

/* Separator between rows-wrap and action buttons */
.nav-content > .nav-actions {
  border-left: 1px solid rgba(16, 185, 129, 0.18);
  padding-left: 12px;
  margin-left: 4px;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   CONTRACTS & SECURITY VERIFICATION SECTION
   ========================================================================== */
.contracts-section {
  background: rgba(4, 10, 6, 0.5);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

/* --- Registry panel --- */
.contracts-registry {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
}

.contracts-registry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(0, 255, 135, 0.04);
  border-bottom: 1px solid var(--border-glow);
}

.contracts-registry-label {
  font-family: var(--font-mono);
  font-size: 0.83rem;
  color: var(--accent-green);
  letter-spacing: 0.04em;
}

.contracts-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.3);
  color: var(--accent-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Table --- */
.contracts-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.contracts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.contracts-table thead th {
  padding: 13px 20px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-glow);
  white-space: nowrap;
}

.contracts-table tbody tr {
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
  transition: background 0.18s ease;
}
.contracts-table tbody tr:last-child {
  border-bottom: none;
}
.contracts-table tbody tr:hover {
  background: rgba(0, 255, 135, 0.04);
}

.contracts-table td {
  padding: 14px 20px;
  vertical-align: middle;
}

.contract-name {
  font-family: var(--font-mono);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.contract-role {
  color: var(--text-muted);
  font-size: 0.83rem;
  white-space: nowrap;
}

.contract-addr {
  font-size: 0.77rem;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contract-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: 8px;
  background: rgba(0, 255, 135, 0.06);
  transition: all 0.18s ease;
  white-space: nowrap;
}
.contract-link:hover {
  background: rgba(0, 255, 135, 0.15);
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

/* Row accent left-borders */
.contracts-row-token td:first-child { border-left: 3px solid var(--accent-green); }
.contracts-row-hook td:first-child  { border-left: 3px solid var(--accent-cyan); }
.contracts-row-safety td:first-child { border-left: 3px solid #f87171; }
.contracts-row-yield td:first-child  { border-left: 3px solid var(--accent-gold); }
.contracts-row-gateway td:first-child { border-left: 3px solid #a78bfa; }

/* --- Security attribute cards grid --- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

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

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

.security-attr-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.security-attr-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,255,135,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.security-attr-card:hover {
  border-color: rgba(0, 255, 135, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 135, 0.1);
}
.security-attr-card:hover::before {
  opacity: 1;
}

.security-attr-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
  display: block;
}

.security-attr-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.security-attr-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.security-attr-desc code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}

.security-attr-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--accent-green);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.security-attr-link:hover {
  opacity: 0.78;
}

/* --- Supply allocation table --- */
.supply-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  overflow: hidden;
}

.supply-table {
  margin: 0;
}

.supply-table td,
.supply-table th {
  padding: 14px 22px;
}

.supply-table td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.supply-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.supply-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.supply-dot-lp       { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.6); }
.supply-dot-safety   { background: #00e5ff; box-shadow: 0 0 6px rgba(0,229,255,0.6); }
.supply-dot-yield    { background: #ffb800; box-shadow: 0 0 6px rgba(255,184,0,0.6); }
.supply-dot-airdrop  { background: #a78bfa; box-shadow: 0 0 6px rgba(167,139,250,0.6); }
.supply-dot-kol      { background: #3b82f6; box-shadow: 0 0 6px rgba(59,130,246,0.6); }
.supply-dot-dev      { background: #00ff87; box-shadow: 0 0 6px rgba(0,255,135,0.6); }

.supply-pct {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
}

/* Nav badge responsive hide at small screens */
@media (max-width: 900px) {
  .nav-badge-whitepaper span:last-child,
  .nav-badge-github span:last-child {
    display: none;
  }
  .nav-badge-whitepaper,
  .nav-badge-github {
    padding: 6px 9px;
  }
}

@media (max-width: 768px) {
  .nav-badge-whitepaper,
  .nav-badge-github {
    display: none;
  }
}

/* ==========================================================================
   MILESTONE VESTING SCHEDULE (Tokenomics Section)
   ========================================================================== */
.milestone-vesting-wrap {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 255, 135, 0.06);
}

.milestone-vesting-header {
  padding: 22px 26px 18px;
  background: rgba(0, 255, 135, 0.04);
  border-bottom: 1px solid rgba(0, 255, 135, 0.12);
}

.milestone-vesting-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.milestone-vesting-pct {
  color: var(--accent-green);
  font-size: 0.95rem;
}

.milestone-vesting-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Reuse contracts-table but override specifics for milestones */
.milestone-table td {
  vertical-align: middle;
}

.milestone-row {
  transition: background 0.18s ease;
}
.milestone-row:hover {
  background: rgba(0, 255, 135, 0.04);
}

.milestone-row-final {
  background: rgba(0, 255, 135, 0.03);
}
.milestone-row-final:hover {
  background: rgba(0, 255, 135, 0.07);
}

/* Tier badges */
.milestone-tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 13px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.milestone-t1 {
  background: rgba(0, 255, 135, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 255, 135, 0.35);
}
.milestone-t2 {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.milestone-t3 {
  background: rgba(255, 184, 0, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 184, 0, 0.3);
}
.milestone-t4 {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.milestone-mcap {
  font-weight: 600;
  color: var(--accent-green);
  font-size: 0.88rem;
}
.milestone-mcap-short {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.milestone-release {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 800;
  font-family: var(--font-mono);
}

.milestone-cumul {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.milestone-cumul-full {
  color: var(--accent-green);
  font-weight: 700;
}

.milestone-tokens {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Footer info strip */
.milestone-vesting-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 26px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.milestone-vesting-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}
