/* 
========================================================================
   SOLAI — Premium Cyberpunk Design System & Layout Stylesheet
   Color Palette: Deep Space Black, Electric Purple, Cyber Cyan
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Colors */
  --bg-dark-raw: 7, 7, 12;
  --bg-dark: rgb(var(--bg-dark-raw));
  --bg-card-raw: 16, 16, 28;
  --bg-card: rgba(var(--bg-card-raw), 0.7);
  --bg-card-hover: rgba(24, 24, 42, 0.85);
  
  --accent-purple: #8050FF;
  --accent-purple-glow: rgba(128, 80, 255, 0.35);
  
  --accent-cyan: #00FFFF;
  --accent-cyan-glow: rgba(0, 255, 255, 0.25);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #555870;
  
  --border-white: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(128, 80, 255, 0.2);
  
  /* System colors */
  --green: #00E676;
  --green-glow: rgba(0, 230, 118, 0.15);
  --red: #FF3D00;
  --red-glow: rgba(255, 61, 0, 0.15);
  --yellow: #FFEA00;
  --yellow-glow: rgba(255, 234, 0, 0.15);

  /* Shadows & Radius */
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-purple: 0 8px 32px 0 rgba(128, 80, 255, 0.15);
  --shadow-cyan: 0 8px 32px 0 rgba(0, 255, 255, 0.1);
  --glass-blur: blur(16px);
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(128, 80, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 80, 255, 0.45);
}

/* --- Ambient Glow Backgrounds --- */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-circle-1 {
  position: absolute;
  top: -10%;
  left: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(128, 80, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float-slow 25s infinite alternate;
}

.glow-circle-2 {
  position: absolute;
  bottom: 5%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float-slow 30s infinite alternate-reverse;
}

.grid-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
  pointer-events: none;
}

/* --- Layout Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFF 40%, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #9975FF);
  color: #FFF;
  box-shadow: 0 0 20px var(--accent-purple-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(128, 80, 255, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(128, 80, 255, 0.3);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, #00D2D2, var(--accent-cyan));
  color: #08080E;
  font-weight: 700;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(128, 80, 255, 0.12);
  border: 1px solid rgba(128, 80, 255, 0.25);
  color: #A78BFA;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* --- Top Announcement Banner --- */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: linear-gradient(90deg, rgba(16, 11, 38, 0.95), rgba(7, 7, 12, 0.95));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1.5px solid rgba(0, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  z-index: 1002;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.top-banner strong {
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.banner-divider {
  color: rgba(255, 255, 255, 0.15);
}

.ca-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-white);
}

.ca-wrap code {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.copy-ca-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 4px;
  transition: all 0.2s;
}

.copy-ca-btn:hover {
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
}

.copy-ca-btn svg {
  width: 12px;
  height: 12px;
}

/* --- Social Media Links in Navbar --- */
.nav-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 8px;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-white);
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-social-link:hover {
  color: var(--accent-cyan);
  background: rgba(0, 255, 255, 0.05);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.15);
  transform: translateY(-2px);
}

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

/* --- Header / Navbar --- */
header {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  background: rgba(13, 13, 23, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

header.scrolled {
  top: 44px;
  width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(8, 8, 14, 0.9);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple-glow);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #FFF 30%, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--text-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.1);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

/* Hamburger Menu for Mobile */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #FFF;
  font-size: 1.5rem;
}

/* --- Hero Section --- */
.hero-sec {
  padding-top: 204px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-left {
  max-width: 620px;
}

.hero-title {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 40%, #E2E8F0 70%, var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.hero-meta span, .hero-meta a {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.hero-meta svg {
  color: var(--accent-purple);
  width: 14px;
  height: 14px;
}

.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(128, 80, 255, 0.2), rgba(0, 255, 255, 0.1));
  box-shadow: var(--shadow-purple), 0 20px 40px rgba(0,0,0,0.4);
}

.hero-image-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.hero-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
  filter: contrast(1.05) brightness(0.95);
}

/* --- TP/SL Highlight Card --- */
.tpsl-highlight-card {
  background: linear-gradient(135deg, rgba(128, 80, 255, 0.12), rgba(0, 255, 255, 0.05));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(128, 80, 255, 0.25);
  box-shadow: 0 8px 32px rgba(128, 80, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.tpsl-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #08080E;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 30px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.tpsl-content-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tpsl-col h3 {
  font-size: 1.25rem;
  color: #FFF;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tpsl-col p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.tpsl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tpsl-list li {
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding-left: 20px;
}

.tpsl-list li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--accent-purple);
  font-size: 1.2rem;
  top: -2px;
}

.tpsl-list li strong {
  color: #FFF;
}

