/* ===========================================================
   GLOBAL RESET & INITIALIZATION VARIABLES
   =========================================================== */
:root {
    --navy: #0f1620;
    --blue: #1e88e5;
    --red: #e30613;
    --heroHeight: 100vh;
    --glass: rgba(255,255,255,.74);
    --glassBorder: rgba(255,255,255,.65);
    --shadowBig: 0 35px 80px rgba(15,22,32,.12);
    --shadowSmall: 0 15px 45px rgba(15,22,32,.08);
    --blueGlow: rgba(30,136,229,.14);
    --redGlow: rgba(227,6,19,.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #ffffff;
    color: var(--navy);
    overflow-x: hidden;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 30px;
}

/* Base UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: #1565c0; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===========================================================
   NAVIGATION HEADER ARCHITECTURE (Synced from Landing Styles)
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand-lockup {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a5568;
  background: none;
  border: none;
  padding: 4px 0;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active { 
  color: var(--blue); 
}

.chev { 
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.nav-item.has-dropdown { 
  position: relative; 
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  width: 320px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 61, 145, 0.12);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  text-decoration: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease;

}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav-item.has-dropdown:hover .chev { 
  transform: rotate(180deg); 
}

@media (min-width: 861px) {
  .dropdown.dropdown--grid {
    width: 640px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
  }
  .dropdown.dropdown--grid .dropdown-item {
    margin-bottom: 0;
  }
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
  background: transparent;
  margin-bottom: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
  text-align: left;
}
.dropdown-item:last-child { margin-bottom: 0; }
.dropdown-item:hover {
  background: #f7f9fc;
  transform: translateX(4px);
}

.dd-title { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.dd-desc { font-size: 0.8rem; color: #4a5568; }

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--navy);
}
.btn-ghost:hover { 
  border-color: var(--blue); 
  color: var(--blue); 
}

.hover-pill {
  position: absolute;
  background: rgba(30, 136, 229, 0.06);
  border-radius: 12px;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ======================================
   HERO DISPLAY CANVAS
   ====================================== */
.about-hero {
    position: relative;
    height: calc(100vh - 80px); /* Adjusted to balance sticky header framework */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.hero-gradient-left { position: absolute; width: 700px; height: 700px; background: var(--blueGlow); left: -240px; top: -100px; border-radius: 50%; filter: blur(120px); pointer-events: none;}
.hero-gradient-right { position: absolute; width: 650px; height: 650px; background: var(--redGlow); right: -220px; bottom: -160px; border-radius: 50%; filter: blur(120px); pointer-events: none;}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: .03;
    background-size: 22px 22px;
    background-image: radial-gradient(circle, #000 1px, transparent 1px);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding-inline: 30px;
    pointer-events: none;
}
.hero-content > * { pointer-events: auto; }

.hero-eyebrow {
    font-size: .85rem;
    letter-spacing: .35em;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 6.5vw, 6rem);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-logo-inline {
    display: inline-block;
    height: clamp(40px, 6.5vw, 85px);
    width: auto;
    vertical-align: middle;
    margin-left: 8px;
    object-fit: contain;
}

.hero-description {
    font-size: 1.15rem;
    max-width: 620px;
    margin: auto;
    line-height: 1.8;
    color: #566274;
}

/* =======================================
   REVISED SMOOTH LOGO WATERMARK
   ======================================= */
.hero-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    width: min(90vw, 1000px);
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
    transition: transform 0.4s cubic-bezier(0.1, 0.76, 0.55, 0.94), opacity 0.5s ease-out;
}

.hero-logo {
    width: 100%;
    display: block;
    opacity: 0.55;
    filter: drop-shadow(0 30px 60px rgba(15, 22, 32, 0.06));
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: #8a96a8;
    font-size: 0.85rem;
    font-weight: 500;
}
.scroll-indicator .mouse { width: 26px; height: 42px; border: 2px solid #cbd5e1; border-radius: 20px; margin: 0 auto 10px; position: relative; }
.scroll-indicator .wheel { width: 4px; height: 8px; background: var(--blue); border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scrollMouse 2s infinite; }

@keyframes scrollMouse { 0% { opacity: 1; top: 8px; } 50% { opacity: 0; top: 18px; } 100% { opacity: 1; top: 8px; } }

/* ===========================================
   SECTION WRAPPERS CONFIGURATION
   =========================================== */
.story-section, .mission-section, .values-section, .timeline-section, .network-section {
    position: relative;
    padding: 140px 0;
    background: #fff;
}
.story-section { margin-top: -40px; z-index: 10; }

.section-heading h2 { font-size: clamp(2.3rem, 4.5vw, 3.5rem); line-height: 1.1; margin-bottom: 24px; font-weight: 700; }
.section-heading p { color: #667085; font-size: 1.08rem; line-height: 1.8; }
.section-tag { display: inline-flex; padding: 6px 16px; border-radius: 999px; background: rgba(30,136,229,.08); color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; }

/* ===========================================
   STORY COLUMN RESPONSES
   =========================================== */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; margin-top: 80px; }
.story-copy h3 { font-size: 2rem; line-height: 1.25; margin-bottom: 24px; font-weight: 700; }
.story-copy p { margin-bottom: 20px; color: #606d7c; font-size: 1.05rem; line-height: 1.8; }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Floating Micro-matrix (Collision-Free) */
.story-stats .stat-card:nth-child(1) {
    transform: translateY(0);
}
.story-stats .stat-card:nth-child(2) { 
    transform: translateY(40px); 
}
.story-stats .stat-card:nth-child(3) { 
    transform: translateY(15px); 
}
.story-stats .stat-card:nth-child(4) { 
    transform: translateY(55px); 
}

/* Ensure the grid container has enough breathing room at the bottom for the shifted cards */
.story-stats { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 24px; 
    padding-bottom: 60px; 
}

/* Glass Card */
.stat-card, .value-card, .network-card {
    position: relative;
    padding: 32px;
    border-radius: 24px;
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glassBorder);
    box-shadow: var(--shadowSmall);
    transition: transform 0.4s, box-shadow 0.4s;
    will-change: transform;
}
.stat-card:hover, .network-card:hover { transform: translateY(-10px) !important; box-shadow: var(--shadowBig); }
.stat-card h3 { font-size: 2.2rem; margin: 18px 0 6px; font-weight: 700; }
.stat-card span { display: block; font-weight: 700; color: #344054; margin-bottom: 8px; }
.stat-card p { color: #68788c; font-size: .92rem; line-height: 1.6; }

.stat-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; justify-content: center; align-items: center; font-size: 20px; }
.stat-icon.blue { background: rgba(30,136,229,.12); color: var(--blue); }
.stat-icon.red { background: rgba(227,6,19,.10); color: var(--red); }

/* ===========================================
   MISSION & VALUE LABELS
   =========================================== */
.mission-grid, .values-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mission-card { text-align: center; padding: 40px 24px; border-radius: 24px; background: white; box-shadow: 0 15px 40px rgba(15,22,32,.05); transition: .35s; }
.mission-card:hover { transform: translateY(-10px) !important; }
.mission-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; background: linear-gradient(135deg, var(--navy), var(--blue), var(--red)); }
.mission-card h3, .value-card h3 { margin-bottom: 14px; font-weight: 700; font-size: 1.35rem; }

.value-card { padding: 40px 30px; background: rgba(255,255,255,.75); }
.value-card i { font-size: 36px; color: var(--red); margin-bottom: 20px; display: inline-block; }
.value-card p, .mission-card p { color: #667085; line-height: 1.7; font-size: 0.98rem; }

/* ===========================================
   ROADMAP TIMELINE ENGINE
   =========================================== */
.timeline { position: relative; max-width: 900px; margin: 80px auto 0; }
.timeline-line { position: absolute; left: 50%; top: 0; width: 4px; height: 100%; transform: translateX(-50%); border-radius: 999px; background: #eaecf0; }
.timeline-item { position: relative; width: 50%; padding: 20px 50px; margin-bottom: 40px; }
.timeline-item:nth-child(even) { margin-left: auto; }
.timeline-dot { position: absolute; top: 38px; width: 20px; height: 22px; border-radius: 50%; background: white; border: 5px solid var(--blue); box-shadow: 0 0 0 6px rgba(30,136,229,.10); z-index: 5; }
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; border-color: var(--red); box-shadow: 0 0 0 6px rgba(227,6,19,.10); }

.timeline-card { background: white; padding: 30px; border-radius: 24px; box-shadow: var(--shadowSmall); transition: .4s; }
.timeline-card:hover { transform: translateY(-6px) !important; }
.timeline-year { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(30,136,229,.1); color: var(--blue); font-weight: 700; font-size: 0.85rem; margin-bottom: 14px; }

/* ===========================================
   NETWORK DISPLAY GRID & TARGET ACTION
   =========================================== */
.network-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.network-card h3 { font-size: 2.5rem; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.network-card span { font-weight: 600; color: #475467; font-size: 0.95rem; }

.about-cta { padding-bottom: 140px; background: #ffffff; }
.cta-box { background: var(--navy); border-radius: 32px; padding: 80px 40px; text-align: center; color: white; position: relative; overflow: hidden; box-shadow: 0 40px 90px rgba(10,61,145,.16); }
.cta-box h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; font-weight: 700; }
.cta-box p { color: #94a3b8; max-width: 550px; margin: 0 auto 32px; font-size: 1.1rem; line-height: 1.7; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; }
.cta-buttons .btn-primary { background: white; color: var(--navy); }
.cta-buttons .btn-primary:hover { background: #f8fafc; }
.cta-buttons .btn-ghost { background: transparent; border: 2px solid rgba(255,255,255,.25); color: white; }
.cta-buttons .btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Footer placeholders layout rules */
.site-footer { background: #fafbfa; padding: 60px 0 40px; border-top: 1px solid #eaecf0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid #f2f4f7; font-size: 0.9rem; color: #667085; }
.footer-legal a { margin-left: 24px; color: #667085; text-decoration: none; }
.footer-legal a:hover { color: var(--blue); }

/* ===========================================
   SCROLL REVEAL UTILITIES
   =========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   MEDIA QUERIES (RESPONSIVENESS BOUNDS)
   =========================================== */
@media (max-width: 1024px) {
    .mission-grid, .values-grid, .network-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .story-grid { grid-template-columns: 1fr; gap: 50px; }
    .story-stats { margin-top: 40px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 6px;
    box-shadow: 0 12px 32px rgba(15, 22, 32, 0.08);
  }
  .main-nav.open .nav-item { width: 100%; }
  .main-nav.open .dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 4px;
    display: none;
  }
  .main-nav.open .nav-item.dropdown-open .dropdown { display: flex; flex-direction: column; }
}

@media (max-width: 768px) {
    .timeline-line { left: 30px; }
    .timeline-item { width: 100%; padding-left: 65px; padding-right: 20px; }
    .timeline-item:nth-child(even) { margin-left: 0; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 20px; right: auto; }
    .cta-buttons { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}