/* ==========================================================================
   Beldex Clone Style Sheet
   Author: Google AI Studio Coding Agent
   Theme: High Contrast Cosmic Dark-Green & Pure White Alternating Layout
   ========================================================================== */

/* Variables and resets */
:root {
  --bg-dark: #090a0f;
  --bg-dark-card: #11131a;
  --text-light: #ffffff;
  --text-muted: #94a3b8;
  --primary: #00DF89;
  --primary-glow: rgba(0, 223, 137, 0.3);
  --primary-hover: #00c77a;
  --bg-light: #ffffff;
  --bg-light-alt: #f8fafc;
  --text-dark: #0f172a;
  --text-dark-muted: #475569;
  --border-light: #e2e8f0;
  --border-dark: #1e293b;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

/* Base Layout Container (matches Bootstrap) */
.container {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1240px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.align-items-center {
  align-items: center;
}

.g-0 {
  margin-right: 0;
  margin-left: 0;
}
.g-0 > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* Responsive Grid Columns */
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 15px;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 15px;
}

@media (min-width: 576px) {
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 15px;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 15px;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 15px;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 15px;
  }
}

/* Header & Sticky Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

#navbar.scrolled {
  background-color: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.beldex-logo-svg {
  display: block;
  max-width: 100%;
  height: auto;
  min-width: 80px;
}

.nav-links {
  display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
  }
}

.nav-link-item {
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.nav-link-item:hover, .nav-link-item.active-nav {
  color: var(--primary);
}

.nav-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 4px;
  transition: var(--transition-smooth);
}

.nav-arrow.up {
  transform: rotate(-135deg);
  margin-bottom: -1px;
}

/* Navigation Dropdown Menu on Desktop */
.dropdown-trigger {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 15px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.nav-dropdown-menu.open, .dropdown-trigger:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.nav-dropdown-menu a:hover {
  color: var(--text-light);
  background-color: rgba(0, 223, 137, 0.1);
  padding-left: 16px;
}

.header-cta {
  display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
  .header-cta {
    display: block;
  }
}

.cta-btn {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.cta-btn:hover {
  background-color: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Hamburger button styling */
.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1010;
}

@media (min-width: 992px) {
  .hamburger-menu {
    display: none;
  }
}

.hamburger-menu span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger-menu.active .bar1 {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.active .bar2 {
  opacity: 0;
}

.hamburger-menu.active .bar3 {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  z-index: 999;
  padding: 100px 40px 40px;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.mobile-nav-group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 15px;
}

.mobile-nav-group a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.mobile-nav-group a:hover, .mobile-nav-group a.active-mobile-link {
  color: var(--primary);
  padding-left: 8px;
}

.mobile-cta-btn {
  display: block;
  text-align: center;
  background-color: var(--primary);
  color: var(--bg-dark);
  text-decoration: none;
  padding: 15px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 25px var(--primary-glow);
  margin-top: 15px;
}

/* Main Content & Section Layouts */
.whole-main-section {
  padding-top: 80px; /* offset for sticky navbar */
}

.use-bdx {
  padding: 90px 0;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* Radial green ambient glow behind dark sections */
.use-bdx::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 223, 137, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 1;
}

#wallets-section::before {
  top: -100px;
  right: -100px;
}

#dapps-section::before {
  bottom: -200px;
  left: -200px;
}

#numbers-section::before {
  top: 50%;
  right: -250px;
  transform: translateY(-50%);
}

.use-bdx > .container {
  position: relative;
  z-index: 2;
}

.use-bg-white {
  background-color: var(--bg-light);
  color: var(--text-dark);
}
.use-bg-white::before {
  display: none;
}

/* Section tags/labels */
.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  border: 1px solid rgba(0, 223, 137, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.dark-tag {
  color: var(--text-dark-muted);
  border: 1px solid var(--border-light);
}

/* Typography styles */
.use-bdx h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.use-bdx h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.use-bdx h5 {
  font-size: 19px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.4;
}

.use-bg-white h5 {
  color: var(--text-dark-muted);
}

.use-bdx p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 35px;
}

