/* ============================================================
   IurisIQ — Main Stylesheet
   Aesthetic: Dark Legal Precision — Cormorant serif + DM Sans
   ============================================================ */

:root {
  /* Brand palette — drawn from logo blues + gold accent */
  --navy-deep:   #06101E;
  --navy:        #0A1828;
  --navy-mid:    #0D2040;
  --navy-light:  #132952;
  --blue:        #1B6FD4;
  --blue-light:  #3A9AED;
  --blue-bright: #5BBDFF;
  --gold:        #C4933F;
  --gold-light:  #E5AF5A;

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #F5F7FB;
  --gray-50:     #EDF1F7;
  --gray-100:    #D8E0EC;
  --gray-300:    #9AABC0;
  --gray-500:    #5C7594;
  --gray-700:    #2C3E56;
  --text-dark:   #111D2E;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* Spacing & radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.16);
  --shadow-blue: 0 8px 28px rgba(27,111,212,0.28);
  --shadow-gold: 0 8px 28px rgba(196,147,63,0.22);
}

/* ============================================================ RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea { font-family: var(--font-body); }

/* ============================================================ UTILITIES */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
}
.section-label--light { color: var(--blue-bright); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.h2--light { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 56px;
}
.section-sub--light { color: var(--gray-300); }

/* ============================================================ NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 0 40px;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled {
  background: rgba(10, 24, 40, 0.94);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-logo img {
  height: 38px;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.nav-logo:hover img { opacity: 0.85; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--blue-bright);
  transition: right 0.25s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }

.btn-nav {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(27,111,212,0.35);
}
.btn-nav:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================ HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.hero-glow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(27,111,212,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
  padding: 0 40px;
  padding-top: 72px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(27,111,212,0.14);
  border: 1px solid rgba(91,189,255,0.22);
  border-radius: 100px;
  padding: 8px 18px 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--blue-bright);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease 0.15s forwards;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--blue-bright);
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 10px rgba(91,189,255,0.6);
  animation: dotPulse 2.2s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 8.5vw, 100px);
  font-weight: 600;
  line-height: 1.03;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease 0.3s forwards;
}
.hero-title em {
  font-style: italic;
  display: block;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-light) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(91,189,255,0.25));
}

.hero-sub {
  font-size: 18px;
  color: rgba(224,232,244,0.6);
  line-height: 1.72;
  max-width: 600px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease 0.45s forwards;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease 0.6s forwards;
}

.btn-primary {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 14px 32px;
  transition: background 0.2s, border-color 0.2s, transform 0.18s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(27,111,212,0.45);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,111,212,0.55);
}

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 14px 28px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.42);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
  z-index: 2;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.28), transparent);
  animation: scrollDrop 1.6s ease infinite;
}

/* ============================================================ KEYFRAMES */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(91,189,255,0.6); }
  50%       { opacity: 0.4; box-shadow: 0 0 4px rgba(91,189,255,0.2); }
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@keyframes ringBreath {
  0%, 100% { transform: scale(1); opacity: var(--base-op); }
  50%       { transform: scale(1.06); opacity: calc(var(--base-op) * 0.6); }
}

/* ============================================================ REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================ PILLARS */
.pillars {
  padding: 100px 40px;
  background: var(--off-white);
}

.pillars-header {
  max-width: 1160px;
  margin: 0 auto 64px;
  text-align: center;
}
.pillars-header .section-sub { margin: 0 auto; }

.pillars-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  gap: 2px;
  background: var(--gray-100);
}

.pillar {
  padding: 64px 52px 56px;
  position: relative;
}
.pillar--light { background: var(--white); }
.pillar--dark  { background: var(--navy); }

.pillar-eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-top: 2px;
  flex: none;
}

.pillar-icon { width: 52px; height: 52px; }
.pillar--light .pillar-icon { color: var(--blue); }
.pillar--dark  .pillar-icon { color: var(--blue-bright); }

.pillar h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.pillar--light h3 { color: var(--text-dark); }
.pillar--dark  h3 { color: var(--white); }

