/* ============================================
   Crypto Intelligence Hub - Main Stylesheet
   Dark Luxury Finance + AI Technology
   ============================================ */

/* === CSS Variables / Design Tokens === */
:root {
  --bg-primary: #06080d;
  --bg-secondary: #0c1220;
  --bg-surface: #111827;
  --bg-surface-elevated: #1a2332;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(201, 165, 92, 0.3);
  --gold: #c9a55c;
  --gold-light: #e8c878;
  --gold-dim: rgba(201, 165, 92, 0.15);
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dim: rgba(59, 130, 246, 0.15);
  --violet: #8b5cf6;
  --violet-dim: rgba(139, 92, 246, 0.15);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --green: #22c55e;
  --red: #ef4444;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow-gold: 0 0 30px rgba(201, 165, 92, 0.15);
  --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.15);
  --shadow-glow-violet: 0 0 30px rgba(139, 92, 246, 0.15);
  --container-max: 1280px;
  --section-padding: 120px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

/* === Utility Classes === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 165, 92, 0.2);
  border-radius: 100px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

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

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* Glass Card */
.glass-card {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
}

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

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
  background: rgba(6, 8, 13, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--bg-primary);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

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

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-expo);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-actions .search-btn,
.navbar-actions .lang-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.3s;
  font-size: 1.1rem;
}

.navbar-actions .search-btn:hover,
.navbar-actions .lang-btn:hover {
  border-color: var(--border-hover);
  color: var(--gold);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Mobile Overlay === */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(6, 8, 13, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 16px 24px;
  transition: color 0.3s, transform 0.3s;
  letter-spacing: -0.01em;
  min-height: 56px;
  display: flex;
  align-items: center;
}

.mobile-overlay a:hover,
.mobile-overlay a.active {
  color: var(--gold);
  transform: translateX(8px);
}

.mobile-overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.mobile-overlay-close:hover {
  border-color: var(--border-hover);
  color: var(--gold);
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.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(6, 8, 13, 0.4) 0%,
    rgba(6, 8, 13, 0.6) 50%,
    rgba(6, 8, 13, 0.95) 100%
  );
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 165, 92, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(201, 165, 92, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 165, 92, 0.4);
  color: var(--bg-primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Hero Dashboard */
.hero-dashboard {
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.dashboard-header h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
}

.dashboard-live .live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dashboard-item {
  padding: 20px;
  background: rgba(6, 8, 13, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.dashboard-item:hover {
  border-color: var(--border-hover);
}

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

.dashboard-item .item-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dashboard-item .item-change {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
}

.dashboard-item .item-change.positive {
  color: var(--green);
}

.dashboard-item .item-change.negative {
  color: var(--red);
}

.dashboard-item.full-width {
  grid-column: 1 / -1;
}

/* === News Section === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card {
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow-gold);
}

.news-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-surface) 100%);
  position: relative;
  overflow: hidden;
}
.news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(6,8,13,0.8) 100%);
  pointer-events: none;
}

.news-card-image .placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: 0.45;
  text-shadow: 0 0 30px currentColor, 0 0 60px currentColor;
  color: rgba(255,255,255,0.7);
  transition: opacity 0.4s, transform 0.4s;
}
.news-card:hover .placeholder-icon {
  opacity: 0.7;
  transform: scale(1.1);
}

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

.news-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-dim);
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.news-card-tag.ai {
  background: var(--violet-dim);
  color: var(--violet);
}

.news-card-tag.defi {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.news-card-tag.web3 {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
}

.news-card-tag.rwa {
  background: var(--gold-dim);
  color: var(--gold);
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === Market Intelligence === */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.market-card {
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s var(--ease-out-expo);
}

.market-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow-gold);
}

.market-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.market-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.market-card-icon.gold {
  background: var(--gold-dim);
  border: 1px solid rgba(201, 165, 92, 0.2);
}

.market-card-icon.blue {
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.market-card-icon.violet {
  background: var(--violet-dim);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.market-card-change {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.market-card-change.positive {
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
}

.market-card-change.negative {
  color: var(--red);
  background: rgba(239, 68, 68, 0.1);
}

.market-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.market-card-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.market-card-chart {
  width: 100%;
  height: 60px;
  margin-bottom: 16px;
  position: relative;
}

.market-card-chart svg {
  width: 100%;
  height: 100%;
}

.market-card-ai {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.market-card-ai .ai-icon {
  color: var(--violet);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* === AI Insights Section === */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ai-card {
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  opacity: 0;
  transition: opacity 0.4s;
}

.ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow-violet);
}

.ai-card:hover::before {
  opacity: 1;
}

.ai-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--violet-dim);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.ai-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ai-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.ai-card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.ai-card-features li .check {
  color: var(--violet);
  font-size: 0.875rem;
}

/* === On-Chain Section === */
.onchain-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.onchain-visual {
  position: relative;
  height: 400px;
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.onchain-visual canvas {
  width: 100%;
  height: 100%;
}

.onchain-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.onchain-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.onchain-stat-item:hover {
  border-color: var(--border-hover);
}

.onchain-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.onchain-stat-info {
  flex: 1;
}

.onchain-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.onchain-stat-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* === Global Landscape === */
.global-content {
  position: relative;
}

.global-map {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 48px;
  position: relative;
}

.global-map svg {
  width: 100%;
  height: auto;
}

.global-regions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.global-region-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s var(--ease-out-expo);
}

.global-region-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow-gold);
}

.global-region-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.global-region-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.global-region-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === Research Reports === */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.research-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-out-expo);
}

