/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #0B5577;
  --teal-light:  #1677A8;
  --teal-dark:   #073A52;
  --navy:        #061B2A;
  --navy-light:  #0D2D42;
  --accent:      #00C4FF;
  --accent-soft: #E0F4FF;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-600:    #475569;
  --gray-800:    #1E293B;
  --green:       #22c55e;
  --amber:       #f59e0b;
  --red:         #ef4444;

  --font-head:  'Space Grotesk', sans-serif;
  --font-body:  'Inter', sans-serif;

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

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.18);
  --shadow-xl:  0 24px 60px rgba(0,0,0,.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag.light {
  color: var(--accent);
  background: rgba(0,196,255,.12);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 580px;
  margin: 14px auto 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(11,85,119,.35);
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11,85,119,.45);
}
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--teal);
  transition: background .2s, color .2s, transform .15s;
}
.btn-ghost:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── NAVIGATION ───────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-ai {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -.5px;
}
.logo-integrity {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--teal); background: var(--gray-100); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(11,85,119,.25);
}
.nav-cta:hover { background: var(--teal-light) !important; }

.nav-demo {
  color: var(--accent) !important;
  border: 1px solid rgba(0,196,255,.3) !important;
  padding: 7px 16px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  background: rgba(0,196,255,.06) !important;
}
.nav-demo:hover { background: rgba(0,196,255,.14) !important; border-color: rgba(0,196,255,.5) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s;
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px 20px;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.mobile-menu a:hover { background: var(--gray-100); color: var(--teal); }
.mobile-menu.open { display: block; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,196,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,196,255,.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(11,85,119,.5) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,196,255,.1);
  border: 1px solid rgba(0,196,255,.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-accent {
  background: linear-gradient(135deg, var(--accent), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.hero .btn-ghost {
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.15);
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
  z-index: 1;
  flex: 0 0 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 40px;
}

.pipeline-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 320px;
  box-shadow: var(--shadow-xl);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.card-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.card-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }

.asset-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.mt-8 { margin-top: 16px; }
.asset-name { font-size: 13px; color: rgba(255,255,255,.8); font-weight: 500; }
.asset-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
}
.asset-status.good  { background: rgba(34,197,94,.15);  color: #4ade80; }
.asset-status.warn  { background: rgba(245,158,11,.15); color: #fbbf24; }
.asset-status.risk  { background: rgba(239,68,68,.15);  color: #f87171; }

.asset-bar {
  height: 5px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill { height: 100%; border-radius: 3px; transition: width 1.5s ease; }

.card-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
}
.pulse-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

/* ── AIIS ─────────────────────────────────────────── */
.aiis {
  padding: 100px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.aiis::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,196,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,196,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Header */
.aiis-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}
.aiis-wordmark {
  font-family: var(--font-head);
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.12em;
}
.aiis-tagline {
  font-size: 17px;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.65;
}

/* Body split */
.aiis-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
  position: relative;
}

/* Left column */
.aiis-desc { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.aiis-desc strong { color: var(--white); }

.aiis-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.aiis-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  transition: background .2s, border-color .2s;
}
.aiis-feat:hover {
  background: rgba(0,196,255,.07);
  border-color: rgba(0,196,255,.2);
}
.aiis-feat-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: rgba(0,196,255,.1);
  border: 1px solid rgba(0,196,255,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.aiis-feat-icon svg { width: 16px; height: 16px; }
.aiis-feat strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}
.aiis-feat span {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.55;
}
.aiis-feat.aiis-feat-ai {
  background: rgba(0,196,255,.08);
  border-color: rgba(0,196,255,.25);
}
.aiis-feat.aiis-feat-ai:hover {
  background: rgba(0,196,255,.13);
  border-color: rgba(0,196,255,.4);
}

/* AI chatbot banner */
.aiis-chat-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(0,196,255,.08) 0%, rgba(0,196,255,.03) 100%);
  border: 1px solid rgba(0,196,255,.25);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.aiis-chat-banner:hover {
  background: linear-gradient(135deg, rgba(0,196,255,.14) 0%, rgba(0,196,255,.07) 100%);
  border-color: rgba(0,196,255,.45);
  transform: translateY(-1px);
}
.acb-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(0,196,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.acb-icon svg { width: 18px; height: 18px; }
.acb-text { flex: 1; }
.acb-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.acb-text span {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.acb-arrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Right column — mockup */
.aiis-mockup-col { position: relative; }
.aiis-mockup {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(0,196,255,.08);
  background: #0d1f2d;
}

/* Browser chrome */
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a1825;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock-dots { display: flex; gap: 5px; }
.md {
  width: 10px; height: 10px; border-radius: 50%;
}
.md.red   { background: #ff5f57; }
.md.amber { background: #ffbd2e; }
.md.green { background: #28c940; }
.mock-url {
  flex: 1;
  font-size: 11px;
  color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 4px 10px;
  text-align: center;
  font-family: monospace;
}

/* App shell */
.mock-shell {
  display: flex;
  height: 380px;
}

/* Sidebar */
.mock-sidebar {
  width: 140px;
  flex-shrink: 0;
  background: #091520;
  border-right: 1px solid rgba(255,255,255,.07);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.mock-logo {
  display: flex;
  align-items: baseline;
  gap: 1px;
  padding: 0 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 8px;
}
.ml-ai {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-light);
}
.ml-int {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
}
.mock-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; flex: 1; overflow: hidden; }
.mock-nav-section {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  padding: 8px 8px 4px;
}
.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 10px;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.mock-nav-item svg { width: 12px; height: 12px; flex-shrink: 0; }
.mock-nav-item.active { background: rgba(0,196,255,.12); color: var(--accent); }
.mock-nav-item:not(.active):hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.7); }

/* Main content */
.mock-main {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: #0d1f2d;
}
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock-page-title { font-size: 12px; font-weight: 700; color: var(--white); }
.mock-topbar-right { display: flex; align-items: center; gap: 8px; }
.mock-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: .04em;
}
.green-badge { background: rgba(34,197,94,.15); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.mock-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal);
  font-size: 8px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* KPI row */
.mock-kpi-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
}
.mock-kpi {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mk-label { font-size: 9px; color: rgba(255,255,255,.35); font-weight: 500; }
.mk-val { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--white); line-height: 1; }
.mk-val.warn { color: var(--amber); }
.mk-val.risk { color: var(--red); }

/* Chart */
.mock-chart-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  padding: 10px;
  flex: 1;
}
.mock-chart-title { font-size: 9px; color: rgba(255,255,255,.35); font-weight: 600; margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }
.mock-chart { height: 70px; }
.mock-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  gap: 3px;
}
.mb-col { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; height: 100%; justify-content: flex-end; }
.mb-bar {
  width: 100%;
  background: rgba(0,196,255,.25);
  border-radius: 2px 2px 0 0;
  transition: height 1.2s ease;
}
.mb-bar.good { background: rgba(0,196,255,.55); }
.mb-col span { font-size: 7px; color: rgba(255,255,255,.25); }

