/**
 * Imaging iQ — Design system
 * Enhanced logo palette: vivid cyan, magenta, violet. Professional + eye-catching.
 */
/* ========== Reset & base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--gradient-logo-radial), var(--gradient-logo-subtle), var(--bg-page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ========== Design tokens (enhanced logo) ========== */
:root {
  --brand-cyan: #00E5FF;
  --brand-magenta: #FF2D6A;
  --brand-violet: #7B68EE;
  --brand-purple: #C84DD9;
  --brand-cyan-dim: rgba(0, 229, 255, 0.12);
  --brand-magenta-dim: rgba(255, 45, 106, 0.1);
  --brand-violet-dim: rgba(123, 104, 238, 0.12);
  --brand-purple-dim: rgba(200, 77, 217, 0.08);

  /* Logo-aligned gradient (imaging text: magenta → purple → violet → cyan) */
  --gradient-logo: linear-gradient(90deg, var(--brand-magenta) 0%, var(--brand-purple) 35%, var(--brand-violet) 70%, var(--brand-cyan) 100%);
  --gradient-logo-subtle: linear-gradient(180deg, rgba(255, 45, 106, 0.06) 0%, rgba(123, 104, 238, 0.08) 40%, rgba(0, 229, 255, 0.06) 100%);
  --gradient-logo-radial: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(123, 104, 238, 0.12) 0%, rgba(0, 229, 255, 0.06) 40%, transparent 70%);

  --bg-page: #080B12;
  --bg-elevated: #0D1119;
  --bg-card: #121820;
  --bg-dark: #05080d;

  --text-primary: #F2F4F8;
  --text-secondary: #A8B2C4;
  --text-muted: #6B7A90;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --glass-bg: rgba(18, 24, 32, 0.82);
  --glass-border: rgba(0, 229, 255, 0.1);

  --space-2: 0.125rem;
  --space-4: 0.25rem;
  --space-6: 0.5rem;
  --space-8: 1rem;
  --space-10: 1.25rem;
  --space-12: 1.5rem;
  --space-16: 2rem;
  --space-20: 2.5rem;
  --space-24: 3rem;
  --space-32: 4rem;
  --space-48: 6rem;

  --container: min(1200px, 100% - 2rem);
  --header-h: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-soft: 0 4px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 48px -8px rgba(0, 229, 255, 0.25);
  --shadow-glow-magenta: 0 0 32px -6px rgba(255, 45, 106, 0.2);
}

/* ========== Typography ========== */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: #5EF; }

/* ========== Skip link ========== */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-8);
  z-index: 9999;
  padding: var(--space-6) var(--space-8);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: top 0.2s;
}
.skip-link:focus { top: var(--space-8); outline: 2px solid var(--brand-cyan); outline-offset: 2px; }

/* ========== Container ========== */
.container { width: 100%; max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: var(--space-16); padding-right: var(--space-16); }

/* ========== Header (enterprise) ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 11, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 12px -4px rgba(123, 104, 238, 0.12);
}
.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 45, 106, 0.2) 20%, rgba(123, 104, 238, 0.35) 50%, rgba(0, 229, 255, 0.2) 80%, transparent 100%);
  opacity: 0.9;
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-16);
  gap: var(--space-16);
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  vertical-align: middle;
}
.header-nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  width: 100%;
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.nav-list li {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-list a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--space-10);
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  position: relative;
  box-sizing: border-box;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brand-cyan);
  border-radius: 1px;
  transition: width 0.2s ease;
}
.nav-list a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}
.nav-list a:hover::after { width: 20px; background: var(--gradient-logo); background-size: 20px 100%; }
.nav-list a.active {
  color: var(--text-primary);
  font-weight: 600;
}
.nav-list a.active::after { width: 24px; background: var(--gradient-logo); background-size: 24px 100%; }
.header-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 100%;
  padding-left: var(--space-16);
  margin-left: var(--space-8);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.header-cta .btn {
  height: 40px;
  min-height: 40px;
  padding: 0 var(--space-16);
  font-size: 0.9375rem;
  white-space: nowrap;
  line-height: 1;
}
/* Mobile CTA block: hidden on desktop, shown only in mobile menu */
.header-cta-mobile {
  display: none;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }
