/* ============================================================
   HOUPY — Design System
   Apple-grade refinement. Preserva DNA premium existente.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand palette */
  --hp-purple-900: #4A1FAE;
  --hp-purple-700: #6A3DF0;
  --hp-purple-500: #7B3FE4;
  --hp-magenta: #B83FCE;
  --hp-pink-600: #E8459A;
  --hp-pink-400: #F48FB1;

  /* Surfaces */
  --hp-bg: #FFFFFF;
  --hp-bg-soft: #FAF8FF;
  --hp-bg-tint: #F6F1FB;
  --hp-line: rgba(23, 18, 31, 0.06);
  --hp-line-strong: rgba(23, 18, 31, 0.10);

  /* Text */
  --hp-ink: #17121F;
  --hp-ink-2: #2E2638;
  --hp-muted: #6E657A;
  --hp-muted-soft: #968FA2;

  /* Gradient — DNA Houpy */
  --hp-gradient: linear-gradient(118deg, #6A3DF0 0%, #8A3FE0 36%, #B83FCE 64%, #E8459A 100%);
  --hp-gradient-soft: linear-gradient(118deg, rgba(106, 61, 240, 0.10) 0%, rgba(232, 69, 154, 0.10) 100%);
  --hp-gradient-text: linear-gradient(110deg, #6A3DF0 10%, #B83FCE 55%, #E8459A 95%);

  /* Shadows — sofisticadas, muito sutis */
  --hp-shadow-xs: 0 1px 2px rgba(23, 18, 31, 0.04);
  --hp-shadow-sm: 0 4px 14px rgba(23, 18, 31, 0.04), 0 1px 3px rgba(23, 18, 31, 0.03);
  --hp-shadow-md: 0 10px 40px rgba(23, 18, 31, 0.06), 0 2px 8px rgba(23, 18, 31, 0.03);
  --hp-shadow-lg: 0 30px 80px rgba(23, 18, 31, 0.08), 0 6px 20px rgba(23, 18, 31, 0.04);
  --hp-shadow-brand: 0 20px 50px rgba(106, 61, 240, 0.18), 0 6px 16px rgba(232, 69, 154, 0.12);

  /* Radii */
  --hp-r-sm: 10px;
  --hp-r-md: 18px;
  --hp-r-lg: 28px;
  --hp-r-xl: 40px;
  --hp-r-pill: 999px;

  /* Container */
  --hp-container: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--hp-ink);
  background: var(--hp-bg);
  scroll-behavior: smooth;
}

body {
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─────────────── Typography Scale ─────────────── */
.hp-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-purple-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hp-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hp-gradient);
}

