:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2234;
  --bg-card: rgba(22, 30, 49, 0.75);
  --bg-card-hover: rgba(28, 39, 64, 0.85);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --brand-green: #00f59b;
  --brand-green-glow: rgba(0, 245, 155, 0.35);
  --brand-cyan: #00d2ff;
  --brand-cyan-glow: rgba(0, 210, 255, 0.3);
  --brand-red: #ff3366;
  --brand-red-glow: rgba(255, 51, 102, 0.3);
  --brand-amber: #ffb800;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 245, 155, 0.25);
  --glass-bg: rgba(16, 24, 40, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --backdrop-blur: blur(16px);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: rgba(248, 250, 252, 1);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --brand-green: #059669;
  --brand-green-glow: rgba(5, 150, 105, 0.2);
  --brand-cyan: #0284c7;
  --brand-cyan-glow: rgba(2, 132, 199, 0.2);
  --brand-red: #e11d48;
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(5, 150, 105, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 245, 155, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(0, 210, 255, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.mono {
  font-family: var(--font-mono);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement Top Bar */
.announcement-bar {
  background: linear-gradient(90deg, #09131e, #0c202a, #09131e);
  border-bottom: 1px solid rgba(0, 245, 155, 0.2);
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
  z-index: 100;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-discount {
  background: var(--brand-green);
  color: #000;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.announcement-link {
  color: var(--brand-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.announcement-link:hover {
  text-decoration: underline;
  color: var(--brand-green);
}

/* Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--brand-green-glow);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #0a0e17;
}

.brand-logo span.pro-badge {
  background: linear-gradient(90deg, var(--brand-green), var(--brand-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.25rem;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-green);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--brand-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green) 0%, #00c97d 100%);
  color: #06110d;
  box-shadow: 0 4px 20px var(--brand-green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 245, 155, 0.5);
  background: linear-gradient(135deg, #26ffaa 0%, #00e08b 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, #0099cc 100%);
  color: #05141c;
  box-shadow: 0 4px 18px var(--brand-cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.45);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Ticker Bar */
.market-ticker {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.4rem 0;
  font-size: 0.82rem;
}

.ticker-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: tickerSlide 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-name {
  font-weight: 700;
  color: var(--text-primary);
}

.ticker-val {
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.ticker-up {
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.ticker-down {
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.3);
  color: var(--brand-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero-tag-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
  animation: pulseGreen 2s infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-green) 75%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
}

/* Terminal Mockup in Hero */
.hero-terminal-wrapper {
  margin-top: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 245, 155, 0.08);
  overflow: hidden;
  backdrop-filter: var(--backdrop-blur);
}

.terminal-header {
  background: rgba(10, 14, 23, 0.85);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.terminal-window-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.win-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.win-red { background: #ff5f56; }
.win-yellow { background: #ffbd2e; }
.win-green { background: #27c93f; }

.terminal-title {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-status-badge {
  background: rgba(0, 245, 155, 0.15);
  color: var(--brand-green);
  border: 1px solid rgba(0, 245, 155, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.terminal-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 480px;
}

.chart-area {
  position: relative;
  border-right: 1px solid var(--border-color);
  background: #090d16;
  display: flex;
  flex-direction: column;
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 21, 34, 0.5);
  font-size: 0.8rem;
}

.chart-symbol-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.symbol-name {
  font-weight: 800;
  color: #fff;
}

.symbol-timeframe {
  color: var(--brand-cyan);
  background: rgba(0, 210, 255, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.72rem;
}

.chart-live-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-green);
  font-size: 0.95rem;
}

.canvas-container {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

#tradingChart {
  width: 100%;
  height: 100%;
  display: block;
}

/* Terminal Side Controller (Chart Trader Panel) */
.terminal-side-panel {
  background: rgba(13, 19, 31, 0.95);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.order-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 0.25rem;
  border: 1px solid var(--border-color);
}

.mode-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.mode-tab-btn.active {
  background: var(--brand-green);
  color: #06110d;
}

.terminal-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
}

.control-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  width: 100%;
  outline: none;
}

.terminal-input:focus {
  border-color: var(--brand-green);
}

.quick-exec-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-buy {
  background: linear-gradient(135deg, #00f59b, #00b371);
  color: #04140c;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 245, 155, 0.35);
  transition: var(--transition);
}

.btn-buy:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-sell {
  background: linear-gradient(135deg, #ff3366, #c71b46);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.35);
  transition: var(--transition);
}

.btn-sell:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.terminal-toggle-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #2b3548;
  transition: .3s;
  border-radius: 20px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--brand-green);
}

input:checked + .toggle-slider:before {
  transform: translateX(18px);
}

.live-stats-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.stat-line {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.pnl-positive {
  color: var(--brand-green);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Toast Notification in Terminal */
.terminal-toast {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(12, 20, 32, 0.95);
  border: 1px solid var(--brand-green);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  pointer-events: none;
  z-index: 10;
}

.terminal-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Section Header Generic */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-label {
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--brand-green);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.6;
}

.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--backdrop-blur);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.4), 0 0 20px var(--brand-green-glow);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  margin-bottom: 1.25rem;
}

.feature-icon-box.cyan {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.2);
  color: var(--brand-cyan);
}

.feature-icon-box.red {
  background: rgba(255, 51, 102, 0.1);
  border-color: rgba(255, 51, 102, 0.2);
  color: var(--brand-red);
}

.feature-icon-box.amber {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.2);
  color: var(--brand-amber);
}

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

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* 3 Modes Section */
.modes-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  backdrop-filter: var(--backdrop-blur);
}

.mode-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-green);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 245, 155, 0.15);
}

.mode-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-green);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.mode-title {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.mode-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.mode-features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.mode-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.mode-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.mode-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(0, 210, 255, 0.15);
  color: var(--brand-cyan);
  margin-bottom: 1rem;
}

/* Ecosystem / Weapons Section */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.flagship-card {
  background: linear-gradient(145deg, rgba(20, 28, 48, 0.9), rgba(12, 17, 30, 0.9));
  border: 1px solid rgba(0, 245, 155, 0.3);
  border-radius: 18px;
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 245, 155, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flagship-badge {
  background: var(--brand-green);
  color: #06120d;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.ecosystem-subgrid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sub-weapon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  transition: var(--transition);
}

.sub-weapon-card:hover {
  border-color: var(--brand-cyan);
  transform: translateX(4px);
  box-shadow: 0 5px 20px rgba(0, 210, 255, 0.15);
}

.sub-weapon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.sub-weapon-header h4 {
  font-size: 1.1rem;
}

.sub-weapon-arrow {
  color: var(--brand-cyan);
  font-size: 1.2rem;
  transition: var(--transition);
}

.sub-weapon-card:hover .sub-weapon-arrow {
  transform: translateX(4px);
}

/* Risk Calculator Section */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
  backdrop-filter: var(--backdrop-blur);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.calc-field .val-highlight {
  color: var(--brand-green);
  font-family: var(--font-mono);
}

.calc-select, .calc-range {
  width: 100%;
}

.calc-select {
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
}

.calc-select:focus {
  border-color: var(--brand-green);
}

.calc-range {
  accent-color: var(--brand-green);
  height: 6px;
  background: #1f293d;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.calc-results-box {
  background: linear-gradient(135deg, rgba(16, 25, 43, 0.95), rgba(9, 13, 23, 0.95));
  border: 1px solid rgba(0, 245, 155, 0.25);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-stat-hero {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.calc-stat-hero .contracts-number {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--brand-green);
  line-height: 1;
  text-shadow: 0 0 25px var(--brand-green-glow);
}

.calc-stat-hero .contracts-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.calc-breakdown-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  backdrop-filter: var(--backdrop-blur);
}

.pricing-card.popular {
  border-color: var(--brand-green);
  background: linear-gradient(160deg, rgba(26, 38, 64, 0.9), rgba(15, 23, 39, 0.9));
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 245, 155, 0.15);
  transform: scale(1.03);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-green);
  color: #04140c;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-name {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1.25rem 0;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
  flex-shrink: 0;
}