.pillar > p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 420px;
}
.pillar--light > p { color: var(--gray-500); }
.pillar--dark  > p { color: var(--gray-300); }

/* Bullet points */
.pillar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 40px;
}
.pillar-points li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pillar--light .pillar-points li { color: var(--gray-500); }
.pillar--dark  .pillar-points li { color: var(--gray-300); }
.pillar-points li::before {
  content: '';
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(27,111,212,0.35);
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l2.5 2.5 5.5-5' stroke='%231B6FD4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pillar--dark .pillar-points li::before {
  border-color: rgba(91,189,255,0.3);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l2.5 2.5 5.5-5' stroke='%235BBDFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Module chip demo */
.module-chips-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 4px;
  transition: all 0.25s;
}
.chip--on {
  background: rgba(27,111,212,0.08);
  border: 1px solid rgba(27,111,212,0.28);
  color: var(--blue);
}
.chip--off {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  color: var(--gray-300);
}
.chip--add {
  background: rgba(196,147,63,0.07);
  border: 1px solid rgba(196,147,63,0.3);
  color: var(--gold);
  cursor: pointer;
}
.chip--add:hover { background: rgba(196,147,63,0.14); }

/* Trust grid */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(91,189,255,0.13);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(224,232,244,0.72);
}
.trust-item svg { flex: none; color: var(--blue-bright); opacity: 0.8; }

/* ============================================================ CORE PLATFORM */
.core-platform {
  padding: 100px 0;
  background: var(--white);
}

.core-header {
  text-align: center;
  margin-bottom: 60px;
}
.core-header .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 20px;
  text-align: left;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-50);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.feature-card:hover {
  border-color: rgba(27,111,212,0.35);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.feature-card--gold {
  border-color: rgba(196,147,63,0.3);
  background: linear-gradient(140deg, rgba(196,147,63,0.04) 0%, var(--white) 55%);
}
.feature-card--gold:hover {
  border-color: rgba(196,147,63,0.55);
  box-shadow: var(--shadow-gold);
}

.feature-badge-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.feature-icon {
  width: 32px; height: 32px;
  color: var(--blue);
  margin-bottom: 18px;
}
.feature-card--gold .feature-icon { color: var(--gold); }

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 9px;
  line-height: 1.2;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================ MODULES */
.modules-section {
  padding: 100px 0;
  background: var(--navy-deep);
}
.modules-section .section-sub { color: rgba(154,171,192,0.7); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 18px;
}

.module-card {
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.module-card:hover {
  border-color: rgba(91,189,255,0.22);
  background: rgba(255,255,255,0.048);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.module-card--ai {
  border-color: rgba(196,147,63,0.18);
  background: rgba(196,147,63,0.03);
}
.module-card--ai:hover {
  border-color: rgba(196,147,63,0.38);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(196,147,63,0.1);
}
.module-card--custom {
  border-style: dashed;
  border-color: rgba(255,255,255,0.13);
}
.module-card--custom:hover {
  border-style: solid;
  border-color: rgba(255,255,255,0.25);
}

.mod-letter {
  position: absolute;
  top: 20px; right: 22px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  transition: color 0.3s;
  pointer-events: none;
}
.module-card:hover .mod-letter { color: rgba(91,189,255,0.13); }
.module-card--ai .mod-letter, .module-card--ai:hover .mod-letter { color: rgba(196,147,63,0.22); }

.module-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
  padding-right: 32px;
}
.module-card p {
  font-size: 14px;
  color: rgba(154,171,192,0.72);
  line-height: 1.65;
  margin-bottom: 22px;
}

.mod-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(91,189,255,0.1);
  border: 1px solid rgba(91,189,255,0.2);
  color: var(--blue-bright);
}
.mod-tag--gold {
  background: rgba(196,147,63,0.1);
  border-color: rgba(196,147,63,0.28);
  color: var(--gold-light);
}
.mod-tag--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.45);
}

