/* ==========================================================================
   HUMAN IQ ANALYTICS & NEXORA - Modern Corporate Stylesheet
   Brand Colors from Corporate Identity & Presentation
   ========================================================================== */

:root {
  /* Brand Palette from HumaniQ Logo Pantone */
  --primary: #032046;          /* Logo Deep Navy ("Human") */
  --primary-dark: #021631;     /* Midnight Navy */
  --primary-deep: #010e20;     /* Ultra Dark Navy / Hero BG */
  --primary-light: #06356e;    /* Slate Navy */
  --primary-subtle: #e6f4f8;   /* Soft Ice Blue-Teal */
  
  --accent: #0889b6;           /* Logo Cerulean Blue ("i") */
  --accent-light: #04a4a6;     /* Logo Turquoise Teal ("Q") */
  --accent-glow: rgba(8, 137, 182, 0.25);
  
  --secondary: #04a4a6;        /* Logo Turquoise Teal */
  --purple: #7434bc;           /* Logo Neural Purple */
  --amber: #7434bc;            /* Mapped to Logo Neural Purple */
  --amber-light: #f3ebfa;      /* Soft Purple Tint */
  --emerald: #04a4a6;          /* Mapped to Logo Turquoise Teal */
  --emerald-light: #e0f5f5;
  --rose: #f43f5e;             /* Urgent / Risk Accent */
  
  /* Neutral Palette */
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(8, 137, 182, 0.35);
  --shadow-card: 0 12px 32px -8px rgba(3, 32, 70, 0.08);
  
  /* Layout */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.75rem, 1.75rem); }
h4 { font-size: 1.25rem; }

p,
p.lead,
.hero-lead,
.page-header-desc,
.section-lead,
.pillar-desc,
.suite-text,
.team-bio,
.check-item,
.pillar-list-item,
blockquote {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
}

p {
  margin-bottom: 1rem;
  color: var(--slate-600);
}

p.lead {
  color: var(--slate-600);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--slate-500) !important; }
.text-white { color: var(--white) !important; }

/* Badges & Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-pill.primary {
  background: rgba(3, 32, 70, 0.08);
  color: var(--primary);
  border: 1px solid rgba(3, 32, 70, 0.15);
}

.badge-pill.accent {
  background: rgba(8, 137, 182, 0.1);
  color: var(--accent);
  border: 1px solid rgba(8, 137, 182, 0.2);
}

.badge-pill.dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(3, 32, 70, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 32, 70, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, #0889b6 0%, #04a4a6 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(8, 137, 182, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #067196 0%, #038a8c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 137, 182, 0.45);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border-color: rgba(3, 38, 80, 0.3);
}

.btn-outline-primary:hover {
  background-color: var(--primary-subtle);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-title-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-title-sub {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

/* Corporate Press Table */
.corp-press-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--slate-200);
}

.corp-press-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
}

.corp-press-table th:nth-child(2) {
  background: linear-gradient(135deg, #0889b6 0%, #04a4a6 100%);
}

.corp-press-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.corp-press-table tr:nth-child(even) td {
  background: var(--slate-50);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Hero Section (Dark & Modern High-Tech)
   ========================================================================== */

.hero-dark {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(8, 137, 182, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(4, 164, 166, 0.18) 0%, transparent 40%),
              linear-gradient(180deg, #021631 0%, #032046 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-wrap {
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw + 1rem, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #ffffff 25%, #0889b6 65%, #04a4a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 640px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item-num .accent-sign {
  color: var(--accent-light);
}

.stat-item-label {
  font-size: 0.85rem;
  color: var(--slate-300);
  line-height: 1.35;
}

/* Hero Right Card / Graphic */
.hero-visual-wrap {
  position: relative;
}

.glass-preview-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  position: relative;
}

.preview-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(4, 164, 166, 0.15);
  color: #04a4a6;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(4, 164, 166, 0.3);
}

.ai-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #04a4a6;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(4, 164, 166, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(4, 164, 166, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(4, 164, 166, 0); }
}

.preview-radar-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
}

.preview-avatar-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(8, 137, 182, 0.4));
}

