/* ============================================
   PEMIHA - style.css
   Frosted Glass Design System
   Prefix: pi-
============================================ */


:root {
  --pi-base-warm: oklch(62% 0.12 55);
  --pi-base-deep: oklch(22% 0.06 260);
  --pi-base-accent: oklch(70% 0.14 200);

  --pi-primary: color-mix(in oklch, var(--pi-base-warm), oklch(55% 0.15 50) 40%);
  --pi-primary-light: color-mix(in oklch, var(--pi-primary), white 35%);
  --pi-primary-lighter: color-mix(in oklch, var(--pi-primary), white 65%);
  --pi-primary-dark: color-mix(in oklch, var(--pi-primary), black 25%);

  --pi-secondary: color-mix(in oklch, var(--pi-base-deep), var(--pi-base-warm) 15%);
  --pi-secondary-light: color-mix(in oklch, var(--pi-secondary), white 30%);
  --pi-secondary-lighter: color-mix(in oklch, var(--pi-secondary), white 80%);

  --pi-accent: color-mix(in oklch, var(--pi-base-accent), var(--pi-base-warm) 30%);
  --pi-accent-light: color-mix(in oklch, var(--pi-accent), white 40%);

  --pi-surface: color-mix(in oklch, white, var(--pi-primary) 4%);
  --pi-surface-warm: color-mix(in oklch, white, var(--pi-primary) 8%);
  --pi-surface-glass: rgba(255, 252, 248, 0.18);
  --pi-surface-glass-strong: rgba(255, 252, 248, 0.28);
  --pi-surface-glass-dark: rgba(20, 18, 30, 0.45);

  --pi-text-dark: color-mix(in oklch, var(--pi-secondary), black 10%);
  --pi-text-body: color-mix(in oklch, var(--pi-secondary), white 20%);
  --pi-text-muted: color-mix(in oklch, var(--pi-secondary), white 45%);
  --pi-text-light: color-mix(in oklch, white, var(--pi-primary-lighter) 20%);
  --pi-text-light-muted: rgba(255, 252, 248, 0.72);

  --pi-border-light: rgba(255, 255, 255, 0.15);
  --pi-border-warm: rgba(255, 255, 255, 0.22);
  --pi-border-subtle: color-mix(in oklch, var(--pi-primary), white 75%);

  --pi-shadow-sm: 0 2px 8px rgba(40, 30, 20, 0.08), 0 1px 3px rgba(40, 30, 20, 0.05);
  --pi-shadow-md: 0 8px 24px rgba(40, 30, 20, 0.12), 0 3px 8px rgba(40, 30, 20, 0.07);
  --pi-shadow-lg: 0 20px 50px rgba(40, 30, 20, 0.16), 0 8px 20px rgba(40, 30, 20, 0.10);
  --pi-shadow-glass: 0 8px 32px rgba(40, 30, 20, 0.2), 0 2px 8px rgba(40, 30, 20, 0.1), inset 0 1px 0 rgba(255,255,255,0.25);
  --pi-shadow-glass-hover: 0 16px 48px rgba(40, 30, 20, 0.28), 0 4px 12px rgba(40, 30, 20, 0.15), inset 0 1px 0 rgba(255,255,255,0.3);

  --pi-radius-sm: 8px;
  --pi-radius-md: 14px;
  --pi-radius-lg: 20px;
  --pi-radius-xl: 28px;
  --pi-radius-pill: 100px;

  --pi-space-xs: 0.5rem;
  --pi-space-sm: 1rem;
  --pi-space-md: 1.5rem;
  --pi-space-lg: 2.5rem;
  --pi-space-xl: 4rem;
  --pi-space-2xl: 6rem;
  --pi-space-3xl: 8rem;

  --pi-header-h: 72px;
  --pi-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --pi-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


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

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

body {
  font-family: 'Albert Sans', sans-serif;
  background-color: var(--pi-surface);
  color: var(--pi-text-body);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--pi-transition); }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


h1, h2, h3, h4, h5 {
  font-family: 'Albert Sans', sans-serif;
  color: var(--pi-text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1em; line-height: 1.75; }
p:last-child { margin-bottom: 0; }

.pi-section-title { margin-bottom: var(--pi-space-md); }
.pi-title-light { color: var(--pi-text-light); }

.pi-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pi-text-light-muted);
  margin-bottom: var(--pi-space-xs);
  padding: 4px 12px;
  border-radius: var(--pi-radius-pill);
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--pi-border-light);
}

.pi-eyebrow-dark {
  color: var(--pi-primary-dark);
  background: color-mix(in oklch, var(--pi-primary), white 85%);
  border-color: var(--pi-border-subtle);
}

