/* PipeImmo — Static Pages Styles */
:root {
  --pi-primary: #1a5c3a;
  --pi-primary-light: #2d7a52;
  --pi-primary-dark: #0f3d26;
  --pi-accent: #e8a020;
  --pi-success: #2e7d5b;
  --pi-warning: #c17d10;
  --pi-error: #b53d3d;
  --pi-text-primary: #1a1a2a;
  --pi-text-secondary: #5a5a6e;
  --pi-text-disabled: #9a9aae;
  --pi-border: #e0e0e8;
  --pi-bg: #f4f5f0;
  --pi-surface: #ffffff;
  --pi-sidebar-bg: #0f3d26;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pi-text-primary);
  background: var(--pi-bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 160, 32, 0); }
  50% { box-shadow: 0 0 20px 4px rgba(232, 160, 32, 0.15); }
}

.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ── Nav ── */
.pi-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: var(--pi-surface);
  border-bottom: 1px solid var(--pi-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}
.pi-nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--pi-primary);
  text-decoration: none;
}
.pi-nav__logo svg { width: 24px; height: 24px; fill: var(--pi-primary); }
.pi-nav__links {
  display: flex;
  gap: 24px;
}
.pi-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--pi-text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.pi-nav__links a:hover { color: var(--pi-primary); }
.pi-nav__actions { display: flex; gap: 8px; }

/* Burger (mobile only) */
.pi-nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.pi-nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--pi-text-primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.pi-nav.open .pi-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pi-nav.open .pi-nav__burger span:nth-child(2) { opacity: 0; }
.pi-nav.open .pi-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--pi-primary);
  color: white;
}
.btn--primary:hover { background: var(--pi-primary-light); box-shadow: 0 4px 12px rgba(26, 92, 58, 0.3); }
.btn--outline {
  background: transparent;
  color: var(--pi-primary);
  border: 1px solid var(--pi-primary);
}
.btn--outline:hover { background: rgba(26, 92, 58, 0.06); }
.btn--large { font-size: 16px; padding: 12px 32px; }
.btn--hero {
  font-size: 17px;
  padding: 14px 36px;
  border-radius: 10px;
  animation: heroGlow 3s ease-in-out infinite;
}

/* ── Hero ── */
.pi-hero {
  text-align: center;
  padding: 80px 40px 60px;
  background: linear-gradient(170deg, var(--pi-sidebar-bg) 0%, #0a2e1c 100%);
  color: white;
  overflow: hidden;
}
.pi-hero__title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 auto 16px;
  max-width: 740px;
  animation: fadeInUp 0.8s ease both;
}
.pi-hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.3s both;
  color: rgba(255, 255, 255, 0.85);
}
.pi-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.pi-hero__hint { font-size: 13px; opacity: 0.6; }
.pi-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  animation: fadeIn 0.6s ease both;
}
.pi-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--pi-accent);
  border-radius: 50%;
  animation: heroGlow 2s ease-in-out infinite;
}

