/* ============================================================
   MYID CONSENT — MASTER STYLESHEET
   Version: 1.1
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS VARIABLES & RESET
   ------------------------------------------------------------ */

:root {
  --primary:       #1a3a5c;
  --primary-dark:  #0f2340;
  --primary-light: #2a5298;
  --accent:        #00a86b;
  --accent-dark:   #007a4d;
  --accent-light:  #00d48a;
  --warning:       #e67e22;
  --danger:        #c0392b;
  --success:       #27ae60;
  --white:         #ffffff;
  --off-white:     #f8f9fa;
  --light-grey:    #e9ecef;
  --mid-grey:      #6c757d;
  --dark-grey:     #343a40;
  --black:         #1a1a1a;
  --dark-bg:       #0d1f35;
  --dark-card:     #162840;
  --dark-border:   #1e3a5f;
  --font-main:     'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:     'Courier New', Courier, monospace;
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.18);
  --shadow-dark:   0 4px 20px rgba(0,0,0,0.4);
  --transition:    all 0.25s ease;
  --max-width:     1200px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--dark-grey);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ------------------------------------------------------------
   2. AUTH OVERLAY
   ------------------------------------------------------------ */

#auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#auth-overlay.active {
  display: flex;
}

.auth-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow-dark);
}

.auth-logo {
  margin: 0 auto 1.5rem;
  width: 64px;
  height: 64px;
}

.auth-box h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.auth-box p {
  color: var(--mid-grey);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auth-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--primary-dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  outline: none;
  transition: var(--transition);
}

.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,168,107,0.2);
}

.auth-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.auth-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.auth-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}