.pi-section-desc {
  font-size: 1.05rem;
  color: var(--pi-text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pi-desc-light { color: var(--pi-text-light-muted); }

.pi-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--pi-primary);
  transition: gap var(--pi-transition), color var(--pi-transition);
}
.pi-link-arrow:hover { gap: 0.9rem; color: var(--pi-primary-dark); }


.pi-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pi-space-md);
}


.pi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border-radius: var(--pi-radius-pill);
  font-family: 'Albert Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--pi-transition);
  cursor: pointer;
  min-height: 48px;
  text-decoration: none;
  white-space: nowrap;
}

.pi-btn-primary {
  background: var(--pi-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(180,120,60,0.3), 0 2px 6px rgba(180,120,60,0.2);
}
.pi-btn-primary:hover {
  background: var(--pi-primary-dark);
  box-shadow: 0 8px 24px rgba(180,120,60,0.4), 0 4px 10px rgba(180,120,60,0.25);
  transform: translateY(-2px);
  color: white;
}

.pi-btn-secondary {
  background: var(--pi-secondary);
  color: white;
  box-shadow: var(--pi-shadow-md);
}
.pi-btn-secondary:hover {
  background: var(--pi-secondary-light);
  transform: translateY(-2px);
  color: white;
}

.pi-btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.pi-btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  color: white;
  transform: translateY(-2px);
}

.pi-btn-ghost-dark {
  background: transparent;
  color: var(--pi-text-body);
  border: 1.5px solid var(--pi-border-subtle);
}
.pi-btn-ghost-dark:hover {
  background: var(--pi-surface-warm);
  color: var(--pi-primary);
  border-color: var(--pi-primary);
}

.pi-btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.pi-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
}

.pi-btn-full { width: 100%; }


.pi-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--pi-header-h);
  transition: background var(--pi-transition), box-shadow var(--pi-transition);
  background: transparent;
}

.pi-header.pi-header-solid {
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--pi-shadow-sm);
}

.pi-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--pi-space-md);
  max-width: 100%;
}


.pi-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity var(--pi-transition);
}
.pi-logo:hover { opacity: 0.85; }

.pi-logo-img { width: 36px; height: 36px; flex-shrink: 0; }
.pi-logo-light { filter: brightness(0) invert(1); }

.pi-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  transition: color var(--pi-transition);
}

.pi-header-solid .pi-logo-text { color: var(--pi-text-dark); }
.pi-logo-text-light { color: white; }


.pi-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: var(--pi-radius-sm);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  transition: background var(--pi-transition);
  z-index: 910;
}
.pi-hamburger:hover { background: rgba(255,255,255,0.12); }
.pi-header-solid .pi-hamburger:hover { background: var(--pi-surface-warm); }

.pi-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--pi-transition);
}
.pi-header-solid .pi-hamburger span { background: var(--pi-text-dark); }

.pi-hamburger.pi-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pi-hamburger.pi-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pi-hamburger.pi-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.pi-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 30, 0.55);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--pi-transition-slow);
  backdrop-filter: blur(4px);
}
.pi-drawer-overlay.pi-open { opacity: 1; pointer-events: all; }

.pi-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: color-mix(in oklch, var(--pi-secondary), white 6%);
  z-index: 960;
  transform: translateX(-100%);
  transition: transform var(--pi-transition-slow);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 40px rgba(0,0,0,0.3);
}
.pi-drawer.pi-open { transform: translateX(0); }

.pi-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--pi-space-md) var(--pi-space-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.pi-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: var(--pi-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: background var(--pi-transition);
}
.pi-drawer-close:hover { background: rgba(255,255,255,0.12); }

.pi-drawer-nav {
  padding: var(--pi-space-md) 0;
  flex: 1;
}

.pi-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px var(--pi-space-md);
  color: var(--pi-text-light-muted);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--pi-transition);
  border-left: 3px solid transparent;
}
.pi-drawer-link:hover,
.pi-drawer-link.pi-active {
  color: white;
  background: rgba(255,255,255,0.08);
  border-left-color: var(--pi-primary);
}
.pi-drawer-link i { transition: transform var(--pi-transition); font-size: 0.8rem; }

.pi-drawer-has-sub .pi-drawer-sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.pi-drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  background: rgba(0,0,0,0.15);
}
.pi-drawer-submenu.pi-sub-open { max-height: 300px; }

.pi-drawer-sublink {
  display: block;
  padding: 10px var(--pi-space-md) 10px calc(var(--pi-space-md) + 1rem);
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: all var(--pi-transition);
}
.pi-drawer-sublink:hover { color: white; background: rgba(255,255,255,0.06); }

