/* ========================================
   INTEGRATED INTELLIGENCE - Design System
   ======================================== */

/* CSS Variables */
:root {
  /* Colors */
  --color-primary: #0a1628;
  --color-primary-light: #111d2e;
  --color-primary-lighter: #1a2a3f;
  --color-accent: #0891b2;
  --color-accent-light: #22d3ee;
  --color-accent-glow: rgba(8, 145, 178, 0.3);
  --color-orange: #e88743;
  --color-orange-light: #f09a5a;
  --color-orange-glow: rgba(232, 135, 67, 0.2);
  --color-text: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: rgba(148, 163, 184, 0.1);
  --color-card: rgba(17, 29, 46, 0.6);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 200px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--color-accent-glow);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: bodyFadeIn 0.6s ease;
}

@keyframes bodyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { color: var(--color-text-secondary); }

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

a:hover { color: var(--color-accent-light); }

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow { max-width: 800px; }
.container-wide { max-width: 1400px; }

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-orange { color: var(--color-orange); }
.text-muted { color: var(--color-text-secondary); }
.text-small { font-size: 0.875rem; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 600; }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.flex { display: flex; }
.flex-center { justify-content: center; align-items: center; }

.grid { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 968px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding-top: 10px;
}

.nav-logo {
  height: 170px;
  width: auto;
}

.human-better-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hb-line {
  width: 40px;
  height: 1px;
  background: var(--color-orange);
}

.hb-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-orange);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .nav-logo { height: 100px; }
  .human-better-brand { gap: 10px; margin-top: 4px; }
  .hb-line { width: 24px; }
  .hb-text { font-size: 1rem; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: calc(var(--nav-height) + var(--space-md)) var(--space-xl) var(--space-xl);
    gap: var(--space-sm);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-links.active { right: 0; }

  .nav-link {
    font-size: 1.1rem;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-cta { margin-top: var(--space-md); text-align: center; }

  .platform-dropdown-menu {
    position: static;
    width: 100%;
    background: transparent;
    border: 1px solid var(--color-border);
    box-shadow: none;
    transform: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    margin-top: var(--space-sm);
    padding: 0;
  }

  .platform-dropdown-menu::before { display: none; }

  .platform-dropdown.open .platform-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }
}

/* ========================================
   Platform Dropdown
   ======================================== */
.platform-dropdown { position: relative; }

.platform-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: var(--font-body);
  padding: var(--space-sm) 0;
}

.platform-dropdown-toggle:hover,
.platform-dropdown.open .platform-dropdown-toggle { color: var(--color-accent); }

.platform-dropdown-toggle .arrow {
  font-size: 0.5rem;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.platform-dropdown.open .arrow { transform: rotate(180deg); }

.platform-dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  right: -60px;
  width: 420px;
  background: linear-gradient(165deg, rgba(15, 30, 50, 0.98) 0%, rgba(10, 22, 40, 0.99) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(8, 145, 178, 0.3);
  border-radius: 16px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(8, 145, 178, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 1001;
  overflow: hidden;
}

.platform-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 80px;
  width: 16px;
  height: 16px;
  background: rgba(15, 30, 50, 0.98);
  border-left: 1px solid rgba(8, 145, 178, 0.3);
  border-top: 1px solid rgba(8, 145, 178, 0.3);
  transform: rotate(45deg);
}

.platform-dropdown.open .platform-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.platform-dropdown-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.platform-dropdown-header h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin: 0;
}

.platform-options { padding: 12px; }

.platform-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  margin-bottom: 8px;
}

.platform-option:last-child { margin-bottom: 0; }

.platform-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.15) 0%, rgba(8, 145, 178, 0) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.platform-option:hover {
  border-color: rgba(8, 145, 178, 0.4);
  transform: translateX(4px);
}

.platform-option:hover::before { opacity: 1; }

.platform-option.featured {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12) 0%, rgba(8, 145, 178, 0.03) 100%);
  border-color: rgba(8, 145, 178, 0.25);
}

.platform-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2) 0%, rgba(8, 145, 178, 0.05) 100%);
  border: 1px solid rgba(8, 145, 178, 0.3);
  transition: all 0.3s ease;
}

.platform-option:hover .platform-option-icon {
  transform: scale(1.05);
  border-color: rgba(8, 145, 178, 0.5);
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.3);
}

.platform-option-icon.shield {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-color: rgba(34, 197, 94, 0.3);
}

.platform-option:hover .platform-option-icon.shield {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.platform-option-content { flex: 1; position: relative; z-index: 1; }

.platform-option-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.platform-option-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.platform-option:hover .platform-option-name { color: var(--color-accent); }

.platform-option-badge {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #0e7490 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.4);
}

.platform-option-badge.new {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.platform-option-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.platform-option:hover .platform-option-desc { color: var(--color-text-secondary); }

.platform-option-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--color-accent);
  font-size: 1.2rem;
  align-self: center;
}

.platform-option:hover .platform-option-arrow {
  opacity: 1;
  transform: translateX(0);
}

.platform-dropdown-footer {
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.platform-dropdown-footer a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-dropdown-footer a:hover { color: var(--color-accent); }

.platform-dropdown-footer a .footer-arrow { transition: transform 0.3s ease; }
.platform-dropdown-footer a:hover .footer-arrow { transform: translateX(4px); }

@media (max-width: 968px) {
  .platform-dropdown-menu { right: -20px; width: 340px; }
  .platform-dropdown-menu::before { right: 40px; }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #0e7490 100%);
  color: white;
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px var(--color-accent-glow), 0 0 30px var(--color-accent-glow);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-primary-lighter);
  border-color: var(--color-accent);
  color: var(--color-text);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  padding: 0.875rem 1rem;
}

