/* OpsMind Landing — tactical premium theme */

:root {
  --bg-deep: #0B0F14;
  --bg-elevated: #141B24;
  --surface: #1C2632;
  --neon-green: #00E676;
  --neon-green-dim: rgba(0, 230, 118, 0.35);
  --gold: #F5C542;
  --gold-dim: #C9A035;
  --steel: #8FA3B8;
  --danger: #FF4757;
  --purple: #7C5CFC;
  --white: #F0F4F8;
  --text-muted: rgba(143, 163, 184, 0.85);
  --border: rgba(143, 163, 184, 0.22);
  --glow-green: rgba(0, 230, 118, 0.18);
  --glow-gold: rgba(245, 197, 66, 0.12);
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Rajdhani', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --container: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--white);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, var(--glow-green), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, var(--glow-gold), transparent 50%),
    linear-gradient(160deg, rgba(0, 230, 118, 0.06) 0%, rgba(245, 197, 66, 0.04) 40%, var(--bg-deep) 70%);
  min-height: 100vh;
  overflow-x: hidden;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--steel) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.logo-mark {
  color: var(--neon-green);
  font-size: 1.25rem;
  text-shadow: 0 0 12px var(--glow-green);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--steel);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--neon-green-dim);
  border-radius: 8px;
  color: var(--neon-green) !important;
  background: rgba(0, 230, 118, 0.08);
  box-shadow: 0 0 20px var(--glow-green);
}

.nav-cta:hover {
  background: rgba(0, 230, 118, 0.15);
  color: var(--neon-green) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--steel);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--neon-green), #00c968);
  border: none;
  box-shadow: 0 0 28px var(--glow-green), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 230, 118, 0.35), 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  color: var(--steel);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--steel);
  background: rgba(28, 38, 50, 0.5);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow,
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--neon-green), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero-desc {
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--neon-green);
  text-shadow: 0 0 16px var(--glow-green);
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero HUD visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
}

.hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.ring-outer {
  inset: 0;
  border-color: var(--neon-green-dim);
  box-shadow: 0 0 40px var(--glow-green), inset 0 0 30px rgba(0, 230, 118, 0.05);
  animation: pulse-ring 4s ease-in-out infinite;
}

.ring-inner {
  inset: 15%;
  border-color: rgba(245, 197, 66, 0.25);
  animation: pulse-ring 4s ease-in-out infinite 0.5s;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.hud-core {
  position: absolute;
  inset: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(20, 27, 36, 0.9);
  border: 1px solid var(--neon-green-dim);
  border-radius: 50%;
  box-shadow: 0 0 50px var(--glow-green);
}

.hud-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.hud-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--neon-green);
  line-height: 1;
  text-shadow: 0 0 24px var(--glow-green);
}

.hud-status {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.hud-card {
  position: absolute;
  padding: 0.65rem 0.9rem;
  background: rgba(20, 27, 36, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hud-card .mono {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--steel);
  margin-bottom: 0.2rem;
}

.hud-card strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--white);
}

.hud-card-1 { top: 8%; right: -5%; }
.hud-card-2 { bottom: 20%; left: -8%; }
.hud-card-3 { bottom: 5%; right: 5%; }

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 28ch;
}

.section-lead {
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 3rem;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  background: rgba(20, 27, 36, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: var(--neon-green-dim);
  box-shadow: 0 0 30px var(--glow-green);
  transform: translateY(-3px);
}

.feature-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* About */
.about {
  background: linear-gradient(180deg, transparent, rgba(20, 27, 36, 0.4) 30%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-text .disclaimer {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold-dim);
  background: rgba(245, 197, 66, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--steel);
}

.about-text .tagline {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--neon-green);
  letter-spacing: 0.04em;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-card {
  padding: 1.25rem 1.5rem;
  background: rgba(28, 38, 50, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-icon {
  display: block;
  font-size: 1.25rem;
  color: var(--neon-green);
  margin-bottom: 0.5rem;
}

.about-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Privacy */
.privacy-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--steel);
  margin-bottom: 1rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.policy-card {
  padding: 1.5rem;
  background: rgba(20, 27, 36, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.policy-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.policy-card p,
.policy-card li {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.policy-card ul {
  padding-left: 1.2rem;
}

.policy-card li {
  margin-bottom: 0.35rem;
}

.policy-contact {
  border-color: var(--neon-green-dim);
  box-shadow: 0 0 24px var(--glow-green);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-note {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold) !important;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: rgba(20, 27, 36, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: var(--neon-green-dim);
  box-shadow: 0 0 20px var(--glow-green);
  color: inherit;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(11, 15, 20, 0.9);
}

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

.footer-inner p {
  font-size: 0.85rem;
  color: var(--steel);
}

.footer-inner nav {
  display: flex;
  gap: 1.5rem;
}

.footer-inner nav a {
  font-size: 0.85rem;
  color: var(--steel);
}

.footer-inner nav a:hover {
  color: var(--neon-green);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 320px;
    order: -1;
  }

  .hud-card-1 { right: 0; }
  .hud-card-2 { left: 0; }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    gap: 1.5rem;
    background: rgba(11, 15, 20, 0.97);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: calc(var(--header-h) + 2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .feature-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }
}
