/* ═══════════════════════════════════════════
   SEPTIER — SHARED STYLESHEET  (V3 style)
   Fonts: DM Sans + DM Serif Display
   Colors: #011663 navy · #006AFF blue · #FFFFFF · #C9C9C9
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --navy:       #011663;
  --navy-dark:  #010e45;
  --blue:       #006AFF;
  --blue-light: #e6f0ff;
  --blue-mid:   #cce0ff;
  --white:      #FFFFFF;
  --gray:       #C9C9C9;
  --off-white:  #f5f7fc;
  --text-muted: #6b7a99;
  --border:     rgba(1,22,99,0.09);
  --border-blue: rgba(0,106,255,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--navy); overflow-x: hidden; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 70px; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(1,22,99,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: height 0.3s, box-shadow 0.3s;
}
nav.scrolled { height: 62px; box-shadow: 0 4px 40px rgba(1,10,50,0.35); }
.nav-logo svg { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: rgba(201,201,201,0.75);
  text-decoration: none; padding: 8px 15px; border-radius: 7px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.5; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--navy-dark); border: 1px solid rgba(0,106,255,0.2);
  border-radius: 12px; padding: 8px; min-width: 210px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.22s ease;
  box-shadow: 0 24px 56px rgba(0,0,0,0.45);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 8px;
  color: rgba(201,201,201,0.7); font-size: 13px;
  transition: all 0.15s;
}
.dropdown-menu a::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); opacity: 0.5; flex-shrink: 0; transition: opacity 0.15s;
}
.dropdown-menu a:hover { background: rgba(0,106,255,0.12); color: var(--white); }
.dropdown-menu a:hover::before { opacity: 1; }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  font-weight: 500 !important; padding: 9px 22px !important;
  border-radius: 7px !important; margin-left: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { background: #0058d6 !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,106,255,0.35) !important; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 140px 56px 80px;
  background: var(--navy);
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ph-video-wrap { position: absolute; inset: 0; z-index: 0; }
.ph-video-wrap video { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.ph-video-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,14,69,1) 0%, rgba(1,14,69,0.25) 60%, rgba(1,14,69,0.6) 100%);
}
.ph-scan-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ph-scan { position: absolute; height: 1px; left: 0; right: 0;
  background: linear-gradient(to right, transparent, rgba(0,106,255,0.5) 30%, rgba(0,106,255,0.7) 50%, rgba(0,106,255,0.5) 70%, transparent);
  animation: scanAcross linear infinite; }
@keyframes scanAcross { 0%{transform:translateX(-100%);opacity:0;} 8%{opacity:1;} 92%{opacity:1;} 100%{transform:translateX(100%);opacity:0;} }
.ph-bracket { position: absolute; width: 44px; height: 44px; border-color: rgba(0,106,255,0.4); border-style: solid; }
.ph-bracket-tl { top: 80px; left: 56px; border-width: 2px 0 0 2px; }
.ph-bracket-br { bottom: 40px; right: 56px; border-width: 0 2px 2px 0; }
.ph-content { position: relative; z-index: 2; }
.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(0,150,255,0.9); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px;
  opacity: 0; animation: fadeSlideUp 0.7s ease forwards 0.2s;
}
.ph-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--blue); }
.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(44px, 7vw, 88px);
  color: var(--white); line-height: 0.95; letter-spacing: -0.01em;
  opacity: 0; animation: fadeSlideUp 0.8s ease forwards 0.35s;
}
.page-header h1 em { font-style: italic; color: rgba(0,160,255,0.75); }
.ph-desc {
  font-size: 16px; color: rgba(201,201,201,0.65);
  line-height: 1.8; font-weight: 300; max-width: 520px;
  margin-top: 22px;
  opacity: 0; animation: fadeSlideUp 0.8s ease forwards 0.5s;
}

/* ── TABS BAR ── */
.tabs-bar {
  position: sticky; top: 70px; z-index: 100;
  background: rgba(1,14,69,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,106,255,0.15);
  padding: 0 56px; display: flex; gap: 0;
  transition: top 0.3s;
}
.tab-btn {
  font-size: 13px; font-weight: 400; color: rgba(201,201,201,0.55);
  background: none; border: none; cursor: pointer;
  padding: 18px 24px; position: relative; transition: color 0.2s;
  letter-spacing: 0.02em;
}
.tab-btn::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transition: transform 0.3s;
}
.tab-btn.active { color: var(--white); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover { color: rgba(255,255,255,0.8); }

/* ── SECTION TAGS ── */
.section-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--blue); display: block; }
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.8vw, 44px);
  color: var(--navy); line-height: 1.1; margin-bottom: 16px;
}
.section-desc { font-size: 16px; color: var(--text-muted); line-height: 1.8; font-weight: 300; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue); color: var(--white);
  font-size: 14px; font-weight: 500; padding: 13px 30px;
  border-radius: 7px; text-decoration: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: #0058d6; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,106,255,0.35); }
.btn-ghost {
  color: var(--navy); font-size: 14px; font-weight: 400;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); padding: 12px 24px; border-radius: 7px;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost.light { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); }
.btn-ghost.light:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }

/* ── FOOTER ── */
footer { background: var(--navy-dark); border-top: 1px solid rgba(0,106,255,0.12); }
.footer-top {
  max-width: 1200px; margin: 0 auto; padding: 72px 56px 52px;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-logo svg { height: 26px; }
.footer-tagline { font-size: 13px; color: rgba(201,201,201,0.4); line-height: 1.75; margin-top: 16px; max-width: 240px; font-weight: 300; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: rgba(201,201,201,0.42); text-decoration: none; margin-bottom: 11px; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: rgba(201,201,201,0.9); }
.footer-divider { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.footer-divider hr { border: none; border-top: 1px solid rgba(0,106,255,0.1); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 22px 56px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: rgba(201,201,201,0.28); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(201,201,201,0.28); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(201,201,201,0.7); }

/* ── ANIMATIONS ── */
@keyframes fadeSlideUp { to { opacity: 1; transform: translateY(0); } }
.ph-eyebrow, .page-header h1, .ph-desc { transform: translateY(18px); }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .page-header { padding: 120px 24px 60px; }
  .ph-bracket-tl { left: 24px; }
  .tabs-bar { padding: 0 24px; overflow-x: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 48px 24px 32px; }
  .footer-bottom, .footer-divider { padding-left: 24px; padding-right: 24px; }
}
