/* ==========================================================
   CyberDefender Security Suite
   Production static landing page styles
   ========================================================== */

/* Design tokens */
:root {
  --bg-950: #050912;
  --bg-900: #07111f;
  --bg-850: #0a1626;
  --bg-800: #0f1d2e;
  --surface: #111d2b;
  --surface-strong: #172638;
  --line: rgba(105, 186, 255, 0.22);
  --line-strong: rgba(40, 199, 255, 0.48);
  --text: #eef6ff;
  --text-soft: #b8c8d9;
  --text-muted: #8fa3b8;
  --blue: #28c7ff;
  --blue-strong: #1593ff;
  --cyan: #35f0dc;
  --green: #98f5c8;
  --amber: #ffcb5c;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1180px;
  --header-height: 88px;
}

/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-950);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.sr-only,
.svg-sprite {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #00111d;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 199, 255, 0.14), transparent 38%),
    linear-gradient(180deg, var(--bg-900), var(--bg-950));
}

.section-surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--bg-850);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 14px;
  font-size: clamp(2.85rem, 7vw, 5.45rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 850;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

p {
  color: var(--text-soft);
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 9, 18, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 9, 18, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.home-page .site-header {
  background: #040914;
  border-bottom-color: rgba(40, 199, 255, 0.16);
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled {
  background: #040914;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(40, 199, 255, 0.12);
}

.brief-page .site-header {
  background: #040914;
  border-bottom-color: rgba(40, 199, 255, 0.16);
  backdrop-filter: none;
}

.brief-page .site-header.is-scrolled {
  background: #040914;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(40, 199, 255, 0.12);
}

.navbar {
  width: min(100% - 40px, var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.brand-lockup {
  width: clamp(300px, 27vw, 330px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(40, 199, 255, 0.2));
}

.footer-lockup {
  width: min(100%, 430px);
}

.brand-emblem {
  display: inline-grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(40, 199, 255, 0.58);
  border-radius: 14px;
  background:
    radial-gradient(circle at 38% 28%, rgba(53, 240, 220, 0.32), transparent 52%),
    linear-gradient(145deg, rgba(40, 199, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(7, 17, 31, 0.9);
  box-shadow:
    inset 0 0 24px rgba(40, 199, 255, 0.14),
    0 0 0 5px rgba(40, 199, 255, 0.035),
    0 12px 26px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.brand-emblem img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.04) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.28));
}

.brand-stack {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-logo {
  width: clamp(230px, 22vw, 318px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(40, 199, 255, 0.2));
}

.brand-subtitle {
  margin-top: -3px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(40, 199, 255, 0.28);
}

.footer-logo {
  width: min(100%, 360px);
}

.footer-emblem {
  width: 66px;
  height: 66px;
}

.footer-emblem img {
  width: 62px;
  height: 62px;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(40, 199, 255, 0.2), rgba(53, 240, 220, 0.06)),
    rgba(255, 255, 255, 0.04);
  color: var(--blue);
  box-shadow: inset 0 0 24px rgba(40, 199, 255, 0.12);
}

.brand-text {
  font-size: 1.04rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  background: rgba(40, 199, 255, 0.11);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  padding: 58px 0 58px;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.35), rgba(5, 9, 18, 0.98)),
    linear-gradient(90deg, rgba(40, 199, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(40, 199, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 74px 74px, 74px 74px;
}

.hero-background::before,
.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(40, 199, 255, 0.42) 8% 8.4%, transparent 8.4% 100%),
    linear-gradient(90deg, transparent 0 22%, rgba(53, 240, 220, 0.3) 22% 22.35%, transparent 22.35% 100%),
    linear-gradient(90deg, transparent 0 78%, rgba(40, 199, 255, 0.34) 78% 78.35%, transparent 78.35% 100%),
    linear-gradient(0deg, transparent 0 28%, rgba(40, 199, 255, 0.24) 28% 28.35%, transparent 28.35% 100%),
    linear-gradient(0deg, transparent 0 64%, rgba(152, 245, 200, 0.2) 64% 64.35%, transparent 64.35% 100%);
}

.hero-background::after {
  opacity: 0.22;
  transform: rotate(3deg) scale(1.05);
}

.circuit-layer {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(53, 240, 220, 0.18) 16% 16.2%, transparent 16.2% 100%),
    linear-gradient(0deg, transparent 0 42%, rgba(40, 199, 255, 0.16) 42% 42.2%, transparent 42.2% 100%);
  transform: rotate(-7deg);
  animation: circuitDrift 28s linear infinite;
}

.circuit-layer-two {
  opacity: 0.48;
  transform: rotate(7deg);
  animation-duration: 36s;
  animation-direction: reverse;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 199, 255, 0.62), transparent);
  box-shadow: 0 0 26px rgba(40, 199, 255, 0.38);
  animation: scanLine 8s ease-in-out infinite;
}

