/* ============================================
   Cyber Knowledge Partners — Site Styles
   Shared across all pages
   ============================================ */

:root {
  --navy: #0A1E3A;
  --navy-deep: #05122A;
  --navy-mid: #1A2E52;
  --teal: #0891B2;
  --teal-bright: #06B6D4;
  --gold: #D4A847;
  --gold-warm: #E9B949;
  --bone: #FAF8F3;
  --cream: #F5F1E8;
  --paper: #FFFFFF;
  --gray-100: #E5E7EB;
  --gray-200: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.serif { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.015em; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 30, 58, 0.08);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 40px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo-img { height: 58px; width: auto; display: block; }
.footer .brand-logo-img { height: 72px; }
@media (max-width: 640px) {
  .brand-logo-img { height: 46px; }
  .footer .brand-logo-img { height: 56px; }
}

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links > a { font-size: 14px; font-weight: 500; color: var(--gray-700); transition: color 0.15s; }
.nav-links > a:hover, .nav-links > a.active { color: var(--teal); }
.nav-cta {
  padding: 10px 22px;
  background: var(--gold-warm, #D4A847);
  color: var(--navy) !important;
  border-radius: 4px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.03em;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(212, 168, 71, 0.25);
}
.nav-cta:hover {
  background: var(--navy);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 30, 58, 0.2);
}

/* ============ PAGE HERO (for inner pages) ============ */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--bone);
  padding: 160px 40px 90px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212,168,71,0.08), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(8,145,178,0.12), transparent 50%);
}
.page-hero-inner {
  position: relative;
  max-width: 1000px; margin: 0 auto;
  text-align: center;
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero .eyebrow::before, .page-hero .eyebrow::after {
  content: ""; width: 40px; height: 1px; background: var(--gold);
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: 54px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.page-hero h1 em { color: var(--gold); font-style: italic; font-weight: 400; }
.page-hero-sub {
  font-size: 18px; line-height: 1.65;
  color: rgba(250,248,243,0.8);
  max-width: 680px; margin: 0 auto;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  transition: all 0.2s; border: none; cursor: pointer; font-family: inherit;
}
.btn-primary:hover { background: var(--gold-warm); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,71,0.3); color: var(--navy); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: transparent; color: var(--bone);
  border: 1px solid rgba(250,248,243,0.3);
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--bone); background: rgba(255,255,255,0.06); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  background: var(--navy); color: var(--bone);
  font-weight: 600; font-size: 14px;
  transition: all 0.2s; border: none; cursor: pointer; font-family: inherit;
}
.btn-dark:hover { background: var(--teal); transform: translateY(-1px); color: white; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  background: transparent; color: var(--navy);
  border: 1px solid var(--navy);
  font-weight: 600; font-size: 14px;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--bone); }

/* ============ SECTIONS ============ */
.section { padding: 100px 40px; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--navy); color: var(--bone); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--teal); text-transform: uppercase;
  margin-bottom: 16px;
}
.section.dark .section-eyebrow { color: var(--gold); }
.section-title {
  font-family: 'Fraunces', serif;
  font-size: 46px; font-weight: 500;
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--navy);
}
.section.dark .section-title { color: var(--bone); }
.section-title em { font-style: italic; color: var(--teal); font-weight: 400; }
.section.dark .section-title em { color: var(--gold); }
.section-sub {
  font-size: 18px; line-height: 1.65;
  color: var(--gray-600); max-width: 640px;
  margin-bottom: 56px;
}
.section.dark .section-sub { color: rgba(250,248,243,0.75); }
.section-header-centered { text-align: center; }
.section-header-centered .section-sub { margin-left: auto; margin-right: auto; }

/* ============ NEWSLETTER STRIP ============ */
.newsletter-strip {
  background: var(--cream);
  padding: 80px 40px;
  text-align: center;
}
.newsletter-strip-inner { max-width: 620px; margin: 0 auto; }
.newsletter-strip .section-title { font-size: 38px; margin-bottom: 14px; }
.newsletter-strip .section-sub { font-size: 16px; margin-bottom: 28px; text-align: center; max-width: 520px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex; gap: 8px; max-width: 480px; margin: 0 auto;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 30px -10px rgba(10, 30, 58, 0.1);
}
.newsletter-input {
  flex: 1; padding: 14px 18px;
  border: none; outline: none;
  font-size: 15px; color: var(--navy);
  font-family: inherit; background: transparent;
}
.newsletter-input::placeholder { color: var(--gray-400); }
.newsletter-btn {
  padding: 14px 26px;
  background: var(--navy); color: var(--bone);
  border: none; cursor: pointer;
  font-family: inherit;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  transition: all 0.2s;
}
.newsletter-btn:hover { background: var(--teal); }
.newsletter-fine { margin-top: 14px; font-size: 12px; color: var(--gray-500); }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
  padding: 80px 40px;
  text-align: center; color: var(--bone);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,168,71,0.08), transparent 60%);
}
.cta-band-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-band h2 {
  font-family: 'Fraunces', serif;
  font-size: 42px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cta-band h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.cta-band p {
  font-size: 17px; color: rgba(250,248,243,0.8);
  margin-bottom: 32px; max-width: 560px;
  margin-left: auto; margin-right: auto; line-height: 1.65;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: rgba(250,248,243,0.7);
  padding: 70px 40px 32px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .brand-name { color: var(--bone); font-size: 17px; }
.footer-brand .brand-tagline { color: var(--gold); }
.footer-about { font-size: 14px; line-height: 1.7; color: rgba(250,248,243,0.6); max-width: 320px; margin-top: 18px; }
.footer-contact { margin-top: 20px; font-size: 13px; color: rgba(250,248,243,0.6); line-height: 1.8; }
.footer-contact a { color: rgba(250,248,243,0.75); }
.footer-contact a:hover { color: var(--gold); }
.footer-col-title { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; color: rgba(250,248,243,0.7); transition: color 0.15s; }
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  max-width: 1280px; margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(250,248,243,0.45);
}

/* ============ CARDS ============ */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card {
  background: var(--paper);
  border: 1px solid var(--gray-100);
  padding: 36px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; height: 2px;
  background: var(--teal);
  transition: width 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(10, 30, 58, 0.15);
  border-color: var(--teal);
}
.card:hover::before { width: 100%; }
.card-number {
  font-family: 'Fraunces', serif;
  font-size: 13px; font-weight: 600;
  color: var(--teal); letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.card h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 500;
  line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 14px; color: var(--navy);
}
.card p { font-size: 15px; line-height: 1.7; color: var(--gray-600); margin-bottom: 20px; }
.card-link {
  font-size: 13px; font-weight: 700;
  color: var(--navy); letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.card:hover .card-link { gap: 12px; color: var(--teal); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-inner { padding: 14px 20px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .brand-tagline { display: none; }
  .page-hero { padding: 120px 20px 70px; }
  .page-hero h1 { font-size: 36px; }
  .section { padding: 60px 20px; }
  .section-title, .cta-band h2, .newsletter-strip .section-title { font-size: 30px; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; padding: 10px; }
  .newsletter-btn { width: 100%; padding: 14px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