/* Mini table */
.mock-table {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  overflow: hidden;
}
.mt-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 1fr;
  gap: 8px;
  padding: 6px 10px;
  font-size: 9px;
  color: rgba(255,255,255,.5);
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mt-row:last-child { border-bottom: none; }
.mt-head { color: rgba(255,255,255,.25); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.03); }
.risk-pill {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.risk-pill.high { background: rgba(239,68,68,.15);  color: #f87171; }
.risk-pill.med  { background: rgba(245,158,11,.15); color: #fbbf24; }
.risk-pill.low  { background: rgba(34,197,94,.15);  color: #4ade80; }

.aiis-mockup-caption {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.25);
  margin-top: 12px;
  font-style: italic;
}

/* ── AIIS Hub Diagram ──────────────────────────────── */
.aiis-hub {
  border: 1px solid rgba(0,196,255,.15);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  background: rgba(0,196,255,.03);
}
.aiis-hub-title {
  text-align: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* Flow wrapper */
.hub-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Rows of 3 modules */
.hub-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hub-row-4 { grid-template-columns: repeat(4, 1fr); }
.hub-tick-row-4 { grid-template-columns: repeat(4, 1fr); }

.hub-module {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  text-align: center;
  transition: background .2s, border-color .2s;
}
.hub-module:hover {
  background: rgba(0,196,255,.08);
  border-color: rgba(0,196,255,.3);
}
.hub-mod-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.hub-mod-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}
.hub-mod-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.hub-mod-subs span {
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}

/* Connector between rows */
.hub-connector {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Tick rows: 3 vertical lines under/above the module rows */
.hub-tick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hub-tick {
  height: 20px;
  border-left: 2px dashed rgba(0,196,255,.25);
  margin: 0 auto;
  width: 0;
  position: relative;
}
.hub-tick::after {
  content: '';
  position: absolute;
  bottom: -5px; left: -4px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(0,196,255,.35);
}
.hub-tick.up {
  border-left-color: rgba(0,196,255,.25);
}
.hub-tick.up::after {
  bottom: auto; top: -5px;
  border-top: none;
  border-bottom: 5px solid rgba(0,196,255,.35);
}

/* Central AIIS bar */
.hub-center-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border: 1px solid rgba(0,196,255,.3);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: 0 0 30px rgba(0,196,255,.1);
}
.hcb-logo {
  display: flex;
  align-items: baseline;
  gap: 1px;
  flex-shrink: 0;
}
.hc-ai {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hc-is {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  line-height: 1;
}
.hcb-info { flex: 1; }
.hcb-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.hcb-sub {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.hcb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.hcb-pills span {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.15);
  white-space: nowrap;
}

/* Responsive AIIS */
@media (max-width: 1024px) {
  .aiis-body { grid-template-columns: 1fr; gap: 40px; }
  .hub-center-bar { flex-wrap: wrap; }
  .hcb-pills { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .mock-shell { height: 300px; }
  .mock-sidebar { width: 100px; }
  .mock-kpi-row { grid-template-columns: repeat(2,1fr); }
  .hub-row { grid-template-columns: 1fr; }
  .hub-tick-row { grid-template-columns: 1fr; }
  .hub-center-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── ABOUT ────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--gray-50);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-desc {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-pillars {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar-icon {
  color: var(--teal);
  font-size: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}
.pillar strong { display: block; color: var(--navy); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.pillar p { font-size: 14px; color: var(--gray-600); }

.about-visual {
  display: flex;
  justify-content: center;
}
.about-card-wrapper {
  position: relative;
  width: 280px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px; height: 180px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  z-index: 1;
}
.logo-ai-large {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.logo-integrity-large {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy);
}

.about-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  width: 220px;
  border: 1px solid var(--gray-200);
}
.top-card    { top: 0;    right: -20px; }
.bottom-card { bottom: 0; left: -20px; }

.about-card-icon { font-size: 22px; }
.about-card-text { display: flex; flex-direction: column; }
.about-card-text strong { font-size: 13px; font-weight: 600; color: var(--navy); }
.about-card-text span   { font-size: 11px; color: var(--gray-400); }

/* ── SERVICES ─────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-flex-callout {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  border: 1px solid rgba(0,196,255,.2);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 8px;
}
.sfc-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--accent);
}
.sfc-icon svg { width: 100%; height: 100%; }
.sfc-text { flex: 1; }
.sfc-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sfc-text p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin: 0;
}
.sfc-callout-btn { flex-shrink: 0; }

.service-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal-light);
}
.service-card.featured {
  background: var(--navy);
  border-color: var(--teal);
  color: var(--white);
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p  { color: rgba(255,255,255,.65); }
.service-card.featured .service-features li { color: rgba(255,255,255,.55); }
.service-card.featured .service-features li::before { color: var(--accent); }
.service-card.featured .service-link { color: var(--accent); }

.service-module-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal-light);
  margin-bottom: 12px;
}
.service-card.featured .service-module-num { color: var(--accent); }

.service-sub-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
  margin-top: 4px;
}
.service-card.featured .service-sub-label { color: rgba(255,255,255,.35); }

.service-icon {
  width: 48px; height: 48px;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.service-card.featured .service-icon { color: var(--accent); }

.service-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.service-features li {
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}
.service-link:hover { color: var(--teal-light); }

/* ── TECHNOLOGY ───────────────────────────────────── */
.technology {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  position: relative;
  overflow: hidden;
}
.technology::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,196,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,196,255,.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.tech-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.tech-grid .section-tag { color: var(--accent); background: rgba(0,196,255,.1); border: 1px solid rgba(0,196,255,.2); }
.tech-grid .section-title { color: var(--white); }

.tech-desc {
  color: rgba(255,255,255,.6);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tech-item {
  border-left: 2px solid rgba(0,196,255,.25);
  padding-left: 20px;
  transition: border-color .2s;
}
.tech-item:hover { border-color: var(--accent); }

.tech-item-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.tech-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .05em;
}
.tech-item h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}
.tech-item p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* Tech Diagram */
.tech-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-diagram {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diagram-center {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px; height: 110px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(11,85,119,.25), 0 0 40px rgba(0,196,255,.2);
}
.logo-ai-med {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.logo-int-med {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
}

.diagram-orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(0,196,255,.2);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-node {
  position: absolute;
  top: 50%; left: 50%;
  transform:
    rotate(var(--angle))
    translateX(155px)
    rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: counter-spin 20s linear infinite;
  cursor: default;
}
@keyframes counter-spin { to { transform: rotate(calc(-1 * var(--angle))) translateX(155px) rotate(var(--angle)) rotate(-360deg); } }

/* fix counter-spin per node */
.orbit-node { animation: none; }
.orbit-node {
  position: absolute;
  width: 60px;
  text-align: center;
}

/* Static positioning instead of animated orbit */
.orbit-node:nth-child(1) { top: -30px;   left: 50%; transform: translateX(-50%); }
.orbit-node:nth-child(2) { right: -30px;  top: 50%;  transform: translateY(-50%); }
.orbit-node:nth-child(3) { bottom: -30px; left: 50%; transform: translateX(-50%); }
.orbit-node:nth-child(4) { left: -30px;   top: 50%;  transform: translateY(-50%); }

.orbit-dot {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(0,196,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
  transition: background .2s, box-shadow .2s;
}
.orbit-node:hover .orbit-dot {
  background: rgba(0,196,255,.15);
  box-shadow: 0 0 16px rgba(0,196,255,.3);
}
.orbit-node span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

/* ── WHY US ───────────────────────────────────────── */
.why-us {
  padding: 100px 0;
  background: var(--gray-50);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .25s, transform .25s;
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.why-icon { font-size: 32px; margin-bottom: 14px; }
.why-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.why-card p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* ── CLIENTS ──────────────────────────────────────── */
.clients {
  padding: 100px 0;
  background: var(--white);
}
.clients-showcase {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.client-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  min-width: 160px;
  transition: box-shadow .25s, transform .25s;
}
.client-logo-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.client-logo { height: 50px; object-fit: contain; }
.client-placeholder-icon { font-size: 36px; }
.client-name { font-size: 12px; font-weight: 600; color: var(--gray-600); text-align: center; }

.testimonial {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 80px;
  color: rgba(0,196,255,.2);
  line-height: 0.6;
  margin-bottom: 20px;
  display: block;
}
.testimonial blockquote {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.author-avatar {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--white); }
.testimonial-author span  { font-size: 12px; color: rgba(255,255,255,.5); }

/* ── CONTACT ──────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon { font-size: 20px; margin-top: 2px; }
.contact-item strong { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.contact-item span   { font-size: 15px; color: var(--white); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(11,85,119,.12);
  background: var(--white);
}

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--gray-800);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.footer .logo-integrity { color: rgba(255,255,255,.5); }
.footer-brand p {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.65;
  max-width: 220px;
}
.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-400);
}

/* ── ANIMATIONS ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding: 120px 24px 60px; gap: 48px; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { padding-left: 0; flex: none; width: 100%; max-width: 360px; margin: 0 auto; }

  .about-grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }

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

  .tech-grid { grid-template-columns: 1fr; gap: 48px; }
  .tech-visual { order: -1; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero-stats { gap: 16px; }
  .stat-num   { font-size: 26px; }

  .testimonial { padding: 32px 24px; }
  .testimonial blockquote { font-size: 16px; }

  .tech-diagram { width: 260px; height: 260px; }
  .diagram-center { width: 88px; height: 88px; }

  .aiis-features { grid-template-columns: 1fr; }
  .top-card, .bottom-card { display: none; }
  .about-card-wrapper { height: auto; }
  .service-flex-callout { flex-direction: column; gap: 20px; padding: 24px 20px; }
  .service-flex-callout .btn-primary { width: 100%; justify-content: center; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-visual { display: none; }
  .hero-stats { flex-direction: column; align-items: center; gap: 12px; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 36px; }
  .aiis-chat-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mock-shell { height: 220px; }
  .mock-sidebar { display: none; }
  .about, .services, .why-us, .clients, .contact, .technology { padding: 64px 0; }
  .aiis { padding: 60px 0 40px; }
  .section-header { margin-bottom: 32px; }
}
