/* ═══ PRO PAGE — Xtract/HeyMessage hybrid design ═══ */

/* ─── Hero ─── */
.pro-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.pro-hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(129,74,200,0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pro-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.pro-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.1;
  max-width: 700px;
  margin: 0 0 24px;
}

.pro-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #fff 30%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pro-hero .desc {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
  margin: 0 0 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(129,74,200,0.9) 0%, rgba(159,104,230,0.9) 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(129,74,200,0.3), 0 4px 12px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(129,74,200,0.5), 0 4px 16px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--heading);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.hero-sub {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}

/* ─── Section layout ─── */
.pro-section {
  padding: 100px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .badge {
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 400;
  color: var(--heading);
  margin: 0 0 16px;
  line-height: 1.2;
}

.section-header p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Glass card (Xtract style) ─── */
.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  box-shadow:
    0 0.7px 0.7px -0.625px rgba(0,0,0,0.15),
    0 1.8px 1.8px -1.25px rgba(0,0,0,0.14),
    0 3.6px 3.6px -1.875px rgba(0,0,0,0.14),
    0 6.9px 6.9px -2.5px rgba(0,0,0,0.13),
    0 13.6px 13.6px -3.125px rgba(0,0,0,0.10),
    0 30px 30px -3.75px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(255,255,255,0.15);
}

/* ─── Features grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 36px 28px;
}

.feature-card .fc-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(129,74,200,0.1);
  border-radius: 10px;
  margin-bottom: 20px;
}

.feature-card .fc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--heading);
  margin: 0 0 10px;
}

.feature-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Pricing cards ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.price-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: rgba(129,74,200,0.4);
  background: rgba(129,74,200,0.06);
}

.price-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(129,74,200,0.3) 0%, transparent 60%);
  z-index: -1;
  filter: blur(20px);
}

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(129,74,200,0.9) 0%, rgba(159,104,230,0.9) 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
}

.pc-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.pc-price {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 400;
  color: var(--heading);
  line-height: 1;
  margin-bottom: 4px;
}

.pc-price .currency {
  font-size: 24px;
  color: var(--muted);
  vertical-align: super;
}

.pc-price .cents {
  font-size: 24px;
  color: var(--muted);
}

.pc-period {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.pc-save {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 28px;
  min-height: 16px;
}

.pc-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 0 24px;
}

.pc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
}

.pc-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  padding: 8px 0;
}

.pc-features li .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}

.pc-features li .icon.yes { color: var(--accent); }
.pc-features li .icon.no { color: rgba(255,255,255,0.2); }
.pc-features li.disabled { color: var(--muted); opacity: 0.5; }

.pc-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pc-btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--heading);
}

.pc-btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.pc-btn-primary {
  background: linear-gradient(135deg, rgba(129,74,200,0.9) 0%, rgba(159,104,230,0.9) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 0 20px rgba(129,74,200,0.25);
}

.pc-btn-primary:hover {
  box-shadow: 0 0 30px rgba(129,74,200,0.4);
  transform: translateY(-1px);
}

.pc-trial {
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--accent); }

.faq-q .plus {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding: 0 0 22px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ─── Final CTA ─── */
.pro-final {
  padding: 100px 24px 140px;
  text-align: center;
  position: relative;
}

.pro-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(129,74,200,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pro-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  color: var(--heading);
  margin: 0 0 16px;
  font-style: italic;
}

.pro-final .desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  margin: 0 auto 36px;
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .price-card.featured {
    order: -1;
  }
  
  .pro-hero {
    padding: 120px 20px 80px;
    min-height: 65vh;
  }
  
  .pro-section {
    padding: 60px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
