/* ===== A+ Nexus — SHARED STYLESHEET v14 ===== */



:root {
  --navy: #0f1f3d;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #fdf8f0;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --border: #e5e0d5;
  --text: #1a2332;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15,31,61,0.10);
  --shadow-lg: 0 12px 48px rgba(15,31,61,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,253,248,0.98);
  backdrop-filter: blur(12px);
  z-index: 100;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
  border-bottom: 2px solid rgba(201,168,76,0.35);
  box-shadow: 0 2px 24px rgba(15,31,61,0.10);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo img {
  height: 78px;
  width: auto;
  display: block;
  filter: none;
  transition: transform 0.2s;
}
.nav-logo img:hover { transform: scale(1.03); }
.nav-logo span { display: none; }

.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* FIX: CTA renamed + subtle pulse animation */
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  animation: pulse-nav 3.5s ease-in-out infinite;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  animation: none;
}
@keyframes pulse-nav {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
  50%      { box-shadow: 0 0 0 7px rgba(201,168,76,0.18); }
}

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: #1a2f55; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== SECTION BASICS ===== */
.section { padding: 90px 5%; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== TRUST BAR (NEW) ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 5%;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.trust-bar-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.trust-bar-item::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}
.trust-bar-divider {
  width: 1px; height: 18px;
  background: var(--border);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 5% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}
.footer-brand .nav-logo { font-size: 1.6rem; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}

/* ===== DIVIDER ===== */
.gold-rule {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1rem 0 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* FIX: Reduced nav height on mobile */
  nav {
    height: 64px;
    padding: 0 4%;
  }
  .nav-logo img { height: 44px; }

  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 5%;
    border-top: 1px solid rgba(201,168,76,0.2);
    z-index: 99;
  }
  .nav-links.open a { color: rgba(255,255,255,0.85); }
  .nav-links.open a.nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    animation: none;
    margin-top: 0.25rem;
  }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .trust-bar { gap: 0.85rem; padding: 14px 4%; }
  .trust-bar-divider { display: none; }
  .trust-bar-item { font-size: 0.78rem; }
}

/* ===== PAGE ENTRY ANIMATION ===== */
/* FIX: Animations start paused; JS IntersectionObserver triggers them */
.fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
  animation-play-state: paused;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }
