/* GhostGate landing — editorial dark / electric accent */

:root {
  --bg-deep: #05080f;
  --bg-panel: rgba(255, 255, 255, 0.03);
  --text: #f4f7fc;
  --text-muted: #98a5bd;
  --accent: #5eead4;
  --accent-strong: #2dd4bf;
  --accent-dim: rgba(94, 234, 212, 0.12);
  --accent-dim2: rgba(94, 234, 212, 0.45);
  --stroke: rgba(255, 255, 255, 0.08);
  --font: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Atmospheric layers */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  z-index: 0;
}

.orb-a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 40% 40%, rgba(45, 212, 191, 0.35), transparent 60%);
  top: -140px;
  right: -100px;
  animation: float 18s ease-in-out infinite alternate;
}

.orb-b {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 60% 60%, rgba(129, 140, 248, 0.22), transparent 65%);
  bottom: -80px;
  left: -80px;
  animation: float 22s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 16px) scale(1.04); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--stroke);
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--accent-strong), #6366f1 120%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 32px var(--accent-dim);
}

.logo-mark.sm {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

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

.nav-cta {
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px !important;
  background: var(--accent-dim) !important;
  color: var(--accent-strong) !important;
  font-weight: 600 !important;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5.25rem) 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 0 6px var(--accent-dim);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.6;
    transform: scale(1.08);
    box-shadow: 0 0 0 10px transparent;
  }
}

.hero h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.25rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 1.15rem;
  background: linear-gradient(180deg, #fff 35%, rgba(244, 247, 252, 0.58));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong) 0%, #14b8a6 110%);
  color: #04221e;
  box-shadow: 0 4px 24px rgba(45, 212, 191, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(45, 212, 191, 0.32);
}

.btn-ghost {
  border-color: var(--stroke);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.06);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--stroke);
}

@media (max-width: 600px) {
  .stat-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.stat-row dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.stat-row dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(244, 247, 252, 0.92);
}

/* Hero visual panel */
.hero-visual .glass-panel {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.2);
}

.panel-header .dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  opacity: 0.7;
}

.panel-header .r { background: #f87171; }
.panel-header .y { background: #fbbf24; }
.panel-header .g { background: #4ade80; }

.panel-title {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.panel-code {
  margin: 0;
  padding: 1.1rem 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.panel-code .tok-k { color: var(--accent-strong); }
.panel-code .tok-num { color: #a5b4fc; }
.panel-code .tok-good { color: #86efac; }
.panel-code .tok-muted { color: #64748b; letter-spacing: 0.06em; }
.panel-code .tok-accent { color: var(--accent); font-weight: 500; }

.panel-spark {
  display: block;
  width: 100%;
  height: 72px;
  opacity: 0.9;
}

/* Trusted stripe */
.trusted {
  position: relative;
  z-index: 1;
  padding: 0 0 3rem;
}

.trusted-inner {
  padding: 1.25rem 1.75rem;
  border-radius: 0.85rem;
  border: 1px solid var(--stroke);
  background: linear-gradient(90deg, var(--accent-dim), transparent 55%);
}

.trusted-inner p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  color: rgba(244, 247, 252, 0.88);
  max-width: 52rem;
}

/* Bands section */
.bands {
  position: relative;
  z-index: 1;
  padding: 2rem 0 4.5rem;
}

.section-title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1.75rem;
  max-width: 42rem;
}

.section-title.centered,
.section-sub.centered {
  text-align: center;
  margin-inline: auto;
}

.section-sub {
  margin: -0.5rem 0 2.75rem;
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 1rem;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 800px) {
  .band-grid {
    grid-template-columns: 1fr;
  }
}

.band {
  padding: 1.55rem;
  border-radius: 1rem;
  border: 1px solid var(--stroke);
  background: var(--bg-panel);
}

.band.highlight {
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.1), transparent 52%);
  border-color: rgba(94, 234, 212, 0.2);
}

.band h3 {
  margin: 0 0 0.65rem;
  font-size: 1.06rem;
  font-weight: 600;
}

.band p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 0 0 4.5rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

.f-card {
  padding: 1.35rem;
  border-radius: 1rem;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.f-card:hover {
  border-color: rgba(94, 234, 212, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.f-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: var(--accent-dim);
  color: var(--accent-strong);
  margin-bottom: 0.9rem;
}

.f-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
}

.f-card p {
  margin: 0;
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA */
.cta-strip {
  position: relative;
  z-index: 1;
  padding: 0 0 4.5rem;
}

.cta-inner {
  padding: clamp(2rem, 5vw, 2.85rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(94, 234, 212, 0.18);
  background: linear-gradient(125deg, rgba(94, 234, 212, 0.11), rgba(99, 102, 241, 0.08));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.cta-inner p {
  margin: 0;
  color: var(--text-muted);
  max-width: 28rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--stroke);
  padding: 2.5rem 0 3rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0.35rem auto 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner p strong {
  color: var(--text);
}

.fineprint {
  font-size: 0.8125rem !important;
  opacity: 0.85;
}

/* Mobile nav tuck */
@media (max-width: 620px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}
