/* ── THEME VARIABLE ARCHITECTURE ───────────────────── */
:root {
  --primary-dark: #1a365d;
  --secondary-dark: #2d3748;
  --brand-accent: #29558C; /* Changed from green to your specified color */
  --brand-accent-rgb: 41, 85, 140; /* RBG configuration for custom opacity layers */
  --brand-light: #f7fafc;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BASE SYSTEM RESET RULES ───────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
}
body {
  background-color: var(--brand-light);
  color: var(--secondary-dark);
  line-height: 1.6;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── GLOBAL TYPOGRAPHY LEADERS ─────────────────────── */
.section-header-alt {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}
.section-header-alt span {
  color: var(--brand-accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
.section-header-alt h2 {
  font-size: 32px;
  color: var(--primary-dark);
  margin: 10px 0 15px 0;
}
.text-highlight {
  color: var(--brand-accent);
}

/* ── INTERACTIVE TOP NAVIGATION BAR ────────────────── */
.premium-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}
.premium-nav.scrolled {
  box-shadow: var(--card-shadow);
  background: #ffffff;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.nav-logo-text {
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary-dark);
}
.nav-logo-text span {
  color: var(--brand-accent);
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
}
.nav-menu a {
  text-decoration: none;
  color: var(--secondary-dark);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-smooth);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--brand-accent);
}
.nav-btn-alt {
  background: var(--primary-dark);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-smooth);
}
.nav-btn-alt:hover {
  background: var(--brand-accent);
  transform: translateY(-1px);
}