.pi-drawer-footer {
  padding: var(--pi-space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.pi-drawer-footer p { margin-bottom: 4px; }
.pi-drawer-footer a { color: var(--pi-primary-light); }
.pi-drawer-footer a:hover { color: white; }


.pi-sidebar-cta {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--pi-transition);
}
.pi-sidebar-cta.pi-visible { opacity: 1; pointer-events: all; }

.pi-sidebar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 52px;
  min-height: 52px;
  border-radius: var(--pi-radius-md);
  background: var(--pi-primary);
  color: white;
  font-size: 1rem;
  padding: 8px 6px;
  box-shadow: var(--pi-shadow-md);
  transition: all var(--pi-transition);
}
.pi-sidebar-btn:hover {
  background: var(--pi-primary-dark);
  transform: scale(1.08);
  color: white;
  box-shadow: var(--pi-shadow-lg);
}

.pi-sidebar-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


.pi-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--pi-header-h);
}

.pi-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pi-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(22, 18, 35, 0.82) 0%,
    rgba(80, 45, 20, 0.65) 50%,
    rgba(22, 18, 35, 0.55) 100%
  );
}

.pi-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pi-space-xl) var(--pi-space-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pi-space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .pi-hero-content {
    grid-template-columns: 1fr 320px;
    align-items: center;
  }
}

.pi-hero-glass {
  background: var(--pi-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pi-border-warm);
  border-radius: var(--pi-radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--pi-shadow-glass);
}

.pi-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.08;
  margin-bottom: var(--pi-space-md);
  letter-spacing: -0.03em;
}

.pi-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--pi-text-light-muted);
  margin-bottom: var(--pi-space-lg);
  line-height: 1.7;
}

.pi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pi-hero-float-card {
  background: var(--pi-surface-glass-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--pi-border-warm);
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-lg) var(--pi-space-md);
  box-shadow: var(--pi-shadow-glass);
  text-align: center;
}

.pi-float-icon {
  font-size: 2.5rem;
  color: var(--pi-primary-light);
  margin-bottom: var(--pi-space-sm);
}

.pi-float-text {
  color: white;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

.pi-hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: pi-bounce 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes pi-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


.pi-section-header {
  text-align: center;
  margin-bottom: var(--pi-space-xl);
}


.pi-intro { padding: var(--pi-space-3xl) 0; }

.pi-intro-grid {
  display: grid;
  gap: var(--pi-space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .pi-intro-grid { grid-template-columns: 1fr 1fr; }
}

.pi-intro-text p { color: var(--pi-text-body); margin-bottom: var(--pi-space-md); }

.pi-intro-image-wrap {
  position: relative;
}

.pi-intro-img {
  width: 100%;
  border-radius: var(--pi-radius-xl);
  box-shadow: var(--pi-shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.pi-intro-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--pi-primary);
  color: white;
  padding: 12px 18px;
  border-radius: var(--pi-radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--pi-shadow-md);
}


.pi-how {
  position: relative;
  padding: var(--pi-space-3xl) 0;
  overflow: hidden;
}

.pi-how-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pi-how-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 35%) 60%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-accent) 20%) 100%
  );
}

.pi-how .pi-container { position: relative; z-index: 1; }

.pi-how-cards {
  display: grid;
  gap: var(--pi-space-md);
}

@media (min-width: 768px) {
  .pi-how-cards { grid-template-columns: repeat(3, 1fr); }
}

.pi-how-card {
  background: var(--pi-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pi-border-light);
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-lg);
  box-shadow: var(--pi-shadow-glass);
  transition: transform var(--pi-transition), box-shadow var(--pi-transition);
}
.pi-how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pi-shadow-glass-hover);
}

.pi-how-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: var(--pi-space-sm);
  letter-spacing: -0.04em;
}

.pi-how-icon {
  font-size: 1.8rem;
  color: var(--pi-primary-light);
  margin-bottom: var(--pi-space-sm);
}

.pi-how-card h3 { color: white; margin-bottom: var(--pi-space-sm); }
.pi-how-card p { color: var(--pi-text-light-muted); margin: 0; font-size: 0.95rem; }


.pi-services { padding: var(--pi-space-3xl) 0; }

.pi-services-grid {
  display: grid;
  gap: var(--pi-space-xl);
  align-items: start;
}

@media (min-width: 900px) {
  .pi-services-grid { grid-template-columns: 1fr 1.5fr; }
}

.pi-services-left p { color: var(--pi-text-body); margin: var(--pi-space-md) 0; }

.pi-services-img {
  width: 100%;
  border-radius: var(--pi-radius-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--pi-shadow-lg);
  display: none;
}

@media (min-width: 900px) { .pi-services-img { display: block; } }

.pi-accordion { display: flex; flex-direction: column; gap: 8px; }

.pi-accordion-item {
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-md);
  overflow: hidden;
  background: white;
  box-shadow: var(--pi-shadow-sm);
  transition: box-shadow var(--pi-transition);
}
.pi-accordion-item:hover { box-shadow: var(--pi-shadow-md); }
.pi-accordion-item.pi-acc-open { box-shadow: var(--pi-shadow-md); }