.btn-ghost:hover { color: var(--color-accent-light); }

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

.btn-glow {
  background: linear-gradient(135deg, var(--color-orange) 0%, #d97706 100%);
  color: white;
  box-shadow: 0 4px 20px var(--color-orange-glow);
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px var(--color-orange-glow), 0 0 30px var(--color-orange-glow);
  color: white;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(8, 145, 178, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  z-index: -1;
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: meshFloat 20s ease-in-out infinite;
}

.hero-bg::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.3) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: -5s;
}

.hero-bg::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 135, 67, 0.15) 0%, transparent 70%);
  bottom: 10%;
  left: 10%;
  animation-duration: 25s;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.02); }
}

/* Video background layer */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(8, 145, 178, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(232, 135, 67, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.3) 0%, rgba(10, 22, 40, 0.85) 100%);
}

/* Grain texture overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Hero layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
}

.hero-content { max-width: 700px; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero orb */
.hero-orb {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}

.hero-ring--outer {
  width: 100%;
  height: 100%;
  border-color: rgba(8, 145, 178, 0.15);
  animation: ringRotate 30s linear infinite;
}

.hero-ring--mid {
  width: 72%;
  height: 72%;
  border-color: rgba(8, 145, 178, 0.25);
  animation: ringRotate 20s linear infinite reverse;
  box-shadow: 0 0 40px rgba(8, 145, 178, 0.08);
}

.hero-ring--inner {
  width: 46%;
  height: 46%;
  border-color: rgba(232, 135, 67, 0.3);
  animation: ringRotate 15s linear infinite;
  box-shadow: 0 0 30px rgba(232, 135, 67, 0.08);
}

.hero-ring-core {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2) 0%, rgba(232, 135, 67, 0.15) 100%);
  border: 1px solid rgba(8, 145, 178, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-light);
  letter-spacing: 0.05em;
  box-shadow: 0 0 60px rgba(8, 145, 178, 0.2);
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating tags */
.hero-float-tag {
  position: absolute;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(17, 29, 46, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  animation: tagFloat 6s ease-in-out infinite;
  z-index: 2;
}

.hero-float-tag--1 { top: 5%; right: 5%; animation-delay: 0s; border-color: rgba(8, 145, 178, 0.3); color: var(--color-accent); }
.hero-float-tag--2 { bottom: 10%; right: 0; animation-delay: -1.5s; border-color: rgba(232, 135, 67, 0.3); color: var(--color-orange); }
.hero-float-tag--3 { bottom: 5%; left: 5%; animation-delay: -3s; border-color: rgba(8, 145, 178, 0.3); color: var(--color-accent); }
.hero-float-tag--4 { top: 15%; left: -5%; animation-delay: -4.5s; border-color: rgba(232, 135, 67, 0.3); color: var(--color-orange); }

@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 968px) {
  .hero-visual { order: -1; }
  .hero-orb { width: 240px; height: 240px; }
  .hero-ring-core { width: 60px; height: 60px; font-size: 1.2rem; }
  .hero-float-tag { font-size: 0.65rem; padding: 4px 10px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title em {
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
  font-style: italic;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-grid { gap: var(--space-2xl); }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

/* Scroll-triggered reveal */
.scroll-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hidden { opacity: 1; transform: none; transition: none; }
  .animate-fade-in-up { animation: none; opacity: 1; }
  .hero-bg::before, .hero-bg::after { animation: none; }
  .hero-ring { animation: none; }
  .hero-float-tag { animation: none; }
  body { animation: none; }
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(8, 145, 178, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(232, 135, 67, 0.03) 0%, transparent 40%),
    var(--color-primary-light);
}

/* Floating gradient decoration */
.section-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.07;
  pointer-events: none;
}

.section-glow--accent {
  background: var(--color-accent);
}

.section-glow--orange {
  background: var(--color-orange);
}

/* Section divider */
.section + .section::before,
.section + .section-alt::before,
.section-alt + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 40%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-orange), var(--color-accent), transparent);
  opacity: 0.4;
}

/* ========================================
   Cards — glassmorphism depth
   ======================================== */
.card {
  background: linear-gradient(135deg, rgba(17, 29, 46, 0.7) 0%, rgba(10, 22, 40, 0.5) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(8, 145, 178, 0.25);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(8, 145, 178, 0.08);
}

.card:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 135, 67, 0.25), transparent);
  pointer-events: none;
}

.card-accent { border-left: 3px solid var(--color-accent); }

/* Glass card variant — frosted premium look */
.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 50px rgba(8, 145, 178, 0.06);
}

/* Service Cards */
.service-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }

.service-icon-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.service-desc {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-audience {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ========================================
   Metrics — impactful numbers
   ======================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

.metric {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  transition: all 0.4s ease;
  position: relative;
}

.metric::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metric:hover::after { opacity: 0.6; }

.metric:hover { background: rgba(232, 135, 67, 0.04); }

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 40px var(--color-orange-glow);
}

.metric-label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ========================================
   Quote Block
   ======================================== */
.quote-block {
  position: relative;
  padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) var(--space-3xl);
  background: linear-gradient(135deg, rgba(17, 29, 46, 0.8) 0%, rgba(10, 22, 40, 0.5) 100%);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-orange);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--color-orange);
  opacity: 0.3;
  line-height: 1;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.quote-source {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* Daily Quote Widget */
.daily-quote {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-lighter) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 700px;
  margin: 0 auto;
}

.daily-quote-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.daily-quote-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.daily-quote-chapter {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ========================================
   Book Section
   ======================================== */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 868px) {
  .book-grid { grid-template-columns: 1fr; text-align: center; }
}