.hp-display {
  font-size: clamp(48px, 8.2vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.hp-h1 {
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.hp-h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.hp-h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.24;
  letter-spacing: -0.014em;
  font-weight: 700;
  margin: 0;
}
.hp-lede {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.6;
  letter-spacing: -0.003em;
  color: var(--hp-muted);
  text-wrap: pretty;
  font-weight: 400;
}

.hp-grad-text {
  background: var(--hp-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─────────────── Layout ─────────────── */
.hp-container {
  width: 100%;
  max-width: var(--hp-container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .hp-container { padding: 0 22px; }
}

.hp-section {
  padding: clamp(96px, 13vw, 180px) 0;
}
.hp-section--tight { padding: clamp(72px, 9vw, 120px) 0; }

/* ─────────────── Navigation ─────────────── */
.hp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.hp-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--hp-line);
}
.hp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hp-nav__menu {
  display: flex; align-items: center; gap: 4px;
}
.hp-nav__link {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hp-ink-2);
  border-radius: var(--hp-r-pill);
  transition: background 0.2s, color 0.2s;
}
.hp-nav__link:hover { background: var(--hp-bg-tint); color: var(--hp-purple-700); }
.hp-nav__link.is-active { color: var(--hp-purple-700); }

@media (max-width: 860px) {
  .hp-nav__menu { display: none; }
}

/* ─────────────── Logo ─────────────── */
.hp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.025em;
  color: var(--hp-ink);
}
.hp-logo__mark {
  width: 30px; height: 22px;
  flex-shrink: 0;
  display: block;
}
.hp-logo__img {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.hp-logo--lg .hp-logo__img { height: 64px; }
@media (max-width: 720px) {
  .hp-logo__img { height: 38px; }
}
.hp-logo--lg { font-size: 32px; gap: 14px; }
.hp-logo--lg .hp-logo__mark { width: 44px; height: 32px; }

/* ─────────────── Buttons ─────────────── */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--hp-r-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.hp-btn:active { transform: translateY(1px); }

.hp-btn--primary {
  background: var(--hp-gradient);
  color: #fff;
  box-shadow: 0 14px 30px rgba(106, 61, 240, 0.22), 0 4px 10px rgba(232, 69, 154, 0.14);
}
.hp-btn--primary:hover {
  box-shadow: 0 20px 40px rgba(106, 61, 240, 0.28), 0 6px 14px rgba(232, 69, 154, 0.18);
  transform: translateY(-1px);
}

.hp-btn--ghost {
  background: transparent;
  color: var(--hp-ink);
  border: 1px solid var(--hp-line-strong);
}
.hp-btn--ghost:hover {
  background: var(--hp-bg-tint);
  border-color: var(--hp-purple-700);
  color: var(--hp-purple-700);
}

.hp-btn--dark {
  background: #0E0A14;
  color: #fff;
  padding: 14px 26px;
}
.hp-btn--dark:hover { background: #1A1124; }

.hp-btn--sm { padding: 10px 18px; font-size: 13.5px; }
.hp-btn--lg { padding: 18px 32px; font-size: 16px; }

/* App Store button */
.hp-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  background: #0E0A14;
  color: #fff;
  border-radius: var(--hp-r-pill);
  transition: background 0.3s, transform 0.2s;
}
.hp-appstore:hover { background: #1A1124; transform: translateY(-1px); }
.hp-appstore__icon { width: 26px; height: 26px; }
.hp-appstore__label { display: flex; flex-direction: column; line-height: 1.1; }
.hp-appstore__label small { font-size: 10.5px; opacity: 0.78; letter-spacing: 0.02em; }
.hp-appstore__label strong { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }

/* ─────────────── Cards ─────────────── */
.hp-card {
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-lg);
  padding: 36px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.hp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-md);
  border-color: var(--hp-line-strong);
}

.hp-card--soft {
  background: var(--hp-bg-soft);
  border-color: transparent;
}

/* ─────────────── Phone Frame ─────────────── */
.hp-phone {
  width: 280px;
  aspect-ratio: 1170 / 2532;
  background: #0E0A14;
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 60px 100px rgba(23, 18, 31, 0.18),
    0 20px 40px rgba(106, 61, 240, 0.10),
    0 0 0 1px rgba(23, 18, 31, 0.04);
  position: relative;
  flex-shrink: 0;
}
.hp-phone__screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #FAFAFC;
  position: relative;
}
.hp-phone__screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hp-phone--sm { width: 220px; border-radius: 36px; padding: 8px; }
.hp-phone--sm .hp-phone__screen { border-radius: 28px; }
.hp-phone--lg { width: 320px; }

/* ─────────────── Reveal-on-scroll ─────────────── */
.hp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hp-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.hp-reveal--delay-1 { transition-delay: 0.08s; }
.hp-reveal--delay-2 { transition-delay: 0.16s; }
.hp-reveal--delay-3 { transition-delay: 0.24s; }
.hp-reveal--delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .hp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────── Section header ─────────────── */
.hp-shead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}
.hp-shead--left {
  align-items: flex-start;
  text-align: left;
  margin: 0;
}

/* ─────────────── Footer ─────────────── */
.hp-footer {
  background: var(--hp-bg-soft);
  border-top: 1px solid var(--hp-line);
  padding: 88px 0 40px;
  color: var(--hp-muted);
  font-size: 14px;
}
.hp-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hp-line);
}
.hp-footer__brand p {
  margin-top: 20px;
  max-width: 280px;
  line-height: 1.6;
}
.hp-footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hp-ink);
  margin: 0 0 18px;
}
.hp-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hp-footer__col a:hover { color: var(--hp-purple-700); }

.hp-footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--hp-muted-soft);
}
.hp-footer__legal {
  display: flex; gap: 24px; flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hp-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hp-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hp-footer__top { grid-template-columns: 1fr; }
}

/* ─────────────── Document pages (legal/support) ─────────────── */
.hp-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 32px 120px;
}

/* Doc-page nav: always opaque + larger logo to match home, and content pushed
   below the taller header so the title can never slip behind it on scroll. */