/* ── Hero Screenshot Mockup ── */
.pi-hero__screenshot {
  max-width: 900px;
  margin: 48px auto 0;
  perspective: 1200px;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.7s both;
}
.pi-mock {
  display: flex;
  background: #1a1a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: rotateX(4deg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pi-mock__sidebar {
  width: 52px;
  background: var(--pi-primary-dark);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.pi-mock__logo-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  margin-bottom: 8px;
}
.pi-mock__menu-item {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
.pi-mock__menu-item--active {
  background: rgba(255, 255, 255, 0.35);
}
.pi-mock__content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 12px;
  flex: 1;
  min-height: 220px;
}
.pi-mock__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pi-mock__col-header {
  font-size: 9px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--pi-text-primary);
  text-align: center;
}
.pi-mock__col-header--1 { background: #edf7f1; }
.pi-mock__col-header--2 { background: #fff8ed; }
.pi-mock__col-header--3 { background: #fff3ee; }
.pi-mock__col-header--4 { background: #eef2ff; }
.pi-mock__col-header--5 { background: #edf9f2; }
.pi-mock__card {
  background: var(--pi-surface);
  border-radius: 6px;
  padding: 8px;
  border-left: 3px solid transparent;
}
.pi-mock__card--active { border-left-color: var(--pi-primary); }
.pi-mock__card--success { border-left-color: var(--pi-success); }
.pi-mock__card-title {
  width: 70%;
  height: 6px;
  background: var(--pi-text-primary);
  border-radius: 3px;
  opacity: 0.6;
  margin-bottom: 4px;
}
.pi-mock__card-sub {
  width: 50%;
  height: 5px;
  background: var(--pi-text-secondary);
  border-radius: 3px;
  opacity: 0.3;
  margin-bottom: 6px;
}
.pi-mock__card-price {
  font-size: 9px;
  font-weight: 600;
  color: var(--pi-primary);
}
.pi-mock__card-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
}
.pi-mock__card-badge--warn {
  background: rgba(232, 160, 32, 0.2);
  color: var(--pi-warning);
}
.pi-mock__card-badge--urgent {
  background: rgba(181, 61, 61, 0.15);
  color: var(--pi-error);
}

/* ── Testimonials ── */
.pi-testimonials {
  padding: 48px 40px;
  background: var(--pi-bg);
}
.pi-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pi-testimonial {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-left: 3px solid var(--pi-primary);
  border-radius: 10px;
  padding: 24px;
}
.pi-testimonial__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.pi-testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pi-testimonial__name {
  font-size: 14px;
  font-weight: 600;
}
.pi-testimonial__role {
  font-size: 12px;
  color: var(--pi-text-secondary);
}
.pi-testimonial__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pi-text-secondary);
  font-style: italic;
}
.pi-testimonials__title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pi-testimonials__subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--pi-text-secondary);
  margin-bottom: 32px;
}
.pi-testimonial__icon {
  font-size: 28px;
  color: var(--pi-primary);
  font-weight: 700;
  margin-bottom: 8px;
}
.pi-testimonials__disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--pi-text-disabled);
  margin-top: 16px;
}

/* ── How it works ── */
.pi-steps {
  padding: 60px 40px;
  text-align: center;
  background: var(--pi-surface);
}
.pi-steps__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 48px;
}
.pi-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.pi-step {
  text-align: center;
  position: relative;
}
.pi-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pi-primary);
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.pi-step h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.pi-step p {
  font-size: 14px;
  color: var(--pi-text-secondary);
  line-height: 1.5;
}
/* Arrow between steps (desktop only) */
.pi-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -16px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid var(--pi-border);
}

/* ── Features ── */
.pi-features {
  padding: 60px 40px;
  text-align: center;
}
.pi-features__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 40px;
}
.pi-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pi-feature-card {
  background: var(--pi-surface);
  border: 1px solid var(--pi-border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pi-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 92, 58, 0.08);
}
.pi-feature-card--highlight {
  grid-column: 1 / -1;
  max-width: 480px;
  margin: 0 auto;
}
.pi-feature-card__icon {
  width: 36px;
  height: 36px;
  fill: var(--pi-primary);
  margin-bottom: 16px;
}
.pi-feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.pi-feature-card p {
  font-size: 14px;
  color: var(--pi-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ── Skip link ── */
.pi-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--pi-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.pi-skip-link:focus {
  top: 0;
}

/* ── Demo / Video ── */
.pi-demo {
  padding: 60px 40px;
  text-align: center;
  background: var(--pi-surface);
}
.pi-demo__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
}
.pi-demo__subtitle {
  font-size: 15px;
  color: var(--pi-text-secondary);
  margin: 0 0 32px;
}
.pi-demo__player {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0f3d26, #1a5c3a 40%, #0a2e1c);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
.pi-demo__player:hover {
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.3);
}
.pi-demo__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.pi-demo__player:hover .pi-demo__play {
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) scale(1.08);
}
.pi-demo__play svg {
  margin-left: 4px;
}
.pi-demo__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}
.pi-demo__label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.pi-demo__coming-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pi-demo__coming-label {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.pi-demo__coming-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Comparison table ── */
.pi-compare {
  padding: 60px 40px;
  text-align: center;
  background: var(--pi-bg);
}
.pi-compare__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 32px;
}
.pi-compare__table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pi-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}
.pi-compare__table thead th {
  background: var(--pi-primary-dark);
  color: white;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}