.hero-content {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero h1 {
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #d9f3ff 44%, #28c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 34px rgba(40, 199, 255, 0.18);
}

.hero-tagline {
  margin-bottom: 12px;
  color: var(--green);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #02111d;
  box-shadow: 0 14px 34px rgba(40, 199, 255, 0.24);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(40, 199, 255, 0.12);
}

.hero-stats {
  display: grid;
  width: min(100%, 850px);
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.hero-stats div {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px 12px;
  background: rgba(7, 17, 31, 0.72);
}

.hero-stats strong {
  color: var(--blue);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1;
}

.hero-stats span {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.buyer-strip {
  display: flex;
  width: min(100%, 940px);
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.buyer-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(152, 245, 200, 0.28);
  border-radius: var(--radius);
  padding: 0 13px;
  background: rgba(152, 245, 200, 0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.suite-visual {
  width: min(100%, 980px);
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.suite-visual img {
  width: 100%;
  height: auto;
}

/* Shared section layouts */
.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:last-child,
.section-copy p {
  font-size: 1.04rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.section-copy {
  max-width: 650px;
}

.principle-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.principle,
.app-card,
.feature-card,
.support-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(9, 20, 35, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.principle {
  min-height: 190px;
  padding: 22px;
}

.principle span,
.feature-number {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.principle h3,
.feature-card h3,
.support-panel h3 {
  color: var(--text);
}

.principle p,
.feature-card p {
  margin-bottom: 0;
}

/* Application cards */
.app-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  position: relative;
  min-height: 328px;
  grid-column: span 4;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.app-card:nth-last-child(2) {
  grid-column: 3 / span 4;
}

.app-card:last-child {
  grid-column: 7 / span 4;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(40, 199, 255, 0.4);
  opacity: 0;
  transition: opacity 180ms ease;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(40, 199, 255, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(9, 20, 35, 0.92);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32);
}

.app-card:hover::before {
  opacity: 1;
}

.app-icon {
  display: inline-grid;
  width: 92px;
  height: 92px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(40, 199, 255, 0.56);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 18%, rgba(53, 240, 220, 0.32), transparent 48%),
    linear-gradient(145deg, rgba(40, 199, 255, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(7, 17, 31, 0.9);
  color: var(--blue);
  box-shadow:
    inset 0 0 28px rgba(40, 199, 255, 0.16),
    0 0 0 6px rgba(40, 199, 255, 0.035),
    0 16px 30px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.app-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-art img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 12px 16px rgba(0, 0, 0, 0.34));
}

.app-card:hover .app-icon {
  border-color: rgba(53, 240, 220, 0.76);
  box-shadow:
    inset 0 0 30px rgba(40, 199, 255, 0.2),
    0 0 0 6px rgba(40, 199, 255, 0.055),
    0 18px 38px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(40, 199, 255, 0.18);
}

.app-card h3 {
  color: var(--text);
  font-size: 1.22rem;
}

.app-card p {
  margin-bottom: 0;
}

.app-card ul {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.app-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.app-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(152, 245, 200, 0.45);
}

/* Suite information */
.suite-info-section {
  position: relative;
}

.suite-info-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 22px;
}

.suite-info-hero h2 {
  max-width: 720px;
}

.suite-info-hero > p {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.suite-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.suite-info-card,
.workflow-panel,
.suite-buyer-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(40, 199, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(9, 20, 35, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.suite-info-card {
  padding: 22px;
}

.info-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.suite-info-card h3,
.workflow-step h3,
.suite-buyer-panel h3 {
  color: var(--text);
}

.suite-info-card p,
.workflow-step p,
.suite-buyer-panel p {
  margin-bottom: 0;
}

.workflow-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.workflow-step {
  min-height: 214px;
  padding: 22px 18px;
  background: rgba(4, 9, 17, 0.24);
}

.workflow-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 1px solid rgba(40, 199, 255, 0.4);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.workflow-step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.workflow-step p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.suite-buyer-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
}

.suite-buyer-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.suite-buyer-panel li {
  position: relative;
  min-height: 44px;
  border: 1px solid rgba(179, 218, 255, 0.13);
  border-radius: var(--radius);
  padding: 11px 12px 11px 32px;
  background: rgba(4, 9, 17, 0.28);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.suite-buyer-panel li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(152, 245, 200, 0.45);
}

/* Detailed suite information page */
.brief-page {
  background:
    radial-gradient(circle at 18% 4%, rgba(40, 199, 255, 0.12), transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(152, 245, 200, 0.08), transparent 34%),
    var(--bg);
}

.brief-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  padding: calc(var(--header-height) + 84px) 0 86px;
}

.brief-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 46px;
  align-items: center;
}

.brief-hero-copy {
  max-width: 780px;
}

.brief-hero-copy h1 {
  margin-bottom: 16px;
}

.brief-hero-copy > p:not(.eyebrow):not(.hero-tagline) {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.brief-summary-panel,
.brief-info-card,
.lifecycle-card,
.app-detail-card,
.engineering-panel,
.takeaway-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(40, 199, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(9, 20, 35, 0.88);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.25);
}

.brief-summary-panel {
  padding: 24px;
}

.summary-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-stat {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(179, 218, 255, 0.13);
  padding: 16px 0;
}

.summary-stat:last-child {
  padding-bottom: 0;
}

.summary-stat strong {
  color: var(--cyan);
  font-size: 1.8rem;
  line-height: 1;
}

.summary-stat span {
  color: var(--text-soft);
  font-weight: 800;
}

.brief-overview-grid,
.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brief-info-card {
  min-height: 220px;
  padding: 24px;
}

.brief-info-card span,
.lifecycle-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(40, 199, 255, 0.42);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.brief-info-card h3,
.lifecycle-card h3,
.app-detail-card h3,
.app-detail-card h4,
.engineering-panel h2,
.takeaway-panel h2 {
  color: var(--text);
}

.brief-info-card p,
.lifecycle-card p,
.engineering-panel p,
.takeaway-panel p {
  margin-bottom: 0;
}

.inventory-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(40, 199, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(9, 20, 35, 0.86);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.inventory-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.inventory-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.inventory-table th,
.inventory-table td {
  border-bottom: 1px solid rgba(179, 218, 255, 0.12);
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
}

.inventory-table th {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inventory-table td {
  color: var(--text-soft);
}

.inventory-table td:first-child {
  color: var(--text);
  font-weight: 900;
}

.inventory-table tbody tr:last-child td {
  border-bottom: 0;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.lifecycle-card {
  min-height: 260px;
  padding: 22px;
}

.lifecycle-card p + p {
  margin-top: 10px;
}

.app-detail-stack {
  display: grid;
  gap: 20px;
}

.app-detail-card {
  padding: 26px;
}

.app-detail-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.app-detail-head img {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border: 1px solid rgba(40, 199, 255, 0.54);
  border-radius: 16px;
  object-fit: cover;
  box-shadow:
    inset 0 0 24px rgba(40, 199, 255, 0.14),
    0 12px 26px rgba(0, 0, 0, 0.28);
}

.app-detail-head span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-detail-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.pitch-line {
  border-left: 3px solid var(--cyan);
  margin-bottom: 20px;
  padding: 10px 0 10px 16px;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 800;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.detail-columns > div,
.technical-list {
  border: 1px solid rgba(179, 218, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(4, 9, 17, 0.26);
}

.detail-columns h4,
.technical-list h4 {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-columns p {
  margin-bottom: 0;
}

.technical-list ul,
.priority-list {
  display: grid;
  gap: 9px;
}

.technical-list li,
.priority-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
}

.technical-list li::before,
.priority-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(152, 245, 200, 0.42);
}

.engineering-note {
  margin: 18px 0 0;
  border-top: 1px solid rgba(179, 218, 255, 0.12);
  padding-top: 16px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.engineering-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.engineering-panel {
  padding: 28px;
}

.engineering-panel p + p {
  margin-top: 14px;
}

.takeaway-panel {
  padding: 30px;
}

.takeaway-panel p {
  max-width: 920px;
  margin-bottom: 22px;
  color: var(--text-soft);
  font-size: 1.06rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 240px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

/* Support */
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 38px;
  align-items: center;
}

.support-panel {
  padding: 28px;
}

.support-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 26px;
}

.support-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-soft);
  font-weight: 700;
}

.support-list span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(152, 245, 200, 0.48);
}

.support-button {
  width: 100%;
}

/* Footer */
.site-footer {
  padding: 50px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #04070d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-motto {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--text);
  font-weight: 800;
}

.footer-heading {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.site-footer p a {
  color: var(--text-soft);
  text-decoration: none;
}

.site-footer p a:hover,
.site-footer p a:focus-visible {
  color: var(--cyan);
}

.social-placeholders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 310px;
}

.social-placeholders a {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  min-height: 58px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px 12px 8px 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(40, 199, 255, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(7, 17, 31, 0.78);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 750;
  box-shadow: inset 0 0 24px rgba(40, 199, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.social-placeholders a::after {
  content: ">";
  position: absolute;
  right: 12px;
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 900;
  opacity: 0.58;
  transition: transform 180ms ease, opacity 180ms ease;
}

.social-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(40, 199, 255, 0.5);
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 18%, rgba(53, 240, 220, 0.28), transparent 48%),
    rgba(40, 199, 255, 0.1);
  color: var(--blue);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-copy {
  display: grid;
  gap: 1px;
  padding-right: 18px;
}

.social-copy strong {
  color: var(--text);
  line-height: 1.1;
}

.social-copy small {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.social-placeholders a:hover,
.social-placeholders a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background:
    linear-gradient(135deg, rgba(40, 199, 255, 0.18), rgba(53, 240, 220, 0.055)),
    rgba(7, 17, 31, 0.92);
  color: var(--text);
  box-shadow:
    inset 0 0 24px rgba(40, 199, 255, 0.1),
    0 12px 26px rgba(0, 0, 0, 0.22);
}

.social-placeholders a:hover::after,
.social-placeholders a:focus-visible::after {
  transform: translateX(3px);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes scanLine {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  12%,
  72% {
    opacity: 1;
  }
  84% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

@keyframes circuitDrift {
  from {
    transform: translate3d(-3%, -2%, 0) rotate(-7deg);
  }
  to {
    transform: translate3d(3%, 2%, 0) rotate(-7deg);
  }
}

/* Responsive breakpoints */
@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-hero-grid,
  .brief-overview-grid,
  .engineering-grid {
    grid-template-columns: 1fr;
  }

  .brief-hero {
    min-height: 0;
  }

  .lifecycle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .app-card {
    grid-column: span 6;
  }

  .app-card:nth-last-child(2) {
    grid-column: span 6;
  }

  .app-card:last-child {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 10px;
    background: rgba(5, 9, 18, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    justify-content: center;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .suite-info-hero,
  .suite-buyer-panel,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .suite-info-hero {
    gap: 12px;
    margin-bottom: 18px;
  }

  .suite-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .social-placeholders {
    max-width: 360px;
  }

  .section-copy {
    max-width: none;
  }

  .detail-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .container,
  .navbar {
    width: min(100% - 28px, var(--container));
  }

  .brand-logo {
    width: 188px;
  }

  .brand-lockup {
    width: 250px;
  }

  .brand-emblem {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .brand-emblem img {
    width: 43px;
    height: 43px;
  }

  .brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-bottom: 58px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .principle-panel,
  .feature-grid,
  .lifecycle-grid,
  .workflow-panel,
  .suite-buyer-panel ul,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .app-card,
  .app-card:nth-last-child(2),
  .app-card:last-child {
    grid-column: 1 / -1;
  }

  .app-card,
  .feature-card,
  .principle,
  .brief-summary-panel,
  .brief-info-card,
  .lifecycle-card,
  .app-detail-card,
  .engineering-panel,
  .takeaway-panel,
  .suite-info-card,
  .suite-buyer-panel,
  .support-panel {
    padding: 20px;
  }

  .brief-hero {
    padding: calc(var(--header-height) + 58px) 0 58px;
  }

  .brief-summary-panel {
    padding-top: 18px;
  }

  .summary-stat {
    grid-template-columns: 58px 1fr;
  }

  .app-detail-head {
    align-items: flex-start;
    gap: 14px;
  }

  .app-detail-head img {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }

  .workflow-step {
    min-height: 0;
    padding: 20px;
  }

  .app-card {
    min-height: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.7rem;
  }

  .brand-logo {
    width: 150px;
  }

  .brand-lockup {
    width: 238px;
  }

  .brand-emblem {
    width: 42px;
    height: 42px;
  }

  .brand-emblem img {
    width: 39px;
    height: 39px;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .suite-visual {
    border-radius: var(--radius);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
