/* ═══════════════════════════════════════════════
   INFINITE UNIVERSE FOUNDATION – VIBE PROTOCOL
   Main Stylesheet
═══════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────── */
:root {
  --bg-primary:       #04050a;
  --bg-secondary:     #080c14;
  --bg-card:          #0d1220;
  --bg-card-hover:    #111827;
  --border-color:     rgba(255,255,255,0.07);
  --border-hover:     rgba(124,58,237,0.5);

  --text-primary:     #f1f5f9;
  --text-secondary:   #94a3b8;
  --text-muted:       #475569;

  --accent-violet:    #7C3AED;
  --accent-violet-lt: #a78bfa;
  --accent-cyan:      #06B6D4;
  --accent-cyan-lt:   #67e8f9;
  --accent-green:     #10B981;
  --accent-amber:     #F59E0B;
  --accent-red:       #EF4444;

  --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  --gradient-hero:    linear-gradient(180deg, #04050a 0%, #080c14 100%);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  --shadow-card:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:    0 0 60px rgba(124,58,237,0.25);

  --font-sans:  'Inter', sans-serif;
  --font-head:  'Space Grotesk', sans-serif;

  --transition: 0.25s ease;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Container ──────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility ────────────────────────────────── */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(4,5,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: opacity var(--transition);
}
.logo-link:hover { opacity: 0.85; }
.logo-icon {
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-whitepaper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-violet-lt);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-whitepaper:hover {
  background: rgba(124,58,237,0.3);
  border-color: var(--accent-violet);
  color: #fff;
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
}
.btn-whitepaper i { font-size: 0.8rem; }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 400px;
  background: rgba(124,58,237,0.18);
  top: -100px; left: -100px;
}
.hero-glow-2 {
  width: 500px; height: 300px;
  background: rgba(6,182,212,0.12);
  top: 50px; right: -80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-violet-lt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent-violet-lt);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  max-width: 760px;
}
.hero-description strong { color: var(--text-primary); font-weight: 600; }
.hero-description:last-of-type { margin-bottom: 48px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  width: fit-content;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-color);
  margin: 0 36px;
}

/* ═══════════════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════════════ */
.section {
  padding: 100px 0;
}
.section-functionalities { background: var(--bg-secondary); }
.section-allocation      { background: var(--bg-primary); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-violet-lt);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   TOKEN FUNCTIONALITIES
═══════════════════════════════════════════════ */
.functionality-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.func-card-wide {
  grid-column: 1 / -1;
}

.func-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.func-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}
.func-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.func-card:hover::before { opacity: 1; }

.func-card-icon {
  width: 52px; height: 52px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-violet-lt);
  margin-bottom: 20px;
}

.func-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.func-card-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}
.func-card-body strong { color: var(--text-primary); font-weight: 600; }

/* Collateral Pills */
.collateral-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.cpill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
}
.cpill-full {
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
}
.cpill-half {
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
}
.cpill-label { font-weight: 700; letter-spacing: 0.05em; }
.cpill-full .cpill-label  { color: var(--accent-violet-lt); }
.cpill-half .cpill-label  { color: var(--accent-cyan-lt); }
.cpill-full .cpill-value  { color: var(--text-secondary); }
.cpill-half .cpill-value  { color: var(--text-secondary); }

/* Governance Features */
.gov-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.gov-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.gov-feature-item i {
  color: var(--accent-green);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* VXD Breakdown */
.vxd-breakdown {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.vxd-item {
  flex: 1;
  min-width: 180px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
}
.vxd-stable {
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
}
.vxd-vibe {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
}
.vxd-pct {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.vxd-stable .vxd-pct { color: var(--accent-cyan); }
.vxd-vibe   .vxd-pct { color: var(--accent-violet-lt); }
.vxd-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.vxd-desc small { color: var(--text-muted); font-size: 0.8rem; }
.vxd-plus {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   TOKEN ALLOCATION
═══════════════════════════════════════════════ */
.allocation-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 64px;
}

.allocation-chart-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}
.allocation-chart-wrap canvas { width: 100% !important; }

.chart-center-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.chart-center-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.chart-center-value {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.chart-center-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.allocation-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.alloc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: default;
}
.alloc-item:hover {
  border-color: rgba(124,58,237,0.3);
  background: var(--bg-card-hover);
}
.alloc-color {
  width: 14px; height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 3px;
}
.alloc-info { flex: 1; }
.alloc-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.alloc-pct {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  float: right;
  margin-top: -22px;
}
.alloc-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Release Schedule */
.release-schedule-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
}
.release-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.release-chart-container {
  height: 380px;
  position: relative;
}

/* Lockup Note */
.lockup-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: var(--radius-md);
}
.lockup-note i {
  color: var(--accent-violet-lt);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.lockup-note p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
}

.footer-corporate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-color);
}

.footer-entity {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--transition);
}
.footer-entity:hover { border-color: rgba(124,58,237,0.3); }

.entity-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.entity-badge-foundation {
  background: rgba(124,58,237,0.15);
  color: var(--accent-violet-lt);
  border: 1px solid rgba(124,58,237,0.3);
}
.entity-badge-company {
  background: rgba(6,182,212,0.12);
  color: var(--accent-cyan-lt);
  border: 1px solid rgba(6,182,212,0.25);
}

.entity-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.entity-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.entity-details li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.detail-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 90px;
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-label i { font-size: 0.7rem; }
.detail-value {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.detail-value a {
  color: var(--accent-violet-lt);
  transition: color var(--transition);
}
.detail-value a:hover { color: #fff; }

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-violet-lt); }

/* ═══════════════════════════════════════════════
   PRIVACY POLICY PAGE
═══════════════════════════════════════════════ */
.pp-hero {
  padding: 120px 0 60px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}
.pp-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-violet-lt);
  margin-bottom: 16px;
}
.pp-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pp-hero-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pp-content {
  padding: 60px 0 100px;
  background: var(--bg-secondary);
}
.pp-body {
  max-width: 760px;
}
.pp-body h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.pp-body h2:first-child { margin-top: 0; }
.pp-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.8;
}
.pp-body ul {
  margin: 10px 0 18px 20px;
}
.pp-body ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}
.pp-body strong { color: var(--text-primary); font-weight: 600; }
.pp-body a {
  color: var(--accent-violet-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pp-body a:hover { color: #fff; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .functionality-cards {
    grid-template-columns: 1fr;
  }
  .func-card-wide { grid-column: 1; }
  .allocation-layout {
    grid-template-columns: 1fr;
  }
  .allocation-chart-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
  .footer-corporate {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .stat-divider { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 0 80px; }
  .section { padding: 70px 0; }
  .hero-stats { padding: 20px 24px; }
  .func-card { padding: 24px; }
  .footer-entity { padding: 24px; }
  .release-schedule-wrap { padding: 24px; }
  .vxd-breakdown { flex-direction: column; }
  .vxd-plus { transform: rotate(90deg); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-violet); }