.nav-toggle:focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 2px; }

/* Mobile nav */
@media (max-width: 1024px) {
  .header-inner { padding: 0 var(--space-16); gap: var(--space-16); }
  .nav-list a { padding: 0 var(--space-8); font-size: 0.9rem; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 var(--space-12); gap: var(--space-8); border-left: none; }
  .logo img { height: 34px; }
  .header-nav-wrap { display: none; }
  .header-cta { display: none; padding-left: 0; border-left: none; }
  .header.open .header-nav-wrap {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 17, 25, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }
  .header.open .nav { display: block; }
  .header.open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .header.open .nav-list a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 var(--space-12);
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  .header.open .nav-list a::after { display: none; }
  .header.open .nav-list a.active {
    background: rgba(0, 229, 255, 0.08);
    color: var(--brand-cyan);
  }
  .header-cta-mobile {
    display: none;
    flex-direction: column;
    gap: var(--space-8);
    padding-top: var(--space-16);
    margin-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .header.open .header-cta-mobile {
    display: flex;
  }
  .header.open .header-cta-mobile .btn { width: 100%; justify-content: center; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .header.open .nav-toggle span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }
  .header.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .header.open .nav-toggle span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: 0.75rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.98; }
.btn:hover::after { transform: translateX(100%); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-violet) 45%, var(--brand-magenta) 100%);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 4px 24px -4px rgba(0, 229, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.btn-primary:hover { box-shadow: 0 8px 32px -4px rgba(0, 229, 255, 0.4), 0 0 24px -4px rgba(123, 104, 238, 0.3); }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--brand-cyan); color: var(--brand-cyan); }
.btn-outline {
  background: transparent;
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 229, 255, 0.45);
}
.btn-outline:hover { background: var(--brand-cyan-dim); border-color: var(--brand-cyan); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-32)) 0 var(--space-48);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 30%, var(--brand-magenta-dim) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 50% 20%, var(--brand-violet-dim) 0%, transparent 55%),
    radial-gradient(ellipse 65% 55% at 88% 60%, var(--brand-cyan-dim) 0%, transparent 50%);
  pointer-events: none;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.85; }
.hero-inner { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-12);
  margin-bottom: var(--space-16);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-cyan);
  background: var(--brand-cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { color: var(--text-primary); margin-bottom: var(--space-12); }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: var(--space-24);
  line-height: 1.65;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-bottom: var(--space-32); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  color: var(--text-muted);
  font-size: 0.875rem;
}
.hero-trust-item { display: inline-flex; align-items: center; gap: var(--space-6); }
.hero-trust-item svg { flex-shrink: 0; color: var(--brand-cyan); opacity: 0.9; }

/* ========== Sections ========== */
.section { padding: var(--space-48) 0; }
.section-dark { background: var(--bg-dark); }
.section-dark .section-badge { color: var(--brand-cyan); }
.section-dark .section-title { color: var(--text-primary); }
.section-dark .section-desc { color: var(--text-secondary); }
.section-header { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: var(--space-32); }
.section-header.text-left { text-align: left; margin-left: 0; margin-right: 0; }
.section-badge {
  display: inline-block;
  margin-bottom: var(--space-8);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
}
.section-title { color: var(--text-primary); margin-bottom: var(--space-8); }
.section-desc { color: var(--text-secondary); font-size: 1.0625rem; margin: 0; }

/* ========== Glass panel ========== */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-panel h2, .glass-panel h3 { color: var(--text-primary); margin-top: var(--space-16); margin-bottom: var(--space-8); }
.glass-panel h2:first-child, .glass-panel h3:first-child { margin-top: 0; }
.glass-panel p { color: var(--text-secondary); margin: 0 0 1em; line-height: 1.6; }
.glass-panel-dark { background: rgba(15, 17, 23, 0.85); border-color: rgba(255, 255, 255, 0.06); }
.pull-quote { margin: var(--space-24) 0; padding: var(--space-16); border-left: 3px solid var(--brand-cyan); background: var(--brand-cyan-dim); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-primary); }
.pull-quote cite { display: block; margin-top: var(--space-8); font-style: normal; font-size: 0.875rem; color: var(--text-muted); }