.tpsl-list li span {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* --- Features Section --- */
.section {
  padding: 90px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid .feature-card:last-child {
    grid-column: 2;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid .feature-card:last-child {
    grid-column: 1 / span 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(128, 80, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-purple);
}

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

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(128, 80, 255, 0.08);
  border: 1px solid rgba(128, 80, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(128, 80, 255, 0.25);
  color: #FFF;
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.feature-card-highlighted {
  border: 1px solid var(--accent-cyan) !important;
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.12) !important;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.04) 0%, rgba(16, 16, 28, 0.8) 100%) !important;
}

.feature-card-highlighted:hover {
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.25) !important;
  border-color: var(--accent-cyan) !important;
  transform: translateY(-5px);
}

.feature-card-highlighted .feature-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0, 255, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

.feature-card-highlighted:hover .feature-icon-wrap {
  background: rgba(0, 255, 255, 0.25) !important;
  color: #FFF !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4) !important;
  border-color: var(--accent-cyan) !important;
}

/* --- Live Simulator Mockup Section --- */
.sim-wrap {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 1100px;
  margin: 0 auto;
}

.sim-header {
  background: rgba(10, 10, 18, 0.7);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--green);
  animation: pulse-green 1.5s infinite;
}

.sim-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.sim-address {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.03);
}

/* Simulator Stats Grid */
.sim-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border-white);
  background: rgba(13, 13, 23, 0.3);
}

.sim-stat-box {
  padding: 20px 24px;
  border-right: 1px solid var(--border-white);
}

.sim-stat-box:last-child {
  border-right: none;
}

.sim-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 600;
}

.sim-stat-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
}

.sim-stat-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Simulator Dual Panel Body */
.sim-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: 400px;
}

.sim-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0; /* Fixes height overflow inside grid parents */
}

.sim-panel-left {
  border-right: 1px solid var(--border-white);
}

.sim-panel-hdr {
  background: rgba(10, 10, 18, 0.4);
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-white);
  display: flex;
  justify-content: space-between;
}

.sim-panel-content {
  padding: 10px 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0; /* Fixes flex child height overflow bug */
}

/* Custom scrollbar thumb for the simulator panels */
.sim-panel-content::-webkit-scrollbar-thumb {
  background: rgba(128, 80, 255, 0.4);
}

.sim-panel-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 255, 0.6);
}

/* Custom list layout */
.sim-row {
  display: grid;
  grid-template-columns: 24px 1fr 100px 70px;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  align-items: center;
  animation: list-entry-fade 0.5s ease backwards;
}

.sim-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sim-row-action {
  font-weight: 600;
}

.sim-row-info {
  display: flex;
  flex-direction: column;
}

.sim-row-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.sim-row-amount {
  font-family: var(--font-mono);
  text-align: right;
}

.sim-row-time {
  color: var(--text-muted);
  text-align: right;
}

/* Active Positions Layout */
.pos-sim-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  align-items: center;
}

.pos-sim-token {
  font-weight: 600;
}

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

.pos-sim-pnl {
  font-family: var(--font-mono);
  font-weight: 600;
  text-align: right;
}

/* Colors for live values */
.val-up { color: var(--green); }
.val-down { color: var(--red); }
.val-warn { color: var(--yellow); }

/* --- Steps Section --- */
.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-cyan), transparent);
}

.step-item {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-purple);
  box-shadow: 0 0 15px var(--accent-purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.3s;
}

.step-item:hover .step-num {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
  color: var(--accent-cyan);
}

.step-content {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  flex-grow: 1;
  transition: border-color 0.3s;
}