.book-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, var(--color-orange-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.book-image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.book-image:hover { transform: perspective(1000px) rotateY(0deg); }

.book-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}

.book-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.book-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.book-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.book-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 868px) {
  .book-cta { justify-content: center; }
}

/* Book video */
.book-video-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-video-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(232, 135, 67, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.book-video-wrap video {
  position: relative;
  z-index: 1;
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonial {
  background: linear-gradient(160deg, rgba(17, 29, 46, 0.7) 0%, rgba(10, 22, 40, 0.4) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 135, 67, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.testimonial-author { display: flex; align-items: center; gap: var(--space-md); }

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, #0e7490 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.testimonial-info { display: flex; flex-direction: column; }
.testimonial-info strong { color: var(--color-text); font-size: 0.95rem; }
.testimonial-info span { color: var(--color-text-muted); font-size: 0.85rem; }

/* ========================================
   Credentials
   ======================================== */
.credentials { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.credential {
  background: var(--color-primary-lighter);
  border: 1px solid rgba(232, 135, 67, 0.3);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-orange);
}

/* ========================================
   Character Showcase (15 Modules)
   ======================================== */
.char-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.char-showcase-card {
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  font-family: var(--font-body);
}

.char-showcase-card img {
  height: 200px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: grayscale(0.4) brightness(0.8);
  drop-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.char-showcase-card.active img,
.char-showcase-card:hover img {
  transform: translateY(-12px) scale(1.08);
  filter: grayscale(0) brightness(1) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.char-showcase-card:not(.active) { opacity: 0.4; }
.char-showcase-card:hover { opacity: 0.85; }

.char-showcase-card.active {
  opacity: 1;
  border-color: rgba(8, 145, 178, 0.3);
  background: linear-gradient(180deg, rgba(8, 145, 178, 0.08), transparent);
}

.char-showcase-name {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-top: var(--space-sm);
  transition: color 0.3s ease;
}

.char-showcase-card.active .char-showcase-name { color: var(--color-accent-light); }

.char-showcase-domain {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.char-showcase-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
}

.char-showcase-detail.open {
  max-height: 600px;
  opacity: 1;
}

.char-detail-inner {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.char-detail-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-orange), transparent);
  opacity: 0.5;
}

.char-detail-visual { text-align: center; }

.char-detail-visual img {
  height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.char-detail-domain {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.char-detail-desc {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  font-size: 1.05rem;
}

.char-detail-modules { list-style: none; }

.char-detail-modules li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: transform 0.2s ease;
}

.char-detail-modules li:hover { transform: translateX(4px); }
.char-detail-modules li:last-child { border-bottom: none; }

.module-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(232, 135, 67, 0.15);
  color: var(--color-orange);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(232, 135, 67, 0.3);
}

@media (max-width: 968px) {
  .char-showcase-grid { grid-template-columns: repeat(5, 1fr); gap: var(--space-sm); }
  .char-showcase-card { padding: var(--space-sm); }
  .char-showcase-card img { height: 100px; }
  .char-showcase-name { font-size: 0.65rem; }
  .char-showcase-domain { display: none; }
  .char-detail-inner { grid-template-columns: 1fr; text-align: center; padding: var(--space-xl); }
  .char-detail-visual img { height: 160px; }
  .char-detail-modules li { justify-content: center; }
}

@media (max-width: 480px) {
  .char-showcase-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   Endorsement / Foreword
   ======================================== */
.endorsement {
  text-align: center;
  padding: var(--space-3xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(232, 135, 67, 0.2);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.endorsement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
  opacity: 0.6;
}

.endorsement-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: var(--space-xl);
}

.endorsement-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.endorsement-author strong {
  display: block;
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.endorsement-author span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ========================================
   Jamie Avatar & About Story
   ======================================== */
.jamie-avatar {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.about-chapter {
  padding-left: var(--space-lg);
  border-left: 2px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.about-chapter:hover { border-left-color: var(--color-accent); }

.about-chapter h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.about-chapter p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Enforcer Banner */
.enforcer-banner {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.enforcer-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/tech-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.enforcer-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 135, 67, 0.1) 0%, rgba(10, 22, 40, 0.95) 100%);
}

.enforcer-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto var(--space-sm);
  position: relative;
  z-index: 1;
}

.enforcer-source {
  font-size: 0.9rem;
  color: var(--color-orange);
  position: relative;
  z-index: 1;
}

/* Human First CTA */
.cta-human-first {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.cta-human-first .orange-dot { color: var(--color-orange); }

/* Human Better tagline */
.human-better-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.tagline-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-orange));
}

.tagline-line.right {
  background: linear-gradient(90deg, var(--color-orange), transparent);
}

.tagline-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .human-better-tagline { gap: var(--space-md); }
  .tagline-line { width: 24px; }
  .tagline-text { font-size: 0.75rem; }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo { height: 40px; margin-bottom: var(--space-md); }

.footer-desc {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a { color: var(--color-text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-social { display: flex; gap: var(--space-md); }
.footer-social a { color: var(--color-text-secondary); font-weight: 600; }

@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

/* ========================================
   Forms
   ======================================== */
.form-group { margin-bottom: var(--space-lg); }

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-primary-lighter);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-textarea { min-height: 150px; resize: vertical; }

/* Chapter Cards */
.chapter-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: var(--transition);
}

.chapter-card:hover {
  border-color: var(--color-accent);
  transform: translateX(4px);
}

/* ========================================
   Results Mini Grid
   ======================================== */
.results-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.results-mini-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-orange);
  text-shadow: 0 0 30px var(--color-orange-glow);
}

.results-mini-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* end of main.css */


/* ========================================
   CORPORATE PAGES (i-2.ca + portfolio-shield)
   Shared design system: corp nav, stat bar, product
   lanes, motion/depth, product mockups, capabilities
   ======================================== */

    /* ========== i-2.ca CORPORATE PAGE ========== */

    /* Tighter nav for corporate */
    .corp-nav { --nav-height: 90px; }
    .corp-nav .nav-logo { height: 60px; }
    .corp-nav .nav-brand { padding-top: 0; }
    .corp-nav .human-better-brand { display: none; }

    /* Stat bar */
    .stat-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-3xl);
      padding: var(--space-xl) 0;
      border-bottom: 1px solid var(--color-border);
      flex-wrap: wrap;
    }

    .stat-bar-item {
      text-align: center;
    }

    .stat-bar-value {
      font-family: var(--font-display);
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--color-accent);
      line-height: 1;
    }

    .stat-bar-label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-text-muted);
      margin-top: 4px;
    }

    .stat-bar-divider {
      width: 1px;
      height: 40px;
      background: var(--color-border);
    }

    @media (max-width: 768px) {
      .stat-bar { gap: var(--space-xl); }
      .stat-bar-divider { display: none; }
      .stat-bar-value { font-size: 1.8rem; }
    }

    /* Two-lane product showcase */
    .product-lanes {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-2xl);
    }

    @media (max-width: 968px) {
      .product-lanes { grid-template-columns: 1fr; }
    }

    .product-lane {
      border-radius: var(--radius-xl);
      padding: var(--space-3xl);
      position: relative;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
    }

    .product-lane:hover {
      transform: translateY(-4px);
    }

    .product-lane--ps {
      background: linear-gradient(160deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.02) 100%);
      border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .product-lane--ps:hover {
      border-color: rgba(34, 197, 94, 0.4);
      box-shadow: 0 20px 60px rgba(34, 197, 94, 0.08);
    }

    .product-lane--str {
      background: linear-gradient(160deg, rgba(8, 145, 178, 0.08) 0%, rgba(8, 145, 178, 0.02) 100%);
      border: 1px solid rgba(8, 145, 178, 0.2);
    }

    .product-lane--str:hover {
      border-color: rgba(8, 145, 178, 0.4);
      box-shadow: 0 20px 60px rgba(8, 145, 178, 0.08);
    }

    .product-lane-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      padding: 5px 12px;
      border-radius: 20px;
      margin-bottom: var(--space-lg);
      width: fit-content;
    }

    .product-lane--ps .product-lane-badge {
      background: rgba(34, 197, 94, 0.15);
      color: #22c55e;
      border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .product-lane--str .product-lane-badge {
      background: rgba(8, 145, 178, 0.15);
      color: var(--color-accent-light);
      border: 1px solid rgba(8, 145, 178, 0.3);
    }

    .product-lane-icon {
      font-size: 2rem;
      margin-bottom: var(--space-md);
    }

    .product-lane h3 {
      font-size: 1.6rem;
      margin-bottom: var(--space-sm);
    }

    .product-lane-sub {
      font-size: 1rem;
      color: var(--color-accent);
      font-style: italic;
      font-family: var(--font-display);
      margin-bottom: var(--space-lg);
    }

    .product-lane--ps .product-lane-sub { color: #22c55e; }

    .product-lane p {
      color: var(--color-text-secondary);
      line-height: 1.8;
      font-size: 0.95rem;
      margin-bottom: var(--space-lg);
      flex: 1;
    }

    .product-lane-features {
      list-style: none;
      margin-bottom: var(--space-xl);
    }

    .product-lane-features li {
      padding: var(--space-sm) 0;
      color: var(--color-text-secondary);
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: var(--space-sm);
    }

    .product-lane-features li::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .product-lane--ps .product-lane-features li::before { background: #22c55e; }
    .product-lane--str .product-lane-features li::before { background: var(--color-accent); }

    .product-lane .btn { align-self: flex-start; }

    .btn-green {
      background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
      color: white;
      box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    }

    .btn-green:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 8px 40px rgba(34, 197, 94, 0.4);
      color: white;
    }

    /* Services — clean horizontal cards */
    .service-row {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: var(--space-xl);
      align-items: center;
      padding: var(--space-2xl) 0;
      border-bottom: 1px solid var(--color-border);
    }

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

    .service-row-num {
      font-family: var(--font-display);
      font-size: 2.5rem;
      font-weight: 700;
      color: rgba(8, 145, 178, 0.2);
      width: 60px;
      text-align: center;
    }

    .service-row h3 {
      font-size: 1.2rem;
      margin-bottom: var(--space-xs);
    }

    .service-row p {
      color: var(--color-text-secondary);
      font-size: 0.95rem;
      line-height: 1.7;
    }

    .service-row .btn { white-space: nowrap; }

    @media (max-width: 768px) {
      .service-row {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .service-row-num { width: auto; }
      .service-row .btn { justify-self: center; }
    }

    /* Trust strip */
    .trust-strip {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2xl);
      flex-wrap: wrap;
      padding: var(--space-lg) 0;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      color: var(--color-text-muted);
      font-size: 0.85rem;
      font-weight: 500;
    }

    .trust-item-icon {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: rgba(8, 145, 178, 0.15);
      border: 1px solid rgba(8, 145, 178, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.6rem;
      color: var(--color-accent);
    }

    /* Corporate about */
    .corp-about-grid {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: var(--space-3xl);
      align-items: center;
    }

    .corp-about-photo {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--color-border);
      filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
    }

    @media (max-width: 768px) {
      .corp-about-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .corp-about-photo {
        width: 160px;
        height: 160px;
        margin: 0 auto;
      }
    }

    /* Methodology badge */
    .methodology-badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-md) var(--space-xl);
      background: linear-gradient(135deg, rgba(232, 135, 67, 0.08), rgba(232, 135, 67, 0.02));
      border: 1px solid rgba(232, 135, 67, 0.2);
      border-radius: var(--radius-lg);
    }

    .methodology-badge-text {
      font-family: var(--font-body);
      font-size: 0.8rem;
      color: var(--color-text-secondary);
    }

    .methodology-badge-name {
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--color-orange);
    }

    /* ========== MOTION & DEPTH ========== */

    /* Drifting gradient mesh behind hero */
    .hero-mesh {
      position: absolute;
      inset: -20%;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(circle at 20% 30%, rgba(8, 145, 178, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.10) 0%, transparent 30%),
        radial-gradient(circle at 60% 80%, rgba(232, 135, 67, 0.08) 0%, transparent 35%);
      filter: blur(40px);
      animation: meshDrift 22s ease-in-out infinite alternate;
    }

    @keyframes meshDrift {
      0%   { transform: translate3d(0, 0, 0) scale(1); }
      50%  { transform: translate3d(3%, -2%, 0) scale(1.08); }
      100% { transform: translate3d(-2%, 3%, 0) scale(1.04); }
    }

    /* Gradient border utility — premium edge lighting */
    .gradient-border {
      position: relative;
      background-clip: padding-box;
      border: 1px solid transparent;
    }
    .gradient-border::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg, rgba(34, 211, 238, 0.5), rgba(34, 211, 238, 0) 45%, rgba(232, 135, 67, 0) 55%, rgba(232, 135, 67, 0.35));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      opacity: 0.6;
      transition: opacity 0.4s ease;
    }
    .gradient-border:hover::after { opacity: 1; }

    /* Button shine sweep */
    .btn-large { position: relative; overflow: hidden; }
    .btn-large::after {
      content: '';
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
      transform: skewX(-20deg);
      transition: left 0.6s ease;
      pointer-events: none;
    }
    .btn-large:hover::after { left: 130%; }

    /* ========== PORTFOLIOSHIELD DASHBOARD MOCKUP ========== */
    .ps-mock {
      width: 100%;
      max-width: 540px;
      border-radius: var(--radius-lg);
      background: linear-gradient(180deg, #0d1b2e 0%, #0a1424 100%);
      border: 1px solid rgba(148, 163, 184, 0.14);
      box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(34, 211, 238, 0.04);
      overflow: hidden;
      transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }

    .ps-mock-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      background: rgba(255, 255, 255, 0.02);
      border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }
    .ps-mock-dots { display: flex; gap: 6px; }
    .ps-mock-dots span {
      width: 9px; height: 9px; border-radius: 50%;
      background: rgba(148, 163, 184, 0.3);
    }
    .ps-mock-url {
      margin-left: auto;
      font-size: 0.62rem;
      color: var(--color-text-muted);
      background: rgba(148, 163, 184, 0.08);
      padding: 4px 12px;
      border-radius: 20px;
      letter-spacing: 0.02em;
    }

    .ps-mock-body { display: flex; min-height: 320px; }

    .ps-mock-side {
      width: 130px;
      flex-shrink: 0;
      padding: 14px 10px;
      background: rgba(0, 0, 0, 0.2);
      border-right: 1px solid rgba(148, 163, 184, 0.08);
    }
    .ps-mock-logo {
      display: flex; align-items: center; gap: 6px;
      font-size: 0.62rem; font-weight: 700; color: var(--color-text);
      margin-bottom: 14px; padding: 0 4px;
    }
    .ps-mock-logo .dot { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #22d3ee, #0891b2); }
    .ps-mock-navitem {
      display: flex; align-items: center; gap: 7px;
      padding: 6px 8px; border-radius: 6px;
      font-size: 0.6rem; color: var(--color-text-muted);
      margin-bottom: 2px;
    }
    .ps-mock-navitem .ico { width: 12px; height: 12px; border-radius: 3px; background: rgba(148, 163, 184, 0.25); flex-shrink: 0; }
    .ps-mock-navitem.active { background: rgba(8, 145, 178, 0.15); color: var(--color-accent-light); }
    .ps-mock-navitem.active .ico { background: var(--color-accent); }
    .ps-mock-navlabel {
      font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.1em;
      color: rgba(100, 116, 139, 0.7); padding: 8px 6px 4px;
    }

    .ps-mock-main { flex: 1; padding: 14px 16px; min-width: 0; }
    .ps-mock-h {
      font-family: var(--font-body); font-weight: 700; font-size: 0.8rem;
      color: var(--color-text); margin-bottom: 2px;
    }
    .ps-mock-sub { font-size: 0.58rem; color: var(--color-text-muted); margin-bottom: 12px; }

    .ps-mock-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
    .ps-chip {
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(148, 163, 184, 0.1);
      border-radius: 8px; padding: 8px 6px; text-align: center;
    }
    .ps-chip-val { font-size: 0.95rem; font-weight: 700; line-height: 1; font-family: var(--font-body); }
    .ps-chip-lbl { font-size: 0.46rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-top: 3px; }
    .ps-chip-val.green { color: #22c55e; }
    .ps-chip-val.yellow { color: #eab308; }
    .ps-chip-val.red { color: #ef4444; }
    .ps-chip-val.cyan { color: var(--color-accent-light); }

    .ps-rows { display: flex; flex-direction: column; gap: 7px; }
    .ps-row {
      display: flex; align-items: center; gap: 10px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(148, 163, 184, 0.08);
      border-radius: 8px; padding: 8px 10px;
    }
    .ps-avatar {
      width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.55rem; font-weight: 700; color: #fff;
    }
    .ps-score {
      width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.72rem; font-weight: 700;
      border: 1.5px solid;
    }
    .ps-score.green { color: #22c55e; border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.08); }
    .ps-score.yellow { color: #eab308; border-color: rgba(234,179,8,0.4); background: rgba(234,179,8,0.08); }
    .ps-score.red { color: #ef4444; border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.08); }
    .ps-row-info { min-width: 0; flex: 1; }
    .ps-row-name { font-size: 0.62rem; font-weight: 600; color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ps-row-meta { font-size: 0.5rem; color: var(--color-text-muted); }
    .ps-frameworks { display: flex; gap: 3px; flex-shrink: 0; }
    .ps-sq { width: 9px; height: 14px; border-radius: 2px; }
    .ps-sq.g { background: #22c55e; }
    .ps-sq.o { background: #e88743; }
    .ps-sq.r { background: #ef4444; }

    @media (max-width: 968px) {
      .ps-mock { transform: none; max-width: 480px; margin: 0 auto; }
      .ps-mock-side { display: none; }
      .hero-visual { order: 0; margin-top: var(--space-xl); }
    }
    @media (max-width: 480px) {
      .ps-mock-chips { grid-template-columns: repeat(2, 1fr); }
    }

    /* ========== ROI / SCORE PROJECTION MINI MOCKUP ========== */
    .roi-mock {
      display: flex; align-items: center; justify-content: center;
      gap: var(--space-lg);
      background: rgba(0, 0, 0, 0.22);
      border: 1px solid rgba(34, 197, 94, 0.15);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      margin-bottom: var(--space-lg);
    }
    .roi-circle {
      width: 72px; height: 72px; border-radius: 50%;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      border: 3px solid; flex-shrink: 0;
    }
    .roi-circle-num { font-size: 1.5rem; font-weight: 700; line-height: 1; font-family: var(--font-body); }
    .roi-circle-lbl { font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-top: 3px; }
    .roi-circle--current { border-color: rgba(239, 68, 68, 0.5); }
    .roi-circle--current .roi-circle-num { color: #ef4444; }
    .roi-circle--projected { border-color: rgba(34, 197, 94, 0.6); box-shadow: 0 0 24px rgba(34, 197, 94, 0.15); }
    .roi-circle--projected .roi-circle-num { color: #22c55e; }
    .roi-arrow { display: flex; flex-direction: column; align-items: center; color: #22c55e; }
    .roi-arrow-plus { font-size: 0.7rem; font-weight: 700; }
    .roi-arrow-line { font-size: 1.3rem; line-height: 1; }

    /* ========== STR TRAINING MOCKUP ========== */
    .str-mock {
      background: rgba(0, 0, 0, 0.22);
      border: 1px solid rgba(8, 145, 178, 0.15);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      margin-bottom: var(--space-lg);
    }
    .str-mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-md); }
    .str-mock-title { font-size: 0.7rem; font-weight: 700; color: var(--color-text); }
    .str-mock-progress { font-size: 0.6rem; color: var(--color-accent-light); }
    .str-mock-bar { height: 5px; border-radius: 5px; background: rgba(148,163,184,0.12); overflow: hidden; margin-bottom: var(--space-md); }
    .str-mock-bar span { display: block; height: 100%; width: 60%; border-radius: 5px; background: linear-gradient(90deg, #0891b2, #22d3ee); }
    .str-mock-modules { display: flex; flex-direction: column; gap: 6px; }
    .str-mock-mod { display: flex; align-items: center; gap: 8px; font-size: 0.62rem; color: var(--color-text-secondary); }
    .str-mock-mod .num { width: 18px; height: 18px; border-radius: 5px; background: rgba(8,145,178,0.15); color: var(--color-accent-light); display: flex; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 700; flex-shrink: 0; }
    .str-mock-mod.done .num { background: #22c55e; color: #062814; }
    .str-mock-mod.done { color: var(--color-text); }
    .str-mock-mod .check { margin-left: auto; color: #22c55e; font-size: 0.7rem; }

    @media (prefers-reduced-motion: reduce) {
      .hero-mesh { animation: none; }
      .btn-large::after { display: none; }
      .ps-mock { transition: none; }
    }

    /* ========== PLATFORM CAPABILITIES SHOWCASE ========== */
    .cap-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: var(--space-lg);
    }
    @media (max-width: 968px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

    .cap-card {
      background: linear-gradient(180deg, rgba(13, 27, 46, 0.95), rgba(10, 20, 36, 0.95));
      border: 1px solid rgba(148, 163, 184, 0.1);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }
    .cap-card:hover {
      transform: translateY(-4px);
      border-color: rgba(8, 145, 178, 0.3);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(8, 145, 178, 0.06);
    }

    .cap-card-head {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: var(--space-lg);
    }
    .cap-card-icon {
      width: 32px; height: 32px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.9rem; flex-shrink: 0;
    }
    .cap-card-label { font-size: 0.85rem; font-weight: 700; color: var(--color-text); }
    .cap-card-sublabel { font-size: 0.6rem; color: var(--color-text-muted); margin-top: 1px; }

    .cap-card-body { min-height: 140px; }

    /* Command Center donut */
    .cc-donut-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
    .cc-donut {
      width: 62px; height: 62px; border-radius: 50%;
      background: conic-gradient(#eab308 0deg, #eab308 205deg, rgba(148,163,184,0.15) 205deg);
      display: flex; align-items: center; justify-content: center;
      position: relative; flex-shrink: 0;
    }
    .cc-donut-inner {
      width: 44px; height: 44px; border-radius: 50%;
      background: #0d1b2e;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; font-weight: 700; color: #eab308;
    }
    .cc-donut-meta { font-size: 0.6rem; color: var(--color-text-muted); line-height: 1.5; }
    .cc-donut-meta strong { color: var(--color-text); font-size: 0.7rem; }

    .cc-mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .cc-mini {
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(148, 163, 184, 0.08);
      border-radius: 6px; padding: 6px; text-align: center;
    }
    .cc-mini-val { font-size: 0.82rem; font-weight: 700; line-height: 1; }
    .cc-mini-lbl { font-size: 0.44rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-top: 2px; }

    /* Policy Center */
    .pc-tabs {
      display: flex; gap: 4px; margin-bottom: 10px;
    }
    .pc-tab {
      font-size: 0.55rem; padding: 3px 8px; border-radius: 4px;
      background: rgba(148, 163, 184, 0.08); color: var(--color-text-muted);
    }
    .pc-tab.active { background: rgba(8, 145, 178, 0.2); color: var(--color-accent-light); }

    .pc-template {
      display: flex; align-items: center; gap: 8px;
      padding: 8px; border-radius: 6px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(148, 163, 184, 0.08);
      margin-bottom: 6px;
    }
    .pc-template-icon { width: 22px; height: 22px; border-radius: 5px; background: rgba(8, 145, 178, 0.12); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--color-accent); flex-shrink: 0; }
    .pc-template-name { font-size: 0.58rem; font-weight: 600; color: var(--color-text); flex: 1; }
    .pc-template-badges { display: flex; gap: 3px; }
    .pc-badge {
      font-size: 0.42rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
      padding: 2px 5px; border-radius: 3px;
    }
    .pc-badge.req { background: rgba(232, 135, 67, 0.2); color: #e88743; }
    .pc-badge.ai { background: rgba(34, 211, 238, 0.15); color: var(--color-accent-light); }

    /* Incident Response */
    .ir-score-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .ir-score-circle {
      width: 42px; height: 42px; border-radius: 50%;
      border: 2px solid rgba(239, 68, 68, 0.5);
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; font-weight: 700; color: #ef4444;
    }
    .ir-score-detail { font-size: 0.6rem; color: var(--color-text-muted); line-height: 1.5; }
    .ir-score-detail strong { color: var(--color-text); font-size: 0.7rem; }

    .ir-actions { display: flex; flex-direction: column; gap: 5px; }
    .ir-action {
      display: flex; align-items: center; gap: 7px;
      padding: 6px 8px; border-radius: 6px; font-size: 0.58rem;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(148, 163, 184, 0.08);
      color: var(--color-text-secondary);
    }
    .ir-action .ico { width: 16px; height: 16px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; flex-shrink: 0; }
    .ir-action.danger { border-color: rgba(239, 68, 68, 0.2); }
    .ir-action.danger .ico { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

    /* Reports Center */
    .rpt-tmpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
    .rpt-tmpl {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(148, 163, 184, 0.08);
      border-radius: 6px; padding: 8px;
    }
    .rpt-tmpl-name { font-size: 0.55rem; font-weight: 600; color: var(--color-text); margin-bottom: 4px; }
    .rpt-tmpl-foot { display: flex; align-items: center; gap: 4px; }
    .rpt-fmt {
      font-size: 0.42rem; padding: 2px 4px; border-radius: 3px;
      background: rgba(148, 163, 184, 0.1); color: var(--color-text-muted);
      font-weight: 600;
    }
    .rpt-gen {
      font-size: 0.42rem; padding: 2px 6px; border-radius: 3px;
      background: rgba(34, 197, 94, 0.15); color: #22c55e;
      font-weight: 700; margin-left: auto;
    }

    .rpt-actions { display: flex; flex-direction: column; gap: 5px; }
    .rpt-action {
      display: flex; align-items: center; gap: 7px;
      font-size: 0.55rem; color: var(--color-text-secondary);
      padding: 5px 0;
    }
    .rpt-action .ico { width: 16px; height: 16px; border-radius: 4px; background: rgba(148,163,184,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.55rem; flex-shrink: 0; }

    /* ========== TYPOGRAPHY POLISH ========== */
    .corp-nav ~ .hero .hero-title {
      font-size: clamp(2.8rem, 5.5vw, 4.5rem);
      letter-spacing: -0.025em;
      line-height: 1.08;
    }
    .corp-nav ~ .hero .hero-title em {
      letter-spacing: -0.03em;
    }
    .corp-nav ~ .hero .hero-description {
      font-size: clamp(1rem, 1.6vw, 1.15rem);
      max-width: 560px;
    }

    /* Grain texture overlay for the whole page */
    .grain-overlay {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 9999;
      opacity: 0.025;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-repeat: repeat;
      background-size: 256px 256px;
    }

/* ========== UMBRELLA DUAL-DOOR HERO (i-2.ca home) ========== */
.door-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
  max-width: 460px;
}

.door-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.door-card:hover { transform: translateY(-4px); }

.door-card--ps {
  background: linear-gradient(150deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.02) 100%);
  border: 1px solid rgba(34, 197, 94, 0.22);
}
.door-card--ps:hover {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.1);
}

.door-card--str {
  background: linear-gradient(150deg, rgba(8, 145, 178, 0.1) 0%, rgba(8, 145, 178, 0.02) 100%);
  border: 1px solid rgba(8, 145, 178, 0.22);
}
.door-card--str:hover {
  border-color: rgba(8, 145, 178, 0.45);
  box-shadow: 0 20px 60px rgba(8, 145, 178, 0.1);
}

.door-card-top {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.door-card-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.door-card--ps .door-card-icon { background: rgba(34, 197, 94, 0.15); }
.door-card--str .door-card-icon { background: rgba(8, 145, 178, 0.15); }

.door-card-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.door-card--ps .door-card-badge { color: #22c55e; }
.door-card--str .door-card-badge { color: var(--color-accent-light); }

.door-card-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-top: 2px;
}

.door-card-desc {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.door-card-enter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
.door-card--ps .door-card-enter { color: #22c55e; }
.door-card--str .door-card-enter { color: var(--color-accent-light); }
.door-card-enter .arrow { transition: transform 0.3s ease; }
.door-card:hover .door-card-enter .arrow { transform: translateX(4px); }

@media (max-width: 968px) {
  .door-stack { max-width: 520px; margin: 0 auto; }
}

/* ========== FRAMEWORK STRIP (portfolio-shield) ========== */
.framework-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}
.framework-chip {
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}
.framework-chip:hover {
  border-color: rgba(8, 145, 178, 0.4);
  color: var(--color-text);
}

/* ========== STR PLATFORM PREVIEW MOCKUPS ========== */
.str-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 968px) { .str-preview-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.str-cap-card {
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.95), rgba(10, 20, 36, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.str-cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(8, 145, 178, 0.06);
}

.str-cap-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--space-lg);
}
.str-cap-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
  background: rgba(8, 145, 178, 0.15);
}
.str-cap-label { font-size: 0.85rem; font-weight: 700; color: var(--color-text); }
.str-cap-sublabel { font-size: 0.6rem; color: var(--color-text-muted); margin-top: 1px; }

/* Command Center card */
.str-cc-banner {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(232, 135, 67, 0.06));
  border: 1px solid rgba(8, 145, 178, 0.15);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  text-align: center;
}
.str-cc-title {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.str-cc-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.str-cc-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.str-cc-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 8px;
  padding: 8px;
}
.str-cc-section-label {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.str-cc-section-label.pro { color: var(--color-accent-light); }
.str-cc-section-label.acad { color: var(--color-orange); }

.str-cc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.str-cc-stat { text-align: center; padding: 4px 2px; }
.str-cc-stat-val {
  font-size: 0.85rem; font-weight: 700; line-height: 1;
  font-family: var(--font-body);
}
.str-cc-stat-val.cyan { color: var(--color-accent-light); }
.str-cc-stat-val.orange { color: var(--color-orange); }
.str-cc-stat-lbl {
  font-size: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.str-cc-lib {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.55rem; color: var(--color-text-secondary);
}
.str-cc-lib-icon {
  width: 16px; height: 16px; border-radius: 4px;
  background: rgba(8, 145, 178, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; color: var(--color-accent); flex-shrink: 0;
}

/* Scenario Management card */
.str-sc-list { display: flex; flex-direction: column; gap: 6px; }
.str-sc-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.08);
  transition: border-color 0.3s ease;
}
.str-sc-item:hover { border-color: rgba(8, 145, 178, 0.2); }
.str-sc-item.featured { border-color: rgba(232, 135, 67, 0.25); background: rgba(232, 135, 67, 0.04); }
.str-sc-icon {
  width: 20px; height: 20px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; flex-shrink: 0;
  background: rgba(8, 145, 178, 0.12); color: var(--color-accent);
}
.str-sc-item.featured .str-sc-icon { background: rgba(232, 135, 67, 0.15); color: var(--color-orange); }
.str-sc-info { flex: 1; min-width: 0; }
.str-sc-name {
  font-size: 0.58rem; font-weight: 600; color: var(--color-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.str-sc-meta { display: flex; gap: 6px; align-items: center; margin-top: 1px; }
.str-sc-tag {
  font-size: 0.42rem; padding: 1px 5px; border-radius: 3px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.str-sc-tag.sim { background: rgba(8, 145, 178, 0.15); color: var(--color-accent-light); }
.str-sc-tag.tab { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.str-sc-tag.feat { background: rgba(232, 135, 67, 0.2); color: var(--color-orange); }
.str-sc-tag.exp { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.str-sc-detail { font-size: 0.42rem; color: var(--color-text-muted); }
.str-sc-xp {
  font-size: 0.55rem; font-weight: 700; color: var(--color-accent-light);
  flex-shrink: 0; white-space: nowrap;
}

/* Content Library card */
.str-cl-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 12px;
}
.str-cl-stat {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 6px; padding: 8px; text-align: center;
}
.str-cl-stat-val { font-size: 0.9rem; font-weight: 700; line-height: 1; font-family: var(--font-body); color: var(--color-accent-light); }
.str-cl-stat-lbl { font-size: 0.42rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-top: 3px; }

.str-cl-domains { display: flex; flex-direction: column; gap: 5px; }
.str-cl-domain {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.58rem; color: var(--color-text-secondary);
}
.str-cl-domain-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.str-cl-domain-dot.sa { background: #a855f7; }
.str-cl-domain-dot.sm { background: #3b82f6; }
.str-cl-domain-dot.soc { background: #22c55e; }
.str-cl-domain-dot.rm { background: #eab308; }
.str-cl-domain-dot.sl { background: #ef4444; }
.str-cl-domain-name { flex: 1; font-weight: 500; color: var(--color-text); }
.str-cl-domain-bar {
  width: 60px; height: 4px; border-radius: 4px;
  background: rgba(148, 163, 184, 0.1);
  overflow: hidden; flex-shrink: 0;
}
.str-cl-domain-bar span {
  display: block; height: 100%; border-radius: 4px;
  width: 100%;
}
.str-cl-domain-bar.sa span { background: #a855f7; }
.str-cl-domain-bar.sm span { background: #3b82f6; }
.str-cl-domain-bar.soc span { background: #22c55e; }
.str-cl-domain-bar.rm span { background: #eab308; }
.str-cl-domain-bar.sl span { background: #ef4444; }
.str-cl-domain-count {
  font-size: 0.48rem; color: var(--color-text-muted); flex-shrink: 0;
  min-width: 42px; text-align: right;
}
