/* ===========================
   ROOT VARIABLES
=========================== */
:root {
  --accent: #a8ff3e;
  --accent-dark: #85d926;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --header-bg: rgba(10, 10, 10, 0.45);
  --header-border: rgba(255, 255, 255, 0.1);
  --header-blur: blur(18px);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --card-bg: #111111;
  --card-border: rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #0a0a0a;
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 17px;
}

a { text-decoration: none; color: inherit; }
.accent { color: var(--accent); }

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  border-radius: 999px;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10,10,10,0.75);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 24px;
  gap: 16px;
  height: 64px;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 67px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 999px;
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--transition), transform var(--transition);
}

.nav__link:hover { color: var(--text-light); }
.nav__link:hover::before { opacity: 1; transform: scale(1); }
.nav__link.active { color: var(--text-light); }
.nav__link.active::before { opacity: 1; transform: scale(1); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header__btn {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--accent);
  padding: 9px 22px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.header__btn:hover::before { left: 140%; }
.header__btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(168,255,62,0.35);
}
.header__btn:active { transform: translateY(0px); }

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav hidden by default — collapsed, NOT displayed:none so transition works */
/* Mobile nav — fully invisible when closed */
.header__mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;                         /* ← ALL padding zeroed, not just vertical */
  border-top: 1px solid transparent;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;                 /* ← prevents it painting any box at all */
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              padding 0.35s ease,
              visibility 0s linear 0.4s,   /* ← delays hide until after collapse */
              border-color 0.35s ease;
}

.header__mobile-nav.open {
  max-height: 400px;
  opacity: 1;
  visibility: visible;                /* ← instantly visible when opening */
  padding: 12px 20px 20px;
  border-top-color: var(--header-border);
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              padding 0.35s ease,
              visibility 0s linear 0s,     /* ← no delay when opening */
              border-color 0.35s ease;
}

/* ── 768px breakpoint ── */
@media (max-width: 768px) {
  .header {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: 20px;      /* pill → rounded rect on mobile */
  }

  /* When menu is closed, collapse to pill shape */
  .header:not(.menu-open) {
    border-radius: 999px;     /* stays pill while closed */
  }

  .header__inner {
    height: 52px;             /* ← tighter row height on mobile */
    padding: 0 14px;          /* ← less side padding */
  }

  .header__logo img {
    height: 48px;             /* ← scale logo down so it fits 52px row */
  }

  .header__nav { display: none; }
  .header__btn:not(.mobile-btn) { display: none; }
  .header__hamburger { display: flex; }

  .header.menu-open {
    border-radius: 20px;
  }
}

/* ── 480px breakpoint ── */
@media (max-width: 480px) {
  .header__inner {
    padding: 0 12px;
    height: 48px;             /* even tighter on small phones */
  }

  .header__logo img {
    height: 42px;
  }
}

/* ===========================
   HERO SECTION
=========================== */
.pp-hero {
  width: 100%;
  padding: 170px 24px 90px;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Radial glow background */
.pp-hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(168,255,62,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.pp-hero__inner {
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.pp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(168,255,62,0.08);
  border: 1px solid rgba(168,255,62,0.25);
  border-radius: 999px;
  padding: 6px 18px;
}

.pp-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-light);
}

.pp-hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
}

.pp-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.pp-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 6px 16px;
}

.pp-meta-chip i { color: var(--accent); }

@media (max-width: 768px) {
  .pp-hero { padding: 140px 20px 70px; }
}

/* ===========================
   MAIN LAYOUT (sidebar + content)
=========================== */
.pp-main {
  width: 100%;
  background: #0a0a0a;
  padding: 80px 0 60px;
}

.pp-main__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

/* ===========================
   TABLE OF CONTENTS (Sidebar)
=========================== */
.pp-toc {
  position: sticky;
  top: 100px;
}

.pp-toc__card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
}

.pp-toc__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pp-toc__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}

.pp-toc__link span {
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(168,255,62,0.45);
  min-width: 22px;
}

.pp-toc__link:hover {
  color: var(--text-light);
  background: rgba(255,255,255,0.05);
}

.pp-toc__link.active-toc {
  color: var(--accent);
  background: rgba(168,255,62,0.08);
}

/* ===========================
   CONTENT AREA
=========================== */
.pp-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Intro paragraph */
.pp-intro {
  background: rgba(168,255,62,0.05);
  border: 1px solid rgba(168,255,62,0.15);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 12px;
}

.pp-intro p {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.9;
}

.pp-intro strong { font-weight: 800; }

/* ===========================
   POLICY SECTION
=========================== */
.pp-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  scroll-margin-top: 100px;
}

.pp-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pp-section:hover { border-color: rgba(168,255,62,0.2); }
.pp-section:hover::after { opacity: 1; }

