:root {
  --bg: #03050b;
  --panel: rgba(6, 10, 20, 0.92);
  --line: rgba(50, 104, 143, 0.4);
  --accent: #5dd5ff;
  --accent-warm: #f0c36c;
  --text: #eef6ff;
  --muted: #98a7b9;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.grid-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(93, 213, 255, 0.05) 1px, transparent 1px),
    linear-gradient(-120deg, rgba(93, 213, 255, 0.05) 1px, transparent 1px);
  background-size: 180px 180px;
  opacity: 0.4;
  pointer-events: none;
}

#particleLayer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.3;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 20px 80px;
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  background: rgba(5, 8, 16, 0.9);
  backdrop-filter: blur(7px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent);
}

h1 {
  letter-spacing: 0.15em;
  font-size: 1.7rem;
}

.cta-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero {
  margin-top: 42px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--accent);
}

.hero h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-align: center;
}

.lead {
  color: var(--muted);
  line-height: 1.6;
  text-align: justify;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin-top: 28px;
  background: var(--panel);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.panel h3 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.7;
  text-align: justify;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.grid article {
  border: 1px solid rgba(93, 213, 255, 0.2);
  border-radius: 16px;
  padding: 16px;
  background: rgba(6, 12, 22, 0.9);
}

.sentinel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: center;
}

.shield {
  position: relative;
  height: 220px;
  border: 2px solid rgba(240, 195, 108, 0.45);
  clip-path: polygon(50% 0%, 85% 18%, 78% 80%, 50% 100%, 22% 80%, 15% 18%);
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(240,195,108,0.25), transparent 60%);
  box-shadow: 0 0 25px rgba(240,195,108,0.25), 0 0 45px rgba(93,213,255,0.25);
}

.shield::before {
  content: '';
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(93, 213, 255, 0.35);
  clip-path: polygon(50% 0%, 85% 18%, 78% 80%, 50% 100%, 22% 80%, 15% 18%);
  filter: drop-shadow(0 0 12px rgba(93,213,255,0.4));
  animation: gridGlow 10s linear infinite;
}

.shield-ring {
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(93, 213, 255, 0.5);
  clip-path: polygon(50% 0%, 85% 18%, 78% 80%, 50% 100%, 22% 80%, 15% 18%);
  animation: ringFade 9s linear infinite;
}

.ring-two {
  inset: 28px;
  animation-duration: 13s;
}

.shield-pulse {
  position: absolute;
  inset: 40px;
  border: 2px solid rgba(240, 195, 108, 0.65);
  clip-path: polygon(50% 0%, 85% 18%, 78% 80%, 50% 100%, 22% 80%, 15% 18%);
  animation: pulse 5s ease-in-out infinite;
}

.workflow ol {
  padding-left: 20px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chips span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text);
}

footer {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
}

@keyframes ringFade {
  0% { opacity: 0; transform: scale(0.92); }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes pulse {
  0% { opacity: 0.3; }
  50% { opacity: 1; filter: drop-shadow(0 0 25px rgba(240,195,108,0.6)); }
  100% { opacity: 0.3; }
}

@keyframes gridGlow {
  0% { opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { opacity: 0.2; }
}

@media (max-width: 640px) {
  header {
    flex-direction: column;
    gap: 12px;
  }
  .cta-link {
    width: 100%;
    text-align: center;
  }
}

.contact .cta-link {
  margin-top: 16px;
  display: inline-block;
}