.profile-tag-bars {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.progress-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.progress-row-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-200);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #0889b6, #04a4a6);
}

.progress-fill.amber {
  background: linear-gradient(90deg, #7434bc, #0889b6);
}

.progress-fill.emerald {
  background: linear-gradient(90deg, #04a4a6, #2dd4bf);
}

/* ==========================================================================
   Page Headers (Subpages)
   ========================================================================== */

.page-header {
  background: linear-gradient(180deg, #021631 0%, #032046 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(8, 137, 182, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.page-header-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header-desc {
  font-size: 1.05rem;
  color: var(--slate-200);
  max-width: 680px;
  line-height: 1.65;
}

/* ==========================================================================
   Sections & Layout
   ========================================================================== */

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-bg-slate {
  background-color: var(--slate-50);
}

.section-bg-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.section-bg-dark h2, 
.section-bg-dark h3, 
.section-bg-dark h4 {
  color: var(--white);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate-600);
  max-width: 700px;
}

.section-bg-dark .section-lead {
  color: var(--slate-300);
}

/* ==========================================================================
   Feature Cards & Pillars
   ========================================================================== */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: 0 20px 35px -8px rgba(3, 38, 80, 0.12);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}

.pillar-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.pillar-list {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pillar-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--slate-600);
}

.pillar-list-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Product Suite Grid (NEXORA Suite)
   ========================================================================== */

.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.suite-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: var(--transition);
}

.suite-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.suite-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
}

.suite-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.suite-text {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   Interactive AI Readiness Simulator
   ========================================================================== */

.simulator-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sim-input-group {
  margin-bottom: 1.75rem;
}

.sim-label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
}

.sim-slider {
  width: 100%;
  height: 8px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(8, 137, 182, 0.5);
  transition: var(--transition);
}

.sim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Simulator Output Result */
.sim-result-card {
  background: linear-gradient(145deg, #032046 0%, #021631 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 15px 35px -5px rgba(3, 32, 70, 0.4);
}

.sim-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-stat-box {
  margin-bottom: 1.5rem;
}

.sim-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.sim-breakdown-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Verticals & Solutions Section
   ========================================================================== */

.two-col-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.showcase-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.showcase-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.check-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.check-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(8, 137, 182, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 30px -10px rgba(3, 38, 80, 0.12);
}

.team-photo-wrap {
  width: 170px;
  height: 185px;
  margin: 1.75rem auto 0.25rem;
  border-radius: var(--radius-lg);
  background-color: var(--slate-100);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--primary-subtle);
  box-shadow: var(--shadow-sm);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.04);
}

.team-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.team-badge-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Partners & Universities Strip
   ========================================================================== */

.partner-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: var(--white);
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.partner-logo-item {
  height: 44px;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: var(--transition);
}

.partner-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ==========================================================================
   Contact & Lead Form
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
}

.contact-info-panel {
  background: linear-gradient(145deg, #032046 0%, #021631 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--slate-50);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ==========================================================================
   Compliance & Audit Banner (EU AI Act & Security)
   ========================================================================== */

.compliance-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-200);
}

.compliance-badge svg {
  color: var(--accent-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--primary-deep);
  color: var(--slate-400);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-400);
  margin: 1.25rem 0;
  max-width: 320px;
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--slate-400);
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 18, 38, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modal-enter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--slate-400);
}

.modal-close:hover {
  color: var(--slate-900);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats-strip {
    justify-content: center;
  }
  
  .pillar-grid, .team-grid, .suite-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .two-col-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 72px;
  }

  .brand-logo-img {
    height: 42px;
  }

  .main-nav {
    display: none;
  }
  
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--slate-200);
    gap: 1.25rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .section {
    padding: 3.5rem 0;
  }

  .page-header {
    padding: 3.5rem 0 2.75rem;
  }

  .simulator-box,
  .contact-info-panel,
  .contact-form-card {
    padding: 1.5rem;
  }

  .pillar-grid, .team-grid, .suite-grid {
    grid-template-columns: 1fr;
  }
  
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 36px;
  }

  .header-actions .btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }

  .btn-lg {
    width: 100%;
    padding: 0.9rem 1.25rem;
  }
}