.research-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow-gold);
}

.research-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--gold-dim);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  width: fit-content;
}

.research-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.research-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.research-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.research-card-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.research-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.3s;
}

.research-card-link:hover {
  gap: 10px;
  color: var(--gold-light);
}

/* === Academy Section === */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.academy-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.academy-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.academy-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.academy-card:hover::after {
  opacity: 1;
}

.academy-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.academy-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.academy-card-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.faq-item {
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out-expo);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Interactive Elements === */
.ticker-bar {
  position: fixed;
  top: 80px; left: 0; right: 0;
  z-index: 99;
  background: rgba(6,8,13,0.95);
  border-bottom: 1px solid rgba(201,165,92,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  padding: 0 20px;
}
.ticker-bar.paused .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.ticker-price { color: var(--text-primary); margin: 0 4px; }
.ticker-up { color: #22c55e; }
.ticker-down { color: #ef4444; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Interactive Search */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  padding: 0;
  border: none;
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  border-radius: 8px;
  outline: none;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 36px;
}
.search-wrapper.expanded .search-input {
  width: 220px;
  padding: 0 14px;
  border: 1px solid rgba(201,165,92,0.3);
}
.search-wrapper.expanded .search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,165,92,0.1);
}

/* News Filter */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,165,92,0.08);
}
.filter-btn.active {
  background: var(--gold);
  color: #06080d;
  border-color: var(--gold);
  font-weight: 600;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #06080d;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201,165,92,0.3);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(201,165,92,0.4);
}

/* Hero Subtitle Typewriter */
.hero-subtitle {
  min-height: 3.6em;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .navbar-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.3s;
  font-size: 1.1rem;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
}

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

/* === Animations === */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 165, 92, 0.1); }
  50% { box-shadow: 0 0 40px rgba(201, 165, 92, 0.2); }
}

