:root {
  --bg: #0a0d12;
  --bg-2: #0f1319;
  --card: #141922;
  --border: #22293380;
  --gold: #d4af37;
  --gold-bright: #f0c24b;
  --green: #22c55e;
  --text: #f4f4f5;
  --text-dim: #9ca3af;
  --text-faint: #6b7280;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1305;
}
.btn-ghost {
  background: transparent;
  border-color: #3a3f4a;
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10,13,18,0.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}
#core-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,175,55,0.1), transparent 60%),
    linear-gradient(90deg, rgba(10,13,18,0.82) 0%, rgba(10,13,18,0.5) 55%, rgba(10,13,18,0.25) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero-content { pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-content { max-width: 760px; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* SYSTEMS */
.systems { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.system-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.system-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.system-icon {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.system-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.system-card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 20px; }
.card-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.card-link:hover { text-decoration: underline; }

/* ABOUT */
.about { background: var(--bg-2); padding: 90px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.about-inner h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 700; margin-bottom: 20px; }
.about-inner p { color: var(--text-dim); font-size: 1.02rem; }

/* CONTACT */
.contact { padding: 100px 24px; text-align: center; }
.contact-inner { max-width: 560px; margin: 0 auto; }
.contact-inner h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; margin-bottom: 16px; }
.contact-sub { color: var(--text-dim); margin-bottom: 36px; }
.signup-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 12px; }
.signup-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.95rem;
}
.signup-form input:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 0.85rem; color: var(--green); min-height: 20px; }
.contact-actions { margin-top: 20px; }

/* FOOTER */
.footer { padding: 50px 24px 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.footer-logo { font-size: 1.1rem; font-weight: 800; margin-bottom: 18px; }
.footer-logo span { color: var(--gold); }
.footer-disclaimer { font-size: 0.78rem; color: var(--text-faint); line-height: 1.6; margin-bottom: 16px; }
.footer-copy { font-size: 0.78rem; color: var(--text-faint); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: 120px; }
}