.step-item:hover .step-content {
  border-color: rgba(128, 80, 255, 0.25);
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

.step-code {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.03);
  color: var(--accent-cyan);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.step-code span {
  color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-sec {
  padding: 100px 0;
}

.cta-card {
  background: radial-gradient(circle at 10% 20%, rgba(128, 80, 255, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 60%),
              var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(128, 80, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-purple);
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: #FFF;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
}

.cta-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  display: flex;
  gap: 15px;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

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

.sec-badge svg {
  color: var(--green);
  width: 18px;
  height: 18px;
}

.vt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.vt-link:hover {
  color: var(--accent-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.vt-badge {
  cursor: pointer;
  transition: all 0.3s ease;
}

.vt-badge:hover {
  color: #FFF !important;
  text-shadow: 0 0 8px rgba(0, 112, 243, 0.4);
}

.vt-badge:hover svg {
  color: #0070f3 !important;
  filter: drop-shadow(0 0 4px rgba(0, 112, 243, 0.6));
}

/* --- Upcoming V2 Promo --- */
.v2-promo-sec {
  padding: 40px 0 80px 0;
  position: relative;
  z-index: 2;
}

.v2-promo-card {
  background: rgba(16, 16, 28, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px dashed rgba(128, 80, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 40px rgba(128, 80, 255, 0.05);
  position: relative;
}

.v2-badge {
  display: inline-block;
  background: var(--accent-purple);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.v2-promo-card h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFF 40%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.v2-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.v2-desc strong {
  color: var(--accent-cyan);
}

.v2-highlight-feature {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-block;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.25);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.v2-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
}

.price-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.price-discount {
  font-size: 1.8rem;
  color: var(--green);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.25);
}

.price-full {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

/* --- Disclaimer & Footer --- */
footer {
  border-top: 1px solid var(--border-white);
  padding: 50px 0;
  background: rgba(4, 4, 7, 0.7);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.disclaimer-box {
  background: rgba(255, 61, 0, 0.03);
  border: 1px solid rgba(255, 61, 0, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--text-secondary);
}

.disclaimer-box h4 {
  color: var(--red);
  font-size: 0.95rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-box p {
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* --- Keyframe Animations --- */
@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.92); }
}

@keyframes list-entry-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsiveness & Media Queries --- */
@media (max-width: 1024px) {
  .tpsl-content-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-sec {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 140px;
    padding-bottom: 60px;
  }
  
  .hero-left {
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-meta {
    justify-content: center;
  }
  
  .sim-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sim-stat-box:nth-child(2) {
    border-right: none;
  }
  
  .sim-stat-box:nth-child(3), .sim-stat-box:nth-child(4) {
    border-top: 1px solid var(--border-white);
  }
  
  .sim-body {
    grid-template-columns: 1fr;
    height: 600px;
  }
  
  .sim-panel-left {
    border-right: none;
    border-bottom: 1px solid var(--border-white);
    height: 320px;
  }
  
  .sim-panel-right {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .top-banner {
    height: auto;
    min-height: 44px;
    padding: 10px 16px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .banner-divider {
    display: none;
  }

  .ca-wrap {
    width: 100%;
    max-width: 380px;
    justify-content: center;
    box-sizing: border-box;
    padding: 6px 12px;
  }

  .ca-wrap code {
    font-size: 0.7rem;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  header {
    top: 96px;
  }

  header.scrolled {
    top: 0;
  }

  .hero-sec {
    padding-top: 180px !important;
  }

  .legal-sec {
    padding-top: 180px;
  }

  nav {
    display: none; /* Mobile navigation toggle will handle this */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 8, 14, 0.95);
    border-bottom: 1px solid var(--border-white);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    backdrop-filter: var(--glass-blur);
  }
  
  nav.active {
    display: flex;
  }
  
  .menu-btn {
    display: block;
  }
  
  .nav-right .btn {
    display: none; /* Hide download button in menu bar on mobile, keep it in Hero */
  }
  
  .steps-container::before {
    left: 20px;
  }
  
  .step-num {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  
  .step-item {
    gap: 16px;
  }
  
  .step-content {
    padding: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .sim-stats {
    grid-template-columns: 1fr;
  }
  
  .sim-stat-box {
    border-right: none !important;
    border-top: 1px solid var(--border-white);
  }
  
  .sim-stat-box:first-child {
    border-top: none;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .cta-card {
    padding: 40px 20px;
  }
}

/* --- Legal Pages Styling --- */
.legal-sec {
  padding: 140px 20px 80px 20px;
  max-width: 880px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .legal-card {
    padding: 24px;
  }
}

.legal-card h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 30px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #FFF;
  margin-top: 32px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* --- Bug Reporting Styles --- */
.nav-bug-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 61, 0, 0.05);
  border: 1px solid rgba(255, 61, 0, 0.15);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  margin-right: 8px;
}

.nav-bug-link:hover {
  color: #FF3D00;
  background: rgba(255, 61, 0, 0.1);
  border-color: rgba(255, 61, 0, 0.4);
  box-shadow: 0 0 10px rgba(255, 61, 0, 0.15);
  transform: translateY(-1px);
}

.nav-bug-link svg {
  width: 12px;
  height: 12px;
}

.bug-report-bar {
  background: rgba(16, 16, 28, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border-white);
  border-bottom: 1px solid var(--border-white);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

.bug-report-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bug-report-bar a {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.bug-report-bar a:hover {
  color: var(--accent-purple);
  text-shadow: 0 0 8px var(--accent-purple-glow);
}

@media (max-width: 768px) {
  .nav-bug-link {
    display: none; /* Hide inside small screen bar, keeping header clean */
  }
}

/* --- How It Works Section --- */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.work-step-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.work-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.work-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.work-step-card:hover::before {
  opacity: 1;
}

.work-step-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.work-step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #FFF;
}

.work-step-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}