/* ── HERO BANNER CONTAINER SYSTEM ──────────────────── */
.asymmetric-hero {
  padding: 160px 0 100px 0;
  background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%);
  overflow: hidden;
}
.hero-split-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero-badge-alt {
  display: inline-block;
  background: rgba(var(--brand-accent-rgb), 0.1);
  color: var(--brand-accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-split-wrapper h1 {
  font-size: 46px;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-split-wrapper p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 600px;
}
.hero-actions-row {
  display: flex;
  gap: 15px;
  align-items: center;
}
.btn-primary-alt {
  background: var(--brand-accent);
  color: white;
  padding: 15px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}
.btn-primary-alt:hover {
  background: #1e3f6b; /* Darkened variant of #29558C for clean hover visual */
  transform: translateY(-2px);
}
.btn-secondary-alt {
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
  padding: 13px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}
.btn-secondary-alt:hover {
  background: var(--primary-dark);
  color: white;
}

/* ── GRID VISUAL SHOWCASE MODULE ───────────────────── */
.geometric-showcase {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  position: relative;
}
.showcase-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.channels-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.channel-tag-item {
  background: var(--brand-light);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-dark);
  transition: var(--transition-smooth);
}
.channel-tag-item:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

/* ── TRACK DATA NUMBERS PANEL ──────────────────────── */
.stats-layout-section {
  padding: 60px 0;
  background: var(--primary-dark);
  color: white;
}

.stats-grid-alt {
  display: grid;
  /* FIX 1: Reduced min-width constraint to 160px so all 5 columns sit perfectly in one line */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-number-alt {
  font-size: 42px;
  font-weight: 700;
  /* FIX 2: Changed to white for high contrast visibility against the deep dark blue section background */
  color: #ffffff; 
  margin-bottom: 5px;
}

.stat-desc-alt {
  font-size: 14px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── VALUE FEATURE CARDS MATRIX ────────────────────── */
.features-layout-section {
  padding: 100px 0;
  background: white;
}
.features-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.feature-card-alt {
  background: var(--brand-light);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}
.feature-card-alt:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  border-color: var(--brand-accent);
}
.feature-icon-alt {
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
}
.feature-card-alt h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.feature-card-alt p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ── MULTI-STEP TIMELINE TRACKER ───────────────────── */
.process-layout-section {
  padding: 100px 0;
  background: var(--brand-light);
}
.process-timeline-alt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}
.process-node-alt {
  background: white;
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 8px;
  position: relative;
  transition: var(--transition-smooth);
}
.process-node-alt:hover {
  border-color: var(--brand-accent);
}
.node-step-indicator {
  position: absolute;
  top: -15px;
  left: 30px;
  background: var(--brand-accent);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.process-node-alt h4 {
  font-size: 18px;
  color: var(--primary-dark);
  margin: 10px 0 10px 0;
}
.process-node-alt p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── EXECUTIVE PROFILES PANEL ──────────────────────── */
.profiles-layout-section {
  padding: 100px 0;
  background: white;
  border-top: 1px solid var(--border-color);
}
.profiles-wrapper-alt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.profile-card-alt {
  background: var(--brand-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 30px;
  gap: 24px;
}
.profile-avatar-alt {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.profile-info-alt h4 {
  font-size: 19px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.profile-info-alt span {
  display: block;
  font-size: 13px;
  color: var(--brand-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.profile-info-alt p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── STRUCTURAL SITE FOOTER ARCHITECTURE ───────────── */
.premium-footer {
  background: #111827;
  color: #9ca3af;
  padding: 80px 0 40px 0;
  font-size: 14px;
  border-top: 4px solid var(--brand-accent);
}
.footer-grid-alt {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand-alt h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 20px;
}
.footer-brand-alt p {
  max-width: 320px;
  line-height: 1.6;
}
.footer-menu-alt h4 {
  color: white;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-menu-alt ul {
  list-style: none;
}
.footer-menu-alt ul li {
  margin-bottom: 12px;
}
.footer-menu-alt ul a {
  color: #9ca3af;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-menu-alt ul a:hover {
  color: white;
  padding-left: 4px;
}
.footer-strip-alt {
  border-top: 1px solid #1f2937;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-strip-alt span {
  color: var(--brand-accent);
  font-weight: 600;
}

/* ── SYSTEM RESPONSIVE MEDIA BREAKPOINTS ───────────── */
@media (max-width: 968px) {
  .hero-split-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid-alt {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-split-wrapper h1 {
    font-size: 36px;
  }
  .nav-menu {
    display: none;
  }
}
/* ── About Page Extra Typography Adjustments ── */
.hero-main-content h1 {
  font-size: 46px;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-main-content p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 35px;
}

.feature-card-alt h4 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero-main-content h1 {
    font-size: 32px;
  }
  .features-card-grid, 
  .process-timeline-alt, 
  .profiles-wrapper-alt {
    grid-template-columns: 1fr !important;
  }
  .profile-card-alt {
    flex-direction: column;
    text-align: center;
  }
}

/* ── ABOUT SECTION PLATFORM + STAT CARD POLISH ───────── */
.about-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.about-platform-item {
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--secondary-dark);
  box-shadow: none;
  overflow: hidden;
}
.about-platform-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
  display: block;
}
.about-platform-item span {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.about-platform-item:hover {
  color: var(--brand-accent);
  border-color: var(--brand-accent);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--brand-accent-rgb), 0.10);
}
.about-platform-item:hover img {
  transform: scale(1.04);
}

/* Five statistics: compact single row on desktop. */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  text-align: center;
  align-items: stretch;
}
.about-stat-card {
  width: 100%;
  min-width: 0;
  min-height: 108px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transition: var(--transition-smooth);
  box-sizing: border-box;
}
.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.12);
}
.about-stat-card .stat-number-alt {
  margin-bottom: 6px;
  font-size: clamp(27px, 2.3vw, 34px);
  line-height: 1.05;
  white-space: nowrap;
}
.about-stat-card .stat-desc-alt {
  max-width: 100%;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.45px;
  opacity: 0.92;
  white-space: normal;
}

@media (max-width: 968px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
  .about-stat-card:nth-child(5) {
    grid-column: 1 / -1;
    width: calc(50% - 7px);
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .geometric-showcase {
    padding: 24px 18px;
  }
  .about-platform-grid {
    gap: 10px;
  }
  .about-platform-item {
    min-height: 54px;
    padding: 9px 10px;
    gap: 8px;
  }
  .about-platform-item img {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .about-platform-item span {
    font-size: 12px;
  }
  .about-stats-grid {
    gap: 12px;
    max-width: 100%;
  }
  .about-stat-card {
    min-height: 118px;
    padding: 20px 10px;
  }
  .about-stat-card .stat-number-alt {
    font-size: 28px;
  }
  .about-stat-card .stat-desc-alt {
    font-size: 10px;
    letter-spacing: 0.45px;
  }
  .about-stat-card:nth-child(5) {
    width: calc(50% - 6px);
  }
}

@media (max-width: 360px) {
  .about-platform-item {
    min-height: 52px;
    padding-inline: 8px;
  }
  .about-platform-item img {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }
  .about-platform-item span {
    font-size: 11px;
  }
  .about-stat-card {
    min-height: 112px;
  }
  .about-stat-card .stat-number-alt {
    font-size: 26px;
  }
}
