@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Share+Tech+Mono&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: rgba(74,157,255,.22); color: var(--navy); }

:root {
  --cream: #F7F8FC;
  --navy: #1C2636;
  --navy-lt: #253347;
  --navy-card: #2A3A50;
  --blue: #4A9DFF;
  --blue-deep: #2563EB;
  --blue-lt: #7BB8FF;
  --yellow: #FFE34D;
  --yellow-lt: #FFF0A0;
  --green: #10B981;
  --green-lt: #34D399;
  --purple: #8B5CF6;
  --red: #EF4444;
  --border-light: rgba(28,38,54,.1);
  --border-dark: rgba(255,255,255,.08);
  --dim: #64748B;
  --dim2: rgba(247,248,252,.6);
  --mono: 'Share Tech Mono', monospace;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-card); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-deep); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* LAYOUT */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(0.22,1,0.36,1), transform .7s cubic-bezier(0.22,1,0.36,1); }
.reveal.on { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ===================== NAV ===================== */
nav {
  height: var(--nav-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(28,38,54,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
}
@media (max-width: 600px) { nav { padding: 0 20px; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 30px; }
.nav-logo-txt { font-size: .92rem; font-weight: 800; color: #fff; }
.nav-logo-txt span { color: var(--blue-lt); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: .84rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-link.current { color: #fff; font-weight: 700; }

.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  transition: background .2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  transition: all .3s;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--border-dark);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: .95rem; width: 100%; padding: 11px 14px; }
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  transition: all .22s cubic-bezier(0.22,1,0.36,1);
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 14px rgba(74,157,255,.25);
}
.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(74,157,255,.45);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-primary.lg { padding: 18px 44px; font-size: 1.08rem; border-radius: 12px; box-shadow: 0 4px 22px rgba(74,157,255,.3); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue-lt);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  border: 1.5px solid rgba(74,157,255,.3);
  transition: all .2s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-ghost:hover {
  border-color: var(--blue-lt);
  color: #fff;
  background: rgba(74,157,255,.08);
}

/* ===================== SECTION LABELS ===================== */
.section-label {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}
.section-label::before { content: '// '; opacity: .5; }
.section-label.light { color: var(--blue-lt); }

/* ===================== PAGE HERO ===================== */
.page-hero {
  padding: 80px 0 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(74,157,255,.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 20px;
}
.page-hero h1 .hl { color: var(--blue-lt); }
.page-hero .sub {
  font-size: 1.05rem;
  color: var(--dim2);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 32px;
}

/* ===================== SECTIONS ===================== */
.section-light { padding: 80px 0; background: var(--cream); }
.section-dark { padding: 80px 0; background: var(--navy); border-top: 1px solid var(--border-dark); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-head.light h2 { color: #fff; }
.section-head p { font-size: 1rem; color: var(--dim); line-height: 1.85; }
.section-head.light p { color: var(--dim2); }

/* ===================== PHOTO PLACEHOLDERS ===================== */
.photo-wrap {
  background: linear-gradient(145deg, #EDD8BC 0%, #C9A268 100%);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.photo-wrap .ph-icon { font-size: 2.2rem; opacity: .35; }
.photo-wrap .ph-label {
  font-family: var(--mono);
  font-size: .64rem;
  color: rgba(80,50,20,.45);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ===================== STATS STRIP ===================== */
.stats-strip {
  background: var(--navy-lt);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 32px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 700px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .stats-inner { padding: 0 20px; } }
.stat-item {
  text-align: center;
  padding: 12px 16px;
  border-right: 1px solid var(--border-dark);
}
.stat-item:last-child { border-right: none; }
@media (max-width: 700px) { .stat-item:nth-child(2) { border-right: none; } }
.stat-n {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue-lt);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-l {
  font-size: .72rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* ===================== CTA BAR ===================== */
.cta-bar {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border-dark);
}
.cta-bar h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 14px;
}
.cta-bar p {
  font-size: 1rem;
  color: var(--dim2);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.cta-bar .sub-link {
  display: block;
  margin-top: 16px;
  font-size: .84rem;
  color: var(--dim);
  text-decoration: none;
}
.cta-bar .sub-link:hover { color: var(--blue-lt); }

/* ===================== FOOTER ===================== */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
  padding: 56px 40px 40px;
  text-align: center;
}
@media (max-width: 600px) { footer { padding: 44px 20px 32px; } }
footer img { height: 28px; margin: 0 auto 10px; display: block; opacity: .6; }
.foot-name { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.foot-name span { color: var(--blue-lt); }
.foot-tagline { font-size: .84rem; color: var(--dim); margin-bottom: 28px; }
.foot-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.foot-links a { font-size: .8rem; color: var(--dim); text-decoration: none; transition: color .2s; font-weight: 600; }
.foot-links a:hover { color: var(--blue-lt); }
.foot-copy { font-size: .72rem; color: rgba(255,255,255,.15); line-height: 2.2; }
.foot-copy a { color: rgba(122,184,255,.4); text-decoration: none; }
.foot-copy a:hover { color: var(--blue-lt); }
.foot-pills { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.fp { font-size: .65rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; border: 1px solid var(--border-dark); color: var(--dim); }

/* ===================== SHARED NAV SCRIPT HOOK ===================== */
/* nav-toggle JS is inlined in each page */
