/* =============================================
   InfraVeritas — style.css
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --bg-base:      #060d1a;
  --bg-card:      #0b1628;
  --bg-card-alt:  #0f1e35;
  --bg-elevated:  #132140;
  --border:       rgba(255,255,255,0.07);
  --border-glow:  rgba(0,200,150,0.2);

  --primary:      #00c896;
  --primary-dark: #009e78;
  --primary-glow: rgba(0,200,150,0.15);
  --gold:         #f0a500;
  --gold-dim:     rgba(240,165,0,0.15);

  --text-primary: #e8edf5;
  --text-secondary: #8a9ab5;
  --text-muted:   #4a5a75;

  --gradient-hero: linear-gradient(135deg, #00c896 0%, #0070f3 100%);
  --gradient-gold: linear-gradient(135deg, #f0a500, #e06000);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(0,200,150,0.1);

  --font-body:    'Inter', system-ui, sans-serif;
  --font-heading: 'Inter', system-ui, sans-serif;
  --transition:   0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-primary {
  background: var(--primary);
  color: #060d1a;
}
.btn-primary:hover { background: #00daa6; transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

/* ---------- Section Defaults ---------- */
.section { padding: 100px 0; }
.section-header {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(6,13,26,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--bg-base);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.logo-text { color: var(--text-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links li a:hover { color: var(--text-primary); }

/* Domains dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown > a::after { content: '▾'; font-size: .7em; opacity: .6; }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11,22,40,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  min-width: 210px;
  padding: 6px;
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: .875rem;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-drop-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.nav-drop-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-infra   { background: #00c896; }
.dot-cyber   { background: #3d9bff; }
.dot-license { background: #f0a500; }
.dot-privacy { background: #c080ff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00c896 0%, transparent 70%);
  top: -10%;
  right: -10%;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0070f3 0%, transparent 70%);
  bottom: 0%;
  left: -15%;
  opacity: 0.2;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  background: rgba(0,200,150,0.05);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,200,150,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(0,200,150,0); }
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 520px;
  border-left: 2px solid var(--border);
  padding-left: 12px;
  line-height: 1.6;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  padding: 40px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 16px 24px;
}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  vertical-align: super;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* =============================================
   WHY SECTION
   ============================================= */
.why-section { background: var(--bg-base); }
.compare-table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 48px;
}
.compare-col { padding: 40px 36px; }
.compare-col-them { background: var(--bg-card); }
.compare-col-us {
  background: linear-gradient(135deg, rgba(0,200,150,0.05) 0%, var(--bg-card) 100%);
  border-left: 1px solid var(--border-glow);
}
.compare-col-header { margin-bottom: 28px; }
.compare-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare-tag-other { background: rgba(255,255,255,0.06); color: var(--text-secondary); }
.compare-tag-iv { background: rgba(0,200,150,0.15); color: var(--primary); }
.compare-list { display: flex; flex-direction: column; gap: 14px; }
.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.compare-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}
.compare-item.negative { color: var(--text-secondary); }
.compare-item.negative .compare-icon {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}
.compare-item.positive { color: var(--text-primary); }
.compare-item.positive .compare-icon {
  background: rgba(0,200,150,0.15);
  color: var(--primary);
}
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  writing-mode: vertical-lr;
  letter-spacing: 0.1em;
}
.why-cta {
  text-align: center;
  padding: 40px;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  background: var(--primary-glow);
  max-width: 720px;
  margin: 0 auto;
}
.why-cta-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-primary);
}
.why-cta-sub {
  color: var(--primary);
  font-weight: 600;
}

/* =============================================
   SERVICES
   ============================================= */
