/* ==========================================================================
   PANGEA REAL WORLD ASSET ECOSYSTEM - POLISHED STYLESHEET
   ========================================================================== */

:root {
  --bg-light: #F2F3F5;
  --bg-white: #FFFFFF;
  --bg-dark-space: #06090E;
  --bg-dark-vision: #040609;
  --bg-dark-card: #0A0D12;
  
  --accent-lime: #9FE82F;
  --accent-green-bright: #8CE600;
  
  --text-black: #0A0D12;
  --text-muted: #525B68;
  --text-white: #FFFFFF;
  --text-white-muted: #94A3B8;
  
  --border-light: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-lime: rgba(159, 232, 47, 0.4);

  --font-main: 'Inter', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  width: 100%;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 4rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.9rem 4rem;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--text-black);
}

.brand-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  transition: var(--transition-smooth);
}

.nav-brand:hover .brand-logo-img {
  transform: rotate(45deg) scale(1.08);
}

.nav-right-wrap {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-black);
  opacity: 0.85;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-black) !important;
  opacity: 1;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-lime);
  border-radius: 2px;
}

.btn-nav-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  background-color: var(--text-black);
  color: var(--text-white);
  border: 1px solid var(--text-black);
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-nav-explore:hover {
  background-color: #1F2937;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-black);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
  background-color: var(--bg-light);
  overflow: hidden;
}

.hero-left {
  flex: 1;
  padding: 9.5rem 3.5rem 4.5rem 6rem;
  display: flex;
  align-items: center;
  z-index: 2;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #6EB500;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.plus-icon {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-lime);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--text-black);
  margin-bottom: 0.75rem;
}

.title-bar-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  max-width: 440px;
}

.title-bar-track {
  flex: 1;
  height: 5px;
  display: flex;
  border-radius: 99px;
  overflow: hidden;
}

.title-bar-black {
  width: 48%;
  height: 100%;
  background-color: var(--text-black);
}

.title-bar-green {
  width: 52%;
  height: 100%;
  background-color: var(--accent-lime);
}

.title-bar-plus {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-black);
}

.hero-subtitle {
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-black);
  margin-bottom: 1.25rem;
}

.highlight-green {
  color: #6EB500;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 460px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-hero-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--text-black);
  color: var(--text-white);
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-hero-dark:hover {
  background-color: #1F2937;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.btn-hero-whitepaper {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--text-black);
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-hero-whitepaper:hover {
  background-color: #FFFFFF;
  border-color: var(--text-black);
  transform: translateY(-2px);
}

.hero-right {
  flex: 1.15;
  background-color: #06090E;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-globe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 3.5rem 5rem;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

.stats-prefix {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-black);
  margin-right: 3rem;
  padding-top: 0.2rem;
}

.stat-col {
  flex: 1;
  padding: 0 2.5rem;
  border-left: 1px solid var(--border-light);
}

.stat-header {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 0.75rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-black);
  margin-bottom: 0.75rem;
}

.stat-plus, .stat-percent {
  font-size: 2.75rem;
  font-weight: 500;
  vertical-align: top;
}

.stat-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 220px;
}

/* ==========================================================================
   CORE CONCEPT SECTION
   ========================================================================== */
.core-concept-section {
  padding: 7rem 5rem;
  background-color: var(--bg-white);
}

.core-container {
  max-width: 1200px;
  margin: 0 auto;
}

.core-heading {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.core-paragraph {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 960px;
  margin-bottom: 3.5rem;
}

.core-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.core-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.core-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-black);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
}

.c-card-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #6EB500;
  margin-bottom: 1rem;
}

.core-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-black);
}

.core-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.c-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-black);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.core-card:hover .c-card-link {
  color: #6EB500;
}

/* ==========================================================================
   VISION & GLOBAL NETWORK MAP
   ========================================================================== */
.vision-section {
  background-color: var(--bg-dark-vision);
  color: var(--text-white);
  padding: 8rem 5rem;
  position: relative;
  overflow: hidden;
}

.vision-container {
  max-width: 1340px;
  margin: 0 auto;
}

.vision-top {
  max-width: 650px;
  margin-bottom: 3.5rem;
}

.vision-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.vision-subtitle {
  font-size: 1.08rem;
  color: var(--text-white-muted);
  line-height: 1.65;
}

.vision-map-container {
  width: 100%;
  height: 380px;
  position: relative;
  margin-bottom: 4rem;
  border-radius: 16px;
  overflow: hidden;
}

.vision-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

#worldMapCanvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   MULTI-PAGE LAYOUTS (ABOUT, HOW IT WORKS, ROADMAP, TOKEN)
   ========================================================================== */
.page-header {
  padding: 10rem 5rem 4rem 5rem;
  background: var(--bg-dark-vision);
  color: var(--text-white);
  border-bottom: 1px solid var(--border-dark);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-white-muted);
  max-width: 650px;
}

/* Narrative Section */
.narrative-section, .steps-section, .roadmap-full-section, .utility-section {
  padding: 6rem 5rem;
  background-color: var(--bg-white);
}

.narrative-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.n-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.n-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.highlight-box {
  background: rgba(159, 232, 47, 0.12);
  border-left: 4px solid var(--accent-lime);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-black);
}

.vision-quote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-black);
  font-style: italic;
}