.pi-compare__table thead th:first-child {
  text-align: left;
  border-radius: 8px 0 0 0;
}
.pi-compare__table thead th:last-child {
  border-radius: 0 8px 0 0;
}
.pi-compare__table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--pi-border);
  text-align: center;
  background: var(--pi-surface);
}
.pi-compare__table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}
.pi-compare__highlight {
  background: rgba(26, 92, 58, 0.05);
  font-weight: 500;
}
thead .pi-compare__highlight {
  background: var(--pi-primary);
}

/* ── Pricing ── */
.pi-pricing {
  padding: 60px 40px;
  text-align: center;
  background: var(--pi-bg);
}
.pi-pricing__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 32px;
}
.pi-pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.pi-pricing__card {
  position: relative;
  padding: 40px 32px;
  border: 2px solid var(--pi-border);
  border-radius: 16px;
  text-align: center;
  background: var(--pi-surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pi-pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.pi-pricing__card--pro { border-color: var(--pi-primary); }
.pi-pricing__card--pro:hover { box-shadow: 0 8px 24px rgba(26, 92, 58, 0.12); }
.pi-pricing__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pi-primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pi-pricing__plan { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.pi-pricing__price { margin-bottom: 24px; }
.pi-pricing__amount {
  font-size: 56px;
  font-weight: 700;
  color: var(--pi-primary);
  font-variant-numeric: tabular-nums;
}
.pi-pricing__currency { font-size: 18px; color: var(--pi-text-secondary); }
.pi-pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}
.pi-pricing__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
}
.pi-pricing__list li::before {
  content: "\2713";
  color: var(--pi-success);
  font-weight: 700;
  flex-shrink: 0;
}
.pi-pricing__cta { width: 100%; }
.pi-pricing__beta {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--pi-accent);
  background: rgba(232, 160, 32, 0.1);
  border: 1px solid rgba(232, 160, 32, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.pi-pricing__guarantee {
  font-size: 15px;
  font-weight: 500;
  color: var(--pi-primary);
  margin: 32px 0 8px;
}
.pi-pricing__hint {
  font-size: 13px;
  color: var(--pi-text-secondary);
  margin: 0;
}

/* ── FAQ ── */
.pi-faq {
  padding: 60px 40px;
  max-width: 720px;
  margin: 0 auto;
}
.pi-faq__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 32px;
  text-align: center;
}
.pi-faq__item {
  border-bottom: 1px solid var(--pi-border);
}
.pi-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--pi-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.pi-faq__question:hover { color: var(--pi-primary); }
.pi-faq__chevron {
  width: 20px;
  height: 20px;
  fill: var(--pi-text-disabled);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.pi-faq__item.open .pi-faq__chevron { transform: rotate(180deg); }
.pi-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.pi-faq__item.open .pi-faq__answer { max-height: 500px; }
.pi-faq__answer p {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pi-text-secondary);
}

/* ── CTA banner ── */
.pi-cta-banner {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(170deg, var(--pi-sidebar-bg) 0%, #0a2e1c 100%);
  color: white;
}
.pi-cta-banner__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 12px;
}
.pi-cta-banner__subtitle {
  font-size: 16px;
  opacity: 0.8;
  margin: 0 0 24px;
}

/* ── Footer ── */
.pi-footer {
  border-top: 1px solid var(--pi-border);
  padding: 32px 40px 24px;
  background: var(--pi-surface);
}
.pi-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pi-footer__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pi-primary);
}
.pi-footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.pi-footer__links a {
  font-size: 13px;
  color: var(--pi-text-secondary);
  text-decoration: none;
}
.pi-footer__links a:hover { color: var(--pi-primary); }
.pi-footer__bottom {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--pi-border);
  font-size: 12px;
  color: var(--pi-text-disabled);
}

/* ── Mobile sticky CTA ── */
.pi-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--pi-border);
  z-index: 100;
  text-align: center;
}
.pi-mobile-cta .btn { width: 100%; }

/* ── Legal pages ── */
.pi-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px;
  font-size: 14px;
  line-height: 1.7;
}
.pi-legal h1 { font-size: 24px; font-weight: 600; margin: 0 0 24px; }
.pi-legal h2 { font-size: 18px; font-weight: 600; margin: 32px 0 12px; }
.pi-legal p { margin: 0 0 12px; }
.pi-legal ul { padding-left: 20px; }
.pi-legal li { margin: 8px 0; }
.pi-legal a { color: var(--pi-primary); text-decoration: none; }
.pi-legal a:hover { text-decoration: underline; }
.pi-legal__back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--pi-text-secondary);
  text-decoration: none;
  font-size: 13px;
}
.pi-legal__back:hover { color: var(--pi-primary); }