.services-section { background: var(--bg-card); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { background: var(--gradient-hero); }
.service-card-featured {
  border-color: rgba(0,200,150,0.3);
  background: linear-gradient(145deg, rgba(0,200,150,0.05) 0%, var(--bg-card-alt) 60%);
}
.service-card-featured::before { background: var(--gradient-hero); }
.service-badge-featured {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--bg-base);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon-1 { background: rgba(0,200,150,0.12); color: var(--primary); }
.service-icon-2 { background: rgba(0,112,243,0.12); color: #3d9bff; }
.service-icon-3 { background: rgba(240,165,0,0.12); color: var(--gold); }
.service-icon-4 { background: rgba(180,100,255,0.12); color: #c080ff; }
.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.service-features li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 900;
}
.service-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.service-cta:hover { color: #00daa6; letter-spacing: 0.02em; }
.inline-link {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}
.inline-link:hover { color: #00daa6; }

.rating-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  line-height: 1.7;
}
.rating-note strong { color: var(--text-secondary); }
.rating-note a { color: var(--primary); }

/* =============================================
   CERTIFICATIONS
   ============================================= */
.cert-section { background: var(--bg-base); }

.cert-domains {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.cert-domain {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.cert-domain:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: var(--shadow-card);
}
.cert-domain-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
}
.cert-domain-infra   { background: rgba(0,200,150,0.07);   border-bottom-color: rgba(0,200,150,0.15); }
.cert-domain-cyber   { background: rgba(61,155,255,0.07);  border-bottom-color: rgba(61,155,255,0.15); }
.cert-domain-license { background: rgba(240,165,0,0.07);   border-bottom-color: rgba(240,165,0,0.15); }
.cert-domain-privacy { background: rgba(192,128,255,0.07); border-bottom-color: rgba(192,128,255,0.15); }

.cert-domain-infra   .cert-domain-icon { color: var(--primary); }
.cert-domain-cyber   .cert-domain-icon { color: #3d9bff; }
.cert-domain-license .cert-domain-icon { color: var(--gold); }
.cert-domain-privacy .cert-domain-icon { color: #c080ff; }

.cert-domain-infra   .cert-domain-tag { color: var(--primary); }
.cert-domain-cyber   .cert-domain-tag { color: #3d9bff; }
.cert-domain-license .cert-domain-tag { color: var(--gold); }
.cert-domain-privacy .cert-domain-tag { color: #c080ff; }

.cert-domain-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.cert-domain-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.cert-domain-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.cert-domain-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 20px 28px 0;
}
.cert-levels {
  display: flex;
  flex-direction: column;
  padding: 16px 0 8px;
}
.cert-level {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 28px;
  border-top: 1px solid var(--border);
  transition: background var(--transition);
}
.cert-level:first-child { border-top: none; }
.cert-level:hover { background: rgba(255,255,255,0.02); }
.cl-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.cert-level-1 .cl-num { background: rgba(100,150,200,0.15); color: #6496c8; }
.cert-level-2 .cl-num { background: rgba(100,180,100,0.15); color: #64b464; }
.cert-level-3 .cl-num { background: rgba(0,200,150,0.15);   color: var(--primary); }
.cert-level-4 .cl-num { background: rgba(240,165,0,0.15);   color: var(--gold); }
.cl-body { display: flex; flex-direction: column; gap: 2px; }
.cl-body strong { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.cl-body span   { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

.cert-level-legend {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
}
.cll-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.cll-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cll-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.cll-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
}
.cll-l1 .cll-badge { background: rgba(100,150,200,0.15); color: #6496c8; }
.cll-l2 .cll-badge { background: rgba(100,180,100,0.15); color: #64b464; }
.cll-l3 .cll-badge { background: rgba(0,200,150,0.15);   color: var(--primary); }
.cll-l4 .cll-badge { background: rgba(240,165,0,0.15);   color: var(--gold); }

/* =============================================
   FRAMEWORK
   ============================================= */
.framework-section { background: var(--bg-card); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}
.module-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.module-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-elevated);
}
.module-card-highlight {
  border-color: rgba(0,200,150,0.2);
  background: linear-gradient(135deg, rgba(0,200,150,0.06) 0%, var(--bg-card-alt) 100%);
}
.module-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bg-elevated);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
  user-select: none;
}
.module-card:hover .module-num { color: rgba(0,200,150,0.1); }
.module-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.module-points {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.module-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  background: rgba(0,200,150,0.12);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.framework-scoring {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--bg-card-alt);
}
.scoring-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
}
.scoring-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.score-val {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.score-0 { background: rgba(255,80,80,0.15); color: #ff6060; }
.score-1 { background: rgba(240,165,0,0.15); color: var(--gold); }
.score-2 { background: rgba(0,200,150,0.15); color: var(--primary); }
.score-na { background: rgba(255,255,255,0.06); color: var(--text-muted); font-size: 0.7rem; }
.score-label { font-size: 0.78rem; color: var(--text-secondary); }
.scoring-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* =============================================
   PROCESS
   ============================================= */
.process-section { background: var(--bg-base); }
.process-timeline {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.process-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.process-connector {
  width: 2px;
  min-height: 60px;
  background: linear-gradient(to bottom, var(--border-glow), var(--border));
  margin-left: 25px;
  flex-shrink: 0;
}
.process-connector-last { background: transparent; }
.process-step-content {
  padding: 12px 0 48px;
  flex: 1;
}
.process-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.process-step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   WHO WE SERVE
   ============================================= */
.whom-section { background: var(--bg-card); }
.whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.whom-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
}
.whom-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}
.whom-card-highlight {
  border-color: rgba(0,200,150,0.25);
  background: linear-gradient(145deg, rgba(0,200,150,0.05) 0%, var(--bg-card-alt) 70%);
}
.whom-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.whom-icon {
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0.8;
}
.whom-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.whom-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.whom-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.whom-benefits li {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

/* =============================================
   LEGAL SECTION
   ============================================= */
.legal-section { background: var(--bg-base); }
.legal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.legal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-layers {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.legal-layer {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  flex: 1;
  min-width: 150px;
}
.legal-layer strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.legal-layer p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.legal-layer-arrow {
  font-size: 1.4rem;
  color: var(--text-muted);
  flex-shrink: 0;
  font-weight: 300;
}
.legal-layer-result {
  border-color: rgba(0,200,150,0.25);
  background: rgba(0,200,150,0.04);
}
.layer-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.layer-icon-tech { background: rgba(0,112,243,0.15); color: #3d9bff; }
.layer-icon-legal { background: rgba(180,100,255,0.15); color: #c080ff; }
.layer-icon-result { background: rgba(0,200,150,0.15); color: var(--primary); }
.legal-quote-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.lq-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(0,200,150,0.15);
  line-height: 0.6;
  margin-bottom: 16px;
}
.lq-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.lq-source {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.legal-cert-preview {
  background: var(--bg-card-alt);
  border: 1px solid rgba(0,200,150,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.82rem;
}
.cert-preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(0,200,150,0.08);
  border-bottom: 1px solid rgba(0,200,150,0.15);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.88rem;
}
.cert-logo-sm {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--bg-base);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
}
.cert-preview-body { padding: 20px; }
.cert-preview-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.cert-preview-level {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}
.cert-preview-line {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}
.cert-preview-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.8rem;
}
.cert-preview-row span { font-weight: 600; color: var(--text-primary); }
.cert-preview-disclaimer {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  font-style: italic;
  line-height: 1.5;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section { background: var(--bg-card); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-trust { display: flex; flex-direction: column; gap: 12px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.trust-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,200,150,0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}
.contact-form {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,200,150,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card-alt); }
.form-group textarea { resize: vertical; min-height: 90px; }
.contact-form .btn-primary { margin-top: 8px; }
.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* =============================================
   DISCLAIMER
   ============================================= */
.disclaimer-section {
  padding: 28px 0;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
}
.disclaimer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.disclaimer-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.5;
}
.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.disclaimer-text strong { color: var(--text-secondary); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 12px 0 4px;
}
.footer-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-links-group h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links-group ul li a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* =============================================
   ANIMATIONS (JS-triggered)
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   STANDARDS COMPARISON
   ============================================= */
.standards-section { background: var(--bg-card); }
.standards-table-wrap {
  overflow-x: auto;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.standards-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.standards-table thead tr {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.standards-table th {
  padding: 16px 18px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.standards-table th span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 2px;
}
.standards-table td {
  padding: 13px 18px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  line-height: 1.5;
  vertical-align: top;
}
.standards-table tr:hover td { background: rgba(255,255,255,0.015); }
.standards-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.82rem;
  width: 200px;
}
.col-iv {
  background: rgba(0,200,150,0.04);
  border-left: 2px solid rgba(0,200,150,0.25) !important;
}
.standards-table th.col-iv {
  color: var(--primary);
  background: rgba(0,200,150,0.08);
}
.td-yes  { color: var(--primary) !important; }
.td-no   { color: var(--text-muted) !important; }
.td-partial { color: var(--gold) !important; }
.standards-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card-alt);
}

/* Domain card header as link */
.cert-domain-header[href] { cursor: pointer; }
.cert-domain-header[href]:hover .cert-domain-name { color: var(--domain-color, var(--primary)); }
.cert-domain-infra[href]:hover  .cert-domain-name { color: var(--primary); }
.cert-domain-cyber[href]:hover  .cert-domain-name { color: #3d9bff; }
.cert-domain-license[href]:hover .cert-domain-name { color: var(--gold); }
.cert-domain-privacy[href]:hover .cert-domain-name { color: #c080ff; }

/* =============================================
   DOMAIN PAGES — shared
   ============================================= */

/* Domain colour variable — overridden per page via <style> */
:root { --domain-color: var(--primary); --domain-glow: var(--primary-glow); }

/* Domain Hero */
.domain-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.domain-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.domain-hero-bg .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}
.domain-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--domain-color) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.2;
  top: -20%;
  right: -8%;
  pointer-events: none;
}
.domain-hero-content { position: relative; z-index: 2; }
.domain-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--domain-color);
  margin-bottom: 20px;
}
.domain-hero-eyebrow a {
  color: var(--text-muted);
  transition: var(--transition);
}
.domain-hero-eyebrow a:hover { color: var(--text-secondary); }
.domain-hero-eyebrow .sep { color: var(--text-muted); font-weight: 300; }
.domain-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.domain-hero-title .domain-accent { color: var(--domain-color); }
.domain-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.domain-hero-aspects {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.aspect-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.aspect-btn:hover {
  border-color: var(--domain-color);
  background: rgba(255,255,255,0.02);
}
.aspect-btn.active {
  border-color: var(--domain-color);
  background: color-mix(in srgb, var(--domain-color) 8%, var(--bg-card));
}
.aspect-btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--domain-color) 15%, transparent);
  color: var(--domain-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aspect-btn-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.aspect-btn-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Aspect sections */
.aspect-section { padding: 80px 0; }
.aspect-section + .aspect-section {
  border-top: 1px solid var(--border);
}
.aspect-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border-radius: 100px;
  border: 1px solid color-mix(in srgb, var(--domain-color) 30%, transparent);
  background: color-mix(in srgb, var(--domain-color) 8%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--domain-color);
  margin-bottom: 20px;
}
.aspect-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--domain-color);
}

/* Domain levels table */
.domain-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 40px 0;
}
.dl-row {
  display: grid;
  grid-template-columns: 56px 1fr 2fr;
  gap: 20px;
  align-items: start;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.dl-row:hover { border-color: rgba(255,255,255,0.1); }
.dl-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.dl-row-l1 .dl-badge { background: rgba(100,150,200,0.15); color: #6496c8; }
.dl-row-l2 .dl-badge { background: rgba(100,180,100,0.15); color: #64b464; }
.dl-row-l3 .dl-badge { background: rgba(0,200,150,0.15);   color: var(--primary); }
.dl-row-l4 .dl-badge { background: rgba(240,165,0,0.15);   color: var(--gold); }
.dl-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.dl-score {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.dl-criteria {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dl-criteria li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.dl-criteria li::before {
  content: '·';
  position: absolute;
  left: 3px;
  color: var(--domain-color);
  font-weight: 900;
  font-size: 1rem;
}

/* Certification process steps */
.cert-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin: 40px 0;
}
.cert-process::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--domain-color), rgba(255,255,255,0.05));
  z-index: 0;
}
.cp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.cp-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid color-mix(in srgb, var(--domain-color) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--domain-color);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.cp-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.cp-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* What you receive */
.receive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.receive-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.receive-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.receive-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.receive-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Two-column aspect layout */
.aspect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.aspect-aside {
  position: sticky;
  top: 100px;
}

/* Auditor pathway */
.auditor-pathway {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0;
}
.ap-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.ap-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.ap-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--domain-color) 15%, var(--bg-card));
  border: 1.5px solid color-mix(in srgb, var(--domain-color) 35%, transparent);
  color: var(--domain-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.ap-line {
  width: 2px;
  flex: 1;
  min-height: 36px;
  background: var(--border);
  margin: 4px 0;
}
.ap-content {
  padding-bottom: 28px;
  flex: 1;
}
.ap-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.ap-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.ap-step:last-child .ap-line { display: none; }
.ap-step:last-child .ap-content { padding-bottom: 0; }

/* Eligibility list */
.eligibility-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.el-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.el-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--domain-color) 15%, transparent);
  color: var(--domain-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.benefit-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.88rem;
  margin-bottom: 3px;
}