/* Steps Workflow Section */
.steps-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.step-card {
  display: flex;
  gap: 2.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--text-black);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-lime);
  background: var(--text-black);
  width: 65px;
  height: 65px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.step-info p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.step-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.step-bullets li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-black);
  position: relative;
  padding-left: 1.25rem;
}

.step-bullets li::before {
  content: '✓';
  color: #6EB500;
  position: absolute;
  left: 0;
  font-weight: 800;
}

/* Roadmap Full Section */
.roadmap-full-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.roadmap-full-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
}

.active-phase {
  border-color: var(--accent-lime);
  box-shadow: 0 0 25px rgba(159, 232, 47, 0.15);
}

.rm-badge-status {
  position: absolute;
  top: 2.25rem;
  right: 2.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  background: #E2E8F0;
  color: var(--text-muted);
}

.active-status {
  background: var(--text-black);
  color: var(--accent-lime);
}

.completed-phase .rm-badge-status {
  background: rgba(159, 232, 47, 0.2);
  color: #559E00;
}

.rm-ph-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-black);
}

.rm-bullets {
  margin-top: 1.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rm-bullets li {
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.rm-bullets li::before {
  content: '•';
  color: var(--accent-lime);
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.rm-bullets li strong {
  color: var(--text-black);
}

/* Token Utility Section */
.utility-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.util-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.util-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-black);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.highlight-util {
  grid-column: span 2;
  background: var(--text-black);
  color: var(--text-white);
}

.highlight-util p {
  color: var(--text-white-muted);
}

.u-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #6EB500;
  margin-bottom: 0.75rem;
}

.util-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.util-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.token-details-section {
  padding: 0 5rem 6rem 5rem;
  background-color: var(--bg-white);
}

.token-details-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* SIMULATOR SECTION */
.simulator-section {
  padding: 7rem 5rem;
  background-color: var(--bg-light);
}

.simulator-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-center-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

.sim-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-black);
}

.sim-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.sim-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.sim-group {
  margin-bottom: 2rem;
}

.sim-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-black);
}

.sim-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.sim-val-pill {
  font-size: 0.85rem;
  font-weight: 700;
  color: #559E00;
  background: rgba(159, 232, 47, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}

.asset-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.asset-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  background: #FFF;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-black);
  text-align: left;
  transition: var(--transition-fast);
}

.asset-btn .asset-icon {
  color: var(--text-muted);
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.asset-btn.active, .asset-btn:hover {
  background: var(--text-black);
  color: var(--text-white);
  border-color: var(--text-black);
}

.asset-btn.active .asset-icon, .asset-btn:hover .asset-icon {
  color: var(--accent-lime);
}

.sim-slider {
  width: 100%;
  accent-color: var(--text-black);
  height: 6px;
  background: #E2E8F0;
  border-radius: 4px;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.sim-right-panel {
  background: var(--text-black);
  color: var(--text-white);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.res-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.res-asset-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-lime);
}

.res-ver-tag {
  font-size: 0.78rem;
  color: var(--text-white-muted);
}

.res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.res-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  border-radius: 12px;
}

.res-highlight {
  border-color: rgba(159, 232, 47, 0.4);
  background: rgba(159, 232, 47, 0.05);
}

.r-lbl {
  font-size: 0.78rem;
  color: var(--text-white-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.r-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.green-txt { color: var(--accent-lime); }
.btn-block { width: 100%; justify-content: center; }

/* FOOTER */
.footer {
  background: #030406;
  color: var(--text-white);
  padding: 5rem 5rem 2.5rem 5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.f-about {
  font-size: 0.88rem;
  color: var(--text-white-muted);
  margin-top: 1rem;
}

.f-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.f-col a {
  font-size: 0.88rem;
  color: var(--text-white-muted);
  transition: var(--transition-fast);
}

.f-col a:hover {
  color: var(--accent-lime);
}

.n-form {
  display: flex;
  gap: 0.5rem;
}

.n-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: 99px;
  padding: 0.6rem 1rem;
  color: var(--text-white);
  font-size: 0.85rem;
  outline: none;
  flex: 1;
}

.n-input:focus {
  border-color: var(--accent-lime);
}

.f-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-white-muted);
}

/* Modals & Toasts */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 750px;
  background: #FFF;
  border-radius: 20px;
  padding: 2.5rem;
  color: var(--text-black);
}

.m-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.m-close {
  font-size: 1.75rem;
  color: var(--text-muted);
}

.m-foot {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
}

.toast {
  background: var(--text-black);
  color: var(--text-white);
  border: 1px solid var(--accent-lime);
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-size: 0.88rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-section { flex-direction: column; }
  .hero-left { padding: 8rem 2rem 3rem 2rem; }
  .hero-right { min-height: 460px; }
  .stats-container { flex-direction: column; gap: 2rem; }
  .stat-col { border-left: none; padding: 0; }
  .sim-grid { grid-template-columns: 1fr; }
  .core-cards-grid, .utility-container, .footer-grid { grid-template-columns: 1fr 1fr; }
  .highlight-util { grid-column: span 1; }
  .step-card { flex-direction: column; gap: 1rem; }
  .page-header, .core-concept-section, .narrative-section, .steps-section, .roadmap-full-section, .utility-section, .token-details-section { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFF;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active { display: flex; }
  .mobile-toggle { display: flex; }
  .core-cards-grid, .utility-container, .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 3.8rem; }
  .hero-subtitle { font-size: 1.4rem; }
  .page-title { font-size: 2.5rem; }
}
