:root {
  --bg: #07080a;
  --bg-deep: #030405;
  --surface: #0e1013;
  --surface-2: #14171b;
  --surface-3: #1a1d22;
  --line: #272b31;
  --line-soft: rgba(255,255,255,.08);
  --text: #f4f5f7;
  --muted: #aab0b9;
  --muted-2: #7f8792;
  --red: #e50914;
  --red-bright: #ff202b;
  --red-dark: #8b0008;
  --max: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Raleway", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(229,9,20,.35); color: #fff; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  z-index: 1000;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 92px 0; }
.section.compact { padding: 68px 0; }
.section-dark { background: var(--bg-deep); }
.section-surface { background: var(--surface); border-block: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #d6d9de;
  font-family: "Orbitron", ui-sans-serif, sans-serif;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }

h1, h2, h3 {
  font-family: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: .01em;
  margin-top: 0;
}
h1 { font-size: clamp(2.55rem, 5vw, 5rem); margin-bottom: 24px; max-width: 900px; }
h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); margin-bottom: 20px; }
h3 { font-size: 1.05rem; margin-bottom: 12px; }
p { margin-top: 0; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: #c9cdd3; max-width: 760px; line-height: 1.72; }
.muted { color: var(--muted); }
.red { color: var(--red-bright); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,6,8,.91);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand img { width: 42px; height: 34px; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; line-height: 1; }
.brand-name {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
}
.brand-sub {
  color: var(--red-bright);
  font-family: "Orbitron", sans-serif;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #c5cad1;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 7px;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.05); }
.nav-cta {
  margin-left: 6px;
  border: 1px solid rgba(255,32,43,.7) !important;
  color: #fff !important;
  background: rgba(229,9,20,.1);
}
.nav-cta:hover { background: var(--red) !important; }
.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-button span, .menu-button span::before, .menu-button span::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; }
.menu-button span::before { top: -6px; }
.menu-button span::after { top: 6px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 74% 46%, rgba(229,9,20,.16), transparent 25%),
    linear-gradient(180deg, #08090b 0%, #050608 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent 0%, #000 65%, transparent 100%);
}
.hero-visual {
  position: absolute;
  inset: 0 0 0 45%;
  background-image:
    linear-gradient(90deg, #07080a 0%, rgba(7,8,10,.78) 18%, rgba(7,8,10,.22) 56%, rgba(7,8,10,.42) 100%),
    linear-gradient(180deg, rgba(7,8,10,.1), rgba(7,8,10,.54)),
    url('../img/cybersecure-ai-background.png');
  background-position: center right;
  background-size: cover;
  opacity: .66;
  filter: saturate(.82) contrast(1.08);
}
.hero-content { position: relative; z-index: 2; padding: 105px 0 110px; max-width: 820px; }
.hero h1 { text-shadow: 0 3px 30px rgba(0,0,0,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 24px; color: #8f969f; font-size: .9rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 19px;
  border-radius: 7px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 28px rgba(229,9,20,.16); }
.button-primary:hover { background: var(--red-bright); border-color: var(--red-bright); }
.button-secondary { background: rgba(255,255,255,.025); color: #fff; }
.button-secondary:hover { border-color: #525861; background: rgba(255,255,255,.05); }
.button-text { padding-inline: 0; min-height: auto; border: 0; border-radius: 0; color: #f1f2f4; }
.button-text::after { content: "→"; color: var(--red-bright); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.section-head { max-width: 800px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.card {
  background: linear-gradient(180deg, #121419 0%, #0d0f12 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 26px rgba(0,0,0,.12);
}
.card:hover { border-color: #353a42; }
.card .number {
  font-family: "Orbitron", sans-serif;
  color: var(--red-bright);
  font-size: .72rem;
  letter-spacing: .16em;
  margin-bottom: 18px;
  display: block;
}
.card p { color: var(--muted); margin-bottom: 0; }
.service-card { min-height: 230px; display: flex; flex-direction: column; }
.service-card .button-text { margin-top: auto; align-self: flex-start; padding-top: 18px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 74px; align-items: center; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0f12;
  padding: 34px;
}
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 15px; }
.check-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: #c8ccd2; }
.check-list li::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--red); transform: rotate(45deg); margin-top: 7px; }

.process { counter-reset: process; }
.process-card { position: relative; padding-top: 64px; }
.process-card::before {
  counter-increment: process;
  content: "0" counter(process);
  position: absolute;
  top: 24px;
  left: 28px;
  font-family: "Orbitron", sans-serif;
  color: var(--red-bright);
  font-size: .78rem;
  letter-spacing: .12em;
}

.cta-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid #34171a;
  background: linear-gradient(110deg, #0c0d10, #121014 58%, #190a0c);
  border-radius: 18px;
  padding: 48px;
}
.cta-strip::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -100px;
  border: 1px solid rgba(229,9,20,.22);
  transform: rotate(45deg);
}
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.page-hero {
  padding: 105px 0 76px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 90% 20%, rgba(229,9,20,.11), transparent 27%),
    linear-gradient(180deg, #08090b, #050608);
}
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.25rem); margin-bottom: 22px; }
.breadcrumb { color: var(--muted-2); font-size: .84rem; margin-bottom: 28px; }
.breadcrumb a { color: #c9cdd3; text-decoration: none; }

.service-detail { padding: 34px 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 230px 1fr; gap: 48px; }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail h2 { font-size: 1.35rem; }
.service-detail p, .service-detail li { color: var(--muted); }
.inline-list { margin: 18px 0 0; padding-left: 18px; }
.inline-list li { margin-bottom: 8px; }

.callout {
  border-left: 3px solid var(--red);
  background: #0d0f12;
  padding: 24px 26px;
  color: #c7cbd1;
  margin: 28px 0;
}

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; align-items: start; }
.contact-card { position: sticky; top: 110px; }
.contact-email { font-family: "Orbitron", sans-serif; font-size: clamp(1.1rem, 2vw, 1.35rem); color: #fff; text-decoration: none; word-break: break-word; }
.contact-email:hover { color: var(--red-bright); }
.form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
label { color: #d4d7dc; font-size: .88rem; font-weight: 700; }
input, textarea, select {
  width: 100%;
  color: #fff;
  background: #0b0d10;
  border: 1px solid #30343b;
  border-radius: 7px;
  padding: 12px 13px;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--red-bright); box-shadow: 0 0 0 3px rgba(229,9,20,.14); }
textarea { min-height: 170px; resize: vertical; }
.form-note { color: var(--muted-2); font-size: .82rem; }
.status { min-height: 24px; color: #d9dde2; font-size: .9rem; }

.prose h2 { margin-top: 52px; font-size: 1.55rem; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: #b9bec6; }
.prose a { color: #fff; text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose ul { padding-left: 20px; }

.site-footer { border-top: 1px solid var(--line-soft); background: #050607; padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .85fr .85fr .85fr; gap: 42px; }
.footer-brand { max-width: 400px; }
.footer-brand p { color: var(--muted); margin-top: 20px; }
.footer-title { font-family: "Orbitron", sans-serif; font-size: .74rem; letter-spacing: .1em; color: #e0e3e7; margin-bottom: 16px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #9ea5ae; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: #737b85; display: flex; justify-content: space-between; gap: 20px; font-size: .8rem; }
.footer-bottom a { color: #9ca3ad; }

.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 34px; }
.metric { border-top: 1px solid var(--line); padding-top: 16px; }
.metric strong { display: block; color: #fff; font-family: "Orbitron", sans-serif; font-size: .93rem; margin-bottom: 5px; }
.metric span { color: var(--muted-2); font-size: .85rem; }

@media (max-width: 980px) {
  .menu-button { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #08090b;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; margin-top: 4px; text-align: center; }
  .hero { min-height: 650px; }
  .hero-visual { inset-left: 32%; opacity: .45; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-card { position: static; }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 68px 0; }
  .brand-sub { display: none; }
  .brand-name { font-size: .78rem; }
  .brand img { width: 38px; }
  .hero { min-height: auto; }
  .hero-visual { inset: 0; opacity: .22; background-position: 68% center; }
  .hero-content { padding: 84px 0 90px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
  .grid-2, .grid-3, .grid-4, .form, .metric-row { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 4px; }
  .page-hero { padding: 78px 0 58px; }
  .cta-strip { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .field-full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
