/* ============================================================
   RightAdvise.com — Common Stylesheet
   styles.css — Shared across all pages
   ============================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --navy:       #0a1628;
  --navy-mid:   #122040;
  --navy-light: #1a3060;
  --gold:       #c9a227;
  --gold-light: #e8c547;
  --gold-pale:  #f5e199;
  --white:      #ffffff;
  --text-muted: #8a9bb5;
  --green:      #4ade80;
  --red:        #f87171;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; line-height: 1.6; }

/* ── DISCLAIMER BANNER ── */
.disc-banner {
  background: rgba(201,162,39,0.13);
  border-bottom: 1px solid rgba(201,162,39,0.3);
  padding: .55rem 2rem;
  text-align: center;
  font-size: .77rem;
  color: var(--gold-pale);
  line-height: 1.5;
  position: relative;
  z-index: 200;
}
.disc-banner strong { color: var(--gold); }
.disc-full { display: inline; }
.disc-short { display: none; }

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,39,.2);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}
.logo span { color: var(--white); }
nav ul { list-style: none; display: flex; gap: 2.2rem; flex-wrap: wrap; align-items: center; }
nav a { text-decoration: none; color: var(--text-muted); font-size: .93rem; font-weight: 500; transition: color .3s; }
nav a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: .45rem 1.1rem;
  border-radius: 4px;
  font-weight: 700 !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* ── DROPDOWNS ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: .3rem; cursor: pointer; }
.nav-dropdown > a::after { content: '▾'; font-size: .65rem; transition: transform .2s; }
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,22,40,.98);
  border: 1px solid rgba(201,162,39,.25);
  border-radius: 10px;
  padding: .75rem .5rem;
  min-width: 440px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
  backdrop-filter: blur(12px);
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding: .5rem 1rem .3rem;
  opacity: .7;
}
.dropdown-divider { border: none; border-top: 1px solid rgba(201,162,39,.12); margin: .4rem .5rem; }
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  transition: background .2s, color .2s;
  gap: .5rem;
  color: var(--white);
}
.dropdown-item:hover { background: rgba(201,162,39,.1); color: var(--gold); }
.di-badge {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: .15rem .5rem;
  border-radius: 10px;
  background: rgba(74,222,128,.12);
  color: var(--green);
  flex-shrink: 0;
}
.di-badge-new { background: var(--gold); color: var(--navy); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
  z-index: 1001;
  flex-shrink: 0;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
#mobileMenu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,14,26,.97);
  z-index: 1000;
  overflow-y: auto;
  padding: 1rem 1.5rem 2rem;
  flex-direction: column;
}
#mobileMenu.open { display: flex; }
.mob-menu-head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0 1.25rem; border-bottom: 1px solid rgba(201,162,39,.15); margin-bottom: .5rem; }
.mob-close { background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; padding: .25rem .5rem; line-height: 1; }
#mobileMenu a { display: block; padding: .85rem .25rem; font-size: 1rem; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.05); font-weight: 500; transition: color .2s; }
#mobileMenu a:hover { color: var(--gold); }
.mob-section-label { font-size: .65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); padding: .9rem .25rem .3rem; opacity: .7; }
.mob-fund-link { padding: .7rem .5rem .7rem 1rem !important; font-size: .9rem !important; color: var(--text-muted) !important; border-bottom: 1px solid rgba(255,255,255,.03) !important; }
.mob-badge-live { font-size: .62rem; font-weight: 700; background: rgba(74,222,128,.12); color: var(--green); padding: .15rem .45rem; border-radius: 8px; margin-left: .4rem; }
.mob-cta { background: var(--gold) !important; color: var(--navy) !important; text-align: center; border-radius: 6px; padding: .85rem !important; font-weight: 700; margin-top: .75rem; border-bottom: none !important; }

/* ── FOOTER ── */
footer {
  background: #060e1a;
  border-top: 1px solid rgba(201,162,39,.15);
  padding: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--gold); margin-bottom: 1rem; display: block; text-decoration: none; }
.footer-logo span { color: var(--white); }
.footer-about { font-size: .83rem; color: var(--text-muted); line-height: 1.7; }
.fcol h4 { font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.fcol ul { list-style: none; }
.fcol ul li { margin-bottom: .6rem; }
.fcol ul li a { font-size: .83rem; color: var(--text-muted); text-decoration: none; transition: color .3s; }
.fcol ul li a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.05); padding-top: 2rem; }
.footer-disc { font-size: .77rem; color: rgba(138,155,181,.55); line-height: 1.75; margin-bottom: 1rem; }
.footer-disc strong { color: rgba(201,162,39,.75); }
.footer-copy { font-size: .77rem; color: rgba(138,155,181,.35); }
.footer-copy a { color: rgba(201,162,39,.5); text-decoration: none; transition: color .2s; }
.footer-copy a:hover { color: var(--gold); }

/* ── SHARED SECTION STYLES ── */
section { padding: 5rem 4rem; }
.inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 800; line-height: 1.2; }
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { color: var(--text-muted); margin-top: 1rem; font-size: 1rem; line-height: 1.7; max-width: 580px; }
.section-header { margin-bottom: 3rem; }
.info-box { font-size: .82rem; color: var(--text-muted); padding: 1rem 1.2rem; background: rgba(201,162,39,.05); border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; line-height: 1.65; }
.info-box strong { color: var(--white); }

/* ── BUTTONS ── */
.btn-primary { background: var(--gold); color: var(--navy); padding: .85rem 2rem; border-radius: 4px; font-weight: 700; font-size: .95rem; cursor: pointer; border: none; text-decoration: none; transition: background .3s, transform .2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(201,162,39,.5); color: var(--gold); padding: .85rem 2rem; border-radius: 4px; font-weight: 600; font-size: .95rem; cursor: pointer; background: transparent; text-decoration: none; transition: border-color .3s, background .3s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); background: rgba(201,162,39,.07); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: .85rem 1.25rem; }
  nav ul { display: none !important; }
  .hamburger { display: flex; }
  section { padding: 3.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .disc-full { display: none; }
  .disc-short { display: inline; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  footer { padding: 3rem 1.5rem; }
}