.hp-page-doc .hp-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--hp-line);
  padding: 14px 0;
}
.hp-page-doc .hp-nav .hp-logo__img { height: 188px; }
@media (max-width: 720px) {
  .hp-page-doc .hp-nav .hp-logo__img { height: 138px; }
}
.hp-page-doc .hp-doc { padding-top: 280px; }
@media (max-width: 720px) {
  .hp-page-doc .hp-doc { padding-top: 220px; }
}
.hp-doc__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-purple-700);
}
.hp-doc h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 16px 0 12px;
}
.hp-doc__updated {
  color: var(--hp-muted);
  font-size: 14px;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hp-line);
}
.hp-doc h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 56px 0 14px;
  color: var(--hp-ink);
}
.hp-doc h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 10px;
}
.hp-doc p, .hp-doc li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--hp-ink-2);
}
.hp-doc ul { padding-left: 22px; }
.hp-doc li { margin-bottom: 8px; }
.hp-doc a { color: var(--hp-purple-700); border-bottom: 1px solid currentColor; }
.hp-doc a:hover { color: var(--hp-pink-600); }

/* Selection */
::selection { background: rgba(106, 61, 240, 0.18); color: var(--hp-ink); }


/* ============================================================
   DOC PAGES (privacidade, termos, regras, segurança, suporte, contato)
   ============================================================ */
.hp-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 160px 32px 120px;
  color: var(--hp-ink);
}
.hp-doc__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-purple-700);
  margin-bottom: 16px;
}
.hp-doc h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 16px;
  text-wrap: balance;
}
.hp-doc__updated {
  font-size: 14px;
  color: var(--hp-muted);
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hp-line);
}
.hp-doc h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 64px 0 18px;
  color: var(--hp-ink);
}
.hp-doc h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 32px 0 12px;
  color: var(--hp-ink);
}
.hp-doc p,
.hp-doc li {
  font-size: 16px;
  line-height: 1.68;
  color: var(--hp-ink-2);
  margin: 0 0 14px;
}
.hp-doc ul {
  padding-left: 22px;
  margin: 0 0 22px;
}
.hp-doc li { margin-bottom: 8px; }
.hp-doc strong { color: var(--hp-ink); font-weight: 700; }
.hp-doc a {
  color: var(--hp-purple-700);
  border-bottom: 1px solid rgba(106, 61, 240, 0.22);
  transition: border-color 0.2s, color 0.2s;
}
.hp-doc a:hover { color: var(--hp-pink-600); border-bottom-color: var(--hp-pink-600); }

.hp-table-wrap { overflow-x: auto; margin: 18px 0 26px; }
.hp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  overflow: hidden;
}
.hp-table th, .hp-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hp-line);
  vertical-align: top;
}
.hp-table th {
  background: var(--hp-bg-soft);
  font-weight: 600;
  color: var(--hp-ink);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.hp-table tr:last-child td { border-bottom: none; }
.hp-table td { color: var(--hp-ink-2); }

.hp-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 32px 0 56px;
}
.hp-support-card {
  display: block;
  padding: 28px 26px;
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid var(--hp-line) !important;
}
.hp-support-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hp-shadow-sm);
  border-color: rgba(106, 61, 240, 0.22);
}
.hp-support-card__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 12px;
}
.hp-support-card__email {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--hp-ink);
  margin-bottom: 6px;
}
.hp-support-card__time {
  font-size: 13.5px;
  color: var(--hp-muted);
}

.hp-faq {
  border-top: 1px solid var(--hp-line);
  padding: 22px 0;
}
.hp-faq:last-of-type { border-bottom: 1px solid var(--hp-line); }
.hp-faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--hp-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-right: 8px;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after {
  content: '+';
  font-weight: 300;
  font-size: 24px;
  color: var(--hp-muted);
  transition: transform 0.3s;
}
.hp-faq[open] summary::after { transform: rotate(45deg); }
.hp-faq p {
  margin-top: 16px;
  color: var(--hp-muted);
  font-size: 15.5px;
}