/* === Responsive === */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-dashboard {
    max-width: 520px;
    margin: 0 auto;
  }

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

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

  .onchain-content {
    grid-template-columns: 1fr;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .navbar-menu {
    display: none;
  }

  .navbar-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-title .highlight {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dashboard-item {
    padding: 14px;
  }

  .dashboard-item.full-width {
    grid-column: 1 / -1;
  }

  .item-value {
    font-size: 1.25rem;
  }

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

  .news-card-body {
    padding: 18px;
  }

  .news-card-title {
    font-size: 1rem;
  }

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

  .market-card {
    padding: 22px;
  }

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

  .ai-card {
    padding: 28px;
  }

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

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

  .academy-card {
    padding: 24px;
  }

  .academy-card-title {
    font-size: 1rem;
  }

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

  .global-map svg {
    height: 280px;
  }

  .global-region-card {
    padding: 18px;
  }

  .global-region-name {
    font-size: 0.9rem;
  }

  .global-region-value {
    font-size: 1.5rem;
  }

  .onchain-visual {
    height: 300px;
  }

  .onchain-stat-item {
    padding: 14px 18px;
  }

  .onchain-stat-value {
    font-size: 1.25rem;
  }

  .research-card {
    padding: 28px;
  }

  .research-card-title {
    font-size: 1.1rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 18px 20px;
  }

  .faq-answer-inner {
    padding: 0 20px 20px;
    font-size: 0.9rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .navbar-inner {
    height: 64px;
    padding: 0 16px;
  }

  .navbar-logo span {
    display: none;
  }

  .ticker-bar {
    top: 64px;
    height: 30px;
  }
  .ticker-item {
    font-size: 0.7rem;
  }
  .ticker-track {
    gap: 24px;
  }

  .hero-content {
    padding: 100px 24px 60px !important;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 48px;
  }

  .container {
    padding: 0 16px;
  }

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

  .section-subtitle {
    font-size: 0.875rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-label {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-title .highlight {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-dashboard {
    padding: 18px;
  }

  .dashboard-header h3 {
    font-size: 0.9rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dashboard-item {
    padding: 12px;
  }

  .item-label {
    font-size: 0.7rem;
  }

  .item-value {
    font-size: 1.1rem;
  }

  .item-change {
    font-size: 0.7rem;
  }

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

  .academy-card {
    padding: 20px;
  }

  .global-regions {
    grid-template-columns: 1fr;
  }

  .global-map svg {
    height: 200px;
  }

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

  .footer-column {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .mobile-overlay a {
    font-size: 1.25rem;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .ticker-bar {
    top: 64px;
    height: 26px;
  }
  .ticker-item {
    font-size: 0.65rem;
  }
  .ticker-track {
    gap: 16px;
  }
  .news-filter {
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .news-filter::-webkit-scrollbar { display: none; }
  .filter-btn {
    padding: 5px 10px;
    font-size: 0.7rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }
  .search-wrapper.expanded .search-input {
    width: 140px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-card {
    border-radius: 10px;
  }
  .news-card-image {
    height: 120px;
  }
  .news-card-body {
    padding: 14px;
  }
  .news-card-title {
    font-size: 0.9rem;
  }
  .news-card-excerpt {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }
  .news-card-meta {
    font-size: 0.7rem;
  }
  .news-card-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .market-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .market-card {
    padding: 18px;
  }
  .market-card-title {
    font-size: 0.95rem;
  }
  .market-card-value {
    font-size: 1.1rem;
  }
  .market-card-ai {
    font-size: 0.75rem;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ai-card {
    padding: 22px;
  }
  .ai-card-title {
    font-size: 1rem;
  }
  .ai-card-desc {
    font-size: 0.8rem;
  }
  .ai-card-features li {
    font-size: 0.8rem;
  }

  .onchain-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .onchain-visual {
    height: 200px;
  }
  .onchain-stat-item {
    padding: 12px 14px;
  }
  .onchain-stat-value {
    font-size: 1.1rem;
  }

  .global-content {
    flex-direction: column;
    gap: 24px;
  }
  .global-map svg {
    height: 180px;
  }

  .research-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .research-card {
    padding: 20px;
  }
  .research-card-title {
    font-size: 0.95rem;
  }
  .research-card-desc {
    font-size: 0.8rem;
  }

  .faq-list {
    gap: 8px;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 0.85rem;
    min-height: 48px;
    text-align: left;
  }
  .faq-answer-inner {
    padding: 0 16px 14px;
    font-size: 0.8rem;
    line-height: 1.6;
  }
  .faq-toggle {
    font-size: 0.7rem;
  }

  .footer {
    padding: 48px 0 24px;
  }
  .footer-brand p {
    font-size: 0.8rem;
  }
  .footer-column h4 {
    font-size: 0.85rem;
  }
  .footer-column ul li a {
    font-size: 0.8rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.75rem;
  }
  .footer-bottom-links {
    gap: 12px;
  }

  .hero-content {
    padding: 100px 16px 60px !important;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  .hero-buttons {
    gap: 10px;
  }

  .section {
    padding: var(--section-padding) 0;
  }
  .section-title {
    margin-bottom: 8px;
  }
  .section-header {
    margin-bottom: 28px;
  }
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(201, 165, 92, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 165, 92, 0.5);
}