/* ── 404 page ── */
.pi-404 {
  text-align: center;
  padding: 80px 24px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pi-404__code {
  font-size: 96px;
  font-weight: 700;
  color: var(--pi-border);
  line-height: 1;
  margin-bottom: 8px;
}
.pi-404__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
}
.pi-404__text {
  font-size: 15px;
  color: var(--pi-text-secondary);
  margin: 0 0 32px;
}

/* ── Cookie banner ── */
.pi-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 24px;
  background: var(--pi-surface);
  border-top: 1px solid var(--pi-border);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}
.pi-cookie-banner p {
  font-size: 13px;
  color: var(--pi-text-secondary);
  margin: 0;
}
.pi-cookie-banner a {
  color: var(--pi-primary);
  text-decoration: none;
}
.pi-cookie-banner a:hover { text-decoration: underline; }
.pi-cookie-banner .btn { flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 1023px) {
  .pi-features__grid { grid-template-columns: repeat(2, 1fr); }
  .pi-feature-card--highlight { grid-column: 1 / -1; }
  .pi-testimonials__grid { grid-template-columns: 1fr; max-width: 520px; }
  .pi-step:not(:last-child)::after { display: none; }
  .pi-mock__content { grid-template-columns: repeat(3, 1fr); }
  .pi-mock__col:nth-child(n+4) { display: none; }
}
@media (max-width: 599px) {
  /* Nav burger menu */
  .pi-nav { padding: 12px 16px; flex-wrap: wrap; }
  .pi-nav__links { display: none; }
  .pi-nav__actions { display: none; }
  .pi-nav__burger { display: flex; }
  .pi-nav.open .pi-nav__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    padding: 12px 0 4px;
    gap: 0;
    border-top: 1px solid var(--pi-border);
    margin-top: 12px;
  }
  .pi-nav.open .pi-nav__links a {
    padding: 10px 0;
    font-size: 15px;
  }
  .pi-nav.open .pi-nav__actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 4;
    gap: 8px;
    padding: 8px 0 4px;
  }
  .pi-nav.open .pi-nav__actions .btn { width: 100%; text-align: center; }

  /* Sections */
  .pi-hero { padding: 48px 20px 40px; }
  .pi-hero__title { font-size: 26px; }
  .pi-hero__subtitle { font-size: 15px; }
  .pi-hero__screenshot { margin-top: 32px; }
  .pi-mock { transform: none; }
  .pi-mock__sidebar { display: none; }
  .pi-mock__content { grid-template-columns: repeat(3, 1fr); padding: 8px; }
  .pi-mock__col:nth-child(n+4) { display: none; }
  .pi-mock__col-header { font-size: 8px; padding: 4px; }
  .pi-mock__card { padding: 6px; }
  .pi-mock__card-price { font-size: 8px; }
  .pi-testimonials { padding: 32px 20px; }
  .pi-features { padding: 40px 20px; }
  .pi-features__grid { grid-template-columns: 1fr; }
  .pi-feature-card--highlight { max-width: none; }
  .pi-steps { padding: 40px 20px; }
  .pi-steps__grid { grid-template-columns: 1fr; gap: 24px; }
  .pi-demo { padding: 40px 20px; }
  .pi-compare { padding: 40px 20px; }
  .pi-pricing { padding: 40px 20px; }
  .pi-pricing__grid { grid-template-columns: 1fr; }
  .pi-faq { padding: 40px 20px; }
  .pi-cta-banner { padding: 40px 20px; }
  .pi-footer { padding: 24px 20px; }
  .pi-footer__top { flex-direction: column; gap: 16px; text-align: center; }
  .pi-footer__links { justify-content: center; }
  .pi-footer__bottom { padding-bottom: 60px; }
  .pi-mobile-cta { display: block; }
  .pi-cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 12px 16px;
    bottom: 56px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate {
    opacity: 1 !important;
    transform: none !important;
  }
}
