:root {
  --pp-ink: #172037;
  --pp-muted: #69748d;
  --pp-line: #e6e9f1;
  --pp-purple: #6654e8;
  --pp-purple-dark: #403686;
  --pp-green: #2fad7b;
  --pp-shadow: 0 18px 48px rgba(24, 32, 55, 0.08);
}

html { scroll-behavior: smooth; }
body { color: var(--pp-ink); background: #f7f8fb; }
.public-plans { min-height: 100vh; color: var(--pp-ink); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 15px; }
.public-plans [hidden] { display: none !important; }
.pp-container { width: min(1480px, calc(100% - 64px)); margin: 0 auto; }
.pp-label { display: inline-block; margin-bottom: 8px; color: var(--pp-purple); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.public-plans a:focus-visible,
.public-plans button:focus-visible { outline: 3px solid rgba(102, 84, 232, .34); outline-offset: 3px; }

.pp-navbar { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; height: 76px; border-bottom: 1px solid rgba(226, 229, 238, .85); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.pp-navbar__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.pp-logo { display: inline-flex; align-items: center; }
.pp-navbar__menu { display: flex; flex: 1; align-items: center; justify-content: flex-end; }
.pp-navbar__links { display: flex; align-items: center; gap: 35px; margin: 0 auto; }
.pp-navbar__links a { position: relative; padding: 27px 0 24px; color: #626d84; font-size: 14px; font-weight: 650; }
.pp-navbar__links a:hover, .pp-navbar__links a.is-active { color: var(--pp-purple); }
.pp-navbar__links a.is-active::after { content: ""; position: absolute; right: 0; bottom: 17px; left: 0; height: 2px; border-radius: 2px; background: var(--pp-purple); }
.pp-navbar__actions { display: flex; align-items: center; gap: 12px; }
.pp-login-link { padding: 10px 12px; color: #59647c; font-size: 13px; font-weight: 700; }
.pp-nav-button, .pp-button, .pp-plan-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 17px; border-radius: 10px; font-size: 13px; font-weight: 800; }
.pp-nav-button, .pp-plan-button { color: #fff; background: var(--pp-purple); box-shadow: 0 9px 20px rgba(101, 84, 232, .2); }
.pp-nav-button:hover, .pp-plan-button:hover { color: #fff; background: #5746d6; }
.pp-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--pp-line); border-radius: 10px; color: var(--pp-ink); background: #fff; font-size: 22px; }

.pp-hero { position: relative; padding: 152px 0 78px; overflow: hidden; color: #fff; background: linear-gradient(122deg, #272c4b 0%, #443a90 52%, #735fee 100%); }
.pp-hero__shape { position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.pp-hero__shape--one { width: 540px; height: 540px; right: -150px; top: -285px; }
.pp-hero__shape--two { width: 270px; height: 270px; left: -105px; bottom: -180px; }
.pp-hero__content { position: relative; z-index: 1; max-width: 1000px; text-align: center; }
.pp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 17px; color: rgba(255,255,255,.75); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pp-eyebrow i { font-size: 18px; }
.pp-hero h1 { margin: 0; color: #fff; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.038em; line-height: 1.05; }
.pp-hero__content > p { max-width: 790px; margin: 20px auto 29px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.72; }
.pp-hero__actions { display: flex; justify-content: center; gap: 12px; }
.pp-button { min-height: 50px; padding: 13px 20px; }
.pp-button--light { color: var(--pp-purple-dark); background: #fff; }
.pp-button--light:hover { color: var(--pp-purple); background: #f4f1ff; }
.pp-button--ghost { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); }
.pp-button--ghost:hover { color: #fff; background: rgba(255,255,255,.12); }
.pp-hero__meta { display: flex; justify-content: center; gap: 28px; margin-top: 22px; color: rgba(255,255,255,.68); font-size: 12px; }
.pp-hero__meta span { display: inline-flex; align-items: center; gap: 5px; }
.pp-hero__meta i { color: #8ce0bd; font-size: 16px; }

.pp-plans { padding-top: 64px; padding-bottom: 28px; }
.pp-heading, .pp-comparison__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.pp-heading h2, .pp-comparison h2, .pp-addon h2, .pp-deployment h2 { margin: 0; color: var(--pp-ink); font-size: 30px; font-weight: 800; letter-spacing: -.025em; }
.pp-heading > p, .pp-comparison__header p { margin: 0; color: var(--pp-muted); font-size: 13px; }
.pp-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pp-plan-card { position: relative; display: flex; min-height: 520px; padding: 27px 24px 24px; flex-direction: column; border: 1px solid var(--pp-line); border-radius: 19px; background: #fff; box-shadow: 0 12px 34px rgba(25,32,58,.055); }
.pp-plan-card--recommended { margin-top: -9px; margin-bottom: -9px; padding-top: 36px; border: 2px solid var(--pp-purple); box-shadow: 0 22px 44px rgba(79,64,175,.15); }
.pp-plan-card__badge { position: absolute; top: 0; right: 20px; padding: 7px 11px; border-radius: 0 0 9px 9px; color: #fff; background: var(--pp-purple); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pp-plan-card__head { display: flex; align-items: center; justify-content: space-between; color: #8790a4; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pp-plan-card__head i { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: var(--pp-purple); background: #eeebff; font-size: 20px; }
.pp-plan-card h3 { margin: 19px 0 8px; color: var(--pp-ink); font-size: 29px; font-weight: 800; }
.pp-plan-card__description { min-height: 61px; margin: 0; color: var(--pp-muted); font-size: 13px; line-height: 1.55; }
.pp-price { padding: 19px 0; border-bottom: 1px solid var(--pp-line); }
.pp-price strong, .pp-price span { display: block; }
.pp-price strong { color: var(--pp-ink); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.pp-price span { margin-top: 2px; color: #8b93a5; font-size: 11px; }
.pp-limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 18px 0 11px; }
.pp-limits span { color: #8991a3; font-size: 9px; line-height: 1.35; }
.pp-limits strong { display: block; color: var(--pp-purple); font-size: 18px; }
.pp-plan-card ul, .pp-addon ul { display: grid; gap: 9px; margin: 7px 0 22px; padding: 0; list-style: none; color: #566078; font-size: 12px; }
.pp-plan-card li, .pp-addon li { display: flex; gap: 7px; align-items: flex-start; }
.pp-plan-card li i, .pp-addon li i { color: var(--pp-green); font-size: 16px; }
.pp-plan-card li.pp-unavailable { color: #8e97aa; }
.pp-plan-card li.pp-unavailable i { color: #a6adbb; }
.pp-plan-card .pp-plan-button { width: 100%; margin-top: auto; }
.pp-plan-card--free .pp-plan-button { color: var(--pp-purple); background: #efedff; box-shadow: none; }
.pp-plan-card--ultra .pp-plan-button { background: #34305e; }
.pp-limit-note { display: flex; align-items: flex-start; gap: 7px; margin: 23px 0 0; color: var(--pp-muted); font-size: 12px; }
.pp-limit-note i { color: var(--pp-purple); font-size: 17px; }

.pp-comparison { padding-top: 55px; padding-bottom: 35px; scroll-margin-top: 90px; }
.pp-comparison__header > div:first-child p { margin-top: 8px; }
.pp-legend { display: flex; gap: 18px; color: var(--pp-muted); font-size: 12px; }
.pp-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pp-status { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-size: 16px; font-weight: 800; }
.pp-status--yes { color: var(--pp-green); background: #e9f8f2; }
.pp-status--no { color: #8e97aa; background: #f0f2f6; }
.pp-plan-switch { display: none; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 13px; }
.pp-plan-switch button { min-height: 42px; border: 1px solid var(--pp-line); border-radius: 9px; color: #697289; background: #fff; font-size: 12px; font-weight: 800; }
.pp-plan-switch button.is-selected { border-color: var(--pp-purple); color: var(--pp-purple); background: #efedff; }
.pp-table-card { overflow: hidden; border: 1px solid var(--pp-line); border-radius: 19px; background: #fff; box-shadow: var(--pp-shadow); }
.pp-table-wrap { overflow-x: auto; }
.pp-table { width: 100%; min-width: 900px; margin: 0; border-collapse: separate; border-spacing: 0; }
.pp-table th, .pp-table td { padding: 16px 18px; border-bottom: 1px solid var(--pp-line); vertical-align: middle; }
.pp-table thead th { position: sticky; top: 76px; z-index: 2; width: 15%; color: var(--pp-ink); background: #f8f9fc; text-align: center; font-size: 14px; }
.pp-table thead th:first-child { width: 40%; min-width: 330px; text-align: left; }
.pp-table tbody th { color: #3b455d; text-align: left; font-size: 13px; font-weight: 600; }
.pp-table tbody th strong, .pp-table tbody th small { display: block; }
.pp-table tbody th small { margin-top: 3px; color: #8a92a6; font-size: 11px; font-weight: 400; }
.pp-table td { text-align: center; color: var(--pp-ink); font-size: 14px; }
.pp-table td b { display: inline-flex; min-width: 42px; min-height: 34px; padding: 7px 11px; align-items: center; justify-content: center; border-radius: 999px; background: #f0f1f7; }
.pp-table .pp-group th { padding: 20px 22px; background: #f3f4f8; }
.pp-group th { display: table-cell; }
.pp-group i, .pp-group span { display: inline-flex; vertical-align: middle; }
.pp-group i { align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 10px; border-radius: 9px; color: var(--pp-purple); background: #e9e6ff; font-size: 18px; }
.pp-group span { flex-direction: column; }
.pp-group strong { color: var(--pp-ink); font-size: 14px; }
.pp-group small { margin-top: 2px; color: var(--pp-muted); font-size: 11px; font-weight: 400; }

.pp-addon { display: grid; grid-template-columns: 185px minmax(0, 1fr) 270px; gap: 35px; align-items: center; margin-top: 32px; margin-bottom: 70px; padding: 37px; border: 1px solid #dfdcfb; border-radius: 20px; background: linear-gradient(135deg,#fbfaff 0%,#f4f2ff 100%); box-shadow: 0 17px 40px rgba(64,52,145,.07); }
.pp-addon__visual { position: relative; height: 150px; }
.pp-addon__visual span { position: absolute; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--pp-purple); box-shadow: 0 15px 28px rgba(101,84,232,.2); }
.pp-addon__visual span:nth-child(1) { left: 7px; top: 30px; width: 92px; height: 92px; }
.pp-addon__visual span:nth-child(2) { right: 13px; top: 2px; width: 68px; height: 68px; background: #332d66; }
.pp-addon__visual span:nth-child(3) { right: 3px; bottom: 3px; width: 58px; height: 58px; color: var(--pp-green); background: #fff; }
.pp-addon__visual i { font-size: 31px; }
.pp-addon__body p { max-width: 720px; margin: 10px 0 17px; color: var(--pp-muted); font-size: 13px; line-height: 1.7; }
.pp-addon__body ul { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 0; }
.pp-addon__action { padding: 21px; border: 1px solid #e2dff5; border-radius: 15px; background: #fff; }
.pp-addon__action > span { color: var(--pp-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.pp-addon__action strong { display: block; margin: 7px 0; font-size: 18px; }
.pp-addon__action p { margin: 0 0 15px; color: var(--pp-muted); font-size: 11px; line-height: 1.55; }
.pp-addon__action .pp-plan-button { width: 100%; }

.pp-deployment { padding: 65px 0; color: #fff; background: linear-gradient(120deg,#292d4c 0%,#443a91 58%,#715eea 100%); }
.pp-deployment__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.pp-deployment .pp-label { color: rgba(255,255,255,.68); }
.pp-deployment h2 { color: #fff; font-size: 33px; }
.pp-deployment p { max-width: 780px; margin: 10px 0 0; color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.65; }
.pp-deployment .pp-button { flex: 0 0 auto; }

.pp-footer { padding: 50px 0 20px; background: #fff; }
.pp-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 35px; }
.pp-footer__brand p { max-width: 390px; margin: 16px 0 0; color: var(--pp-muted); font-size: 12px; line-height: 1.65; }
.pp-footer__top > div:not(.pp-footer__brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.pp-footer__top strong { margin-bottom: 4px; color: var(--pp-ink); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.pp-footer__top a { color: var(--pp-muted); font-size: 12px; }
.pp-footer__top a:hover { color: var(--pp-purple); }
.pp-footer__bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--pp-line); color: #9299aa; font-size: 11px; }
.pp-footer__bottom a { color: var(--pp-purple); }
.pp-back-to-top { position: fixed; z-index: 900; right: 24px; bottom: 24px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #fff; background: var(--pp-purple); box-shadow: 0 10px 24px rgba(101,84,232,.25); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 160ms ease, transform 160ms ease; }
.pp-back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.pp-back-to-top:hover { color: #fff; }

@media (max-width: 1200px) {
  .pp-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pp-plan-card--recommended { margin: 0; }
  .pp-addon { grid-template-columns: 130px minmax(0,1fr); }
  .pp-addon__action { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .pp-container { width: min(100% - 40px,1480px); }
  .pp-menu-toggle { display: inline-grid; place-items: center; }
  .pp-navbar__menu { position: absolute; top: 76px; right: 0; left: 0; display: none; padding: 16px 20px 22px; border-bottom: 1px solid var(--pp-line); background: #fff; box-shadow: 0 18px 30px rgba(25,32,58,.08); }
  .pp-navbar__menu.is-open { display: block; }
  .pp-navbar__links, .pp-navbar__actions { align-items: stretch; flex-direction: column; gap: 3px; }
  .pp-navbar__links a { padding: 10px 5px; }
  .pp-navbar__links a.is-active::after { display: none; }
  .pp-navbar__actions { margin-top: 10px; }
  .pp-login-link { text-align: center; }
  .pp-addon { grid-template-columns: 1fr; }
  .pp-addon__visual { display: none; }
  .pp-addon__action { grid-column: auto; }
  .pp-deployment__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
  .pp-container { width: min(100% - 28px,1480px); }
  .pp-hero { padding: 126px 0 57px; }
  .pp-hero h1 { font-size: 38px; }
  .pp-hero__content > p { font-size: 14px; }
  .pp-hero__actions, .pp-hero__meta { flex-direction: column; }
  .pp-hero__meta { gap: 5px; align-items: center; }
  .pp-plans { padding-top: 42px; }
  .pp-heading, .pp-comparison__header { align-items: flex-start; flex-direction: column; }
  .pp-heading h2, .pp-comparison h2, .pp-addon h2 { font-size: 25px; }
  .pp-plan-grid { grid-template-columns: 1fr; }
  .pp-plan-card { min-height: 0; }
  .pp-plan-card__description { min-height: 0; }
  .pp-plan-switch { display: grid; }
  .pp-table { min-width: 0; }
  .pp-table th, .pp-table td { padding: 14px 12px; }
  .pp-table thead th:first-child { width: 68%; min-width: 0; }
  .pp-table thead th { width: 32%; top: 76px; }
  .pp-group small { display: none; }
  .pp-addon { margin-bottom: 45px; padding: 24px; }
  .pp-addon__body ul { flex-direction: column; }
  .pp-deployment { padding: 48px 0; }
  .pp-deployment h2 { font-size: 28px; }
  .pp-footer__top { grid-template-columns: 1fr 1fr; gap: 32px 25px; }
  .pp-footer__brand { grid-column: 1 / -1; }
  .pp-footer__bottom { gap: 8px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pp-back-to-top { transition: none; }
}