.pi-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--pi-space-sm);
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pi-text-dark);
  text-align: left;
  transition: background var(--pi-transition), color var(--pi-transition);
}
.pi-accordion-trigger:hover { background: var(--pi-surface-warm); }
.pi-accordion-item.pi-acc-open .pi-accordion-trigger {
  background: color-mix(in oklch, var(--pi-primary), white 88%);
  color: var(--pi-primary-dark);
}

.pi-acc-icon { font-size: 1rem; color: var(--pi-primary); flex-shrink: 0; width: 28px; text-align: center; }
.pi-acc-arrow { margin-left: auto; flex-shrink: 0; color: var(--pi-text-muted); transition: transform var(--pi-transition); font-size: 0.8rem; }
.pi-accordion-item.pi-acc-open .pi-acc-arrow { transform: rotate(180deg); }
.pi-accordion-trigger span:nth-child(2) { flex: 1; }

.pi-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.pi-accordion-item.pi-acc-open .pi-accordion-body { max-height: 300px; }

.pi-accordion-body p {
  padding: 0 20px 20px;
  font-size: 0.92rem;
  color: var(--pi-text-body);
  margin: 0;
  line-height: 1.7;
}


.pi-feature {
  position: relative;
  padding: var(--pi-space-3xl) 0;
  overflow: hidden;
}

.pi-feature-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pi-feature-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pi-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 16, 35, 0.88) 0%,
    rgba(20, 16, 35, 0.6) 60%,
    rgba(20, 16, 35, 0.3) 100%
  );
}

.pi-feature .pi-container { position: relative; z-index: 1; }

.pi-feature-split {
  display: grid;
  gap: var(--pi-space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .pi-feature-split { grid-template-columns: 1.2fr 1fr; }
}

.pi-feature-glass {
  background: var(--pi-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pi-border-warm);
  border-radius: var(--pi-radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--pi-shadow-glass);
}

.pi-feature-glass p { color: var(--pi-text-light-muted); margin-bottom: var(--pi-space-md); }

.pi-feature-col-img {
  width: 100%;
  border-radius: var(--pi-radius-xl);
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: var(--pi-shadow-glass);
  border: 1px solid var(--pi-border-light);
}

.pi-feature-image-col { display: none; }
@media (min-width: 900px) { .pi-feature-image-col { display: block; } }


.pi-topics { padding: var(--pi-space-3xl) 0; }

.pi-topics-grid {
  display: grid;
  gap: var(--pi-space-md);
}

@media (min-width: 600px) { .pi-topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pi-topics-grid { grid-template-columns: repeat(4, 1fr); } }

.pi-topic-card {
  background: white;
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-lg) var(--pi-space-md);
  box-shadow: var(--pi-shadow-sm);
  transition: all var(--pi-transition);
}
.pi-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pi-shadow-md);
  border-color: var(--pi-primary-light);
}

.pi-topic-icon {
  font-size: 1.8rem;
  color: var(--pi-primary);
  margin-bottom: var(--pi-space-sm);
}

.pi-topic-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--pi-text-dark); }
.pi-topic-card p { font-size: 0.88rem; color: var(--pi-text-muted); margin: 0; line-height: 1.6; }


.pi-cta-banner {
  padding: var(--pi-space-2xl) 0;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 40%) 100%
  );
}

.pi-cta-glass {
  background: var(--pi-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pi-border-warm);
  border-radius: var(--pi-radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--pi-shadow-glass);
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-lg);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .pi-cta-glass {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pi-cta-content h2 { color: white; margin-bottom: var(--pi-space-sm); }
.pi-cta-content p { color: var(--pi-text-light-muted); max-width: 540px; margin: 0; }

.pi-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}


.pi-page-hero {
  padding: calc(var(--pi-header-h) + var(--pi-space-xl)) 0 var(--pi-space-xl);
  position: relative;
  overflow: hidden;
}

.pi-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pi-page-hero-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 50%) 100%
  );
}

.pi-page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.pi-page-title {
  color: white;
  margin-bottom: var(--pi-space-md);
}

.pi-page-desc {
  font-size: 1.1rem;
  color: var(--pi-text-light-muted);
  line-height: 1.7;
  margin: 0;
}


.pi-footer {
  position: relative;
  padding: var(--pi-space-xl) 0 0;
  overflow: hidden;
}

.pi-footer-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    color-mix(in oklch, var(--pi-secondary), black 15%) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 20%) 50%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-accent) 15%) 100%
  );
  z-index: 0;
}

.pi-footer .pi-container { position: relative; z-index: 1; }

.pi-footer-grid {
  display: grid;
  gap: var(--pi-space-xl);
  padding-bottom: var(--pi-space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 600px) { .pi-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pi-footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; } }

