/* ============================================================
   Inua Shield — Global Stylesheet
   Theme: Dark cyber with red/blue accents matching brand logo
   ============================================================ */

:root {
  --bg-deep:      #05080f;
  --bg:           #0a0f1a;
  --bg-elev:      #10172a;
  --bg-card:      #0f1526;
  --border:       rgba(200, 204, 209, 0.12);
  --border-hi:    rgba(200, 204, 209, 0.22);

  --text:         #e7ecf3;
  --text-dim:     #9aa3b3;
  --text-muted:   #6b7486;

  --red:          #d61f28;
  --red-hot:      #ff2a36;
  --red-soft:     rgba(214, 31, 40, 0.15);

  --blue:         #1e4b9e;
  --blue-hot:     #2f6bd9;
  --blue-soft:    rgba(47, 107, 217, 0.15);

  --silver:       #c8ccd1;
  --accent:       #3fffa3;             /* terminal green accent */
  --accent-dim:   rgba(63, 255, 163, 0.12);

  --grad-brand:   linear-gradient(135deg, #d61f28 0%, #2f6bd9 100%);
  --grad-brand-rev: linear-gradient(135deg, #2f6bd9 0%, #d61f28 100%);

  --shadow-sm:    0 1px 2px rgba(0,0,0,0.5);
  --shadow:       0 8px 24px rgba(0,0,0,0.45);
  --shadow-lg:    0 20px 50px rgba(0,0,0,0.55);

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    18px;

  --mono:         "JetBrains Mono","SF Mono",Consolas,Menlo,monospace;
  --sans:         "Inter","Segoe UI",system-ui,-apple-system,sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Global background: hex-grid + subtle gradients */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(47,107,217,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(214,31,40,0.12), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(47,107,217,0.10), transparent 60%),
    var(--bg-deep);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(200,204,209,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,204,209,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

a { color: var(--blue-hot); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-hot); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: #fff;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--text-dim); margin: 0 0 1em; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(63,255,163,0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.85); }
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ========== NAVBAR ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,8,15,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.93rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.nav-cta {
  margin-left: 12px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--sans);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(47,107,217,0.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(214,31,40,0.35); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn-outline:hover { border-color: var(--blue-hot); color: #fff; background: rgba(47,107,217,0.08); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); color: #fff; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero p.lead {
  font-size: 1.15rem;
  max-width: 600px;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
}
.hero-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(47,107,217,0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47,107,217,0.35), transparent 70%);
  filter: blur(30px);
  z-index: 1;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214,31,40,0.28), transparent 70%);
  filter: blur(24px);
  z-index: 1;
  animation: pulse-ring 4s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%     { opacity: 1; transform: scale(1.08); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 96px 0;
  position: relative;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

/* ========== CARDS / GRIDS ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s, border-color .2s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .25s;
  -webkit-mask:
     linear-gradient(#000,#000) content-box,
     linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.95rem; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--blue-soft);
  color: var(--blue-hot);
  font-family: var(--mono);
  font-size: 1.1rem;
  border: 1.5px solid rgba(47,107,217,0.5);
  box-shadow: 0 0 18px rgba(47,107,217,0.28);
}
.card-icon svg { display: block; }
.card-icon.red    { background: rgba(255,42,54,0.16);  color: var(--red-hot); border-color: rgba(255,42,54,0.55); box-shadow: 0 0 18px rgba(255,42,54,0.28); }
.card-icon.green  { background: rgba(63,255,163,0.14); color: var(--accent);  border-color: rgba(63,255,163,0.5); box-shadow: 0 0 18px rgba(63,255,163,0.25); }
.card-icon.blue   { background: rgba(47,107,217,0.18); color: var(--blue-hot); border-color: rgba(47,107,217,0.55); box-shadow: 0 0 18px rgba(47,107,217,0.28); }
.card-icon.orange { background: rgba(255,163,71,0.18); color: #ffa347;        border-color: rgba(255,163,71,0.55); box-shadow: 0 0 18px rgba(255,163,71,0.32); }
.card-icon.yellow { background: rgba(255,217,63,0.18); color: #ffd93f;        border-color: rgba(255,217,63,0.55); box-shadow: 0 0 18px rgba(255,217,63,0.32); }

/* ========== FEATURE BAND ========== */
.band {
  background: linear-gradient(180deg, rgba(47,107,217,0.06), rgba(214,31,40,0.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ========== STATS STRIP ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 20px;
}
.stat-value {
  display: block;
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== LIST WITH CHECK ========== */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-dim);
  font-size: 0.98rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "▸";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--mono);
}

/* ========== TERMINAL / CODE PANEL ========== */
.terminal {
  background: #07090f;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.88rem;
}
.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0b0f1a;
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red    { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green  { background: #28c840; }
.terminal-title {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.terminal-body {
  padding: 20px 18px;
  color: #c2e4d0;
  line-height: 1.7;
  min-height: 240px;
}
.terminal-body .line { display: block; }
.terminal-body .prompt { color: var(--accent); }
.terminal-body .ok    { color: var(--accent); }
.terminal-body .warn  { color: #febc2e; }
.terminal-body .err   { color: var(--red-hot); }
.terminal-body .dim   { color: var(--text-muted); }
.terminal-body .cursor {
  display: inline-block;
  width: 8px; height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ========== CTA BLOCK ========== */
.cta {
  position: relative;
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(47,107,217,0.22), transparent 60%),
    radial-gradient(800px 300px at 80% 100%, rgba(214,31,40,0.22), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--border-hi);
  text-align: center;
  overflow: hidden;
}
.cta h2 { margin-bottom: 12px; }
.cta p { max-width: 580px; margin: 0 auto 28px; }

/* ========== FOOTER ========== */
.footer {
  background: #04060b;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 4px 0;
}
.footer a:hover { color: #fff; }
.footer-logo img { height: 38px; margin-bottom: 14px; }
.footer-desc { font-size: 0.9rem; color: var(--text-muted); max-width: 300px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========== BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  color: var(--text-dim);
}
.badge.live    { background: var(--accent-dim); color: var(--accent); border-color: rgba(63,255,163,0.3); }
.badge.soon    { background: var(--red-soft); color: var(--red-hot); border-color: rgba(214,31,40,0.3); }
.badge.future  { background: var(--blue-soft); color: var(--blue-hot); border-color: rgba(47,107,217,0.3); }
.badge.red     { background: var(--red-soft); color: var(--red-hot); border-color: rgba(214,31,40,0.3); }
.badge.blue    { background: var(--blue-soft); color: var(--blue-hot); border-color: rgba(47,107,217,0.3); }
.badge.green   { background: var(--accent-dim); color: var(--accent); border-color: rgba(63,255,163,0.3); }
.badge.mix     { background: linear-gradient(135deg, rgba(214,31,40,0.18), rgba(47,107,217,0.22)); color: #d8def0; border-color: rgba(131,103,207,0.45); }

/* ========== PRODUCT PAGE HERO ========== */
.product-hero {
  padding: 72px 0 56px;
  text-align: center;
}
.product-hero .badge { margin-bottom: 20px; }
.product-hero h1 { margin-bottom: 16px; }
.product-hero p.lead {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--text-dim);
}

/* ========== FEATURE BLOCK (alternating) ========== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.feature-row.reverse > *:first-child { order: 2; }
.feature-row h2 { margin-bottom: 14px; }
.feature-visual {
  border: 1px solid var(--border-hi);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-radius: var(--radius);
  padding: 28px;
  min-height: 240px;
}

/* ========== PROCESS / TIMELINE ========== */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 24px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue-hot));
  opacity: 0.4;
}
.timeline-step {
  position: relative;
  text-align: center;
  padding-top: 60px;
}
.timeline-icon {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--blue-hot);
  color: var(--blue-hot);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(47,107,217,0.4);
}
.timeline-icon.red {
  border-color: var(--red-hot);
  color: var(--red-hot);
  box-shadow: 0 0 20px rgba(255,42,54,0.35);
}
.timeline-icon.orange {
  border-color: #ffa347;
  color: #ffa347;
  box-shadow: 0 0 22px rgba(255,163,71,0.55);
}
.timeline-icon.yellow {
  border-color: #ffd93f;
  color: #ffd93f;
  box-shadow: 0 0 22px rgba(255,217,63,0.55);
}
.timeline-icon.green {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(63,255,163,0.35);
}
.timeline-step .step-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.timeline-step h4 { color: #fff; margin-bottom: 6px; font-size: 1rem; }
.timeline-step p { font-size: 0.88rem; margin: 0; }

/* ========== FORMS ========== */
.form {
  display: grid;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}
.form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.98rem;
  transition: border-color .2s, background .2s;
}
.form select { color-scheme: dark; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--blue-hot);
  background: rgba(47,107,217,0.06);
}
.form select option {
  background: var(--bg-elev);
  color: var(--text);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn-primary { justify-self: start; }

.form-success {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(63,255,163,0.3);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.9rem;
}
.form-success.visible { display: block; }
.form-success.error {
  background: var(--red-soft);
  border-color: rgba(214,31,40,0.3);
  color: var(--red-hot);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 0 auto; max-width: 320px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse > *:first-child { order: 0; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg-deep); border-bottom: 1px solid var(--border); padding: 10px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 40px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form .form-row { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
