/* vibecloud landing page — dark ops theme, palette synced with pmd panel */
/* brand placeholder: sed -i 's/vibecloud/RealName/g' index.html style.css */

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

:root {
  --bg:        #0a0e14;
  --bg2:       #0d1520;
  --bg3:       #131d2e;
  --panel:     #161b22;
  --border:    #30363d;
  --text:      #c9d1d9;
  --muted:     #6e7f8a;
  --accent:    #1de9b6;
  --accent-dim:#0fa880;
  --blue:      #58a6ff;
  --red:       #f85149;
  --yellow:    #d29922;
  --font-mono: 'Consolas', 'Courier New', monospace;
  --font-sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius:    6px;
  --max-w:     860px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type { border-bottom: none; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-brand {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(29, 233, 182, 0.35);
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

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

/* ── Hero ── */
#hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: rgba(29, 233, 182, 0.08);
  border: 1px solid rgba(29, 233, 182, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.07em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: #e6edf3;
  max-width: 640px;
  margin-bottom: 1rem;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Terminal snippet */
.term {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  overflow: hidden;
  max-width: 620px;
  margin-bottom: 2rem;
}

.term-bar {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.term-bar-label {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.term-body {
  padding: 1rem 1.1rem;
  line-height: 1.8;
}

.t-dim   { color: var(--muted); }
.t-in    { color: var(--blue); }
.t-out   { color: var(--accent); }
.t-sys   { color: var(--yellow); }
.t-ok    { color: #3fb950; }

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  background: #2affd0;
  box-shadow: 0 0 16px rgba(29, 233, 182, 0.3);
}

.cta-note {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ── Section headings ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 0.6rem;
}

.section-lead {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ── How it works — 3-step flow ── */
#howto {
  background: var(--bg2);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.15rem;
  min-width: 2rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 0.3rem;
}

.step-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── How it works — cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.15s;
}

.card:hover { border-color: var(--accent-dim); }

.card-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Features section — group dividers and benefit callout ── */
.feat-group {
  margin-bottom: 2.5rem;
}

.feat-group:last-child {
  margin-bottom: 0;
}

.feat-group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.card-benefit {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--accent-dim);
  line-height: 1.5;
}

/* ── BYOS section ── */
.byos-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 600px;
}

.byos-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.byos-marker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  background: rgba(29, 233, 182, 0.08);
  border: 1px solid rgba(29, 233, 182, 0.2);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.byos-text strong {
  color: #e6edf3;
  font-weight: 600;
}

.byos-text small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

/* ── Alpha status ── */
#alpha {
  background: var(--panel);
}

.alpha-box {
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  max-width: 640px;
  background: rgba(210, 153, 34, 0.05);
}

.alpha-box .section-label { color: var(--yellow); }

.alpha-box .section-title { margin-bottom: 1rem; }

.alpha-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.alpha-bullets li::before {
  content: '— ';
  color: var(--yellow);
  font-family: var(--font-mono);
}

.alpha-bullets li { font-size: 0.88rem; }

/* ── Footer ── */
footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-brand span { color: var(--accent); }

.footer-note {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.6;
}

.footer-legal {
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.45;
  margin-top: 0.75rem;
  max-width: 42rem;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  section { padding: 2.5rem 0; }

  #hero { padding: 2.75rem 0 2.5rem; }

  .nav-links { display: none; }

  .cards { grid-template-columns: 1fr; }

  .term { font-size: 0.73rem; }

  .alpha-box { padding: 1.1rem 1.1rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
