:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(20, 25, 40, 0.7);
  --accent: #ffae00;
  /* Amber/Orange for CRT feel */
  --accent-glow: rgba(255, 174, 0, 0.4);
  --accent-2: #00f0ff;
  /* Cyan for modern touched */
  --text: #e0e0e0;
  --muted: #6b7d8f;
  --border: rgba(0, 240, 255, 0.2);
  --grid: rgba(0, 240, 255, 0.05);
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "Space Mono", monospace;
  --font-logo: "Anta", sans-serif;
  --success: #00ff9d;
  --success-dim: rgba(0, 255, 157, 0.7);
}

/* Landing Page Specifics */
body.landing-body {
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  /* Above background visuals */
}

/* Branding Header */
.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

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

.brand-text {
  font-family: var(--font-logo);
  font-size: 1.8rem;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

::-webkit-scrollbar-corner {
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-display);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text);
  min-height: 100vh;
}

.app {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background: rgba(10, 15, 25, 0.8);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-header {
  padding: 0 24px 32px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  margin-bottom: 24px;
}

.sidebar-header .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 4px;
}

/* Toggle Buttons */
.toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px;
  transition: all 0.2s ease;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.toggle-btn.active {
  background: var(--accent-2);
  color: #000;
  border-color: var(--accent-2);
}

.sidebar-header h2 {
  font-family: var(--font-logo);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
  background: linear-gradient(180deg, #fff, var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-item {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.nav-item:hover {
  color: var(--text);
  background: rgba(0, 240, 255, 0.05);
}

.nav-item.active {
  color: var(--accent);
  background: rgba(255, 174, 0, 0.05);
  border-left-color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

.main-content {
  flex: 1;
  /* full width/height by default */
  overflow-x: hidden;
}

.standard-view {
  padding: 32px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

/* Node Card Styling */
.node-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 12px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left-width: 4px;
  /* Color strip handled inline */
  transition: all 0.2s;
}

.node-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.node-card .btn-icon {
  opacity: 0.6;
}

.node-card:hover .btn-icon {
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  /* Premium touches */
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.75rem;
  margin: 0 0 8px;
  text-shadow: 0 0 5px var(--accent-glow);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

}

.subtitle {
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.status {
  font-family: var(--font-mono);
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

/* Controls Grid */
.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 24px;
  margin-bottom: 24px;
  /* UI Depth */
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sidebar Specific Controls Override */
.sidebar .controls,
aside.controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Tighter gap for sidebar */
  grid-template-columns: 1fr;
  /* Force single column */
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
}

select,
input {
  padding: 12px 14px;
  background: rgba(5, 8, 12, 0.6);
  border: 1px solid var(--border);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s;
  /* Polish */
  border-radius: 2px;
  height: 48px;
  /* Taller inputs */
  width: 100%;
}

select:focus,
input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
  background: rgba(5, 12, 18, 0.8);
}

.button-group {
  grid-column: span 3;
  display: flex;
  gap: 12px;
}

button {
  flex: 1;
  padding: 14px;
  background: var(--accent);
  color: #000;
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 0 15px var(--accent-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 2px;
}

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

button.secondary:hover {
  background: rgba(255, 174, 0, 0.1);
  box-shadow: 0 0 10px var(--accent-glow);
}

button:hover:not(:disabled) {
  background: var(--accent-2);
  color: #000;
  box-shadow: 0 0 15px var(--accent-2);
  transform: translateY(-1px);
}

button:disabled {
  background: var(--muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Plot Card */
.plot-card {
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  min-height: 600px;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.plot-card canvas {
  max-width: 100% !important;
  max-height: 100% !important;
  outline: none;
}

.plot-card::after {
  content: "VISUALIZATION_MATRIX";
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--border);
  pointer-events: none;
}

#plot {
  width: 100%;
  height: 600px;
}

/* Plotly Modebar Styling */
.modebar-btn {
  color: var(--accent-1) !important;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  button {
    grid-column: span 1;
  }
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 5, 10, 0.9);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--panel);
  border: 1px solid var(--accent-2);
  width: 90%;
  max-width: 1200px;
  padding: 30px;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.modal-header h2 {
  font-family: var(--font-logo);
  color: var(--accent-2);
  margin: 0;
  font-size: 1.5rem;
}

.close-modal {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
  box-shadow: none;
}

.close-modal:hover {
  color: white;
  background: none;
  box-shadow: none;
}

#maximizeGroundTrackBtn {
  transition: all 0.2s ease;
}

#maximizeGroundTrackBtn:hover {
  background: var(--accent-2);
  color: #000;
  border-color: var(--accent-2);
}

/* Autocomplete Search */
.autocomplete-container {
  position: relative;
  width: 100%;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--accent-2);
  border-top: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  /* hidden by default */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.autocomplete-dropdown.active {
  display: block;
}

.search-result-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.1s;
}

.search-result-item:hover {
  background: rgba(0, 240, 255, 0.2);
  color: var(--accent-2);
  padding-left: 18px;
  /* slide effect */
}

/* Modal for ground track remains, others removed/hidden */
.modal {
  display: none;
}

/* ... original modal styles kept for Ground Track ... */