/* Section header row */
.pp-section__header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pp-section__icon-wrap {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(168,255,62,0.08);
  border: 1px solid rgba(168,255,62,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  transition: background 0.35s ease, transform 0.35s ease;
}

.pp-section:hover .pp-section__icon-wrap {
  background: rgba(168,255,62,0.15);
  transform: scale(1.06) rotate(-3deg);
}

.pp-section__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(168,255,62,0.4);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pp-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.2;
}

/* Subsection within a section */
.pp-subsection {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pp-subsection__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pp-subsection__title i {
  color: var(--accent);
  font-size: 0.95rem;
}

/* Body text */
.pp-text {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.9;
}

/* List */
.pp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.pp-list li i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Note box */
.pp-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.pp-note i { color: rgba(255,255,255,0.4); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.pp-note--green {
  background: rgba(168,255,62,0.06);
  border-color: rgba(168,255,62,0.2);
}

.pp-note--green i { color: var(--accent); }

/* Highlight box (no-sell promise) */
.pp-highlight-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(168,255,62,0.07);
  border: 1px solid rgba(168,255,62,0.25);
  border-radius: 14px;
  padding: 20px 24px;
}

.pp-highlight-box i {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.pp-highlight-box p {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.6;
}

/* Security grid */
.pp-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pp-security-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.pp-security-item:hover {
  background: rgba(168,255,62,0.07);
  border-color: rgba(168,255,62,0.25);
  transform: translateY(-4px);
}

.pp-security-item i {
  font-size: 1.5rem;
  color: var(--accent);
}

.pp-security-item span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Contact card */
.pp-contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pp-contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.pp-contact-row:hover { background: rgba(255,255,255,0.04); }

.pp-contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(168,255,62,0.08);
  border: 1px solid rgba(168,255,62,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.pp-contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 3px;
}

.pp-contact-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.3s ease;
}

.pp-contact-value:hover { color: var(--accent-dark); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
  .pp-main__inner { padding: 0 40px; gap: 40px; }
  .pp-security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .pp-main__inner {
    grid-template-columns: 1fr;
    padding: 0 28px;
  }
  .pp-toc { position: static; }
  .pp-toc__card { padding: 20px; }
  .pp-toc__list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .pp-toc__link { padding: 6px 10px; font-size: 0.8rem; }
  .pp-section { padding: 32px 28px; }
}

@media (max-width: 640px) {
  .pp-main { padding: 50px 0 40px; }
  .pp-main__inner { padding: 0 16px; gap: 24px; }
  .pp-section { padding: 26px 20px; border-radius: 18px; }
  .pp-section__title { font-size: 1.2rem; }
  .pp-section__icon-wrap { width: 44px; height: 44px; font-size: 1.1rem; }
  .pp-security-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pp-subsection { padding: 18px 16px; }
  .pp-intro { padding: 20px 20px; }
  .pp-highlight-box { padding: 16px 18px; }
}

@media (max-width: 400px) {
  .pp-security-grid { grid-template-columns: 1fr 1fr; }
  .pp-hero__title { font-size: 2.5rem; }
}
/* ===========================
   FOOTER SECTION
=========================== */
.footer {
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
}

.footer__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 60px 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Brand / Logo Column */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__logo {
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}

.footer__logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition);
}

.footer__logo:hover img {
  opacity: 0.85;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 360px;
}

/* Link Columns */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 14px;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Footer links — same hover animation as nav links */
.footer__link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 999px;
  position: relative;
  letter-spacing: 0.01em;
  display: inline-block;
  margin-left: -16px;
  transition: color var(--transition), background var(--transition);
}

/* Pill background on hover (mirrors nav__link::before) */
.footer__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--transition), transform var(--transition);
}

.footer__link:hover {
  color: var(--text-light);
}

.footer__link:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Accent underline dot (mirrors nav__link::after) */
.footer__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform var(--transition);
}

.footer__link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Bottom Bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 60px;
  max-width: 100%;
}

.footer__copy {
  max-width: 1300px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}

/* ===========================
   FOOTER — Responsive
=========================== */
@media (max-width: 1024px) {
  .footer__inner {
    padding: 70px 40px 50px;
    gap: 48px;
  }

  .footer__bottom {
    padding: 22px 40px;
  }
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    padding: 60px 24px 48px;
    gap: 48px 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__logo img {
    height: 90px;
  }

  .footer__tagline {
    font-size: 1rem;
    max-width: 100%;
  }

  .footer__bottom {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 40px;
  }

  .footer__logo img {
    height: 76px;
  }

  .footer__col-title {
    font-size: 1.05rem;
  }

  .footer__link {
    font-size: 0.95rem;
  }

  .footer__tagline {
    font-size: 0.95rem;
  }

  .footer__bottom {
    padding: 18px 20px;
  }

  .footer__copy {
    font-size: 0.82rem;
  }
}