/* ========== Grid ========== */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-16);
}

/* ========== Solution cards ========== */
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.solution-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.solution-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-12);
  background: linear-gradient(135deg, var(--brand-cyan-dim), var(--brand-violet-dim));
  border-radius: var(--radius-md);
  color: var(--brand-cyan);
}
.solution-card h3 { color: var(--text-primary); margin-bottom: var(--space-6); font-size: 1.0625rem; }
.solution-card p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; line-height: 1.55; }

/* ========== Trust badges ========== */
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-12); }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-16);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.trust-badge svg { flex-shrink: 0; color: var(--brand-cyan); }

/* ========== Case cards ========== */
.case-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: inherit;
}
.case-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.case-card-image {
  height: 140px;
  background: linear-gradient(135deg, var(--brand-violet-dim), var(--brand-cyan-dim));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--space-12);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}
.case-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 11, 18, 0.88) 0%, transparent 55%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}
.case-card-image {
  color: var(--text-primary);
}
.case-card-image span { position: relative; z-index: 1; }

/* ========== Section visual (image + content) ========== */
.section-visual {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-24);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.section-visual-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
}
.section-visual-content .section-title { margin-bottom: var(--space-12); }
@media (max-width: 768px) {
  .section-visual { grid-template-columns: 1fr; }
  .section-visual-img { aspect-ratio: 16/10; }
}
.case-card-body { padding: var(--space-16); }
.case-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-cyan);
  margin-bottom: var(--space-6);
}
.case-card h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: var(--space-6); line-height: 1.35; }
.case-card-body > p:last-child { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }

/* ========== Article cards ========== */
.article-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: inherit;
}
.article-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.article-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--brand-magenta-dim), var(--brand-violet-dim));
  background-size: cover;
  background-position: center;
}
.article-card-body { padding: var(--space-16); }
.article-card-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-cyan);
  margin-bottom: var(--space-6);
}
.article-card h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: var(--space-6); line-height: 1.4; }
.article-card-meta { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }

/* ========== Signal line (data pulse) ========== */
.signal-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
  margin: 0;
  position: relative;
}
.signal-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5));
  animation: signal-flow 4s ease-in-out infinite;
}
@keyframes signal-flow {
  0% { left: 0; opacity: 0.5; }
  50% { left: 70%; opacity: 1; }
  100% { left: 0; opacity: 0.5; }
}

/* ========== CTA band ========== */
.cta-band {
  padding: var(--space-48) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--brand-violet-dim) 35%, var(--brand-cyan-dim) 70%, var(--bg-elevated) 100%);
  border-top: 1px solid var(--border-subtle);
}
.cta-band-title { color: var(--text-primary); margin-bottom: var(--space-8); font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band-sub { color: var(--text-secondary); margin-bottom: var(--space-24); max-width: 480px; margin-left: auto; margin-right: auto; }

/* ========== Footer ========== */
.footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #070b12 100%);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-32) 0 var(--space-16);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(123, 104, 238, 0.2) 50%, transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-16); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-24);
  padding-bottom: var(--space-24);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-16);
}
.footer-logo img { height: 32px; width: auto; opacity: 0.9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.footer-nav a { color: var(--text-secondary); font-size: 0.9375rem; }
.footer-nav a:hover { color: var(--brand-cyan); }
.footer-address { font-size: 0.875rem; color: var(--text-muted); max-width: 320px; line-height: 1.5; }
.footer-bottom p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }

/* ========== Page header (inner pages) ========== */
.page-header {
  padding: calc(var(--header-h) + var(--space-32)) 0 var(--space-32);
  text-align: center;
}
.page-header h1 { margin-bottom: var(--space-8); }
.page-header p { color: var(--text-secondary); margin: 0; max-width: 560px; margin-left: auto; margin-right: auto; }
.page-header-with-img {
  position: relative;
  background-size: cover;
  background-position: center;
}
.page-header-with-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 11, 18, 0.75), rgba(8, 11, 18, 0.92));
  pointer-events: none;
}
.page-header-with-img .container { position: relative; z-index: 1; }

/* ========== Utilities ========== */
.text-center { text-align: center; }
.mt-8 { margin-top: var(--space-16); }

/* ========== Reveal (IntersectionObserver) ========== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ========== AI diagnostics background (medical scan feel) ========== */
.diagnostic-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
/* Soft scan sweep — logo color order: magenta → violet → cyan */
.diagnostic-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 45, 106, 0.035) 15%,
    rgba(200, 77, 217, 0.04) 35%,
    rgba(123, 104, 238, 0.05) 50%,
    rgba(0, 229, 255, 0.04) 85%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: diagnostic-scan 8s ease-in-out infinite;
}
/* Horizontal scan-line pattern (CT slice style) */
.diagnostic-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(0, 229, 255, 0.02) 3px,
    rgba(0, 229, 255, 0.02) 4px
  );
  animation: diagnostic-grid 20s linear infinite;
  opacity: 0.7;
}
@keyframes diagnostic-scan {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 0 100%; }
}
@keyframes diagnostic-grid {
  0% { opacity: 0.4; }
  50% { opacity: 0.7; }
  100% { opacity: 0.4; }
}

.ai-diagnostics-badge {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  background: var(--brand-cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--brand-cyan);
  letter-spacing: 0.05em;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 500;
}
.ai-diagnostics-badge span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-cyan);
  animation: ai-pulse 1.4s ease-in-out infinite both;
}
.ai-diagnostics-badge span:nth-child(2) { animation-delay: 0.2s; }
.ai-diagnostics-badge span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* ========== Contact form ========== */
.contact-form { max-width: 560px; margin: 0 auto; }
.contact-form .form-group { margin-bottom: var(--space-16); }
.contact-form label { display: block; margin-bottom: var(--space-6); font-weight: 500; color: var(--text-primary); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23A8B2C4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.25rem; }
.contact-form button[type="submit"] { margin-top: var(--space-8); min-width: 160px; }
.contact-form .form-note { font-size: 0.875rem; color: var(--text-muted); margin-top: var(--space-12); }
.contact-form .form-footer { font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--space-12); line-height: 1.5; }
.contact-form .char-count { font-size: 0.75rem; color: var(--text-muted); margin-top: var(--space-4); text-align: right; }

/* ========== Contact page layout ========== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-32);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}
.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  transition: box-shadow 0.2s;
}
.contact-form-panel:focus-within { box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2), var(--shadow-soft); }
.contact-form-panel .form-heading { font-size: 1.125rem; margin-bottom: var(--space-6); color: var(--text-primary); }
.contact-form-panel .form-subheading { font-size: 0.9375rem; color: var(--text-secondary); margin: 0 0 var(--space-24); }

.contact-sidebar { display: flex; flex-direction: column; gap: var(--space-16); }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  padding: var(--space-16);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-method:hover {
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: var(--shadow-soft);
}
.contact-method-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-cyan-dim);
  border-radius: var(--radius-md);
  color: var(--brand-cyan);
}
.contact-method-icon svg { width: 22px; height: 22px; }
.contact-method h3 { font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); margin: 0 0 var(--space-4); }
.contact-method p, .contact-method a { font-size: 0.9375rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.contact-method a:hover { color: var(--brand-cyan); }
.contact-method a[href^="mailto"] { word-break: break-all; }

.contact-trust {
  padding: var(--space-16);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.contact-trust strong { color: var(--text-primary); }

/* ========== Breadcrumb ========== */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-16);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--brand-cyan); }
.breadcrumb span { margin: 0 var(--space-6); color: var(--text-muted); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(6, 1fr); }
  [style*="span 4"] { grid-column: span 6 !important; }
}
@media (max-width: 768px) {
  .header-cta { display: none; }
  .hero { min-height: auto; padding: calc(var(--header-h) + var(--space-24)) 0 var(--space-32); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; }
  .grid-12 { grid-template-columns: 1fr; gap: var(--space-12); }
  [style*="span 4"], [style*="span 6"] { grid-column: span 1 !important; }
  .section { padding: var(--space-32) 0; }
  .cta-band { padding: var(--space-32) 0; }
  .footer-top { flex-direction: column; }
  .container { padding-left: var(--space-12); padding-right: var(--space-12); }
  .ai-diagnostics-badge { bottom: 0.75rem; right: 0.75rem; font-size: 0.65rem; padding: 0.3rem 0.5rem; }
}
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .logo img { height: 30px; }
}

