/* ==========================================================================
   Cryptovita - Premium Crowdfunding & Network Landing Website Stylesheet
   Design System: Deep Midnight Navy, Gold Accents, Glassmorphic Panels, Neon Glows
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@1,400;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* --- Custom Properties / Theme Variables --- */
:root {
  /* Color Palette */
  --bg-primary: #060b17;
  --bg-secondary: #0a1124;
  --bg-surface: #0e172e;
  --bg-card: rgba(14, 23, 46, 0.7);
  --bg-card-hover: rgba(22, 35, 68, 0.85);
  --bg-glass: rgba(10, 18, 38, 0.65);

  --color-gold: #f5c042;
  --color-gold-hover: #ffd56b;
  --color-gold-dark: #d9a441;
  --gradient-gold: linear-gradient(
    135deg,
    #ffe082 0%,
    #f5c042 50%,
    #d9a441 100%
  );
  --gradient-gold-text: linear-gradient(
    135deg,
    #fff3c4 0%,
    #f5c042 60%,
    #d9a441 100%
  );

  --color-cyan: #38bdf8;
  --color-blue: #3b82f6;
  --color-blue-dark: #1d4ed8;
  --gradient-blue: linear-gradient(
    135deg,
    #60a5fa 0%,
    #3b82f6 50%,
    #1d4ed8 100%
  );
  --gradient-cyan-blue: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(245, 192, 66, 0.35);
  --border-glow-blue: rgba(59, 130, 246, 0.3);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow-gold: 0 0 25px rgba(245, 192, 66, 0.25);
  --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.25);

  /* Fonts */
  --font-heading:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif-italic: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Spacing */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Global Subtle Grid Background Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 50% 0%,
      rgba(59, 130, 246, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(245, 192, 66, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    40px 40px,
    40px 40px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* --- Typography Utilities --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text-gold {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-blue {
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Layout Components --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(245, 192, 66, 0.1);
  border: 1px solid rgba(245, 192, 66, 0.25);
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #060b17;
  box-shadow: 0 4px 15px rgba(245, 192, 66, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 192, 66, 0.45);
  background: var(--color-gold-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}

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

.btn-blue {
  background: var(--gradient-blue);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
}

.btn-full {
  width: 100%;
}

/* --- Cards & Glass Panels --- */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(6, 11, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #060b17;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-login-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

.nav-login-btn:hover {
  color: var(--color-gold);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(6, 11, 23, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

/* --- Hero Section (Lumina Modern Full View Style) --- */
.hero {
  min-height: calc(100vh - var(--header-height));
  padding-top: calc(var(--header-height) + 1.75rem);
  padding-bottom: 0rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Glowing Flare & Arrow Pattern */
.hero-backdrop-glow {
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 650px;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(59, 130, 246, 0.25) 0%,
    rgba(245, 192, 66, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
  filter: blur(45px);
}

.hero-arrow-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1.5px,
    transparent 1.5px
  );
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(
    ellipse at 50% 45%,
    rgba(0, 0, 0, 0.9) 0%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 45%,
    rgba(0, 0, 0, 0.9) 0%,
    transparent 80%
  );
}

.hero-container-lumina {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Centered Top Pill Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(14, 23, 46, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(12px);
}

.pill-dot-icon {
  width: 7px;
  height: 7px;
  background: var(--color-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--color-cyan);
}

/* Giant Mixed Typography Title */
.hero-title-lumina {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.5rem;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.serif-italic-accent {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.12em;
}

.serif-italic-gold {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-weight: 400;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.12em;
}

/* Centered Capsule Buttons */
.hero-buttons-lumina {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.btn-capsule-primary {
  background: #ffffff;
  color: #060b17;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.btn-capsule-primary:hover {
  background: var(--color-gold);
  color: #060b17;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 192, 66, 0.4);
}

.btn-capsule-secondary {
  background: rgba(14, 23, 46, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

/* Integrated Subhero Highlight Statement */
.subhero-statement {
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  text-align: center;
}

/* Central Floating Glowing Logo Box & Connecting Line */
.subhero-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3.5rem;
  position: relative;
}

.subhero-floating-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(14, 23, 46, 0.9);
  border: 1.5px solid rgba(245, 192, 66, 0.4);
  box-shadow:
    0 0 35px rgba(245, 192, 66, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
}

.subhero-floating-icon:hover {
  transform: translateY(-4px) scale(1.05);
}

.vertical-beam-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(245, 192, 66, 0.8) 0%,
    rgba(59, 130, 246, 0.5) 60%,
    transparent 100%
  );
  margin-top: 0.5rem;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-gold);
}

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

/* --- Section 2: Platform Overview (3 Cards) --- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.overview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.overview-card:nth-child(2) .card-icon {
  background: rgba(245, 192, 66, 0.1);
  border-color: rgba(245, 192, 66, 0.2);
  color: var(--color-gold);
}

.overview-card:nth-child(3) .card-icon {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

/* --- Crowdfunding Model Section (4 Cards + Principles Strip) --- */
.crowdfund-grid {
  grid-template-columns: repeat(4, 1fr);
}

.crowdfund-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.crowdfund-principles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.principle-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.principle-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* --- Section 3: 4-Step & 5-Step How System Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-grid.steps-5 {
  grid-template-columns: repeat(5, 1fr);
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--color-gold);
  z-index: 2;
}

.step-card:last-child .step-arrow {
  display: none;
}

/* --- Section 4: Board Progression (B1 to B10) --- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.board-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.board-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 20px rgba(245, 192, 66, 0.2);
  transform: translateY(-4px);
}

.board-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--color-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.board-card.highlight .board-badge {
  background: rgba(245, 192, 66, 0.15);
  border-color: rgba(245, 192, 66, 0.3);
  color: var(--color-gold);
}

.board-amount {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.board-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.board-flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--color-gold);
  font-size: 1.5rem;
}

/* --- Visual Tree Diagrams (Board 30-Position & Binary Tree) --- */
.diagram-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  backdrop-filter: blur(16px);
  overflow-x: auto;
  margin-top: 2rem;
}

.tree-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 680px;
}

.tree-level {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  width: 100%;
}

.tree-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tree-node.root-node {
  width: 65px;
  height: 65px;
  background: var(--gradient-gold);
  color: #060b17;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-glow-gold);
  font-size: 1.1rem;
}

.tree-node.active-node {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-glow-blue);
}

.tree-node:hover {
  transform: scale(1.15);
  z-index: 10;
  border-color: var(--color-gold);
}

.node-tooltip {
  position: absolute;
  bottom: -30px;
  white-space: nowrap;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Binary 2-Sided Diagram */
.binary-tree-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 600px;
}

.binary-side-badges {
  display: flex;
  justify-content: space-around;
  width: 80%;
  margin-bottom: 1rem;
}

.side-badge {
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.side-badge.left {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: var(--color-cyan);
}

.side-badge.right {
  background: rgba(245, 192, 66, 0.15);
  border: 1px solid rgba(245, 192, 66, 0.4);
  color: var(--color-gold);
}

/* --- Distribution Cards (60%, 20%, 20%) --- */
.distribution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.dist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dist-percent {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.dist-card:nth-child(1) .dist-percent {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dist-card:nth-child(2) .dist-percent {
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dist-card:nth-child(3) .dist-percent {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dist-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.disclaimer-banner {
  background: rgba(245, 192, 66, 0.05);
  border: 1px dashed rgba(245, 192, 66, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* --- Level Hierarchy Visual (10 Levels) --- */
.level-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.level-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  transition: all 0.25s ease;
}

.level-item:hover {
  border-color: var(--color-cyan);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.level-name {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
}

.level-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.level-item:nth-child(1) .level-pill {
  background: var(--gradient-gold);
  color: #060b17;
  border: none;
}

/* --- Rebirth Visual Cycle --- */
.rebirth-flow {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 0;
}

.rebirth-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 180px;
}

.rebirth-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow-gold);
}

/* --- Authentication Pages (Login & Register) --- */
.auth-wrapper {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 1.8rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(6, 11, 23, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.25s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(245, 192, 66, 0.15);
}

.form-control::placeholder {
  color: var(--text-dim);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.forgot-link {
  color: var(--color-gold);
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

.auth-footer {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-footer a {
  color: var(--color-gold);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* --- Final CTA Section --- */
.cta-box {
  background: linear-gradient(
    135deg,
    rgba(14, 23, 46, 0.9) 0%,
    rgba(10, 17, 36, 0.95) 100%
  );
  border: 1px solid rgba(245, 192, 66, 0.3);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-glow-gold);
  position: relative;
  overflow: hidden;
}

/* --- Footer Component --- */
.footer {
  background: #03060d;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  position: relative;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 340px;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-legal-notice {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 800px;
  line-height: 1.5;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text-box {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .overview-grid,
  .distribution-grid {
    grid-template-columns: 1fr;
  }

  .crowdfund-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crowdfund-principles {
    justify-content: flex-start;
  }

  .steps-grid,
  .steps-grid.steps-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-arrow {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .steps-grid,
  .steps-grid.steps-5 {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crowdfund-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .form-grid .form-group {
    grid-column: span 1 !important;
  }

  .card-glass {
    padding: 1.5rem 1.25rem;
  }

  .diagram-wrapper {
    padding: 1.5rem 0.75rem;
  }
}

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

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 1.75rem 1.25rem;
  }

  .auth-wrapper {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2rem;
  }

  .level-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* ==========================================================================
   3D Asset Visual Containers & Interactive Animations
   ========================================================================== */
.hero-3d-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .hero-3d-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.visual-3d-container {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  perspective: 1000px;
}

.visual-3d-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow-gold);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  animation: float3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.visual-3d-card:hover {
  box-shadow: 0 30px 60px rgba(245, 192, 66, 0.3), 0 0 40px rgba(59, 130, 246, 0.4);
}

.visual-3d-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}

.visual-3d-card:hover .visual-3d-img {
  transform: scale(1.03);
}

.visual-3d-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(6, 11, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-gold);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  animation: floatBadge 4s ease-in-out infinite;
}

.visual-3d-badge-cyan {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(6, 11, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-cyan);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  color: var(--color-cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  animation: floatBadge 5s ease-in-out infinite reverse;
}

/* Floating Keyframes */
@keyframes float3d {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-12px) rotateX(2deg) rotateY(-2deg);
  }
}

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

/* Split 3D Section Grid */
.split-3d-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .split-3d-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Stat Counter Component */
.hero-stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
  .hero-stat-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-stat-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.35rem;
}

/* Fallback Scroll Reveal Styles (when offline or before AOS loads) */
[data-aos] {
  transition-property: transform, opacity;
}

body.aos-fallback [data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.aos-fallback [data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

body.aos-fallback [data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.aos-fallback [data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}