/* Domain contact form (same as main but compact) */
.domain-cta-box {
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--domain-color) 25%, transparent);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.domain-cta-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.domain-cta-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Page breadcrumb */
.page-breadcrumb {
  padding: 16px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.page-breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.page-breadcrumb a:hover { color: var(--text-secondary); }
.page-breadcrumb .sep { margin: 0 8px; }

/* Back to domain nav within page */
.section-anchor-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.san-link {
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}
.san-link:hover { color: var(--text-primary); }
.san-link.active {
  color: var(--domain-color);
  border-bottom-color: var(--domain-color);
}

/* =============================================
   RESPONSIVE — domain pages
   ============================================= */
@media (max-width: 1024px) {
  .aspect-grid { grid-template-columns: 1fr; gap: 48px; }
  .aspect-aside { position: static; }
  .cert-process { grid-template-columns: 1fr 1fr; }
  .cert-process::before { display: none; }
}
@media (max-width: 768px) {
  .domain-hero { padding: 130px 0 60px; }
  .domain-hero-aspects { flex-direction: column; }
  .aspect-btn { width: 100%; }
  .dl-row { grid-template-columns: 44px 1fr; }
  .dl-row .dl-criteria { grid-column: 1 / -1; }
  .cert-process { grid-template-columns: 1fr 1fr; }
  .receive-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cert-process { grid-template-columns: 1fr; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .legal-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cert-domains { grid-template-columns: 1fr; }
  .cll-grid { grid-template-columns: 1fr 1fr; }
  .compare-table {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }
  .compare-vs {
    writing-mode: horizontal-tb;
    padding: 16px;
    text-align: center;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.3em;
  }
  .compare-col-us { border-left: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6,13,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1.1rem; }
  .nav-drop-menu {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.04);
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    padding: 4px 0 4px 16px;
  }
  .nav-dropdown:hover .nav-drop-menu,
  .nav-dropdown:focus-within .nav-drop-menu { display: flex; }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .whom-grid { grid-template-columns: 1fr; }
  .cll-grid { grid-template-columns: 1fr 1fr; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .legal-layers { flex-direction: column; }
  .legal-layer-arrow { transform: rotate(90deg); }
  .process-step { gap: 20px; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .modules-grid { grid-template-columns: 1fr; }
  .hero-scroll-hint { display: none; }
}
