/* OMNIGRAF Site V2 — Cloudflare Pages Ready */
/* Design: DeSci/RWA-Hybrid Token | Dark + Cyan + Authority */

:root {
  --bg-primary: #0a0b0f;
  --bg-secondary: #0f1117;
  --bg-card: rgba(15, 17, 23, 0.85);
  --bg-card-hover: rgba(20, 23, 32, 0.95);
  --border-subtle: rgba(56, 189, 248, 0.12);
  --border-accent: rgba(56, 189, 248, 0.3);
  --text-primary: #e8eaed;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(180deg, #0a0b0f 0%, #0f1117 50%, #0a0b0f 100%);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: #060709;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #7dd3fc; }

img { max-width: 100%; height: auto; display: block; }

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

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 11, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.nav-logo img { height: 32px; width: 32px; border-radius: 6px; }

.nav-logo .logo-text { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }

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

.nav-cta {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity var(--transition), transform var(--transition);
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,15,0.4) 0%, rgba(10,11,15,0.8) 60%, var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

/* hero-badge removed — looked cheap/AI */

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.hero-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-stat .value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.35);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════ */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 17, 23, 0.88);
  position: relative;
  z-index: 2;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: rgba(10, 11, 15, 0.85);
}

.section-alt { background: rgba(15, 17, 23, 0.88); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   APPLICATION CARDS
   ═══════════════════════════════════════════ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all var(--transition);
  position: relative;
}

.app-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.app-card:hover .app-card-img { opacity: 1; }

.app-card-body { padding: 24px; }

.app-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-card-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.app-card-list li::before {
  content: '→';
  color: var(--accent-cyan);
  font-weight: 600;
  flex-shrink: 0;
}

.app-card-market {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   TOKENOMICS
   ═══════════════════════════════════════════ */
.tokenomics-hero {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  z-index: 2;
  background: rgba(10, 11, 15, 0.82);
}

.tokenomics-hero .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tokenomics-hero .section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.tokenomics-hero .section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10,11,15,0.7) 50%, var(--bg-primary) 100%);
}

.tokenomics-content { position: relative; z-index: 1; }

.token-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.token-meta span { opacity: 0.5; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.stat-card .stat-value.cyan { color: var(--accent-cyan); }
.stat-card .stat-value.green { color: var(--accent-green); }
.stat-card .stat-value.gold { color: var(--accent-gold); }

/* Core Parameters Table */
.params-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.params-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.params-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.param-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
}

.param-row:last-child { border-bottom: none; }
.param-row .param-key { color: var(--text-secondary); }
.param-row .param-val { font-weight: 600; font-family: var(--font-mono); }

/* Allocation Table */
.allocation-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.allocation-table th {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border-accent);
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.allocation-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
}

.allocation-table tr:hover td { background: rgba(56, 189, 248, 0.03); }

.allocation-table td:nth-child(2),
.allocation-table td:nth-child(3) {
  font-family: var(--font-mono);
  text-align: right;
}

.allocation-table th:nth-child(2),
.allocation-table th:nth-child(3) { text-align: right; }

.allocation-table tfoot td {
  font-weight: 700;
  color: var(--text-primary);
  border-top: 2px solid var(--border-accent);
}

.float-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 24px;
  padding: 20px;
  background: rgba(56, 189, 248, 0.05);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}

.float-note strong { color: var(--text-primary); }

/* ═══════════════════════════════════════════
   TRUST STACK
   ═══════════════════════════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}

.trust-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.trust-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.trust-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.trust-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ═══════════════════════════════════════════
   PRESALE SECTION
   ═══════════════════════════════════════════ */
.presale-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.presale-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.presale-box .presale-sub {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.wallet-address {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: border-color var(--transition);
}

.wallet-address:hover { border-color: var(--accent-cyan); }

.wallet-address code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-address .copy-btn {
  background: none;
  border: none;
  color: var(--accent-cyan);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.presale-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.presale-info-item {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.presale-info-item .pi-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.presale-info-item .pi-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════
   SCIENCE / HOW IT WORKS PAGES
   ═══════════════════════════════════════════ */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.page-hero .hero-bg img { opacity: 0.2; }

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.content-section { padding: 80px 0; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.content-img img { width: 100%; height: auto; }

.props-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.prop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.prop-card h4 { font-size: 0.85rem; color: var(--accent-cyan); margin-bottom: 8px; }
.prop-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* Challenge cards */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.challenge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.challenge-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.challenge-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.challenge-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* How It Works Steps */
.steps-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.step-content h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-content p { color: var(--text-secondary); font-size: 0.95rem; }

/* Safety features list */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.safety-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.9rem;
}

.safety-check {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Token engine */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.engine-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.engine-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.engine-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.engine-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.engine-card p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }

.engine-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.engine-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.engine-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* Vesting section */
.vesting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.vesting-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.vesting-card h4 { color: var(--accent-cyan); font-size: 0.9rem; margin-bottom: 12px; }

.vesting-pct {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.vesting-detail { font-size: 0.85rem; color: var(--text-secondary); }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: var(--border-accent); }

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent-cyan);
  transition: transform var(--transition);
  font-weight: 300;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer a { color: var(--accent-cyan); text-decoration: underline; }

/* Verification grid */
.verify-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.verify-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
}

.verify-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verify-card p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }

.verify-link {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   DISCLAIMER
   ═══════════════════════════════════════════ */
.disclaimer {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
  background: rgba(10, 11, 15, 0.82);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(15, 17, 23, 0.9);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

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

.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   GRAPHENE CANVAS
   ═══════════════════════════════════════════ */
#graphene-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.hero { z-index: 2; position: relative; }
.hero-content { position: relative; z-index: 3; }
.section { position: relative; z-index: 2; }
.trust-bar { position: relative; z-index: 2; }
.footer { position: relative; z-index: 2; }
.cta-section { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════
   APP CARD ICONS (replacing emoji)
   ═══════════════════════════════════════════ */
.app-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
}

/* ═══════════════════════════════════════════
   TRUST BAR ICON IMAGES
   ═══════════════════════════════════════════ */
.trust-icon img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════
   NAV LOGO IMAGE
   ═══════════════════════════════════════════ */
.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* ═══════════════════════════════════════════
   SOCIAL ICONS
   ═══════════════════════════════════════════ */
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ═══════════════════════════════════════════
   WALLET CONNECT BUTTON
   ═══════════════════════════════════════════ */
.wallet-connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.wallet-connect-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}

.wallet-connect-btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Live balance loaded transition */
[data-balance] {
  transition: color 0.5s ease, opacity 0.5s ease;
}
[data-balance].loaded {
  animation: balance-flash 0.6s ease;
}
@keyframes balance-flash {
  0% { opacity: 0.5; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 11, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .hero { min-height: auto; padding: 120px 24px 60px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero h1 { font-size: 2.2rem; }

  .app-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .content-grid.reverse { direction: ltr; }
  .params-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .engine-grid { grid-template-columns: 1fr; }
  .vesting-grid { grid-template-columns: 1fr; }
  .verify-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .props-grid { grid-template-columns: 1fr; }

  .trust-items { gap: 24px; flex-direction: column; align-items: center; }
  .presale-box { padding: 24px; }
  .presale-info-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
