/* ============================================================
   Pro marketing page — extends style.css + auth.css
   v4 — simplified plans, static FAQ, 2x2 benefits, no trial
   ============================================================ */

/* ---------- Typography ---------- */
.pro-page h1,
.pro-page h2,
.pro-page h3,
.plan-price {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* ---------- Body & layout ---------- */
.pro-body {
  background:
    radial-gradient(ellipse at 15% -5%, rgba(204, 251, 241, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 15%, rgba(254, 243, 199, 0.35) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 85%, rgba(204, 251, 241, 0.25) 0%, transparent 50%),
    var(--bg);
  background-attachment: fixed, fixed, fixed, scroll;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pro-body .pro-page {
  flex: 1;
}

.pro-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 32px 64px;
}

/* ---------- Scroll reveal ---------- */
.anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}
.no-js .anim {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.pro-hero {
  text-align: center;
  margin-bottom: 80px;
}

.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 7px 17px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -8px rgba(217, 119, 6, 0.45);
}
.pro-badge svg {
  width: 15px;
  height: 15px;
}

.pro-hero h1 {
  font-size: 54px;
  font-weight: 800;
  margin: 28px 0 20px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pro-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}
.pro-lead strong {
  color: var(--text);
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.2;
}
.hero-stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Sections ---------- */
.pro-section {
  margin-bottom: 72px;
}
.pro-section-head {
  text-align: center;
  margin-bottom: 32px;
}
.pro-section-head h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.pro-section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Pill tag ---------- */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Showcase (two-col feature) ---------- */
.showcase {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.showcase-flip {
  flex-direction: row-reverse;
}
.showcase-content {
  flex: 1;
  min-width: 0;
}
.showcase-visual {
  flex: 1;
  min-width: 0;
}
.showcase-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
.showcase-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.showcase-content p strong {
  color: var(--text);
}

/* Pain text */
.pain {
  border-left: 3px solid var(--warning);
  padding-left: 16px;
  font-style: italic;
}

/* Compat chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.chips span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 13px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

/* ---------- Enrichment flow ---------- */
.enrich-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ef-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 130px;
}
.ef-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.ef-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ef-icon svg {
  width: 28px;
  height: 28px;
}
.ef-step strong {
  font-size: 13px;
  color: var(--text);
}
.ef-step > span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

.ef-step-accent .ef-num {
  background: var(--accent);
  color: #fff;
}
.ef-step-accent .ef-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px -8px rgba(15, 118, 110, 0.4);
}

.ef-arrow {
  display: flex;
  align-items: center;
  padding-top: 42px;
  color: var(--text-soft);
  flex: 0 0 auto;
  margin: 0 6px;
}
.ef-arrow svg {
  width: 36px;
  height: 12px;
}

/* Flow staggered reveal */
.enrich-flow > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.visible .enrich-flow > :nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.visible .enrich-flow > :nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.visible .enrich-flow > :nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.visible .enrich-flow > :nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.36s; }
.visible .enrich-flow > :nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.44s; }

/* ---------- Views stack ---------- */
.views-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vcard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.vcard:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.vcard-active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.25), var(--bg-elev));
  box-shadow: 0 4px 16px -4px rgba(15, 118, 110, 0.15);
  transform: translateX(6px);
}
.vdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  flex-shrink: 0;
}
.vcard strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.vcard span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Views staggered reveal */
.views-stack > * {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.visible .views-stack > :nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.08s; }
.visible .views-stack > :nth-child(2) { opacity: 1; transition-delay: 0.14s; }
.visible .views-stack > :nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 0.2s; }
.visible .views-stack > :nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 0.26s; }
.visible .views-stack > .vcard-active { transform: translateX(6px); }

/* ---------- Benefits 2x2 grid ---------- */
.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}
.pro-feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur), box-shadow var(--dur);
}
.pro-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.pro-feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.pro-feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Plan cards ---------- */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.plan-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.plan-card-pro {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 32px -10px rgba(15, 118, 110, 0.2);
}
.plan-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.plan-card-pro .plan-name {
  color: var(--accent);
}
.plan-price {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.plan-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

/* Plan feature list */
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.plan-list li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-list li::before {
  content: "\2713";
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
  color: var(--success);
}
.plan-muted {
  color: var(--text-muted) !important;
}
.plan-muted::before {
  color: var(--text-soft) !important;
}
.plan-accent {
  font-weight: 600;
  color: var(--accent) !important;
}
.plan-accent::before {
  color: var(--accent) !important;
}

/* Terms */
.plan-terms {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text);
}
.faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Footer CTA ---------- */
.pro-foot {
  margin-top: 16px;
  text-align: center;
  padding-bottom: 24px;
}
.pro-foot .btn-lg {
  font-size: 16px;
  padding: 14px 40px;
  box-shadow: 0 8px 24px -8px rgba(15, 118, 110, 0.35);
  transition: transform var(--dur), box-shadow var(--dur), background var(--dur);
}
.pro-foot .btn-lg:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(15, 118, 110, 0.4);
}
.pro-foot p {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.pro-foot p a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur);
}
.pro-foot p a:hover {
  border-bottom-color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .showcase {
    flex-direction: column;
    padding: 36px 28px;
    gap: 36px;
  }
  .showcase-flip {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .pro-page {
    padding: 56px 20px 40px;
  }
  .pro-hero {
    margin-bottom: 56px;
  }
  .pro-hero h1 {
    font-size: 36px;
  }
  .pro-lead {
    font-size: 16px;
  }
  .hero-stats {
    gap: 28px;
    margin-top: 28px;
    padding-top: 28px;
  }
  .hero-stat strong {
    font-size: 22px;
  }
  .pro-section {
    margin-bottom: 52px;
  }
  .showcase {
    padding: 28px 22px;
    gap: 28px;
  }
  .showcase-content h2 {
    font-size: 22px;
  }

  /* Flow vertical on mobile */
  .enrich-flow {
    flex-direction: column;
    align-items: center;
  }
  .ef-arrow {
    padding-top: 0;
    margin: 4px 0;
    transform: rotate(90deg);
  }
  .ef-step {
    width: auto;
    min-width: 140px;
  }

  /* Plan cards stack */
  .plan-cards {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .plan-card {
    padding: 28px 24px 24px;
  }
  .plan-price {
    font-size: 32px;
  }

  /* Benefits single column */
  .pro-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .faq-item {
    padding: 16px 20px;
  }
  .faq-item h4 {
    font-size: 14px;
  }
  .faq-item p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .pro-hero h1 {
    font-size: 30px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .pro-section-head h2 {
    font-size: 24px;
  }
  .chips {
    gap: 6px;
  }
  .chips span {
    font-size: 11px;
    padding: 4px 10px;
  }
}