.hp-contact-block {
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  padding: 28px 32px;
  margin: 32px 0 48px;
}
.hp-contact-block__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hp-line);
}
.hp-contact-block__row:last-child { border-bottom: none; }
.hp-contact-block__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-muted);
}
.hp-contact-block__value { color: var(--hp-ink); font-weight: 500; }
@media (max-width: 640px) {
  .hp-contact-block__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Product manifesto callout (index Feature 1, sem imagem) ── */
.product__manifesto {
  max-width: 880px;
  margin: 64px auto;
  padding: 96px 48px;
  text-align: center;
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
}
.product__manifesto-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 18px 0 22px;
  color: var(--hp-ink);
}
.product__manifesto-title em {
  font-style: normal;
  background: var(--hp-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product__manifesto p {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  color: var(--hp-muted);
  max-width: 600px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ── Cinematic manifesto callout (cinematografica Feature 1, sem imagem) ── */
.cine-manifesto {
  max-width: 980px;
  margin: 80px auto;
  padding: 100px 48px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cine-manifesto h3 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 20px 0 24px;
  color: #fff;
}
.cine-manifesto h3 em {
  font-style: normal;
  background: linear-gradient(110deg, #C6A8FF 10%, #FFB6D9 55%, #FFD3C7 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cine-manifesto p {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto;
}


/* ============================================================
   PRICING SECTION
   ============================================================ */
.hp-pricing {
  padding: clamp(120px, 14vw, 180px) 0;
  background: var(--hp-bg);
}
.hp-pricing__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.hp-pricing__head h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 22px 0 22px;
  text-wrap: balance;
}
.hp-pricing__head p {
  font-size: clamp(17px, 1.35vw, 21px);
  color: var(--hp-muted);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
.hp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 840px;
  margin: 0 auto;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .hp-pricing__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
.hp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-lg);
  padding: 40px 36px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.hp-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-md);
}
.hp-plan--featured {
  background: var(--hp-gradient);
  color: #fff;
  border: none;
  box-shadow: var(--hp-shadow-brand);
}
.hp-plan--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(255,180,220,0.22) 0%, transparent 55%);
  pointer-events: none;
}
.hp-plan > * { position: relative; z-index: 1; }
.hp-plan__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--hp-r-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  color: #fff;
  margin-bottom: 20px;
}
.hp-plan__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 8px;
}
.hp-plan--featured .hp-plan__name { color: rgba(255,255,255,0.85); }
.hp-plan__price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 6px 0 4px;
  color: var(--hp-ink);
}
.hp-plan--featured .hp-plan__price { color: #fff; }
.hp-plan__price small {
  font-size: 16px;
  font-weight: 500;
  color: var(--hp-muted);
  letter-spacing: 0;
}
.hp-plan--featured .hp-plan__price small { color: rgba(255,255,255,0.78); }
.hp-plan__tagline {
  font-size: 15px;
  color: var(--hp-muted);
  margin: 0 0 28px;
  line-height: 1.55;
}
.hp-plan--featured .hp-plan__tagline { color: rgba(255,255,255,0.78); }

.hp-plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}
.hp-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--hp-ink-2);
  border-top: 1px solid var(--hp-line);
}
.hp-plan__features li:first-child { border-top: none; }
.hp-plan--featured .hp-plan__features li {
  color: rgba(255,255,255,0.92);
  border-top-color: rgba(255,255,255,0.15);
}
.hp-plan__features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--hp-gradient);
  background-image: linear-gradient(135deg, var(--hp-purple-700), var(--hp-pink-600));
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.5l3.2 3.2L14 6.2' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.5l3.2 3.2L14 6.2' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}
.hp-plan--featured .hp-plan__features li::before {
  background: rgba(255,255,255,0.95);
}
.hp-plan__features li.is-off {
  color: var(--hp-muted-soft);
  text-decoration: line-through;
  text-decoration-color: var(--hp-line-strong);
}
.hp-plan__features li.is-off::before {
  background: var(--hp-muted-soft);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 5l8 8M13 5l-8 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/12px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 5l8 8M13 5l-8 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/12px no-repeat;
}

.hp-plan__cycles {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
}
.hp-plan__cycle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--hp-r-md);
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.hp-plan__cycle-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 12.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.hp-plan__cycle-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.hp-plan__cycle-price strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}
.hp-plan__cycle-permonth {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  margin-left: 0;
  letter-spacing: 0;
}

.hp-plan__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 22px;
  border-radius: var(--hp-r-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 0.2s, background 0.3s;
}
.hp-plan__cta--ghost {
  background: var(--hp-bg-tint);
  color: var(--hp-ink);
}
.hp-plan__cta--ghost:hover { background: var(--hp-bg-soft); }
.hp-plan__cta--solid {
  background: #fff;
  color: var(--hp-purple-700);
}
.hp-plan__cta--solid:hover { transform: translateY(-1px); }

.hp-pricing__note {
  margin: 56px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13.5px;
  color: var(--hp-muted);
  line-height: 1.6;
}
