/* ══════════════════════════════════════════════════════════════
   SETI AI — Landing Page (Noir Dashboard Theme)
   Matches the node editor's dark carbon aesthetic
   ══════════════════════════════════════════════════════════════ */

:root {
  /* ─── Noir palette (from index.css) ─── */
  --bg-base: #09090b;
  --bg-surface: #111113;
  --bg-elevated: #171719;
  --bg-card: #1c1c1f;
  --bg-hover: #232327;
  --bg-active: #2a2a2f;
  --border: #27272a;
  --border-bright: #3f3f46;
  --text: #e8e8ec;
  --text-dim: #a1a1aa;
  --text-muted: #63636e;

  --accent: #e2a336;
  --accent2: #d4903a;
  --green: #34d399;
  --yellow: #fbbf24;
  --red: #f87171;
  --cyan: #67e8f9;
  --orange: #fb923c;
  --pink: #c084fc;
  --teal: #2dd4bf;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,.65);
  --glass: rgba(17,17,19,.88);
  --glass-border: rgba(255,255,255,.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: all .2s; }
a:hover { color: #f0c060; }

/* ─── Gold scrollbar — unified with main app ─── */
html { scrollbar-width: thin; scrollbar-color: rgba(226,163,54,.4) transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(226,163,54,.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(226,163,54,.6); }

/* ═══════════════ PARTICLE CANVAS ═══════════════ */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════ NAVBAR — Dashboard Topbar Style ═══════════════ */
.landing-nav {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(226,163,54,.35);
  border-bottom: 2px solid rgba(226,163,54,.35);
  border-radius: 14px;
  box-shadow:
    var(--shadow),
    0 0 40px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.04);
  z-index: 1000;
  backdrop-filter: blur(24px) saturate(1.2);
  transition: box-shadow .25s, border-color .25s;
}
.landing-nav:hover {
  border-color: var(--border-bright);
  box-shadow:
    0 8px 32px rgba(0,0,0,.7),
    0 0 60px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.logo-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 12px rgba(226,163,54,.15);
}
.logo-box i {
  color: #D4A017;
  font-size: 14px;
  filter: drop-shadow(0 0 4px rgba(226,163,54,.4));
}
.logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--accent), #f0c060);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: text-shadow .3s ease, filter .3s ease;
}
.nav-logo:hover .logo {
  filter: drop-shadow(0 6px 16px rgba(226,163,54,.4)) drop-shadow(0 12px 28px rgba(226,163,54,.15));
}
.logo-version {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}
.nav-links a {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  transition: all .2s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-hover);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  gap: 8px;
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0b;
  box-shadow: 0 4px 20px rgba(226,163,54,.25);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(226,163,54,.4);
  transform: translateY(-2px);
  text-decoration: none;
  color: #0a0a0b;
}
.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}
.btn-lg {
  padding: 14px 36px;
  font-size: 14px;
  border-radius: 10px;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #D4A017;
  background: rgba(226,163,54,.06);
  border: 1px solid rgba(226,163,54,.2);
  margin-bottom: 36px;
  font-family: var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: badge-glow 4s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { border-color: rgba(226,163,54,.15); box-shadow: 0 0 0 rgba(226,163,54,0); }
  50% { border-color: rgba(226,163,54,.4); box-shadow: 0 0 20px rgba(226,163,54,.08); }
}
.hero-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity:.4; transform:scale(1); }
  50% { opacity:1; transform:scale(1.4); }
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
  max-width: 860px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #f0c060 35%, var(--cyan) 70%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
}
.stat {
  text-align: center;
  padding: 16px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #D4A017;
  font-family: var(--mono);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* ═══════════════ SECTIONS ═══════════════ */
.section {
  position: relative;
  padding: 120px 24px;
  z-index: 1;
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D4A017;
  margin-bottom: 16px;
  font-family: var(--mono);
}

/* ═══════════════ FEATURES ═══════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--card-accent, var(--accent));
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  border-color: rgba(255,255,255,.08);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
  background: rgba(226,163,54,.08);
  color: #D4A017;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

.card-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* All cards use gold/amber accent on hover */
.feature-card { --card-accent: #e2a336; }
.feature-card .feature-icon { background: rgba(226,163,54,.08); color: #e2a336; }

/* ═══════════════ HOW IT WORKS ═══════════════ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
/* Vertical connector line */
.steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 56px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(226,163,54,.1));
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 0;
}
.step-num {
  width: 56px; height: 56px;
  min-width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0b;
  box-shadow: 0 4px 20px rgba(226,163,54,.2);
  z-index: 1;
}
.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ═══════════════ SETI POWER HIVE ═══════════════ */
.hive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.hive-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.hive-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .3s;
}
.hive-card:hover {
  border-color: rgba(255,255,255,.08);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.hive-card:hover::before { opacity: 1; }
.hive-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
  background: rgba(226,163,54,.08);
  color: #D4A017;
}
.hive-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.hive-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* Nav link icons */
.nav-links a i {
  color: #D4A017;
  margin-right: 2px;
  font-size: 10px;
}

/* ═══════════════ CTA ═══════════════ */
.cta-section {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  position: relative;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,163,54,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-section p {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 15px;
}

/* ═══════════════ FOOTER ═══════════════ */
.landing-footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  z-index: 1;
  position: relative;
}
.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.5px;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
  .landing-nav { padding: 0 16px; width: calc(100% - 24px); }
  .nav-links { display: none; }
  .logo-version { display: none; }
  .hero h1 { letter-spacing: -1px; }
  .hero-stats { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .stat { padding: 12px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .hive-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}