/* Community Section */
.community-card {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 20px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.community-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(88, 101, 242, 0.2);
  color: #7983f5;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.community-stat-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f59b;
  box-shadow: 0 0 8px #00f59b;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25334d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-green);
  border: 2px solid rgba(0, 245, 155, 0.4);
}

.user-info h5 {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.user-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stars-rating {
  color: #ffb800;
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-payout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 245, 155, 0.15);
  color: var(--brand-green);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-top: 0.75rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--brand-green);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding: 0 1.5rem 1.35rem;
}

/* Free Downloads Section */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-3px);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--brand-green-glow);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-backdrop.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green-glow);
}

/* Footer */
.main-footer {
  background: #070a10;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
  font-size: 0.88rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.88rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.footer-links a:hover {
  color: var(--brand-green);
  transform: translateX(2px);
}

.footer-risk-warning {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .terminal-body {
    grid-template-columns: 1fr;
  }
  .chart-area {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .modes-container,
  .pricing-grid,
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-grid,
  .calc-grid,
  .community-card {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: #0e1524;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =======================================================
   VPS Licensing & Registration UI Styles
   ======================================================= */
.vps-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.3);
  color: var(--brand-green);
  transition: var(--transition);
}

.vps-status-badge.offline {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.3);
  color: var(--brand-amber);
}

.vps-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.vps-dot.online {
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
  animation: pulseGreen 2s infinite;
}

.vps-dot.offline {
  background: var(--brand-amber);
  box-shadow: 0 0 10px var(--brand-amber);
}

.license-box-container {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 245, 155, 0.08);
  backdrop-filter: var(--backdrop-blur);
}