.pi-footer-brand .pi-logo { margin-bottom: var(--pi-space-md); }

.pi-footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.pi-footer-col h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--pi-space-md);
}

.pi-footer-col ul li { margin-bottom: 10px; }
.pi-footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--pi-transition);
}
.pi-footer-col ul a:hover { color: white; }

.pi-footer-col address p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.pi-footer-col address i { color: var(--pi-primary-light); flex-shrink: 0; margin-top: 3px; }
.pi-footer-col address a { color: rgba(255,255,255,0.55); }
.pi-footer-col address a:hover { color: white; }

.pi-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--pi-space-sm);
  padding: var(--pi-space-md) 0;
}
.pi-footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  margin: 0;
}


.pi-method { padding: var(--pi-space-3xl) 0; }

.pi-method-grid {
  display: grid;
  gap: var(--pi-space-xl);
  align-items: start;
}

@media (min-width: 900px) {
  .pi-method-grid { grid-template-columns: 1.2fr 1fr; }
}

.pi-method-text p { color: var(--pi-text-body); margin-bottom: var(--pi-space-md); }

.pi-method-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pi-space-md);
}

.pi-method-card {
  background: white;
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-md);
  box-shadow: var(--pi-shadow-sm);
  transition: all var(--pi-transition);
}
.pi-method-card:hover { transform: translateY(-3px); box-shadow: var(--pi-shadow-md); }
.pi-method-card i { font-size: 1.5rem; color: var(--pi-primary); margin-bottom: 10px; display: block; }
.pi-method-card h4 { margin-bottom: 8px; font-size: 0.95rem; }
.pi-method-card p { font-size: 0.85rem; color: var(--pi-text-muted); margin: 0; }


.pi-compare {
  position: relative;
  padding: var(--pi-space-3xl) 0;
}

.pi-compare-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 30%) 100%
  );
}

.pi-compare .pi-container { position: relative; z-index: 1; }

.pi-compare-grid {
  display: grid;
  gap: var(--pi-space-md);
}

@media (min-width: 768px) {
  .pi-compare-grid { grid-template-columns: 1fr 1fr; }
}

.pi-compare-col {
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-lg);
}

.pi-compare-typical {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}
.pi-compare-typical h3 { color: rgba(255,255,255,0.6); margin-bottom: var(--pi-space-md); font-size: 1.1rem; }
.pi-compare-typical li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pi-compare-typical li i { color: rgba(255,255,255,0.3); margin-top: 3px; flex-shrink: 0; }

.pi-compare-pemiha {
  background: var(--pi-surface-glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pi-border-warm);
  box-shadow: var(--pi-shadow-glass);
  position: relative;
}
.pi-compare-pemiha h3 { color: white; margin-bottom: var(--pi-space-md); font-size: 1.1rem; }
.pi-compare-pemiha li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--pi-text-light-muted);
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pi-compare-pemiha li i { color: var(--pi-primary-light); margin-top: 3px; flex-shrink: 0; }

.pi-compare-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pi-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--pi-radius-pill);
}


.pi-philosophy { padding: var(--pi-space-3xl) 0; }

.pi-philosophy-split {
  display: grid;
  gap: var(--pi-space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .pi-philosophy-split { grid-template-columns: 1fr 1.2fr; }
}

.pi-philosophy-img {
  width: 100%;
  border-radius: var(--pi-radius-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--pi-shadow-lg);
}

.pi-philosophy-text p { color: var(--pi-text-body); margin-bottom: var(--pi-space-md); }


.pi-course-track { padding: var(--pi-space-3xl) 0; }

.pi-track-alt {
  position: relative;
  overflow: hidden;
}

.pi-track-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 40%) 100%
  );
}

.pi-track-alt .pi-container { position: relative; z-index: 1; }

.pi-track-header {
  margin-bottom: var(--pi-space-xl);
}

.pi-track-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pi-primary);
  background: color-mix(in oklch, var(--pi-primary), white 88%);
  padding: 4px 12px;
  border-radius: var(--pi-radius-pill);
  margin-bottom: var(--pi-space-sm);
}

.pi-track-label-light {
  color: white;
  background: rgba(255,255,255,0.15);
}

.pi-track-intro {
  max-width: 660px;
  color: var(--pi-text-muted);
  font-size: 1.05rem;
  margin-top: var(--pi-space-sm);
}

.pi-intro-light { color: var(--pi-text-light-muted) !important; }

.pi-course-grid {
  display: grid;
  gap: var(--pi-space-md);
}

@media (min-width: 600px) { .pi-course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pi-course-grid { grid-template-columns: repeat(4, 1fr); } }

