/* ================================================
   Nia Nocturne — Website Stylesheet
   Palette: near-black, grays, white, Gengar purple
   Fonts: Cinzel (display) + Inter (body)
   ================================================ */

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

:root {
  --black:        #0d0d0d;
  --near-black:   #141414;
  --card-bg:      #1c1c1c;
  --mid-gray:     #666666;
  --light-gray:   #aaaaaa;
  --near-white:   #f0eeeb;
  --purple:       #7B52AB;
  --purple-light: #9B72CB;
  --purple-dark:  #3D2B6B;
  --purple-glow:  rgba(123, 82, 171, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--near-white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
.nia-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2.5rem;
  border-bottom: 0.5px solid rgba(123, 82, 171, 0.2);
  position: sticky;
  top: 0;
  background: var(--black);
  z-index: 100;
}

.nia-logo {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--near-white);
  text-transform: uppercase;
}

.nia-logo span {
  color: var(--purple-light);
}

.nia-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nia-nav-links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nia-nav-links a:hover {
  color: var(--purple-light);
}

/* ── HERO ── */
.nia-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 4rem 2.5rem 5rem;
  overflow: hidden;
}

.nia-hero-sigil {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  opacity: 0.1;
  pointer-events: none;
}

.nia-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.nia-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nia-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--purple);
  flex-shrink: 0;
}

.nia-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--near-white);
  margin-bottom: 1.4rem;
}

.nia-hero h1 em {
  font-style: normal;
  color: var(--purple-light);
}

.nia-hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--light-gray);
  max-width: 480px;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.nia-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── BUTTONS ── */
.nia-btn-primary {
  display: inline-block;
  background: var(--purple);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nia-btn-primary:hover {
  background: var(--purple-light);
}

.nia-btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--near-white);
  border: 0.5px solid rgba(240, 238, 235, 0.3);
  padding: 0.75rem 1.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nia-btn-ghost:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
}

/* ── MISSION ── */
.nia-mission {
  padding: 5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.nia-mission-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.nia-mission h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--near-white);
  margin-bottom: 1.5rem;
}

.nia-mission p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--light-gray);
  font-weight: 300;
  margin-bottom: 1rem;
}

.nia-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(123, 82, 171, 0.2);
  border: 0.5px solid rgba(123, 82, 171, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.nia-stat {
  background: var(--near-black);
  padding: 1.8rem 1.5rem;
  text-align: center;
}

.nia-stat-num {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--purple-light);
  margin-bottom: 0.3rem;
}

.nia-stat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  font-weight: 500;
}

/* ── WHAT I DO ── */
.nia-what {
  padding: 5rem 2.5rem;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.nia-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.nia-section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.nia-section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--near-white);
}

.nia-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.nia-card {
  background: var(--near-black);
  padding: 2rem 1.6rem;
  transition: background 0.2s ease;
}

.nia-card:hover {
  background: var(--card-bg);
}

.nia-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-glow);
  border: 0.5px solid rgba(123, 82, 171, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 18px;
  color: var(--purple-light);
}

.nia-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--near-white);
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.nia-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--light-gray);
  font-weight: 300;
}

/* ── FEATURED CONTENT ── */
.nia-featured {
  padding: 5rem 2.5rem;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.nia-featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nia-featured-main {
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
}

.nia-featured-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--purple-dark) 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--purple-light);
  opacity: 0.7;
  position: relative;
}

.nia-featured-thumb-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--purple);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}

.nia-featured-body {
  padding: 1.4rem 1.5rem;
}

.nia-featured-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--near-white);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.nia-featured-body p {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.7;
  font-weight: 300;
}

.nia-featured-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nia-mini-card {
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s ease;
}

.nia-mini-card:hover {
  border-color: rgba(123, 82, 171, 0.4);
}

.nia-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple-glow);
  border: 0.5px solid rgba(123, 82, 171, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: var(--purple-light);
}

.nia-mini-card h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--near-white);
  margin-bottom: 0.25rem;
}

.nia-mini-card p {
  font-size: 12px;
  color: var(--mid-gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ── COMMUNITY CTA ── */
.nia-community {
  padding: 5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nia-community-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(61, 43, 107, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.nia-community-content {
  position: relative;
  z-index: 2;
}

.nia-community h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--near-white);
  max-width: 520px;
  margin: 0.8rem auto 1.2rem;
  line-height: 1.2;
}

.nia-community p {
  font-size: 14px;
  color: var(--light-gray);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

.nia-social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.nia-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  color: var(--light-gray);
  padding: 0.6rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nia-social-btn:hover {
  border-color: var(--purple);
  color: var(--near-white);
}

.nia-social-btn i {
  font-size: 16px;
}

/* ── FOOTER ── */
.nia-footer {
  padding: 2rem 2.5rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nia-footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--light-gray);
  letter-spacing: 0.14em;
}

.nia-footer-logo span {
  color: var(--purple-light);
}

.nia-footer-copy {
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 0.06em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nia-nav-links {
    display: none;
  }

  .nia-hero {
    padding: 3rem 1.5rem 4rem;
  }

  .nia-hero-sigil {
    width: 300px;
    height: 300px;
    right: -80px;
    opacity: 0.07;
  }

  .nia-mission {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }

  .nia-what,
  .nia-featured,
  .nia-community {
    padding: 3rem 1.5rem;
  }

  .nia-cards {
    grid-template-columns: 1fr;
  }

  .nia-featured-grid {
    grid-template-columns: 1fr;
  }

  .nia-footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}
