/* Quas Labs — 2026 Gold Standard Sub-App CSS */
:root {
  --bg-dark: #030712;
  --surface-card: rgba(17, 24, 39, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --radius-lg: 16px;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.5;
  letter-spacing: -0.02em;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Ambient Moving Background Orbs */
.bg-ambient-orbs {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0; overflow: hidden;
}

.orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 { top: -10%; left: 20%; width: 500px; height: 500px; background: radial-gradient(circle, #38bdf8, #6366f1); }
.orb-2 { bottom: 10%; right: 10%; width: 600px; height: 600px; background: radial-gradient(circle, #818cf8, #a855f7); animation-delay: -9s; }

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* Spatial Nav Pill */
.spatial-nav-wrapper {
  position: sticky; top: 16px; z-index: 1000; display: flex; justify-content: center; padding: 0 20px;
}

.spatial-nav {
  background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 980px; padding: 10px 28px;
  display: flex; align-items: center; gap: 32px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 15px; color: #ffffff; }

.pulse-dot {
  width: 9px; height: 9px; background-color: var(--accent-emerald); border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-emerald); animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-nav-back {
  background: rgba(255, 255, 255, 0.08); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px; border-radius: 980px; font-size: 12px; font-weight: 600; text-decoration: none;
  transition: all 0.2s ease;
}

.btn-nav-back:hover { background: rgba(255, 255, 255, 0.2); }

.container { max-width: 960px; margin: 0 auto; padding: 60px 20px 100px; position: relative; z-index: 1; }

.hero { text-align: center; margin-bottom: 60px; }
.hero-kicker { font-family: var(--font-mono); font-size: 12px; color: var(--accent-cyan); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-size: 52px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 16px; background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }

/* Code Terminal */
.terminal-card {
  background: #090d16; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6); overflow: hidden; margin-bottom: 60px;
}

.terminal-header { background: rgba(255, 255, 255, 0.04); padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.terminal-body { padding: 24px; font-family: var(--font-mono); font-size: 13px; color: #e5e7eb; line-height: 1.6; }
.cmd-prompt { color: var(--accent-cyan); font-weight: 700; }

.btn-run { background: var(--accent-cyan); color: #030712; border: none; padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: 12px; cursor: pointer; margin-top: 16px; }
.btn-run:hover { background: #7dd3fc; }

.json-res { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2); border-radius: 8px; padding: 16px; color: #34d399; margin-top: 16px; display: none; }

/* Pricing Section */
.pricing-card {
  background: var(--surface-card); backdrop-filter: blur(20px); border: 1px solid var(--border-glow);
  border-radius: 20px; padding: 40px; text-align: center; max-width: 480px; margin: 0 auto; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.price-title { font-size: 28px; font-weight: 800; color: #ffffff; margin-bottom: 8px; }
.price-val { font-size: 44px; font-weight: 800; color: #ffffff; margin-bottom: 16px; }
.price-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

.btn-stripe {
  width: 100%; background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%); color: #ffffff;
  padding: 14px; border-radius: 10px; font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3); transition: transform 0.2s ease;
}

.btn-stripe:hover { transform: scale(1.02); }

footer { border-top: 1px solid var(--border-subtle); padding: 40px 20px; text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 80px; }