.use-bg-white p {
  color: var(--text-dark-muted);
}

/* Responsive adjustment for columns */
@media (min-width: 768px) {
  .use-bdx h1 {
    font-size: 50px;
  }
  .use-bdx h2 {
    font-size: 44px;
  }
  .use-bdx h5 {
    font-size: 22px;
  }
}

/* Interactive Dropdown Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--primary);
  padding: 14px 28px;
  border-radius: 35px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.button:hover {
  background-color: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--primary-glow);
}

.usebdx-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 4px;
  transition: var(--transition-smooth);
}

.usebdx-arrow.active {
  transform: rotate(-135deg);
  margin-bottom: -1px;
}

/* Dropdown Menu Overlay wrapper inside button */
.usebdx-drp-wrapper {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  width: 290px;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 24px;
  z-index: 100;
  display: none;
  opacity: 0;
  transform: translateY(15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (min-width: 576px) {
  .usebdx-drp-wrapper {
    width: 540px;
  }
}

@media (min-width: 768px) {
  .usebdx-drp-wrapper {
    width: 600px;
  }
}

.usebdx-drp-wrapper.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.usebdx-dropdown h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.usebdx-wallets-inside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.usebdx-wallets-inside a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.usebdx-wallets-inside a:hover {
  background-color: rgba(0, 223, 137, 0.1);
  border-color: rgba(0, 223, 137, 0.3);
  color: var(--primary);
}

.usebdx-wallets-inside img {
  width: 20px;
  height: 20px;
}

.usebdx-wallets-inside p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  word-break: break-all;
}

.usebdx-wallets-inside a:hover p {
  color: var(--text-light);
}

.dropdown-ul {
  list-style: none;
}

/* DApps buttons wrapper */
.dapps-btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Exchange badged links */
.usebdx-exchange {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.usebdx-exchange a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--border-light);
  padding: 12px 24px;
  border-radius: 30px;
  background-color: var(--bg-light);
  transition: var(--transition-smooth);
}

.usebdx-exchange a:hover {
  border-color: var(--primary);
  background-color: rgba(0, 223, 137, 0.05);
  color: var(--primary-hover);
  box-shadow: 0 8px 20px rgba(0, 223, 137, 0.12);
}

.usebdx-exchange a img {
  width: 14px;
  height: 14px;
  transition: var(--transition-smooth);
}

.usebdx-exchange a:hover img {
  transform: translate(2px, -2px);
}

/* Real-world Utility value-add grid cards */
.utility-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 35px;
}

@media (min-width: 576px) {
  .utility-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.utility-card {
  background-color: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-smooth);
}

.utility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 223, 137, 0.5);
}

.utility-card-icon {
  font-size: 28px;
  margin-bottom: 15px;
}

.utility-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.utility-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark-muted);
  margin-bottom: 0;
}

/* Stats Area Grid & Boxes */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.stat-box {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  transition: var(--transition-smooth);
}

.stat-box:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 223, 137, 0.1);
}

.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

@media (min-width: 576px) {
  .stat-num {
    font-size: 34px;
  }
}

.stat-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Image & Illustration Styles */
.use-bdx-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.use-bdx-img img {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  transition: transform 0.5s ease;
}

.use-bg-white img {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
}

.use-bdx:hover .use-bdx-img img {
  transform: translateY(-8px);
}

/* Footer Section styling */
.whole-footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 40px;
}

.footer-grid {
  margin-bottom: 50px;
}

.footer-brand {
  margin-bottom: 35px;
}

@media (min-width: 768px) {
  .footer-brand {
    margin-bottom: 0;
  }
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 320px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  background-color: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.social-svg {
  display: block;
}

.footer-links-col {
  margin-bottom: 30px;
}

.footer-links-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-links-col a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-divider {
  border: 0;
  height: 1px;
  background-color: var(--border-dark);
  margin-bottom: 30px;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Animations on scroll classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Helper flex gap styles */
.gap-2 {
  gap: 8px;
}
.d-flex {
  display: flex;
}
.m-0 {
  margin: 0 !important;
}
