/* ================= HERO & LIVE COCKPIT HUD ================= */
.hero-section {
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-dim);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ================= LIVE HUD TERMINAL MOCKUP ================= */
.hud-terminal-card {
  background: rgba(14, 7, 32, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 58, 237, 0.25);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hud-terminal-card:hover {
  box-shadow: 0 35px 90px -10px rgba(0, 0, 0, 0.85), 0 0 55px rgba(147, 51, 234, 0.4);
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(19, 9, 44, 0.95);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.hud-window-dots {
  display: flex;
  gap: 0.45rem;
}

.hud-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hud-dot.red {
  background: #ef4444;
}

.hud-dot.yellow {
  background: #f59e0b;
}

.hud-dot.green {
  background: #10b981;
}

.hud-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--purple-300);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hud-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--solana-teal);
}

.hud-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Radar & Signal Box inside HUD */
.hud-visual-radar {
  height: 180px;
  width: 100%;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 50%, #1c0c3b, #0c051a);
  border: 1px solid rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-visual-radar img,
.hud-visual-radar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bonding Curve Progress Bar */
.bonding-curve-block {
  background: rgba(19, 9, 44, 0.6);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
}

.bonding-curve-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.bonding-label {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
}

.bonding-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--solana-teal);
}

.bonding-bar-track {
  width: 100%;
  height: 8px;
  background: #14082c;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bonding-bar-fill {
  height: 100%;
  width: 99.4%;
  background: linear-gradient(90deg, #9333ea, #c084fc 70%, #14f195 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px var(--solana-teal);
  position: relative;
  transition: width 0.4s ease;
}

.bonding-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmerLight 2s infinite;
}

/* HUD Telemetry Grid */
.hud-telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.telemetry-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(22, 10, 50, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.15);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
}

.telemetry-pill .label {
  color: var(--text-muted);
}

.telemetry-pill .val {
  font-weight: 700;
  color: #ffffff;
}

.telemetry-pill .val.green {
  color: var(--solana-teal);
}

.telemetry-pill .val.purple {
  color: var(--purple-300);
}

/* HUD Live Console Stream */
.hud-console {
  background: #080314;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(168, 85, 247, 0.2);
  padding: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  max-height: 110px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.console-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.console-line .ts {
  color: var(--text-faint);
}

.console-line .icon {
  font-size: 0.8rem;
}

.console-line.highlight {
  color: var(--solana-teal);
  font-weight: 600;
}

/* Interactive Snipe Trigger Button */
.hud-action-row {
  display: flex;
  gap: 0.75rem;
}

.hud-snipe-btn {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  transition: all var(--transition-fast);
}

.hud-snipe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.55);
}

.hud-snipe-btn:active {
  transform: scale(0.98);
}

/* ================= INTERACTIVE INSTALL SIMULATOR ================= */
.install-simulator-box {
  background: rgba(16, 8, 36, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(147, 51, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.install-simulator-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c084fc, transparent);
}

.browser-toolbar-mockup {
  background: #0b0518;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-block: 2rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.browser-address-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #14082c;
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.browser-bookmarks-shelf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  background: rgba(22, 10, 48, 0.6);
  border: 2px dashed rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-sm);
  min-height: 48px;
  transition: all var(--transition-smooth);
}

.browser-bookmarks-shelf.drag-over {
  border-color: var(--solana-teal);
  background: rgba(20, 241, 149, 0.1);
  box-shadow: 0 0 25px rgba(20, 241, 149, 0.25);
}

.browser-bookmarks-shelf.installed {
  border-style: solid;
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(26, 12, 58, 0.8);
}

.static-bookmark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.drop-target-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--purple-300);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: auto;
  animation: pulseBeacon 2.5s infinite;
}

/* Interactive Draggable Center Area */
.drag-action-center {
  text-align: center;
  padding: 1.5rem 0;
}