/* ========== Founder block (About page) ========== */
.founder-block {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-32);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.founder-visual { position: sticky; top: calc(var(--header-h) + var(--space-16)); }
.founder-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
  margin-bottom: var(--space-16);
}
.founder-contact { text-align: center; }
.founder-name { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--text-primary); margin: 0 0 var(--space-2); }
.founder-title { font-size: 0.9375rem; color: var(--brand-cyan); margin: 0 0 var(--space-4); }
.founder-meta { font-size: 0.8125rem; color: var(--text-muted); margin: 0 0 var(--space-12); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.founder-bio .section-title { margin-bottom: var(--space-16); }
.founder-bio p { color: var(--text-secondary); line-height: 1.65; margin-bottom: var(--space-12); }
.founder-quote {
  margin: var(--space-24) 0;
  padding: var(--space-20);
  border-left: 4px solid var(--brand-cyan);
  background: var(--brand-cyan-dim);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .founder-block { grid-template-columns: 1fr; }
  .founder-visual { position: static; display: flex; gap: var(--space-24); align-items: center; flex-wrap: wrap; }
  .founder-image { width: 200px; aspect-ratio: 1; margin-bottom: 0; }
  .founder-contact { text-align: left; }
}
@media (max-width: 600px) {
  .founder-visual { flex-direction: column; text-align: center; }
  .founder-image { width: 100%; max-width: 280px; margin-left: auto; margin-right: auto; }
  .founder-contact { text-align: center; }
}

/* ========== Tabs (About page) ========== */
.tabs { max-width: 720px; margin: 0 auto; }
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-24);
}
.tabs-trigger {
  padding: var(--space-12) var(--space-20);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.tabs-trigger:hover { color: var(--text-primary); }
.tabs-trigger.active { color: var(--brand-cyan); border-bottom-color: var(--brand-cyan); }
.tabs-panel {
  display: none;
  color: var(--text-secondary);
  line-height: 1.7;
}
.tabs-panel.active { display: block; }
.tabs-panel p { margin-bottom: var(--space-12); }
.about-list { margin: 0; padding-left: 1.25rem; }
.about-list li { margin-bottom: var(--space-12); }

/* ========== CTA inline ========== */
.cta-inline { text-align: center; }

/* ========== Metrics / counter (homepage) ========== */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
  text-align: center;
  padding: var(--space-32) 0;
}
.metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brand-cyan);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.metric-label { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }
@media (max-width: 768px) {
  .metrics-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-20); }
}
@media (max-width: 480px) {
  .metrics-row { grid-template-columns: 1fr; }
}

/* ========== Founder strip (homepage) ========== */
.founder-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  flex-wrap: wrap;
  padding: var(--space-24);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.founder-strip-text { flex: 1; min-width: 200px; }
.founder-strip-text h3 { font-size: 1.125rem; margin-bottom: var(--space-4); }
.founder-strip-text p { font-size: 0.9375rem; color: var(--text-secondary); margin: 0; }
.founder-strip .btn { flex-shrink: 0; }

/* ========== Floating CTA ========== */
.floating-cta {
  position: fixed;
  bottom: var(--space-16);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 90;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.floating-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.floating-cta .btn { box-shadow: var(--shadow-soft); }
@media (max-width: 768px) {
  .floating-cta { display: none; }
}
