/* =========================================================
   Memory SoundX — Pro page styles (v2 premium polish)
   ========================================================= */

.pro-hero {
  text-align: center;
  padding: 140px 24px 56px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.pro-hero::before {
  content: '';
  position: absolute;
  inset: 80px 0 0 0;
  height: 320px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(43,212,217,0.18), transparent 70%),
    radial-gradient(40% 60% at 50% 40%, rgba(233,76,160,0.10), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

.pro-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}

.pro-sub {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* =====================================================
   Pricing grid
   ===================================================== */
.pricing-cards {
  padding: 16px 0 64px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Base card — frosted glass with elevation */
.pricing-card {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 30px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 1px 2px rgba(0,0,0,0.35),
    0 18px 40px rgba(0,0,0,0.45);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  isolation: isolate;
}
.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 30%);
  opacity: 0.6;
  z-index: -1;
}
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 1px 2px rgba(0,0,0,0.35),
    0 28px 56px rgba(0,0,0,0.55);
}

/* Per-tier color accents */
.pro-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(43,212,217,0.14), transparent 65%),
    linear-gradient(180deg, rgba(43,212,217,0.06), rgba(255,255,255,0.02));
  border-color: rgba(43,212,217,0.40);
  box-shadow:
    inset 0 1px 0 rgba(43,212,217,0.18),
    0 0 0 1px rgba(43,212,217,0.10),
    0 24px 56px rgba(43,212,217,0.14),
    0 18px 40px rgba(0,0,0,0.45);
}
.pro-card:hover {
  border-color: rgba(43,212,217,0.60);
  box-shadow:
    inset 0 1px 0 rgba(43,212,217,0.24),
    0 0 0 1px rgba(43,212,217,0.16),
    0 32px 64px rgba(43,212,217,0.20),
    0 24px 48px rgba(0,0,0,0.55);
}

.family-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(60,214,103,0.10), transparent 65%),
    linear-gradient(180deg, rgba(60,214,103,0.04), rgba(255,255,255,0.02));
  border-color: rgba(60,214,103,0.22);
}

.founders-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,210,59,0.12), transparent 65%),
    linear-gradient(180deg, rgba(255,210,59,0.05), rgba(255,255,255,0.02));
  border-color: rgba(255,210,59,0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,210,59,0.16),
    0 0 0 1px rgba(255,210,59,0.08),
    0 24px 56px rgba(255,210,59,0.10),
    0 18px 40px rgba(0,0,0,0.45);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2BD4D9, #1FB8BE);
  color: #06070A;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow:
    0 4px 12px rgba(43,212,217,0.45),
    inset 0 1px 0 rgba(255,255,255,0.4);
  white-space: nowrap;
}

.card-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
}
.card-badge.pro { color: #2BD4D9; }
.card-badge.family { color: #3CD667; }
.card-badge.founders { color: #FFD23B; }

.card-price {
  margin-bottom: 10px;
}
.price-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff, rgba(255,255,255,0.78));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-period {
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  display: block;
  margin-top: 6px;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin: 16px 0 26px;
  flex: 1;
}

/* CTAs */
.card-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.005em;
}
.card-cta.primary {
  background: linear-gradient(180deg, #2BD4D9, #1FB8BE);
  color: #06070A;
  box-shadow:
    0 6px 20px rgba(43,212,217,0.35),
    inset 0 1px 0 rgba(255,255,255,0.35);
}
.card-cta.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px rgba(43,212,217,0.50),
    inset 0 1px 0 rgba(255,255,255,0.4);
}
.card-cta.secondary {
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.04);
}
.card-cta.secondary:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.38);
  transform: translateY(-1px);
}
.card-cta.founders-btn {
  background: linear-gradient(180deg, #FFD23B, #E8B92A);
  color: #06070A;
  box-shadow:
    0 6px 20px rgba(255,210,59,0.30),
    inset 0 1px 0 rgba(255,255,255,0.35);
}
.card-cta.founders-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px rgba(255,210,59,0.45),
    inset 0 1px 0 rgba(255,255,255,0.4);
}

/* =====================================================
   Comparison table
   ===================================================== */
.comparison {
  padding: 80px 0 56px;
}
.comparison-heading {
  text-align: center;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.98);
}
.comparison-wrap {
  overflow-x: auto;
  padding: 0 24px 32px;
  max-width: 880px;
  margin: 0 auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 18px 40px rgba(0,0,0,0.40);
}
.comparison-table th {
  padding: 16px 16px;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.comparison-table th:first-child {
  text-align: left;
  color: rgba(255,255,255,0.95);
}
.comparison-table td {
  padding: 13px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: rgba(255,255,255,0.96);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.comparison-table tr:hover td { background: rgba(43,212,217,0.04); }

/* Highlight Pro column slightly */
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  background: rgba(43,212,217,0.05);
}
.comparison-table tr:nth-child(even) td:nth-child(3) { background: rgba(43,212,217,0.07); }
.comparison-table th:nth-child(3) { color: #2BD4D9; }

/* =====================================================
   FAQ
   ===================================================== */
.pro-faq {
  max-width: 720px;
  margin: 64px auto 80px;
  padding: 0 24px;
}
.faq-heading {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  text-align: center;
  color: rgba(255,255,255,0.98);
}
.faq-item {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.faq-item:hover {
  border-color: rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.faq-item[open] {
  border-color: rgba(43,212,217,0.30);
  background:
    linear-gradient(180deg, rgba(43,212,217,0.05), rgba(255,255,255,0.02));
}
.faq-item summary {
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: rgba(255,255,255,0.98);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: rgba(255,255,255,0.85);
  font-size: 22px;
  font-weight: 300;
  margin-left: 16px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
  width: 22px;
  text-align: center;
}
.faq-item[open] summary::after {
  content: '−';
  color: #2BD4D9;
}
.faq-item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin: 12px 0 0;
}

/* =====================================================
   Footer override for /pro/
   ===================================================== */
.pro-foot { margin-top: 32px; }
.pro-foot .foot-credit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
  max-width: 1120px;
  margin: 0 auto;
  color: rgba(255,255,255,0.65);
}
.pro-foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.pro-foot-links a {
  color: rgba(255,255,255,0.70);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.pro-foot-links a:hover { color: #2BD4D9; }
