/* ===================================================
   PLEXUS — Landing page (v0.4 — minimal & robust)
   Matches N.IVEN visual language. Nothing fancy.
   =================================================== */

:root {
  --bg: #07070c;
  --surface: #0f0f17;
  --red: #ff003c;
  --red-glow: #ff2d5e;
  --red-soft: rgba(255, 0, 60, 0.08);
  --text: #e8e8f0;
  --text-dim: #8a8a98;
  --text-faint: #3a3a48;
  --border: rgba(255, 0, 60, 0.18);
  --border-bright: rgba(255, 0, 60, 0.5);
  --grid: rgba(255, 0, 60, 0.04);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  min-height: 100vh;
  line-height: 1.6;
  cursor: default;

  /* Subtle grid background, baked into body so nothing can break it */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
}

a, button { cursor: pointer; }

/* ===================================================
   Top bar
   =================================================== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hud-left, .hud-right { display: flex; align-items: center; gap: 0.75rem; }

.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.hud-label { color: var(--text-dim); }
.hud-value { color: var(--red); }

.hud-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.hud-link:hover { color: var(--red); }

/* ===================================================
   Layout container
   =================================================== */
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

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

/* ===================================================
   Section header
   =================================================== */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-tag {
  font-family: 'Share Tech Mono', monospace;
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

.section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-bright), transparent);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  text-align: center;
  padding: 7rem 0 6rem;
  border-bottom: 1px solid var(--border);
}

.hero-meta {
  font-family: 'Share Tech Mono', monospace;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}

.hero-meta .bracket { color: var(--red); }

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.4rem;
  text-shadow:
    0 0 22px rgba(255, 0, 60, 0.5),
    0 0 50px rgba(255, 0, 60, 0.25);
}

.hero-tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ===================================================
   Buttons
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-bright);
  background: transparent;
  color: var(--text);
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--bg);
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(255, 0, 60, 0.35);
}
.btn-primary:hover {
  background: var(--red-glow);
  box-shadow: 0 0 22px rgba(255, 0, 60, 0.6);
}

.btn-ghost { color: var(--red); }
.btn-ghost:hover {
  background: var(--red-soft);
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(255, 0, 60, 0.3);
}

.btn.block { width: 100%; }

/* ===================================================
   ABOUT
   =================================================== */
.about-block {
  max-width: 700px;
}
.about-block .lead {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.55;
}
.about-block .dim {
  color: var(--text-dim);
  font-size: 1rem;
}

/* ===================================================
   PRIMITIVES
   =================================================== */
.prims {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.prim {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.6rem 1.4rem;
  transition: all 0.25s ease;
}

.prim:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 18px rgba(255, 0, 60, 0.15);
  transform: translateY(-2px);
}

.prim-id {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--red);
  display: block;
  margin-bottom: 0.7rem;
}

.prim h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.prim p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Card corners (HUD style) */
.card-corners::before,
.card-corners::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--red);
  pointer-events: none;
}
.card-corners::before {
  top: -1px; left: -1px;
  border-right: none;
  border-bottom: none;
}
.card-corners::after {
  bottom: -1px; right: -1px;
  border-left: none;
  border-top: none;
}

/* ===================================================
   PRICING
   =================================================== */
.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 0, 60, 0.08), rgba(255, 0, 60, 0.02));
  border: 1px solid var(--border-bright);
  padding: 2.4rem 2rem;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 26px rgba(255, 0, 60, 0.15);
}

.price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.price-num {
  font-size: clamp(4rem, 10vw, 5.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-shadow: 0 0 22px rgba(255, 0, 60, 0.45);
}
.price-currency {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--red);
}

.price-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.price-list {
  list-style: none;
  text-align: left;
  margin: 0 auto 1.6rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.price-list li {
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 1.4rem;
  position: relative;
}

.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
}

.price-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

.dot { color: var(--text-faint); }

.footer-link {
  color: var(--red);
  text-decoration: none;
}
.footer-link:hover { text-shadow: 0 0 8px rgba(255, 0, 60, 0.6); }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 720px) {
  .topbar { padding: 0.8rem 1rem; }
  main { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0; }
  .section-header h2 { font-size: 1.05rem; }
}
