:root {
  --bg:         #03030a;
  --surface:    #08081a;
  --surface2:   #0d0d24;
  --cyan:       #00d4ff;
  --cyan-dim:   rgba(0,212,255,0.08);
  --cyan-glow:  rgba(0,212,255,0.2);
  --orange:     #ff6b00;
  --text:       #f0f0ff;
  --muted:      #5a5a7a;
  --muted2:     #3a3a5a;
  --border:     rgba(255,255,255,0.06);
  --border-c:   rgba(0,212,255,0.18);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background layers ── */
#canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridDrift 28s linear infinite;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 20%, transparent 100%);
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 72px 72px; }
}

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

.orb-1 {
  width: 700px; height: 700px;
  top: -250px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  animation: orbPulse 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 350px; height: 350px;
  bottom: 10%; right: -80px;
  background: radial-gradient(circle, rgba(255,107,0,0.04) 0%, transparent 70%);
  animation: orbPulse 18s ease-in-out infinite alternate-reverse;
}

@keyframes orbPulse {
  from { opacity: 0.6; transform: translateX(-50%) scale(1); }
  to   { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* ── Layout ── */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(3,3,10,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border-c);
  border-radius: 2px;
  padding: 0.35rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,100% { opacity:1; box-shadow:0 0 6px var(--cyan); }
  50%      { opacity:0.4; box-shadow:0 0 2px var(--cyan); }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 0 5rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}

.hero-eyebrow span { color: var(--cyan); }

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s forwards;
}

.tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--muted);
  max-width: 580px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

.hero-form {
  display: flex;
  max-width: 480px;
  width: 100%;
  border: 1px solid var(--border-c);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,212,255,0.07);
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-form input {
  flex: 1;
  background: rgba(0,212,255,0.03);
  border: none;
  padding: 0.95rem 1.5rem;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  min-width: 0;
}

.hero-form input::placeholder { color: var(--muted); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--cyan);
  color: #03030a;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.95rem 1.75rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.05em;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: #19daff;
  box-shadow: 0 0 30px rgba(0,212,255,0.4);
}

.hero-sub-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted2);
  letter-spacing: 0.08em;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.85s forwards;
}

.success-msg {
  display: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-top: 1.25rem;
  letter-spacing: 0.05em;
}

/* ── Section base ── */
section { position: relative; z-index: 1; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--cyan);
  opacity: 0.5;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* ── What section ── */
.what-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.what-inner {
  max-width: 800px;
}

.what-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.what-inner p:last-child { margin-bottom: 0; }

/* ── Capabilities ── */
.caps-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.caps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 3rem;
}

.cap-item {
  background: var(--bg);
  padding: 2rem 2rem;
  transition: background 0.2s;
  position: relative;
}

.cap-item:hover { background: var(--surface); }

.cap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--muted2);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.cap-item h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.cap-item p {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ── Security ── */
.security-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.security-block {
  background: var(--surface);
  border: 1px solid var(--border-c);
  border-radius: 6px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.security-block::before {
  content: '';
  position: absolute;
  top: -60%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.sec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sec-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.sec-item p {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ── CTA ── */
.cta-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-inner { max-width: 520px; margin: 0 auto; }

.cta-section h2 { margin-bottom: 1rem; }

.cta-section p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.cta-form {
  display: flex;
  border: 1px solid var(--border-c);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,212,255,0.07);
}

.cta-form input {
  flex: 1;
  background: rgba(0,212,255,0.03);
  border: none;
  padding: 0.95rem 1.5rem;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  min-width: 0;
}

.cta-form input::placeholder { color: var(--muted); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

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

.footer-logo img {
  height: 18px;
  width: auto;
  opacity: 0.45;
}

.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-copy a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-copy a:hover { color: var(--cyan); }

/* ── Reveal animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .caps-grid    { grid-template-columns: 1fr; }
  .security-grid{ grid-template-columns: 1fr; }
  .security-block { padding: 2.5rem 1.75rem; }
}

@media (max-width: 600px) {
  .container    { padding: 0 1.25rem; }
  .hero-form    { flex-direction: column; border: none; box-shadow: none; gap: 0.75rem; }
  .hero-form input { border: 1px solid var(--border-c); border-radius: 3px; }
  .btn-primary  { border-radius: 3px; width: 100%; justify-content: center; }
  .cta-form     { flex-direction: column; border: none; box-shadow: none; gap: 0.75rem; }
  .cta-form input { border: 1px solid var(--border-c); border-radius: 3px; }
  .cta-form .btn-primary { border-radius: 3px; width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-badge    { display: none; }
}