.pi-course-card {
  background: white;
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-md);
  box-shadow: var(--pi-shadow-sm);
  transition: all var(--pi-transition);
  display: flex;
  flex-direction: column;
}
.pi-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pi-shadow-md);
  border-color: var(--pi-primary-light);
}

.pi-course-card-dark {
  background: var(--pi-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--pi-border-light);
  box-shadow: var(--pi-shadow-glass);
}
.pi-course-card-dark:hover {
  background: var(--pi-surface-glass-strong);
  box-shadow: var(--pi-shadow-glass-hover);
}

.pi-course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--pi-space-sm);
}

.pi-course-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pi-primary);
  background: color-mix(in oklch, var(--pi-primary), white 88%);
  padding: 3px 8px;
  border-radius: var(--pi-radius-pill);
}

.pi-course-card-dark .pi-course-num {
  color: var(--pi-primary-light);
  background: rgba(255,255,255,0.12);
}

.pi-course-card-top i {
  font-size: 1.4rem;
  color: var(--pi-primary);
}
.pi-course-card-dark .pi-course-card-top i { color: var(--pi-primary-light); }

.pi-course-card h3 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--pi-text-dark);
  line-height: 1.35;
}
.pi-course-card-dark h3 { color: white; }

.pi-course-card p {
  font-size: 0.86rem;
  color: var(--pi-text-muted);
  margin-bottom: auto;
  padding-bottom: var(--pi-space-sm);
  line-height: 1.6;
}
.pi-course-card-dark p { color: var(--pi-text-light-muted); }

.pi-course-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--pi-space-sm);
  border-top: 1px solid var(--pi-border-subtle);
}
.pi-course-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--pi-text-muted);
}
.pi-meta-light { border-top-color: rgba(255,255,255,0.1); }
.pi-meta-light span { color: rgba(255,255,255,0.45); }


.pi-course-feature {
  padding: var(--pi-space-3xl) 0;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 35%) 100%
  );
}

.pi-course-feature-grid {
  display: grid;
  gap: var(--pi-space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .pi-course-feature-grid { grid-template-columns: 1fr 1.3fr; }
}

.pi-cf-img {
  width: 100%;
  border-radius: var(--pi-radius-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--pi-shadow-glass);
  border: 1px solid var(--pi-border-light);
}

.pi-course-feature-text p { color: var(--pi-text-light-muted); margin-bottom: var(--pi-space-md); }


.pi-paths { padding: var(--pi-space-3xl) 0; }

.pi-paths-grid {
  display: grid;
  gap: var(--pi-space-md);
}

@media (min-width: 600px) { .pi-paths-grid { grid-template-columns: repeat(2, 1fr); } }

.pi-path-card {
  background: white;
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-lg);
  box-shadow: var(--pi-shadow-sm);
  transition: all var(--pi-transition);
}
.pi-path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pi-shadow-md);
  border-color: var(--pi-primary-light);
}

.pi-path-icon {
  font-size: 2rem;
  color: var(--pi-primary);
  margin-bottom: var(--pi-space-sm);
}

.pi-path-card h3 { margin-bottom: var(--pi-space-sm); }
.pi-path-card p { color: var(--pi-text-body); font-size: 0.92rem; margin-bottom: var(--pi-space-sm); }

.pi-path-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pi-primary);
  margin-top: var(--pi-space-sm);
  transition: gap var(--pi-transition), color var(--pi-transition);
}
.pi-path-link:hover { gap: 10px; color: var(--pi-primary-dark); }


.pi-expect {
  position: relative;
  padding: var(--pi-space-3xl) 0;
  overflow: hidden;
}

.pi-expect-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 30%) 100%
  );
}

.pi-expect .pi-container { position: relative; z-index: 1; }

.pi-expect-split {
  display: grid;
  gap: var(--pi-space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .pi-expect-split { grid-template-columns: 1.3fr 1fr; }
}

.pi-expect-text p { color: var(--pi-text-light-muted); margin-bottom: var(--pi-space-md); }

.pi-expect-img {
  width: 100%;
  border-radius: var(--pi-radius-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--pi-shadow-glass);
  border: 1px solid var(--pi-border-light);
  display: none;
}

@media (min-width: 900px) { .pi-expect-img { display: block; } }


.pi-start-faq { padding: var(--pi-space-3xl) 0; }

.pi-start-faq-grid {
  display: grid;
  gap: var(--pi-space-md);
}

@media (min-width: 768px) { .pi-start-faq-grid { grid-template-columns: repeat(2, 1fr); } }

.pi-sfaq-item {
  background: white;
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-lg);
  box-shadow: var(--pi-shadow-sm);
}

.pi-sfaq-item h4 {
  font-size: 0.95rem;
  margin-bottom: var(--pi-space-sm);
  color: var(--pi-text-dark);
}

.pi-sfaq-item p {
  font-size: 0.9rem;
  color: var(--pi-text-muted);
  margin: 0;
  line-height: 1.7;
}