/* ============================================================ SECURITY */
.security-section {
  padding: 110px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.security-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,111,212,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,111,212,0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.security-text h2 { margin-bottom: 20px; }
.security-lead {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--blue);
  margin-bottom: 20px;
  line-height: 1.45;
}
.security-text > p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 14px;
}
.security-text strong { color: var(--text-dark); font-weight: 600; }
.security-text em { color: var(--blue); font-style: normal; }

.security-details {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 40px;
}

.sec-detail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.sec-num {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  flex: none;
}
.sec-detail strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.sec-detail p {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* Shield visual */
.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-scene {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid var(--blue);
  animation: ringBreath 3.5s ease-in-out infinite;
}
.shield-ring--1 { width: 130px; height: 130px; --base-op: 0.28; }
.shield-ring--2 { width: 230px; height: 230px; --base-op: 0.14; animation-delay: 0.6s; }
.shield-ring--3 { width: 330px; height: 330px; --base-op: 0.06; animation-delay: 1.2s; }

.shield-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--gray-50);
  border-radius: 50%;
  width: 120px; height: 120px;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(27,111,212,0.15);
}
.shield-svg { width: 54px; height: 54px; }
.shield-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
  line-height: 1.5;
}

.shield-node {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  white-space: nowrap;
  --r: 160px;
  left: 50%; top: 50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--a))
    translateY(calc(-1 * var(--r)))
    rotate(calc(-1 * var(--a)));
  background: var(--white);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(27,111,212,0.18);
  box-shadow: var(--shadow-sm);
}

/* ============================================================ HOW IT WORKS */
.how-section {
  padding: 100px 0;
  background: var(--off-white);
}
.how-header {
  text-align: center;
  margin-bottom: 64px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step { padding: 0 16px; }

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.step-num::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(27,111,212,0.5);
}

.step h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.step-arrow {
  display: flex;
  align-items: flex-start;
  padding-top: 26px;
  color: var(--gray-100);
}

/* ============================================================ CONTACT */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

.contact-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.contact-card-glow {
  position: absolute;
  top: -140px; right: -140px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(27,111,212,0.18), transparent 65%);
  pointer-events: none;
}

.contact-info > p {
  font-size: 15px;
  color: rgba(154,171,192,0.8);
  line-height: 1.78;
  margin-bottom: 32px;
}

.contact-callout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.callout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(224,232,244,0.65);
}
.callout-item svg { flex: none; color: var(--blue-bright); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 8px;
  padding: 13px 15px;
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.22);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(91,189,255,0.45);
  background: rgba(255,255,255,0.09);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--blue);
  border: none;
  border-radius: 8px;
  padding: 15px 28px;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(27,111,212,0.4);
  align-self: flex-start;
}
.btn-submit:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,111,212,0.55);
}
.btn-submit svg { transition: transform 0.2s; }
.btn-submit:hover svg { transform: translateX(3px); }

.form-note {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  line-height: 1.5;
}

/* ============================================================ FOOTER */
.footer {
  background: var(--navy-deep);
  padding: 60px 40px 0;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.28);
  line-height: 1.7;
  max-width: 300px;
}

.footer-nav { display: flex; gap: 56px; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col strong {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 4px;
  font-weight: 600;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 0;
}
.footer-bar p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.2);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1020px) {
  .contact-card { padding: 56px 48px; gap: 48px; }
}

@media (max-width: 880px) {
  .pillars-grid       { grid-template-columns: 1fr; }
  .security-layout    { grid-template-columns: 1fr; }
  .security-visual    { display: none; }
  .contact-card       { grid-template-columns: 1fr; padding: 48px 40px; gap: 40px; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; gap: 36px; }
  .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .step-arrow { display: none; }
}

@media (max-width: 680px) {
  .nav-links, .btn-nav { display: none; }
  .nav-mobile-toggle { display: flex; }
  .container  { padding: 0 24px; }
  .pillars    { padding: 64px 24px; }
  .pillar     { padding: 40px 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 48px; }
  .hero-content { padding-left: 24px; padding-right: 24px; }
  .contact-card { padding: 36px 28px; border-radius: var(--radius-lg); }
  .footer     { padding: 48px 24px 0; }
  .footer-nav { flex-direction: column; gap: 28px; }
}