.drag-hint-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--purple-400);
  margin-bottom: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  animation: bounceUp 1.8s infinite;
}

.install-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple-200);
}

/* ================= 3-STEP INSTALL CARDS ================= */
.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: rgba(16, 7, 34, 0.75);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.4);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.step-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ================= SPEED & LATENCY COMPARISON MATRIX ================= */
.speed-comparison-card {
  background: rgba(15, 6, 32, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
}

.speed-metric-row {
  display: grid;
  grid-template-columns: 180px 1fr 120px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-dim);
}

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

.metric-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-pure);
}

.metric-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metric-bar-wrapper {
  height: 12px;
  border-radius: 6px;
  background: #120726;
  overflow: hidden;
  position: relative;
}

.metric-bar {
  height: 100%;
  border-radius: 6px;
  transition: width 1s ease-out;
}

.metric-bar.competitor {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.metric-bar.axiomsnipe {
  background: linear-gradient(90deg, #9333ea, #14f195);
  box-shadow: 0 0 15px var(--solana-teal);
}

.metric-value-col {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: right;
}

.metric-value-col.red {
  color: #f87171;
}

.metric-value-col.green {
  color: var(--solana-teal);
}

/* Live Ping Tester Widget */
.ping-tester-widget {
  margin-top: 2.5rem;
  background: rgba(22, 10, 48, 0.6);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.ping-result-display {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ping-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--solana-teal);
  text-shadow: 0 0 15px rgba(20, 241, 149, 0.5);
}

/* ================= FEATURE RADAR / MODULE CARDS ================= */
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(46, 16, 101, 0.5));
  border: 1px solid rgba(192, 132, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.25);
  transition: transform var(--transition-fast);
}

.glass-card:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--purple-300);
}

.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-pure);
}

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

.feature-footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--solana-teal);
}

/* ================= SLIPPAGE & ROI CALCULATOR ================= */
.calc-wrapper {
  background: rgba(18, 9, 42, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.calc-slider-group {
  margin-bottom: 1.75rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.calc-slider-header label {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.calc-slider-header .slider-display {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  color: var(--purple-300);
}

.custom-range-slider {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: #250d48;
  border: 1.5px solid rgba(168, 85, 247, 0.55);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.75), 0 0 12px rgba(147, 51, 234, 0.35);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.custom-range-slider:hover {
  border-color: rgba(216, 180, 254, 0.85);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.75), 0 0 18px rgba(168, 85, 247, 0.6);
}

.custom-range-slider::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #9333ea;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.95), 0 3px 6px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  margin-top: -7px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 26px rgba(255, 255, 255, 1), 0 4px 10px rgba(0, 0, 0, 0.8);
}

.custom-range-slider::-moz-range-track {
  height: 10px;
  border-radius: 6px;
  background: #250d48;
  border: 1.5px solid rgba(168, 85, 247, 0.55);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.75), 0 0 12px rgba(147, 51, 234, 0.35);
}

.custom-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #9333ea;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.95), 0 3px 6px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-range-slider::-moz-range-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 26px rgba(255, 255, 255, 1), 0 4px 10px rgba(0, 0, 0, 0.8);
}

.calc-result-box {
  background: linear-gradient(135deg, rgba(30, 14, 66, 0.8), rgba(15, 6, 32, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.25);
}

.calc-result-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--solana-teal);
  text-shadow: 0 0 25px rgba(20, 241, 149, 0.4);
  margin-block: 0.5rem;
}

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

.faq-item {
  background: rgba(16, 7, 36, 0.7);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--line-strong);
  background: rgba(24, 12, 54, 0.8);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-pure);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--purple-300);
  transition: transform var(--transition-smooth);
}

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

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

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

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

/* ================= TOAST NOTIFICATION ================= */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(16, 8, 38, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--purple-400);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(168, 85, 247, 0.4);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .install-steps-grid {
    grid-template-columns: 1fr;
  }

  .speed-metric-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }
}