.pi-contact-section { padding: var(--pi-space-3xl) 0; }

.pi-contact-split {
  display: grid;
  gap: var(--pi-space-xl);
}

@media (min-width: 900px) {
  .pi-contact-split { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

.pi-map-wrap {
  border-radius: var(--pi-radius-lg);
  overflow: hidden;
  box-shadow: var(--pi-shadow-md);
  border: 1px solid var(--pi-border-subtle);
}

.pi-contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--pi-space-md);
}

.pi-contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--pi-space-sm);
  background: white;
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-md);
  padding: 14px var(--pi-space-md);
  box-shadow: var(--pi-shadow-sm);
}

.pi-contact-info-card i {
  font-size: 1.1rem;
  color: var(--pi-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pi-contact-info-card strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pi-text-muted);
  margin-bottom: 2px;
}

.pi-contact-info-card p, .pi-contact-info-card a {
  font-size: 0.92rem;
  color: var(--pi-text-body);
  margin: 0;
}
.pi-contact-info-card a:hover { color: var(--pi-primary); }


.pi-form-glass {
  background: white;
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--pi-shadow-md);
}

.pi-form-glass h2 { margin-bottom: 8px; }
.pi-form-glass > p { color: var(--pi-text-muted); margin-bottom: var(--pi-space-lg); font-size: 0.95rem; }

.pi-form-group { margin-bottom: var(--pi-space-md); }

.pi-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pi-text-dark);
  margin-bottom: 6px;
}

.pi-form-group input,
.pi-form-group textarea,
.pi-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-md);
  font-family: 'Albert Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--pi-text-dark);
  background: var(--pi-surface);
  transition: border-color var(--pi-transition), box-shadow var(--pi-transition);
  outline: none;
  min-height: 44px;
}

.pi-form-group input:focus,
.pi-form-group textarea:focus {
  border-color: var(--pi-primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--pi-primary), white 80%);
}

.pi-form-group textarea { resize: vertical; min-height: 120px; }

.pi-form-check { display: flex; align-items: flex-start; }

.pi-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--pi-text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.pi-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--pi-primary);
}

.pi-checkbox-label a { color: var(--pi-primary); text-decoration: underline; }
.pi-checkbox-label a:hover { color: var(--pi-primary-dark); }


.pi-accessibility { padding: var(--pi-space-xl) 0 var(--pi-space-3xl); }

.pi-accessibility-card {
  display: flex;
  align-items: flex-start;
  gap: var(--pi-space-md);
  background: color-mix(in oklch, var(--pi-primary), white 92%);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
  padding: var(--pi-space-lg);
  box-shadow: var(--pi-shadow-sm);
}

.pi-acc-icon-wrap {
  font-size: 2rem;
  color: var(--pi-primary);
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: white;
  border-radius: var(--pi-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--pi-shadow-sm);
}

.pi-acc-text h3 { margin-bottom: 8px; }
.pi-acc-text p { color: var(--pi-text-body); margin: 0; font-size: 0.95rem; }


.pi-thanks-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pi-thanks-gradient {
  width: 100%;
  min-height: 55vh;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 50%) 50%,
    color-mix(in oklch, var(--pi-primary), var(--pi-accent) 40%) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--pi-header-h) + var(--pi-space-xl)) var(--pi-space-md) var(--pi-space-xl);
}

.pi-thanks-content {
  text-align: center;
  max-width: 600px;
}

.pi-thanks-icon {
  font-size: 4rem;
  color: white;
  margin-bottom: var(--pi-space-md);
  opacity: 0.9;
}

.pi-thanks-content h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--pi-space-md);
}

.pi-thanks-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin: 0;
}

.pi-thanks-next { padding: var(--pi-space-3xl) 0; }

.pi-thanks-next-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.pi-thanks-next-content h2 { margin-bottom: var(--pi-space-sm); }
.pi-thanks-next-content > p { color: var(--pi-text-muted); margin-bottom: var(--pi-space-xl); }

.pi-thanks-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


.pi-legal-hero {
  padding: calc(var(--pi-header-h) + var(--pi-space-xl)) 0 var(--pi-space-xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 40%) 100%
  );
}

.pi-legal-hero-content { max-width: 700px; }
.pi-legal-date { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: var(--pi-space-sm); }

.pi-legal-body { padding: var(--pi-space-3xl) 0; }

.pi-legal-content { max-width: 820px; }

.pi-legal-intro {
  background: color-mix(in oklch, var(--pi-primary), white 92%);
  border-left: 4px solid var(--pi-primary);
  border-radius: 0 var(--pi-radius-md) var(--pi-radius-md) 0;
  padding: var(--pi-space-md) var(--pi-space-lg);
  margin-bottom: var(--pi-space-xl);
}
.pi-legal-intro p { color: var(--pi-text-body); margin: 0; font-size: 0.95rem; }