.license-nav-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.35rem;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.license-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.license-tab-btn:hover {
  color: #fff;
}

.license-tab-btn.active {
  background: var(--brand-green);
  color: #04140c;
  box-shadow: 0 0 18px var(--brand-green-glow);
}

.license-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hwid-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

.hwid-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--brand-cyan);
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.hwid-action-btn:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--brand-cyan);
}

.license-result-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  animation: floatUpDown 4s ease-in-out infinite;
}

.license-result-card.success {
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid var(--brand-green);
  box-shadow: 0 0 25px var(--brand-green-glow);
}

.license-result-card.warning {
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid var(--brand-amber);
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.2);
}

.license-result-card.error {
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid var(--brand-red);
  box-shadow: 0 0 25px var(--brand-red-glow);
}

.code-badge-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed var(--brand-green);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 0.75rem;
}

.code-badge-box span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.code-badge-box strong {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--brand-green);
  letter-spacing: 1.5px;
}

/* =======================================================
   FULLSCREEN PRESENTATION GATE (SPLASH / REGISTRATION GATE)
   ======================================================= */
#presentationGate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 25%, #0f1c30 0%, #060911 80%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#presentationGate.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-card {
  background: rgba(14, 21, 35, 0.96);
  border: 1px solid rgba(0, 245, 155, 0.4);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  padding: 1.35rem 1.65rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px var(--brand-green-glow);
  backdrop-filter: blur(20px);
  position: relative;
  text-align: center;
  margin: auto;
}

.gate-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gate-brand-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
}

.gate-logo-icon-sm {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--brand-green-glow);
  flex-shrink: 0;
}

.gate-logo-icon-sm svg {
  width: 20px;
  height: 20px;
  fill: #0a0e17;
}

.gate-title-sm {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}

.gate-sub-sm {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gate-logo-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.gate-logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--brand-green-glow);
  margin-bottom: 0.75rem;
}

.gate-logo-icon svg {
  width: 30px;
  height: 30px;
  fill: #0a0e17;
}

.gate-title {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}

.gate-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.gate-tabs-nav {
  display: flex;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.25rem;
  gap: 0.25rem;
  margin: 1.5rem 0 1.75rem;
}

.gate-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.65rem 0.75rem;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.gate-tab-btn.active {
  background: var(--brand-green);
  color: #04140c;
  box-shadow: 0 0 15px var(--brand-green-glow);
.gate-input-group {
  display: flex;
  gap: 0.5rem;
}

.gate-code-toggle {
  background: transparent;
  border: none;
  color: var(--brand-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
  text-decoration: underline;
  transition: var(--transition);
}

.gate-code-toggle:hover {
  color: var(--brand-green);
}

.gate-code-box {
  background: rgba(8, 14, 25, 0.9);
  border: 1px solid rgba(0, 245, 155, 0.4);
  padding: 1.25rem;
  border-radius: 12px;
  margin-top: 1.25rem;
  box-shadow: inset 0 0 20px rgba(0, 245, 155, 0.05);
  animation: fadeIn 0.3s ease;
}

.user-session-bar {
  background: rgba(14, 21, 35, 0.95);
  border-bottom: 1px solid rgba(0, 245, 155, 0.3);
  padding: 0.45rem 1.5rem;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 101;
}

.user-session-bar .session-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-session-bar .btn-logout {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--brand-red);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  transition: var(--transition);
}

.user-session-bar .btn-logout:hover {
  background: var(--brand-red);
  color: #fff;
}