/* ------------------------------------------------------------
   3. NAVIGATION
   ------------------------------------------------------------ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  border-bottom: 1px solid var(--dark-border);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand-logo-wrap {
  position: relative;
  display: inline-flex;
}

.nav-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-brand-tm {
  position: absolute;
  top: -2px;
  right: -9px;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.nav-link.active {
  color: var(--white);
  background: var(--accent);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--off-white);
}

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

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

.section-white {
  background: var(--white);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: inherit;
}

.section-intro {
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.85;
  max-width: 720px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

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

.text-center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   5. HERO — HOME (image-based)
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,168,107,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,25,47,0.88) 0%, rgba(26,58,92,0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: 4rem 1.5rem;
  margin: 0 auto;
  color: var(--white);
}

.hero-logo {
  margin: 0 auto 2rem;
  width: 80px;
  height: 80px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Legacy hero inner layout (non-image hero) */
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,168,107,0.15);
  border: 1px solid rgba(0,168,107,0.3);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero-lead {
  font-size: 1.15rem;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.hero-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.hero-card-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.hero-card-text strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.hero-card-text span {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

/* ------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ------------------------------------------------------------
   7. PAGE HERO (inner pages)
   ------------------------------------------------------------ */

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-poc {
  background: linear-gradient(135deg, #0d1f35 0%, #1a3a5c 50%, #1a4a3a 100%);
}

.page-hero-vendor {
  background: linear-gradient(135deg, #0d1f35 0%, #1a3a5c 50%, #2a1a5c 100%);
}

.page-hero-vendor1 {
  background: linear-gradient(135deg, #0d1f35 0%, #1a3a5c 50%, #1e3060 100%);
}

.page-hero-vendor2 {
  background: linear-gradient(135deg, #0d1f35 0%, #1a3a5c 50%, #2a1a4c 100%);
}

.page-hero-about {
  background: linear-gradient(135deg, #0d1f35 0%, #1a3a5c 50%, #3a1a2c 100%);
}

/* Vendor page hero logo */
.vendor-hero-logo {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  overflow: hidden;
}

.vendor-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* ------------------------------------------------------------
   8. STATUS BADGES
   ------------------------------------------------------------ */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-poc {
  background: rgba(0,168,107,0.15);
  color: var(--accent-light);
  border: 1px solid rgba(0,168,107,0.3);
}

.status-live {
  background: rgba(39,174,96,0.15);
  color: #2ecc71;
  border: 1px solid rgba(39,174,96,0.3);
}

.status-planned {
  background: rgba(230,126,34,0.15);
  color: #f39c12;
  border: 1px solid rgba(230,126,34,0.3);
}

.status-review {
  background: rgba(52,152,219,0.15);
  color: #74b9ff;
  border: 1px solid rgba(52,152,219,0.3);
}

/* ------------------------------------------------------------
   9. GENERIC CARD SYSTEM
   ------------------------------------------------------------ */

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

.card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card:hover::before {
  transform: scaleX(1);
}

.card.card-dark {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.card.card-dark:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0,168,107,0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.card.card-dark h3 {
  color: var(--white);
}

.card p {
  font-size: 0.875rem;
  color: var(--mid-grey);
  line-height: 1.6;
}

.card.card-dark p {
  color: rgba(255,255,255,0.7);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

/* ------------------------------------------------------------
   10. TAGS
   ------------------------------------------------------------ */

.tag {
  background: rgba(0,168,107,0.12);
  color: var(--accent-light);
  border: 1px solid rgba(0,168,107,0.22);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  display: inline-block;
}

.tag-small {
  background: rgba(42,82,152,0.18);
  color: #74b9ff;
  border: 1px solid rgba(42,82,152,0.3);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  display: inline-block;
}

.stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* ------------------------------------------------------------
   11. HOME PAGE — VENDOR GRID
   ------------------------------------------------------------ */

.vendor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.vendor-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  text-align: center;
}

.vendor-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.vendor-logo {
  margin: 0 auto 1.25rem;
  width: 80px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vendor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vendor-name-fallback {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
}

.vendor-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

/* Invert dark/black logos so they read on the dark vendor cards */
.vendor-logo-invert {
  filter: brightness(0) invert(1);
}

.vendor-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.vendor-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------
   12. OVERVIEW CARDS (home page)
   ------------------------------------------------------------ */

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

.overview-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.overview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.overview-card:hover::before {
  transform: scaleX(1);
}

.overview-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.overview-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.overview-card p {
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   13. HOME PAGE — VENDOR COMPARISON
   ------------------------------------------------------------ */

.vendor-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.vendor-compare-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.vendor-compare-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.vendor-compare-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--dark-border);
}

.vendor-logo-sm {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.vendor-compare-header h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.vendor-compare-header span {
  color: var(--mid-grey);
  font-size: 0.8rem;
}

.vendor-compare-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.vendor-tag {
  background: rgba(0,168,107,0.12);
  color: var(--accent-light);
  border: 1px solid rgba(0,168,107,0.2);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.vendor-compare-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------
   14. HOME PAGE — ARCHITECTURE
   ------------------------------------------------------------ */

.arch-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.arch-layer {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.arch-layer:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1rem;
  z-index: 1;
}

.arch-layer:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.arch-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.arch-layer h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.arch-layer p {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   15. HOME PAGE — STANDARDS
   ------------------------------------------------------------ */

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.standard-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.standard-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.standard-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.standard-card h4 {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.standard-card p {
  color: var(--mid-grey);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   16. POC PAGE — TIMELINE STAGES
   ------------------------------------------------------------ */

.poc-stages {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.poc-stage {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: var(--transition);
}

.poc-stage:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0,168,107,0.2);
}

.poc-stage-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.poc-stage-content h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.poc-stage-content > p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.poc-stage-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.poc-detail-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.poc-detail-block h5 {
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.poc-detail-block ul { list-style: none; }

.poc-detail-block ul li {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.poc-detail-block ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.poc-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.poc-tech-tag {
  background: rgba(42,82,152,0.3);
  border: 1px solid rgba(42,82,152,0.5);
  color: #74b9ff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-family: var(--font-mono);
}

/* ------------------------------------------------------------
   17. VENDOR PAGES — SUMMARY GRID
   ------------------------------------------------------------ */

.vendor-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.vendor-summary-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.vendor-summary-card:hover { border-color: var(--accent); }

.vendor-summary-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.vendor-summary-card h4 {
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.vendor-summary-card p {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.vendor-product-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.vendor-product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.vendor-product-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.vendor-product-card h4 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.vendor-product-card p {
  color: var(--mid-grey);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.vendor-product-card ul { list-style: none; }

.vendor-product-card ul li {
  font-size: 0.8rem;
  color: var(--mid-grey);
  padding: 0.2rem 0 0.2rem 1.1rem;
  position: relative;
}

.vendor-product-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.vendor-poc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.vendor-poc-stage {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.vendor-poc-stage:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.vendor-poc-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 0.75rem;
}

.vendor-poc-stage h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.vendor-poc-stage p {
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  line-height: 1.5;
}

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

.vendor-score-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.vendor-score-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.score-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.score-high {
  background: rgba(39,174,96,0.12);
  color: var(--success);
  border: 3px solid var(--success);
}

.score-medium {
  background: rgba(230,126,34,0.12);
  color: var(--warning);
  border: 3px solid var(--warning);
}

.score-low {
  background: rgba(192,57,43,0.12);
  color: var(--danger);
  border: 3px solid var(--danger);
}

.vendor-score-card h4 {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.vendor-score-card p {
  color: var(--mid-grey);
  font-size: 0.8rem;
  line-height: 1.5;
}

.vendor-swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.swot-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.swot-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--dark-border);
}

.swot-strengths h4 { color: #2ecc71; }
.swot-weaknesses h4 { color: #e74c3c; }
.swot-opportunities h4 { color: #3498db; }
.swot-threats h4 { color: #f39c12; }

.swot-card ul { list-style: none; }

.swot-card ul li {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.swot-card ul li:last-child { border-bottom: none; }

.swot-card ul li::before { position: absolute; left: 0; font-weight: 700; }

.swot-strengths ul li::before { content: '+'; color: #2ecc71; }
.swot-weaknesses ul li::before { content: '−'; color: #e74c3c; }
.swot-opportunities ul li::before { content: '→'; color: #3498db; }
.swot-threats ul li::before { content: '!'; color: #f39c12; }

/* ------------------------------------------------------------
   18. VENDOR PAGES — SUMMARY / PROFILE / RELEVANCE / ASSESSMENT
   ------------------------------------------------------------ */

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.summary-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.summary-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-bottom: 0.3rem;
}

.summary-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

/* Profile cards */
.profile-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.profile-image {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.profile-image img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.profile-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  z-index: 0;
}

.profile-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.profile-content p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Relevance grid */
.relevance-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.relevance-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.relevance-item:hover {
  border-color: rgba(0,168,107,0.3);
}

.relevance-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.relevance-content h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.relevance-content p {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Assessment / SWOT */
.assessment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.assessment-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.assessment-strength {
  background: rgba(39,174,96,0.07);
  border: 1px solid rgba(39,174,96,0.25);
}

.assessment-consideration {
  background: rgba(52,152,219,0.07);
  border: 1px solid rgba(52,152,219,0.25);
}

.assessment-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.assessment-strength h4 { color: #2ecc71; }
.assessment-consideration h4 { color: #74b9ff; }

.assessment-card ul { list-style: none; }

.assessment-card ul li {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.assessment-card ul li:last-child { border-bottom: none; }

.assessment-strength ul li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #2ecc71;
  font-weight: 700;
}

.assessment-consideration ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #74b9ff;
}

/* ------------------------------------------------------------
   19. VENDOR 2 — SOLID EXPLAINER & CASE STUDIES
   ------------------------------------------------------------ */

.solid-explainer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.solid-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.solid-step-number {
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  font-family: var(--font-mono);
  min-width: 44px;
  text-align: center;
}

.solid-step-content h4 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.solid-step-content p {
  color: var(--mid-grey);
  font-size: 0.875rem;
  line-height: 1.6;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.case-study-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.case-study-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.case-study-flag {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.case-study-card h4 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.case-study-card p {
  color: var(--mid-grey);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ------------------------------------------------------------
   20. ABOUT PAGE
   ------------------------------------------------------------ */

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.purpose-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.purpose-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.purpose-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.purpose-card h4 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.purpose-card p {
  color: var(--mid-grey);
  font-size: 0.875rem;
  line-height: 1.6;
}

.problem-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.problem-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.problem-item:hover {
  border-color: rgba(231,76,60,0.4);
}

.problem-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.problem-content h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.problem-content p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.6;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.approach-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.approach-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.approach-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}

.approach-card h4 {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.approach-card p {
  color: var(--mid-grey);
  font-size: 0.85rem;
  line-height: 1.6;
}

.reg-table {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1rem;
}

.reg-row {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  border-bottom: 1px solid var(--dark-border);
}

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

.reg-header { background: rgba(255,255,255,0.05); }

.reg-cell {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  border-right: 1px solid var(--dark-border);
}

.reg-cell:last-child { border-right: none; }

.reg-header .reg-cell {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reg-row:not(.reg-header):hover {
  background: rgba(255,255,255,0.03);
}

.align-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

.align-high {
  background: rgba(39,174,96,0.15);
  color: #2ecc71;
}

.align-medium {
  background: rgba(230,126,34,0.15);
  color: #f39c12;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.scope-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.scope-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--light-grey);
}

.scope-in h4 { color: var(--success); }
.scope-out h4 { color: var(--danger); }

.scope-card ul { list-style: none; }

.scope-card ul li {
  font-size: 0.875rem;
  color: var(--mid-grey);
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--light-grey);
}

.scope-card ul li:last-child { border-bottom: none; }

.scope-in ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.scope-out ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

.disclaimer-box {
  background: rgba(230,126,34,0.08);
  border: 1px solid rgba(230,126,34,0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.disclaimer-box p {
  color: var(--dark-grey);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   21. TIMELINE
   ------------------------------------------------------------ */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--dark-border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
}

.timeline-marker {
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  text-align: center;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.timeline-content {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.timeline-content h3,
.timeline-content h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.timeline-content ul {
  list-style: none;
  margin-bottom: 0.75rem;
}

.timeline-content ul li {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.timeline-content ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.timeline-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.status-current {
  background: rgba(0,168,107,0.15);
  color: var(--accent-light);
  border: 1px solid rgba(0,168,107,0.3);
}

.status-planned {
  background: rgba(230,126,34,0.15);
  color: #f39c12;
  border: 1px solid rgba(230,126,34,0.3);
}

/* ------------------------------------------------------------
   22. POC PAGE — REGULATORY ALIGNMENT GRID
   ------------------------------------------------------------ */

.alignment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.alignment-item {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.alignment-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.alignment-item h4 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.alignment-item p {
  color: var(--mid-grey);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   23. FOOTER
   ------------------------------------------------------------ */

.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 1.5rem 0;
  text-align: center;
}

.footer p { font-size: 0.8rem; }

.footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

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

/* ------------------------------------------------------------
   24. RESPONSIVE — TABLET
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero h1 { font-size: 2.25rem; }
  .hero-title { font-size: 2.5rem; }

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

  .arch-grid { grid-template-columns: repeat(3, 1fr); }
  .arch-layer:not(:last-child)::after { display: none; }

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

  .vendor-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .vendor-product-grid { grid-template-columns: repeat(2, 1fr); }
  .vendor-poc-grid { grid-template-columns: repeat(3, 1fr); }
  .vendor-score-grid { grid-template-columns: repeat(2, 1fr); }

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

  .reg-row { grid-template-columns: 1fr; }
  .reg-cell { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .reg-cell:last-child { border-bottom: none; }
  .reg-header { display: none; }
}

/* ------------------------------------------------------------
   25. RESPONSIVE — MOBILE
   ------------------------------------------------------------ */

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }

  .hero { min-height: 70vh; }
  .hero h1 { font-size: 1.9rem; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-value { font-size: 1.4rem; }

  .overview-grid,
  .card-grid,
  .vendor-grid,
  .purpose-grid,
  .alignment-grid,
  .assessment-grid,
  .case-study-grid,
  .scope-grid { grid-template-columns: 1fr; }

  .vendor-compare-grid { grid-template-columns: 1fr; }

  .arch-grid,
  .standards-grid { grid-template-columns: 1fr 1fr; }

  .poc-stage { grid-template-columns: 1fr; }
  .poc-stage-detail { grid-template-columns: 1fr; }

  .vendor-summary-grid { grid-template-columns: 1fr 1fr; }
  .vendor-product-grid { grid-template-columns: 1fr; }
  .vendor-poc-grid { grid-template-columns: 1fr 1fr; }
  .vendor-score-grid { grid-template-columns: 1fr; }
  .vendor-swot-grid { grid-template-columns: 1fr; }

  .approach-grid { grid-template-columns: 1fr; }

  .timeline-item { grid-template-columns: 1fr; }
  .timeline::before { display: none; }

  .profile-card { grid-template-columns: 1fr; }

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

  /* Mobile Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    border-bottom: 1px solid var(--dark-border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 0.65rem 1rem;
    width: 100%;
  }

  .nav-mobile-toggle { display: flex; }

  .navbar { position: relative; }
  .nav-inner { position: relative; }

  .page-hero h1 { font-size: 1.75rem; }

  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }

  .reg-row { grid-template-columns: 1fr; }
  .reg-header { display: none; }
  .reg-cell { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .reg-cell:last-child { border-bottom: none; }
}

/* ------------------------------------------------------------
   26. UTILITY CLASSES
   ------------------------------------------------------------ */

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.text-accent  { color: var(--accent); }
.text-muted   { color: var(--mid-grey); }
.text-white   { color: var(--white); }
.text-danger  { color: var(--danger); }
.text-success { color: var(--success); }

.fw-bold   { font-weight: 700; }
.fw-normal { font-weight: 400; }

.hidden  { display: none !important; }
.visible { display: block !important; }

/* ------------------------------------------------------------
   N. POC UX/UI MOBILE VIEWER
   ------------------------------------------------------------ */

/* Call-to-action block above the timeline */
.poc-ux-cta {
  margin: 2rem 0 3rem;
}

.poc-ux-cta .btn {
  cursor: pointer;
}

.poc-ux-hint {
  margin-top: 0.85rem;
  color: var(--mid-grey);
  font-size: 0.9rem;
}

/* Full-screen overlay */
.ux-viewer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 18, 32, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ux-viewer.is-open {
  display: flex;
  animation: ux-fade 0.25s ease;
}

@keyframes ux-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ux-viewer-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 100%;
}

.ux-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Phone shell */
.ux-phone {
  position: relative;
  width: min(340px, 78vw);
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #1c1c1e 0%, #000 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255,255,255,0.06);
}

.ux-phone-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 780 / 1688;
}

.ux-phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Transparent click-through layer over the screen */
.ux-tap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* Caption: counter + title */
.ux-caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}

.ux-counter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  background: rgba(0, 168, 107, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.ux-title {
  font-size: 1rem;
  font-weight: 600;
}

/* Dots */
.ux-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 340px;
}

.ux-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.ux-dot:hover { background: rgba(255, 255, 255, 0.6); }
.ux-dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Prev / next side arrows */
.ux-nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.ux-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

/* Close button */
.ux-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.ux-close:hover {
  background: var(--danger);
  transform: rotate(90deg);
}

@media (max-width: 600px) {
  .ux-viewer { padding: 0.75rem; }
  .ux-viewer-inner { gap: 0.4rem; }
  .ux-nav { width: 42px; height: 42px; font-size: 1.4rem; }
  .ux-phone { width: min(300px, 68vw); padding: 9px; border-radius: 34px; }
  .ux-phone-screen { border-radius: 26px; }
  .ux-title { font-size: 0.9rem; }
}

/* ------------------------------------------------------------
   COVER SHOWCASE (home page)
   ------------------------------------------------------------ */
.cover-showcase {
  padding-top: 3rem;
}

.cover-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.cover-image {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {
  .cover-image { max-width: 100%; }
}

/* ------------------------------------------------------------
   DOCUMENT CARDS & VIEWER
   ------------------------------------------------------------ */

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.doc-view-btn {
  margin-top: 1.25rem;
}

@media (max-width: 720px) {
  .card-grid-2 { grid-template-columns: 1fr; }
}

/* Full-screen document viewer overlay */
.doc-viewer {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  padding: 2rem;
  background: rgba(8, 18, 32, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.doc-viewer.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ux-fade 0.25s ease;
}

.doc-viewer-panel {
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  height: 100%;
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.doc-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--primary);
  color: var(--white);
}

.doc-viewer-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.doc-viewer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.doc-viewer-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.doc-viewer-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.doc-viewer-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.doc-viewer-close:hover {
  background: rgba(255,255,255,0.15);
}

.doc-viewer-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: var(--light-grey);
}

/* ============================================================
   24. ARCHITECTURE PAGE
   ------------------------------------------------------------ */

.page-hero-architecture {
  background: linear-gradient(135deg, #0d1f35 0%, #16344f 50%, #123a4a 100%);
}

/* Reference / key-fact strip */
.arch-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.arch-fact {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.arch-fact-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.arch-fact-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Layered trust model — stacked layer rows */
.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.layer-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.layer-row.layer-identity { border-left-color: #2980b9; }
.layer-row.layer-auth     { border-left-color: #c79a3a; }
.layer-row.layer-data     { border-left-color: #27ae60; }
.layer-row.layer-consent  { border-left-color: #1a2a44; }
.layer-row.layer-rp       { border-left-color: #7f8c8d; }

.layer-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink, #0d1f35);
}

.layer-name span {
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.layer-desc {
  font-size: 0.9rem;
  color: var(--mid-grey);
}

/* Architecture tiers (dark section) */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tier-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.tier-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--dark-border);
}

.tier-card ul { list-style: none; }

.tier-card li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  padding: 0.4rem 0 0.4rem 1.1rem;
  position: relative;
}

.tier-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.4);
}

.tier-card li strong { color: var(--white); }

/* Sequence / data-flow steps */
.flow-steps {
  counter-reset: flowstep;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.flow-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.flow-step::before {
  counter-increment: flowstep;
  content: counter(flowstep);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step p { font-size: 0.9rem; color: var(--mid-grey); margin: 0; }
.flow-step strong { color: var(--ink, #0d1f35); }

/* Generic architecture data table (screen map) */
.arch-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
}

.arch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 640px;
}

.arch-table th,
.arch-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--dark-border);
  color: rgba(255,255,255,0.75);
}

.arch-table thead th {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.05);
}

.arch-table tbody tr:last-child td { border-bottom: none; }
.arch-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.arch-table td:first-child { font-weight: 700; color: var(--white); white-space: nowrap; }

@media (max-width: 860px) {
  .arch-facts { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; }
  .layer-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ============================================================
   END OF STYLESHEET
   ============================================================ */
