/* ==========================================================================
   SOLANEURA ($SLNR) — INSTITUTIONAL PROFESSIONAL DESIGN SYSTEM
   Clean architectural grid, full-width 3-zone sticky header, unified Swiss/modern
   typography (Inter / Plus Jakarta Sans), EN/DE toggle, Phantom + Discord actions.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --ink: #0f172a;
  --ink-secondary: #475569;
  --ink-muted: #64748b;
  --accent: #e01e26;
  --accent-soft: rgba(224, 30, 38, 0.08);
  --emerald: #059669;
  --emerald-bg: rgba(5, 150, 105, 0.08);
  --emerald-border: rgba(5, 150, 105, 0.22);
  --border: #e2e8f0;
  --border-subtle: #eef2f6;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.03);

  --font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   FULL-WIDTH PROFESSIONAL 3-COLUMN TOP HEADER
   Left: Icon + Solaneura | Center: Page Links | Right: EN/DE + Discord + Phantom
   ========================================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-muted);
  color: var(--ink-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  font-size: 0.90rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 24px 0;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 13px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e293b;
}

.btn-outline {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background: #c5171e;
}

/* ==========================================================================
   HERO SECTION & ARCHITECTURAL OCEAN SHOWCASE
   ========================================================================== */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.status-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 22px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-bg);
}

.hero-title {
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  max-width: 780px;
  margin: 0 auto 18px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.contract-box {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px 8px 16px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.80rem;
}

.contract-label {
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  font-size: 0.70rem;
  letter-spacing: 0.05em;
}

.contract-code {
  font-family: var(--font-mono);
  font-size: 0.80rem;
  color: var(--ink);
}

.copy-btn {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  border-color: #94a3b8;
}

/* Framed Ocean Showcase + 4-Metric Bar */
.showcase-card {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.wave-stage {
  position: relative;
  width: 100%;
  height: clamp(320px, 38vw, 440px);
  background: #ffffff;
  overflow: hidden;
}

.wave-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  background: #ffffff;
  text-align: left;
}

.metric-item {
  padding: 22px 24px;
  border-right: 1px solid var(--border-subtle);
}

.metric-item:last-child {
  border-right: none;
}

.metric-k {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.metric-v {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.metric-v.accent {
  color: var(--accent);
}

.metric-s {
  font-size: 0.80rem;
  color: var(--ink-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   SECTIONS, TABLES & CARDS
   ========================================================================== */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-sub {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

/* Announcement Banner */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.ann-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-new {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
}

.ann-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.ann-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

/* Clean Institutional Listings Table */
.table-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.listing-row {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 150px 150px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}

.listing-row:last-child {
  border-bottom: none;
}

.listing-row:hover {
  background: var(--bg-subtle);
}

.venue-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.venue-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}

.venue-dot.live {
  background: var(--emerald);
}

.venue-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.venue-type {
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-muted);
  color: var(--ink-secondary);
  width: fit-content;
}

.status-pill.live {
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
}

.venue-action {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

/* Two-Column Cards */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.panel-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.panel-card h3 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.panel-desc {
  font-size: 0.90rem;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.alloc-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  gap: 3px;
  margin-bottom: 18px;
}

.seg-lp {
  width: 30%;
  background: var(--ink);
}
.seg-comm {
  width: 10%;
  background: var(--accent);
}
.seg-vault {
  width: 60%;
  background: #94a3b8;
}

.alloc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alloc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border-subtle);
}

.alloc-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dot-sm {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.wallet-readout {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.wallet-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.wallet-val {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
}

.wallet-sub {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   PROFESSIONAL MULTI-COLUMN FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 52px 0 40px;
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 12px;
}

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

.footer-col a {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.80rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   SUBPAGE ARTICLE / DOCUMENT LAYOUT (WHITEPAPER & COMMUNITY)
   ========================================================================== */
.page-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

.page-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.page-lead {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  max-width: 680px;
}

@media (max-width: 960px) {
  .nav-bar {
    grid-template-columns: auto 1fr;
  }
  .nav-links {
    display: none;
  }
  .metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .listing-row {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
  }
  .venue-type {
    grid-column: 1 / -1;
  }
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .nav-wrap,
  .no-print,
  .footer {
    display: none !important;
  }
}
