/* ===== WAYS2RAISE SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --pink:   #E91E8C;
  --blue:   #00AEEF;
  --green:  #8DC63F;
  --navy:   #1A1464;
  --yellow: #FFD700;
  --purple: #7B2FBE;
  --orange: #FF6B35;
  --white:  #FFFFFF;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: var(--navy);
}

/* ===== NAVIGATION ===== */
.main-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(26,20,100,0.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--yellow); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(26,20,100,0.18);
  padding: 12px 0;
  min-width: 220px;
  list-style: none;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s;
}
.dropdown-menu li a:hover { background: #f0f4ff; color: var(--pink); }

.nav-ctas {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-login {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.nav-login:hover { border-color: #fff; color: #fff; }
.nav-signup {
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(233,30,140,0.35);
}
.nav-signup:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,30,140,0.45); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  margin-left: auto;
}

/* ===== SHARED PAGE HEADER ===== */
.page-hero {
  padding: 70px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .pill {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero h1 span { color: var(--yellow); }
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SHARED FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 32px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
}
.footer-brand .logo span { color: var(--yellow); }
.footer-brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }

/* ===== SHARED SECTION STYLES ===== */
.section-label {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-label.pink { background: #fce4f3; color: var(--pink); }
.section-label.blue { background: #e0f4fd; color: var(--blue); }
.section-label.green { background: #edf7d6; color: #5a8a00; }
.section-label.navy { background: #e8e7f5; color: var(--navy); }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  max-width: 600px;
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 16px 24px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-ctas { display: none; }
  .nav-inner { position: relative; }
  .dropdown-menu { position: static; box-shadow: none; background: rgba(255,255,255,0.08); border-radius: 8px; margin-top: 4px; }
  .dropdown-menu li a { color: rgba(255,255,255,0.8); }
  .nav-links.open .nav-ctas-mobile { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── BACK TO TOP BUTTON ─────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e8c, #7b2fbe);
  color: #fff;
  border: 3px solid #fff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(123,47,190,0.55), 0 2px 8px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#backToTop.btt-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover {
  background: linear-gradient(135deg, #7b2fbe, #e91e8c);
  box-shadow: 0 10px 32px rgba(233,30,140,0.6), 0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}
@media (max-width: 768px) {
  #backToTop {
    bottom: 20px;
    right: 16px;
    width: 58px;
    height: 58px;
    font-size: 1.8rem;
  }
}
