/* ============================================
   NexusBridge Enterprise — Corporate Stylesheet
   Enterprise Blue Design System
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --navy-900: #060D1A;
  --navy-800: #0A1628;
  --navy-700: #0F2040;
  --navy-600: #1A3055;
  --navy-500: #1E3A5F;
  --navy-400: #2A4F7C;
  --blue-600: #1D4ED8;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-300: #60A5FA;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748B;
  --steel-400: #94A3B8;
  --steel-300: #CBD5E1;
  --steel-200: #E2E8F0;
  --steel-100: #F1F5F9;
  --white: #FFFFFF;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --success: #059669;
  --warning: #D97706;
  --border: #E2E8F0;
  --border-dark: #2A4F7C;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.16);
  --shadow-navy: 0 4px 24px rgba(10,22,40,0.5);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --transition: 0.2s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-400); }

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

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; }

p { color: var(--text-secondary); line-height: 1.75; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-muted); }
.font-mono { font-family: var(--font-mono); }

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

.container--wide { max-width: 1440px; }
.container--narrow { max-width: 800px; }

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 112px 0; }

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}
.btn--primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-500);
  border-color: var(--steel-200);
}
.btn--ghost:hover {
  background: var(--steel-100);
  border-color: var(--steel-300);
  color: var(--blue-600);
}

.btn--sm { padding: 8px 16px; font-size: 0.875rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ---- Header / Navigation ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-800);
  border-bottom: 1px solid var(--navy-600);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__icon {
  width: 36px;
  height: 36px;
  background: var(--blue-500);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
}

.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1rem; font-weight: 700; color: white; }
.logo__sub { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel-400); }

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

.nav__link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--steel-400);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav__link.active { color: var(--white); background: rgba(37,99,235,0.25); }

.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.version-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(37,99,235,0.2);
  color: var(--blue-300);
  border: 1px solid rgba(37,99,235,0.3);
  font-family: var(--font-mono);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--steel-400);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--navy-900);
  border-top: 1px solid var(--navy-600);
  padding: 16px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--navy-700); }

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(37,99,235,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(10,22,40,0.8) 0%, transparent 60%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.35);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--blue-400); }

.hero__desc {
  color: var(--steel-300);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.hero__stat-label { font-size: 0.8rem; color: var(--steel-400); margin-top: 2px; }

/* Network Diagram */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.network-diagram {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  position: relative;
}

.network-diagram svg {
  width: 100%;
  height: 100%;
}

/* ---- Section Headers ---- */
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-500);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: 12px;
}

.section-header--center p { margin: 12px auto 0; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--steel-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card--dark {
  background: var(--navy-800);
  border-color: var(--navy-600);
  color: var(--white);
}
.card--dark h3, .card--dark h4 { color: var(--white); }
.card--dark p { color: var(--steel-400); }

.card--accent {
  border-left: 4px solid var(--blue-500);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(37,99,235,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card--dark .card__icon { background: rgba(37,99,235,0.2); }

/* ---- Feature Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Tech Specs Table ---- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th {
  background: var(--navy-800);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-table th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.spec-table th:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.spec-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--steel-100); }

.spec-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 35%;
}

.spec-table .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--green { background: rgba(5,150,105,0.1); color: var(--success); border: 1px solid rgba(5,150,105,0.25); }
.badge--blue { background: rgba(37,99,235,0.1); color: var(--blue-600); border: 1px solid rgba(37,99,235,0.25); }
.badge--gray { background: var(--steel-100); color: var(--steel-600); border: 1px solid var(--steel-200); }

/* ---- Code Block ---- */
.code-block {
  background: var(--navy-900);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-block__header {
  background: var(--navy-700);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--navy-600);
}

.code-block__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--steel-300);
  font-family: var(--font-mono);
}

.code-block__dots { display: flex; gap: 6px; }
.code-block__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-block__dot:nth-child(1) { background: #FF5F57; }
.code-block__dot:nth-child(2) { background: #FFBD2E; }
.code-block__dot:nth-child(3) { background: #28C840; }

.code-block__body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--steel-300);
  overflow-x: auto;
}

.code-block__body .comment { color: #64748B; }
.code-block__body .keyword { color: #60A5FA; }
.code-block__body .string { color: #86EFAC; }
.code-block__body .number { color: #FCA5A5; }
.code-block__body .property { color: #FDE68A; }

/* ---- Accordion (FAQ) ---- */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item:last-child { border-bottom: none; }

.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.accordion__trigger:hover { background: var(--steel-100); }

.accordion__trigger-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--steel-500);
  transition: transform var(--transition);
}
.accordion__item.open .accordion__icon { transform: rotate(180deg); }

.accordion__body {
  display: none;
  padding: 0 24px 20px;
}
.accordion__item.open .accordion__body { display: block; }

.accordion__body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---- Steps ---- */
.steps { counter-reset: step; }

.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: step;
}
.step:last-child { border-bottom: none; }

.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__content h4 { margin-bottom: 6px; }
.step__content p { font-size: 0.9375rem; }

/* ---- Stats ---- */
.stats-band {
  background: var(--navy-800);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--navy-600);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--navy-800);
  padding: 32px 24px;
  text-align: center;
}

.stat-item__value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__value span { color: var(--blue-400); }

.stat-item__label {
  font-size: 0.8125rem;
  color: var(--steel-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Compliance Badges ---- */
.compliance-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.compliance-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* ---- Alert / Notice ---- */
.notice {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid;
}

.notice--blue {
  background: rgba(37,99,235,0.06);
  border-color: var(--blue-500);
}
.notice--blue .notice__icon { color: var(--blue-500); }

.notice--green {
  background: rgba(5,150,105,0.06);
  border-color: var(--success);
}

.notice__icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.notice p { margin: 0; font-size: 0.9rem; }

/* ---- Sidebar Layout ---- */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-nav__group { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-nav__group:last-child { border-bottom: none; }

.sidebar-nav__label {
  padding: 8px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.sidebar-nav__link {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  border-right: 3px solid transparent;
}
.sidebar-nav__link:hover { background: var(--steel-100); color: var(--text-primary); }
.sidebar-nav__link.active {
  background: rgba(37,99,235,0.06);
  color: var(--blue-600);
  border-right-color: var(--blue-500);
  font-weight: 600;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-500), transparent);
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: var(--steel-300); font-size: 1.0625rem; max-width: 640px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--steel-500);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--steel-400); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: var(--navy-500); }

/* ---- Tunnel Architecture Diagram ---- */
.arch-diagram {
  background: var(--navy-900);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.arch-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(37,99,235,0.06) 0%, transparent 70%);
}

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.arch-node {
  background: var(--navy-700);
  border: 1px solid var(--navy-500);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  min-width: 120px;
  position: relative;
}

.arch-node__icon { font-size: 28px; margin-bottom: 8px; }
.arch-node__label { font-size: 0.75rem; font-weight: 600; color: var(--white); }
.arch-node__sub { font-size: 0.65rem; color: var(--steel-500); margin-top: 3px; }

.arch-node--encrypted { border-color: var(--blue-600); }
.arch-node--encrypted .arch-node__label { color: var(--blue-300); }

.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4px;
  min-width: 80px;
}

.arch-connector__line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--navy-500), var(--blue-600), var(--navy-500));
  position: relative;
}

.arch-connector__line::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--blue-600);
}

.arch-connector__label {
  font-size: 0.65rem;
  color: var(--blue-400);
  font-family: var(--font-mono);
  margin-top: 5px;
  white-space: nowrap;
}

/* Animated data flow */
.data-flow-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-400);
  border-radius: 50%;
  position: absolute;
  top: -2px;
  animation: flowRight 2.5s linear infinite;
}

@keyframes flowRight {
  from { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { left: 100%; opacity: 0; }
}

.data-flow-dot:nth-child(2) { animation-delay: 0.8s; }
.data-flow-dot:nth-child(3) { animation-delay: 1.6s; }

/* ---- Footer ---- */
.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--navy-700);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--steel-500);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel-400);
  margin-bottom: 16px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.875rem;
  color: var(--steel-500);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--navy-700);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 0.8rem;
  color: var(--steel-600);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--steel-600);
}
.footer__legal a:hover { color: var(--steel-400); }

.footer__inn {
  font-size: 0.75rem;
  color: var(--steel-700);
  font-family: var(--font-mono);
  margin-top: 8px;
}

/* ---- Utility ---- */
.bg-dark { background: var(--navy-900); }
.bg-navy { background: var(--navy-800); }
.bg-light { background: var(--steel-100); }

.text-white { color: var(--white) !important; }
.text-blue { color: var(--blue-400) !important; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.divider--dark { border-color: var(--navy-700); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--steel-100);
  color: var(--steel-600);
  border: 1px solid var(--steel-200);
}

.chip--blue { background: rgba(37,99,235,0.1); color: var(--blue-600); border-color: rgba(37,99,235,0.25); }
.chip--green { background: rgba(5,150,105,0.1); color: var(--success); border-color: rgba(5,150,105,0.25); }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.check-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.highlight-box {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border: 1px solid var(--navy-500);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  padding-bottom: 28px;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-500);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

.timeline__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.timeline__title { font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.timeline__desc { font-size: 0.875rem; color: var(--text-muted); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .header__actions .btn { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .arch-flow { flex-direction: column; }
  .arch-connector { flex-direction: row; min-width: auto; }
  .arch-connector__line { width: 2px; height: 40px; background: linear-gradient(180deg, var(--navy-500), var(--blue-600), var(--navy-500)); }
  .hero__stats { flex-direction: column; gap: 16px; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .compliance-row { flex-direction: column; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.5s ease forwards; }
.animate-in-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: 0.5s; }
.animate-in-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: 0.5s; }
.animate-in-delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: 0.5s; }

/* ---- Print ---- */
@media print {
  .header, .footer, .btn, .hamburger { display: none !important; }
  .page-hero { background: none; padding: 0; }
  .page-hero h1, .page-hero p { color: var(--text-primary) !important; }
}
