/* ============================================================
   Purple Badger Solutions — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --black:       #07060C;
  --grey-dark:   #444444;
  --deep:        #0D0B18;
  --purple-dark: #1A0B2E;
  --purple:      #58286F;
  --violet:      #7B35A0;
  --lilac:       #A855C8;
  --glow:        #B06AE0;
  --white:       #F5F3F8;
  --grey:        #9B96A8;
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --nav-h:       80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: linear-gradient(to right, #ffffff, #3e3346);
  transition: background 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(88, 40, 111, 0.25);
}

.nav__logo {
  height: 44px;
  width: auto;
  filter: brightness(1.1);
}

.nav__links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1 rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--glow);
  transition: width 0.3s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Hamburger (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── Page Wrapper ──────────────────────────────────────── */
.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-h);
  animation: fadeUp 0.6s ease forwards;
}

.page.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 6rem 8vw;
  max-width: 620px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 1 rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 2rem;
  border-left: 2px solid var(--violet);
  padding-left: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  margin-bottom: 0.2em;
}

.hero__title em {
  font-style: normal;
  color: var(--lilac);
  display: block;
}

.hero__sub {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.8;
  max-width: 440px;
  margin-top: 1.5rem;
  border-left: 2px solid rgba(88,40,111,0.5);
  padding-left: 1.25rem;
}

.hero__cta {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(168, 85, 200, 0.5);
  padding: 0.9rem 2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s;
  background: transparent;
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(88,40,111,0.4), rgba(168,85,200,0.2));
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.hero__cta:hover::before { transform: translateX(0); }
.hero__cta:hover { border-color: var(--glow); }

/* ── About Page ────────────────────────────────────────── */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 8vw 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(88,40,111,0.2);
}

.about-hero__content {
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.page-title em {
  font-style: normal;
  color: var(--lilac);
}

.page-subtitle {
  font-size: 1rem;
  color: var(--grey);
  max-width: 520px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 8vw;
}

.about-card {
  padding: 3rem;
  border: 1px solid rgba(88,40,111,0.15);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-card:hover { border-color: rgba(168,85,200,0.35); }
.about-card:hover::before { opacity: 1; }

.about-card__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(88,40,111,0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.about-card__title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.about-card__text {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.8;
}

.about-manifesto {
  padding: 6rem 8vw;
  text-align: center;
  background: linear-gradient(135deg, rgba(26,11,46,0.6), transparent);
  border-top: 1px solid rgba(88,40,111,0.15);
  border-bottom: 1px solid rgba(88,40,111,0.15);
  margin: 2rem 0;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.5;
  max-width: 780px;
  margin: 0 auto;
  color: var(--white);
}

.manifesto-quote em {
  font-style: italic;
  color: var(--lilac);
}

/* ── Contact Page ──────────────────────────────────────── */
.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid rgba(88,40,111,0.2);
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 8rem 0 6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 8vw;
  align-items: start;
}

.contact-info {
  padding-right: 5rem;
  border-right: 1px solid rgba(88,40,111,0.2);
}

.contact-info__item {
  margin-bottom: 3rem;
}

.contact-info__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 0.5rem;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.7;
}

.contact-info__value a {
  color: var(--glow);
  transition: opacity 0.2s;
}

.contact-info__value a:hover { opacity: 0.75; }

.contact-badger-note {
  padding-left: 5rem;
}

.badger-note__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.badger-note__title em {
  font-style: italic;
  color: var(--lilac);
}

.badger-note__text {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.badger-note__text strong {
  color: var(--white);
  font-weight: 500;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(88,40,111,0.5);
  color: var(--lilac);
  margin-top: 0.5rem;
}

.privacy-link {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-link a {
  color: var(--grey);
  border-bottom: 1px solid rgba(155,150,168,0.3);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.privacy-link a:hover {
  color: var(--white);
  border-color: var(--glow);
}

/* ── Privacy Page ──────────────────────────────────────── */
.privacy-hero {
  display: flex;
  align-items: flex-start;
  padding: 2.5rem 8vw 2rem;
  border-bottom: 1px solid rgba(88,40,111,0.2);
}

#page-privacy .hero__canvas {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100vw;
  height: calc(100vh - var(--nav-h));
  z-index: 0;
}

.privacy-hero__content {
  position: relative;
  z-index: 1;
}

.privacy-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 8vw 5rem;
  background: rgba(7, 6, 12, 0.82);
}

.privacy-meta {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(88,40,111,0.2);
}

.privacy-section {
  margin-bottom: 3rem;
}

.privacy-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(88,40,111,0.15);
}

.privacy-section p {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.privacy-section p a {
  color: var(--glow);
  border-bottom: 1px solid rgba(176,106,224,0.3);
  transition: border-color 0.2s;
}

.privacy-section p a:hover { border-color: var(--glow); }

.privacy-address {
  background: rgba(26,11,46,0.5);
  border: 1px solid rgba(88,40,111,0.2);
  padding: 1.5rem 2rem;
  margin: 1rem 0;
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.9;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: linear-gradient(to bottom, #444444, #707070);
  border-top: 1px solid rgba(88,40,111,0.2);
  padding: 3rem 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer__logo {
  height: 28px;
  opacity: 0.5;
  filter: brightness(1.2);
  transition: opacity 0.3s;
}

.footer__logo:hover { opacity: 0.85; }

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s;
  cursor: pointer;
}

.footer__links a:hover { color: var(--white); }

.footer__copy {
  font-size: 0.72rem;
  color: rgba(155,150,168,0.5);
  letter-spacing: 0.05em;
}

/* ── Divider ───────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 1px;
  background: var(--violet);
  margin: 1.5rem 0;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(88,40,111,0.2);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
  }

  .contact-badger-note {
    padding-left: 0;
  }

  .about-card {
    padding: 2rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(7,6,12,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }

  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1rem; }

  .nav__toggle { display: flex; }

  .hero__content { padding: 4rem 6vw; }

  .about-hero,
  .contact-hero,
  .privacy-hero {
    padding: 5rem 6vw 3rem;
  }

  .about-grid,
  .contact-layout,
  .privacy-content {
    padding: 3rem 6vw;
  }
}
