/* RetroZilla / Legacy Browser Fallback
   ====================================================================
   A proper old-school design for browsers that don't support CSS3+.
   Loaded BEFORE design.css so modern browsers override everything.

   This is NOT a lazy fallback — it's a real, readable, structured
   design using only CSS2.1 features: borders, padding, background
   colors, floats, and safe font stacks.
   ==================================================================== */

/* --- Reset ----------------------------------------------------------- */
* { margin: 0; padding: 0; }
body {
  background: #0a0a0b;
  color: #e0e0e4;
  font-family: Verdana, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a { color: #b090f0; }
a:hover { color: #ffffff; }
a:visited { color: #9070c0; }
img { border: 0; }

h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 16px;
}
h2 {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2a35;
}
h3 {
  font-size: 16px;
  font-weight: bold;
  color: #e8e8ec;
  margin-bottom: 8px;
}

code, pre, .mono {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
}

hr {
  border: 0;
  border-top: 1px solid #2a2a35;
  margin: 24px 0;
}

ul { padding-left: 20px; }
li { margin-bottom: 6px; }

/* --- Utility --------------------------------------------------------- */
.hidden { display: none; }
.skip-nav { position: absolute; left: -9999px; top: -9999px; }
.muted { color: #7a7a85; }
.lead { font-size: 15px; color: #9a9aa5; line-height: 1.6; }

/* --- Navigation bar -------------------------------------------------- */
.nav {
  background: #111116;
  border-bottom: 2px solid #8b5cf6;
  padding: 0 20px;
  height: 48px;
  line-height: 48px;
}
.brand {
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  float: left;
}
.brand img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
}
.nav-links {
  float: right;
}
.nav-links a {
  color: #9a9aa5;
  font-size: 13px;
  text-decoration: none;
  margin-left: 14px;
}
.nav-links a:hover { color: #ffffff; }

/* Clear floats after nav */
.nav:after {
  content: "";
  display: block;
  clear: both;
}

/* --- Buttons --------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #4a4a55;
  color: #e0e0e4;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  background: #1a1a22;
  cursor: pointer;
}
.btn:hover {
  background: #2a2a35;
  border-color: #6a6a75;
  color: #ffffff;
}
.btn--primary {
  background: #6b3fd4;
  border-color: #8b5cf6;
  color: #ffffff;
}
.btn--primary:hover {
  background: #8b5cf6;
  border-color: #a684ff;
  color: #ffffff;
}
.btn--lg {
  padding: 10px 22px;
  font-size: 15px;
}
.btn--sm {
  padding: 4px 10px;
  font-size: 12px;
}

/* --- Container ------------------------------------------------------- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Launch banner --------------------------------------------------- */
.launch-banner {
  background: #15151e;
  border-bottom: 1px solid #2a2a35;
  padding: 8px 20px;
  font-size: 13px;
  color: #b0b0bb;
  text-align: center;
}
.launch-banner strong { color: #b090f0; }
.launch-banner a { color: #b090f0; font-weight: bold; }

/* --- Hero section ---------------------------------------------------- */
.hero {
  text-align: center;
  padding: 60px 20px 48px;
  border-bottom: 1px solid #2a2a35;
  background: #0d0d12;
}
.hero-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid #553c99;
  color: #b090f0;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 36px;
  margin-bottom: 16px;
}
.hero .grad {
  color: #8b5cf6;
}
.hero .lead {
  color: #8a8a95;
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 24px;
}
.hero-actions {
  margin-bottom: 40px;
}

/* --- Terminal demo --------------------------------------------------- */
.terminal-showcase {
  max-width: 680px;
  margin: 0 auto;
}
.terminal-label {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  color: #5a5a65;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  padding: 0 4px;
}
.terminal-label a {
  color: #8b5cf6;
  float: right;
}
.terminal-label:after { content: ""; display: block; clear: both; }

.terminal {
  background: #0e0e14;
  border: 1px solid #2a2a35;
  text-align: left;
}
.terminal-bar {
  padding: 8px 12px;
  border-bottom: 1px solid #2a2a35;
  background: #111118;
  font-size: 12px;
  color: #5a5a65;
}
.terminal-bar .title {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  color: #5a5a65;
}
.terminal-bar .dot-btn {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
}
.terminal pre,
.terminal-lines {
  padding: 16px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  color: #d0d0d8;
  line-height: 1.8;
  margin: 0;
  white-space: pre;
  overflow: auto;
  background: #0a0a10;
}
/* Terminal lines are visible by default in retro — CSS animation
   won't fire so they'd be stuck at opacity:0 without this. */
.terminal-lines .tl {
  opacity: 1;
}
/* Hide the blinking cursor pseudo-element (requires CSS animation) */
.tl:last-child:after { display: none; }

.terminal .prompt { color: #8b5cf6; }
.terminal .out    { color: #8a8a95; }
.terminal .ok     { color: #30c090; }
.terminal .warn   { color: #e0a030; }

/* --- Marquee (static — animation won't run) -------------------------- */
.marquee {
  border-top: 1px solid #2a2a35;
  border-bottom: 1px solid #2a2a35;
  padding: 20px;
  font-size: 13px;
  color: #5a5a65;
  text-align: center;
  background: #0d0d12;
}
.marquee-item { margin: 0 8px; }
.marquee-item:after { content: ""; } /* hide the dot that requires ::after */

/* --- Eyebrow / pill / badge ------------------------------------------ */
.eyebrow {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e06020;
  margin-bottom: 8px;
}
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b090f0;
  background: #1c1530;
  padding: 2px 8px;
  border: 1px solid #3a2a60;
  margin-bottom: 8px;
}
.badge {
  display: inline-block;
  padding: 1px 6px;
  font-size: 11px;
  border: 1px solid #3a3a45;
  color: #9a9aa5;
  background: #151520;
}
.badge--success {
  color: #30c090;
  border-color: #30c090;
  background: #0a2018;
}
.plan-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.plan-badge--pro {
  background: #6b3fd4;
  color: #ffffff;
  border: 1px solid #8b5cf6;
}

/* --- Cards ----------------------------------------------------------- */
.card {
  background: #111118;
  border: 1px solid #2a2a35;
  padding: 20px;
  margin-bottom: 16px;
}
.card h3 { color: #ffffff; }
.card p { color: #8a8a95; }
.card a { color: #b090f0; }

/* --- Launch grid (stacked) ------------------------------------------- */
.launch-grid {
  margin-top: 24px;
}

/* --- Pillars (stacked rows with accent numbers) ---------------------- */
.pillars {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid #2a2a35;
}
.pillars li {
  padding: 20px 0 20px 48px;
  border-bottom: 1px solid #2a2a35;
  position: relative;
}
.pillars li:hover { background: #0e0e14; }
.pillars h3 { margin: 0 0 6px; }
.pillars p  { color: #8a8a95; margin: 0; }

/* --- Features / pricing (stacked) ------------------------------------ */
.features { margin-top: 24px; }

/* --- FAQ ------------------------------------------------------------- */
.faq-row {
  border-bottom: 1px solid #2a2a35;
  padding: 14px 0;
}
.faq-row summary {
  cursor: pointer;
  font-weight: bold;
  color: #e0e0e4;
}
.faq-row p { color: #8a8a95; }

/* --- Footer ---------------------------------------------------------- */
.footer {
  border-top: 2px solid #8b5cf6;
  padding: 32px 0 24px;
  margin-top: 48px;
  color: #5a5a65;
  font-size: 12px;
  background: #0d0d12;
}
.footer a {
  color: #7a7a85;
  text-decoration: none;
  margin-right: 14px;
}
.footer a:hover { color: #b090f0; }
.footer .row { margin-top: 12px; }

/* --- Auth screens ---------------------------------------------------- */
.auth {
  padding: 48px 20px;
  text-align: center;
}
.auth-card {
  max-width: 380px;
  margin: 0 auto;
  padding: 28px;
  background: #111118;
  border: 1px solid #2a2a35;
}
.auth-card h1 { font-size: 22px; margin-bottom: 4px; }
.auth-card .sub { color: #8a8a95; font-size: 13px; margin-bottom: 20px; }

/* --- Hidden helper for retro ----------------------------------------- */
.hidden { display: none !important; }

/* --- Unsupported browser notice (app page noscript) ------------------ */
.retro-notice {
  max-width: 500px;
  margin: 60px auto;
  padding: 28px;
  text-align: center;
  background: #111118;
  border: 1px solid #2a2a35;
  color: #e0e0e4;
}
.retro-notice h2 {
  color: #8b5cf6;
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 16px;
}
.retro-notice p {
  color: #8a8a95;
  line-height: 1.6;
  margin-bottom: 12px;
}
.retro-notice a { color: #b090f0; }

/* --- Documentation pages --------------------------------------------- */
section { margin-bottom: 24px; }
section ul { line-height: 1.8; }

/* --- Sections with padding ------------------------------------------- */
#whats-new,
#features,
#security,
#pricing,
#faq {
  padding: 40px 0;
  border-bottom: 1px solid #1a1a25;
}