.pi-legal-qa, .pi-legal-lettered, .pi-legal-unnumbered { display: flex; flex-direction: column; gap: var(--pi-space-xl); }

.pi-legal-q h2 {
  font-size: 1.15rem;
  color: var(--pi-text-dark);
  margin-bottom: var(--pi-space-sm);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pi-border-subtle);
}

.pi-legal-q p { color: var(--pi-text-body); font-size: 0.95rem; margin-bottom: var(--pi-space-sm); line-height: 1.75; }
.pi-legal-q p:last-child { margin-bottom: 0; }

.pi-legal-q ul {
  margin: var(--pi-space-sm) 0 var(--pi-space-sm) var(--pi-space-md);
}
.pi-legal-q ul li {
  color: var(--pi-text-body);
  font-size: 0.95rem;
  padding: 6px 0;
  padding-left: var(--pi-space-sm);
  list-style: disc;
  line-height: 1.65;
}


.pi-cookie-icon-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pi-secondary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--pi-shadow-lg);
  transition: all var(--pi-transition);
}
.pi-cookie-icon-btn:hover {
  background: var(--pi-primary);
  transform: scale(1.1);
}

.pi-cookie-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--pi-primary);
  border-radius: 50%;
  border: 2px solid white;
  display: block;
}
.pi-cookie-badge.pi-hidden { display: none; }

.pi-cookie-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9001;
  width: min(380px, calc(100vw - 32px));
  background: white;
  border-radius: var(--pi-radius-xl);
  box-shadow: var(--pi-shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: all var(--pi-transition);
  overflow: hidden;
}
.pi-cookie-panel.pi-panel-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.pi-cookie-panel-header {
  background: linear-gradient(
    135deg,
    var(--pi-secondary) 0%,
    color-mix(in oklch, var(--pi-secondary), var(--pi-primary) 50%) 100%
  );
  padding: var(--pi-space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pi-cookie-panel-header h3 { color: white; font-size: 1rem; margin: 0; }

.pi-cookie-close-panel {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pi-radius-sm);
  transition: all var(--pi-transition);
}
.pi-cookie-close-panel:hover { background: rgba(255,255,255,0.15); color: white; }

.pi-cookie-panel-body { padding: var(--pi-space-md); }
.pi-cookie-panel-body > p { font-size: 0.85rem; color: var(--pi-text-muted); margin-bottom: var(--pi-space-md); line-height: 1.6; }

.pi-cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--pi-border-subtle);
}
.pi-cookie-category:last-of-type { border-bottom: none; }

.pi-cookie-cat-info strong { display: block; font-size: 0.88rem; color: var(--pi-text-dark); margin-bottom: 2px; }
.pi-cookie-cat-info span { font-size: 0.78rem; color: var(--pi-text-muted); }

.pi-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.pi-toggle input { opacity: 0; width: 0; height: 0; }
.pi-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ddd;
  border-radius: 22px;
  cursor: pointer;
  transition: background var(--pi-transition);
}
.pi-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--pi-transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.pi-toggle input:checked + .pi-toggle-slider { background: var(--pi-primary); }
.pi-toggle input:checked + .pi-toggle-slider::before { transform: translateX(18px); }
.pi-toggle input:disabled + .pi-toggle-slider { opacity: 0.6; cursor: not-allowed; }

.pi-cookie-panel-footer {
  padding: var(--pi-space-sm) var(--pi-space-md) var(--pi-space-md);
  display: flex;
  gap: 8px;
}

.pi-cookie-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--pi-radius-pill);
  font-family: 'Albert Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--pi-transition);
  min-height: 44px;
}

.pi-cookie-btn-accept {
  background: var(--pi-primary);
  color: white;
}
.pi-cookie-btn-accept:hover { background: var(--pi-primary-dark); }

.pi-cookie-btn-save {
  background: var(--pi-surface-warm);
  color: var(--pi-text-dark);
  border: 1px solid var(--pi-border-subtle);
}
.pi-cookie-btn-save:hover { background: color-mix(in oklch, var(--pi-primary), white 85%); }


@media (max-width: 767px) {
  .pi-sidebar-cta { display: none; }
  .pi-method-cards { grid-template-columns: 1fr; }
  .pi-how-cards { grid-template-columns: 1fr; }
  .pi-compare-grid { grid-template-columns: 1fr; }
  .pi-accessibility-card { flex-direction: column; }
  .pi-cta-glass { flex-direction: column; }
}

@media (min-width: 768px) {
  .pi-sidebar-cta { opacity: 0; transition: opacity var(--pi-transition); }
  .pi-sidebar-cta.pi-visible { opacity: 1; pointer-events: all; }
}