/* ====================================================
   SOLVIRA – Premium Fintech Design System
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Premium Dark Mode Theme */
  --bg-primary: #051024;
  --bg: linear-gradient(135deg, #051024 0%, #061229 100%);
  --bg-card: rgba(26, 40, 64, 0.4);
  --bg-card-hover: rgba(26, 40, 64, 0.6);
  --accent: #2C4A70;
  --accent-hover: #3a5d8c;
  --accent-light: rgba(44, 74, 112, 0.15);
  --success: #35c97b;
  --warning: #f59e0b;
  --error: #ef4444;
  --text: #E3E7EA;
  --text-main: #E3E7EA;
  --text-muted: #8a9bb0;
  --border: #1A2840;
  --border-light: rgba(26, 40, 64, 0.5);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --radius: 16px;
  --radius-sm: 6px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  background-image: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ====================================================
   HEADER & NAVIGATION
   ==================================================== */

header {
  background: rgba(5, 16, 36, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.6s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

.lang-switcher {
  position: absolute;
  right: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-switcher a:hover {
  color: var(--accent);
  background: rgba(44, 74, 112, 0.1);
}

.lang-switcher a.active {
  color: var(--accent);
  font-weight: 600;
}

.lang-switcher .separator {
  color: var(--border);
}

.hero-logo {
  width: 250px;
  height: auto;
  margin-bottom: 2rem;
  animation: fadeIn 0.8s ease;
}

@media (max-width: 768px) {
  .hero-logo {
    width: 180px;
  }
}

.menu-toggle {
  position: absolute;
  left: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  transition: var(--transition);
  border-radius: 4px;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.menu-icon {
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active .menu-icon:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.menu-toggle.active .menu-icon:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-icon:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

.nav-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  background: rgba(5, 16, 36, 0.98);
  backdrop-filter: blur(20px);
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top left;
}

.nav-menu.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateY(-10px);
}

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  display: block;
}

nav a:hover {
  color: var(--text);
  background: rgba(44, 74, 112, 0.2);
}

nav a.active {
  color: var(--text);
  background: var(--accent-light);
}

nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

/* Header Compact Mode (Mobile Scroll) */
header.header-compact {
  background: rgba(5, 16, 36, 0.98);
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-compact .header-content {
  padding: 0.5rem 0;
  transition: padding 0.3s ease;
}


header.header-compact nav a {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  transition: all 0.3s ease;
}

/* ====================================================
   HERO SECTION
   ==================================================== */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(44, 74, 112, 0.12) 0%, rgba(5, 16, 36, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

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

.hero h1 {
  font-size: 5.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #E3E7EA;
  letter-spacing: 12px;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(227, 231, 234, 0.3);
}

.hero-subtitle {
  font-size: 1.75rem;
  color: #E3E7EA;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  opacity: 1;
  text-shadow: 0 2px 12px rgba(227, 231, 234, 0.2);
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ====================================================
   CARDS
   ==================================================== */

.card {
  background: #0e1b30;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease;
}

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

.card:hover {
  background: #101f38;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* ====================================================
   LEGAL DISCLAIMER STYLES
   ==================================================== */

.disclaimer-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
  border: 2px solid rgba(239, 68, 68, 0.3);
  margin-bottom: 2rem;
}

.disclaimer-box {
  background: rgba(239, 68, 68, 0.08);
  border-left: 4px solid var(--error);
  padding: 1.5rem;
  border-radius: 8px;
}

.disclaimer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.disclaimer-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.disclaimer-list li {
  padding: 0.75rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.disclaimer-list li:last-child {
  border-bottom: none;
}

.disclaimer-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(239, 68, 68, 0.2);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--error);
  text-align: center;
}

/* ====================================================
   GRID LAYOUTS
   ==================================================== */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.main-content {
  padding: 3rem 0 4rem;
  max-width: 100%;
  margin: 0 auto;
}

/* ====================================================
   FORM ELEMENTS
   ==================================================== */

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

input[type="number"],
input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(5, 16, 36, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="number"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(5, 16, 36, 0.8);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* ====================================================
   BUTTONS
   ==================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(44, 74, 112, 0.4), 0 2px 6px rgba(44, 74, 112, 0.3);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 74, 112, 0.6), 0 3px 10px rgba(44, 74, 112, 0.4);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--accent-light);
  box-shadow: 0 2px 8px rgba(192, 199, 212, 0.15);
}

.btn-success {
  background: var(--success);
  color: white;
  box-shadow: 0 2px 8px rgba(53, 201, 123, 0.2);
}

.btn-success:hover {
  background: #2eb56d;
}

.btn-full {
  width: 100%;
}

/* ====================================================
   PRODUCT SELECTOR
   ==================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-option {
  padding: 1.5rem 1rem;
  background: rgba(14, 27, 48, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-option:hover {
  background: rgba(26, 40, 64, 0.3);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.product-option.selected {
  background: var(--accent-light);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.product-option .product-weight {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.product-option .product-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ====================================================
   INFO BOXES
   ==================================================== */

.info-box {
  background: rgba(14, 27, 48, 0.8);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-box.success {
  background: rgba(16, 185, 129, 0.1);
  border-left-color: var(--success);
}

.info-box.warning {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: var(--warning);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

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

.info-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.info-value {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
}

.info-value.highlight {
  color: var(--accent);
  font-size: 1.125rem;
}

/* ====================================================
   WALLET INFO
   ==================================================== */

.wallet-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(5, 16, 36, 0.6);
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--error);
  animation: pulse 2s infinite;
}

.status-dot.connected {
  background: var(--success);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.wallet-address {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

.balance-display {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(44, 74, 112, 0.3) 0%, rgba(44, 74, 112, 0.15) 100%);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

.balance-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.balance-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ====================================================
   ACTIVITY LOG
   ==================================================== */

.log-container {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  max-height: 300px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.log-container::-webkit-scrollbar {
  width: 8px;
}

.log-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.log-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.log-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.log-entry {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  animation: logSlide 0.3s ease;
}

@keyframes logSlide {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.log-entry.success {
  border-left-color: var(--success);
}

.log-entry.warning {
  border-left-color: var(--warning);
}

.log-entry.error {
  border-left-color: var(--error);
}

.log-timestamp {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ====================================================
   PREMIUM NOTIFICATION
   ==================================================== */

.premium-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(53, 201, 123, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  z-index: 2000;
  max-width: 500px;
  animation: notificationSlide 0.5s ease, notificationFade 0.5s ease 7.5s forwards;
}

@keyframes notificationSlide {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes notificationFade {
  to {
    opacity: 0;
    transform: translateX(400px);
  }
}

/* ====================================================
   TIMELINE (How It Works)
   ==================================================== */

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(44, 74, 112, 0.3));
}

.timeline-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(2) { animation-delay: 0.2s; }
.timeline-step:nth-child(3) { animation-delay: 0.3s; }
.timeline-step:nth-child(4) { animation-delay: 0.4s; }
.timeline-step:nth-child(5) { animation-delay: 0.5s; }

.timeline-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(44, 74, 112, 0.5);
  color: var(--text);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ====================================================
   FEATURE GRID
   ==================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.feature-card ul {
  list-style: none;
  margin-top: 1rem;
}

.feature-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.feature-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* ====================================================
   PROGRESS BARS (Tokenomics)
   ==================================================== */

.tokenomics-item {
  margin-bottom: 2rem;
}

.tokenomics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.tokenomics-label {
  font-weight: 600;
  color: var(--text-main);
}

.tokenomics-value {
  color: var(--accent);
  font-weight: 600;
}

.progress-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 6px;
  transition: width 1s ease;
  box-shadow: 0 0 10px rgba(44, 74, 112, 0.5);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  /* Mobile Card Reordering - Wallet First */
  .wallet-journal-column {
    order: 1;
    display: flex;
    flex-direction: column;
  }

  .wallet-card {
    order: 1;
  }

  .journal-card {
    order: 3;
  }

  .config-column {
    order: 2;
  }

  /* Mobile Header Adjustments */
  .header-content {
    padding: 0.75rem 0;
  }

  .nav-menu {
    left: 0.5rem;
    min-width: 220px;
  }

  nav a {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }

  /* Mobile Header Compact Mode - Only active when scrolling */
  header.header-compact .header-content {
    padding: 0.4rem 0;
  }

  header.header-compact .menu-toggle {
    padding: 0.4rem;
  }

  header.header-compact .menu-icon {
    width: 20px;
  }

  header.header-compact .nav-menu {
    padding: 0.5rem 1rem;
  }

  header.header-compact nav a {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

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

  .hero {
    min-height: 60vh;
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 0.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 3px;
  }

  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    gap: 1rem;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-step {
    padding-left: 60px;
  }

  .timeline-number {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .premium-notification {
    left: 20px;
    right: 20px;
    font-size: 1rem;
  }
}

/* ====================================================
   UTILITY CLASSES
   ==================================================== */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

/* ====================================================
   DEMO NETWORK STATS PANEL
   ==================================================== */

#networkStatsPanel {
  background: linear-gradient(135deg, rgba(26, 40, 64, 0.3) 0%, rgba(5, 16, 36, 0.5) 100%);
  border: 1px solid var(--border);
}

#networkStatsPanel h3 {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-box {
  background: rgba(26, 40, 64, 0.2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(26, 40, 64, 0.4);
  border-color: var(--accent);
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.burn-highlight {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  transition: all 0.2s ease-out;
}

.burn-animate {
  animation: burnPulse 0.8s ease-out;
}

@keyframes burnPulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 transparent;
    color: var(--accent);
  }
  50% {
    transform: scale(1.15);
    text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 165, 0, 0.6);
    color: #ffd700;
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 transparent;
    color: var(--accent);
  }
}

.table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.transactions-table thead {
  background: rgba(26, 40, 64, 0.4);
}

.transactions-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.transactions-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.transactions-table tbody tr {
  transition: var(--transition);
}

.transactions-table tbody tr:hover {
  background: rgba(26, 40, 64, 0.25);
}

.transactions-table tbody tr:last-child td {
  border-bottom: none;
}

.burn-cell {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .transactions-table {
    font-size: 0.75rem;
  }
  
  .transactions-table th,
  .transactions-table td {
    padding: 0.5rem 0.75rem;
  }
}

code {
  background: rgba(26, 40, 64, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--accent);
}

/* ====================================================
   TOKEN JOURNEY TIMELINE
   ==================================================== */

.token-journey {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(5, 16, 36, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  opacity: 0;
  animation: fadeInJourney 0.8s ease forwards;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

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

.token-journey h3 {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.journey-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.journey-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.journey-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.journey-arrow {
  color: var(--accent);
  font-size: 1.25rem;
  opacity: 0.5;
  flex-shrink: 0;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .journey-flow {
    flex-direction: column;
    gap: 1rem;
  }
  
  .journey-arrow {
    transform: rotate(90deg);
  }
  
  .journey-step {
    width: 100%;
  }
}