/* Pass Tracker Features */
.pass-countdown {
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--border);
  background: rgba(0, 240, 255, 0.05);
}

.countdown-time {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--accent-2);
  text-shadow: 0 0 10px var(--accent-2);
}

.timezone-toggle {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.tz-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 4px 12px;
  cursor: pointer;
  font-size: 0.8rem;
}

.tz-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* Active Pass Timer */
.active-pass-timer {
  font-family: var(--font-mono);
  text-align: right;
}

.active-time {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--success);
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
  }

  50% {
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.7);
  }

  100% {
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
  }
}

/* Icon Buttons */
.btn-icon {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px 8px;
  line-height: 1;
  transition: all 0.2s;
  box-shadow: none;
  border-radius: 4px;
}

.btn-icon:hover {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
  transform: none;
  box-shadow: none;
}

/* --- Dashboard Styles --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.user-profile-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(20, 25, 40, 0.9), rgba(10, 15, 25, 0.95));
  border: 1px solid var(--accent);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 0 30px rgba(255, 174, 0, 0.1);
}

.avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: 0 0 20px var(--accent-glow);
}

.org-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s;
}

.org-card:hover {
  border-color: var(--accent-2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.org-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.org-role {
  font-size: 0.7rem;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Auth Modal Specifics --- */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
  margin: 0 auto;
}

.auth-tabs {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.auth-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* User Sidebar Area */
.sidebar-user {
  margin-top: auto;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.user-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.user-mini:hover {
  background: rgba(255, 255, 255, 0.05);
}

.avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* --- Redesigned Landing Page Sections --- */

.landing-hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60vh;
  margin-bottom: 60px;
  position: relative;
  overflow: visible;
  padding: 0 40px;
}

.hero-content {
  max-width: 600px;
  z-index: 10;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.text-accent {
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Orbital Visual */
.hero-visual {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.6;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 300px;
  height: 300px;
  border-color: rgba(255, 174, 0, 0.2);
}

.ring-2 {
  width: 500px;
  height: 500px;
  border-color: rgba(0, 240, 255, 0.2);
}

.orbit-planet {
  position: absolute;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  /* Remove margins, handle in animation */
  margin: 0;
}

.planet-1 {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  /* Center perfectly */
  margin-left: -10px;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  animation: orbit-1 10s linear infinite;
}

.planet-2 {
  width: 14px;
  height: 14px;
  margin-top: -7px;
  margin-left: -7px;
  background: var(--accent-2);
  box-shadow: 0 0 15px var(--accent-2);
  animation: orbit-2 20s linear infinite;
}

/* 
  Orbit Physics:
  Rotate the frame, then push out by radius (150px for ring 1, 250px for ring 2).
  Counter-rotate if we wanted the planet orientation to stay fixed, but they are dots so who cares.
*/
@keyframes orbit-1 {
  from {
    transform: rotate(0deg) translateX(150px);
  }

  to {
    transform: rotate(360deg) translateX(150px);
  }
}

@keyframes orbit-2 {
  from {
    transform: rotate(0deg) translateX(250px);
  }

  to {
    transform: rotate(360deg) translateX(250px);
  }
}

.feature-icon {
  fill: currentColor;
}

/* Sections */
.landing-section {
  margin-bottom: 100px;
}

.section-title {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  display: inline-block;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.module-card {
  background: rgba(20, 25, 40, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.module-card:hover {
  transform: translateY(-5px);
  background: rgba(20, 25, 40, 0.8);
  border-color: var(--accent-2);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.card-icon {
  font-family: var(--font-logo);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  text-shadow: 0 0 15px var(--accent-glow);
}

.module-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 10px;
}

.module-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Workflow Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.step-card {
  position: relative;
  padding: 20px;
}

.step-number {
  font-family: var(--font-logo);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 0;
}

.step-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-2);
  margin-bottom: 15px;
}

.step-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* Code Terminal */
.code-terminal {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.red {
  background: #ff5f56;
}

.yellow {
  background: #ffbd2e;
}

.green {
  background: #27c93f;
}

.terminal-title {
  margin-left: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}

.code-terminal pre {
  margin: 0;
  padding: 20px;
  color: #c9d1d9;
  font-size: 0.9rem;
  overflow-x: auto;
}

.cmd {
  color: var(--success);
  margin-right: 8px;
}

/* --- Expanded Content Styles --- */

/* Data & Trust */
.trust-banner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border);
  padding: 30px;
  max-width: 800px;
}

.trust-icon {
  font-size: 2rem;
  color: var(--success);
}

.trust-text h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 10px;
}

.trust-text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  /* Center the grid container */
  justify-content: center;
  /* Center items if they wrap or don't fill width */
}

.pricing-card {
  background: rgba(20, 25, 40, 0.6);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.pricing-card h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text);
  margin-bottom: 20px;
}

.pricing-card p {
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(20, 25, 40, 0.8);
  box-shadow: 0 0 30px rgba(255, 174, 0, 0.05);
}

.pricing-card.featured .price {
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

/* FAQ */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border: 1px solid var(--border);
  margin-bottom: 10px;
  background: rgba(20, 25, 40, 0.4);
}

.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text);
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "-";
  color: var(--accent);
}

.faq-item p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Footer */
.landing-footer {
  margin-top: 100px;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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