/* Commercial landing pages for Coach Ivy.
   Depends on theme.css. */

.money-main {
  overflow: hidden;
}

.money-main section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.money-main .compact-section {
  padding-top: 0;
}

.money-hero {
  padding: clamp(38px, 4.5vw, 64px) 0 clamp(72px, 9vw, 112px);
}

.money-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .76fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.money-hero-copy {
  padding-top: 20px;
}

.money-hero-copy h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(42px, 4.35vw, 62px);
}

.money-hero-copy .lead {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.52;
}

.accent-text {
  color: var(--sakura);
  font-style: italic;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions .btn {
  padding: 15px 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--lavender);
  font-size: 13.5px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust span::before {
  content: "✓";
  color: var(--sakura);
  font-weight: 800;
}

.product-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}

.product-stage::before {
  content: "";
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(249,168,212,.38), transparent 38%),
    radial-gradient(circle at 66% 70%, rgba(139,92,246,.46), transparent 48%);
  filter: blur(24px);
  opacity: .86;
}

.phone-shell {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 9 / 16;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 42px 80px rgba(0,0,0,.52), 0 0 0 8px rgba(15,7,27,.7);
  overflow: hidden;
  transform: rotate(1.5deg);
  z-index: 2;
}

.phone-shell::before {
  content: "";
  position: absolute;
  z-index: 3;
  width: 38%;
  height: 22px;
  top: 14px;
  left: 31%;
  border-radius: 999px;
  background: #09030f;
}

.phone-shell video,
.phone-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 39px;
  background: #09030f;
}

.stage-card {
  position: absolute;
  z-index: 4;
  max-width: 220px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 17px;
  background: rgba(24,12,42,.86);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.stage-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14px;
}

.stage-card span {
  color: var(--lavender);
  font-size: 12.5px;
}

.stage-card-left {
  left: -16px;
  top: 9%;
}

.stage-card-right {
  right: -18px;
  bottom: 18%;
}

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -26px;
}

.proof-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(35,21,57,.76);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.proof-item {
  min-height: 116px;
  padding: 24px;
  display: grid;
  place-content: center;
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
}

.proof-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin-top: 18px;
}

.section-heading p {
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.7;
}

.process-grid,
.feature-grid,
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-card,
.feature-card,
.use-card {
  position: relative;
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(249,168,212,.08), transparent 65%),
    linear-gradient(155deg, rgba(35,21,57,.94), rgba(20,10,37,.94));
  box-shadow: var(--shadow-sm);
}

.process-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 14px;
  background: rgba(139,92,246,.18);
  border: 1px solid rgba(139,92,246,.3);
  color: var(--lavender);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.process-card h3,
.feature-card h3,
.use-card h3 {
  margin-bottom: 12px;
}

.process-card p,
.feature-card p,
.use-card p {
  color: var(--ink-dim);
  font-size: 15.5px;
  line-height: 1.65;
}

.feature-card {
  min-height: 220px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(249,168,212,.12);
  border: 1px solid rgba(249,168,212,.2);
  font-size: 23px;
}

.demo-panel,
.accuracy-panel,
.privacy-panel,
.rating-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 75% at 100% 0%, rgba(249,168,212,.12), transparent 68%),
    radial-gradient(65% 70% at 0% 100%, rgba(139,92,246,.18), transparent 68%),
    linear-gradient(150deg, #23143a, #130823);
  box-shadow: var(--shadow-lg);
}

.demo-phone {
  width: min(310px, 76vw);
  margin: 0 auto;
  padding: 9px;
  border-radius: 44px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,.48);
}

.demo-phone video,
.demo-phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 36px;
  background: #09030f;
}

.panel-copy h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.2vw, 54px);
}

.panel-copy > p {
  margin-top: 20px;
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.72;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-dim);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sakura);
  font-weight: 800;
}

.control-stack {
  display: grid;
  gap: 14px;
}

.control-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(11,5,22,.38);
}

.control-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.control-card span {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.55;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(35,21,57,.72);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 14.5px;
}

.comparison-table th {
  color: var(--lavender);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table .highlight {
  color: var(--ink);
  font-weight: 700;
  background: rgba(139,92,246,.09);
}

.rating-score {
  text-align: center;
}

.rating-score strong {
  display: block;
  color: var(--ink);
  font-family: 'Playfair Display', serif;
  font-size: clamp(66px, 9vw, 112px);
  line-height: .9;
}

.rating-score .stars {
  margin-top: 18px;
  color: var(--butter);
  font-size: 26px;
  letter-spacing: .1em;
}

.rating-score span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.review-quote {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11,5,22,.36);
}

.review-quote blockquote {
  margin: 0;
  color: var(--ink);
  font-family: 'Playfair Display', serif;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.25;
}

.review-quote cite {
  display: block;
  margin-top: 22px;
  color: var(--lavender);
  font-style: normal;
  font-size: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(35,21,57,.96), rgba(20,10,37,.96));
}

.price-card.featured {
  border-color: rgba(249,168,212,.38);
  box-shadow: 0 24px 60px rgba(139,92,246,.2);
}

.price-label {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(249,168,212,.12);
  color: var(--sakura);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-top: 20px;
  font-size: 32px;
}

.price-card > p {
  margin-top: 12px;
  color: var(--ink-dim);
  line-height: 1.65;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  color: var(--ink-dim);
  font-size: 14.5px;
}

.price-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--sakura);
  font-weight: 800;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.privacy-point {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11,5,22,.34);
}

.privacy-point strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.privacy-point span {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.55;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(35,21,57,.72);
  overflow: hidden;
}

.faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  padding: 0 24px 22px;
  color: var(--ink-dim);
  line-height: 1.68;
}

.faq-list a,
.text-link {
  color: var(--violet-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.final-cta {
  padding: clamp(44px, 7vw, 78px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(70% 100% at 50% 100%, rgba(139,92,246,.28), transparent 70%),
    linear-gradient(145deg, #27143f, #140823);
  box-shadow: var(--shadow-lg);
}

.final-cta h2 {
  max-width: 760px;
  margin: 18px auto 0;
}

.final-cta p {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.68;
}

.final-cta .section-actions {
  justify-content: center;
}

.fine-print {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
}

@media (max-width: 980px) {
  .money-hero-grid,
  .demo-panel,
  .accuracy-panel,
  .privacy-panel,
  .rating-panel {
    grid-template-columns: 1fr;
  }

  .money-hero-copy {
    padding-top: 0;
    text-align: center;
  }

  .money-hero-copy h1,
  .money-hero-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .product-stage {
    min-height: 610px;
  }

  .proof-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .process-grid,
  .feature-grid,
  .use-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 660px) {
  .money-main section {
    padding: 66px 0;
  }

  .money-hero {
    padding-top: 44px;
  }

  .money-hero-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .product-stage {
    min-height: 560px;
  }

  .stage-card-left {
    left: 0;
  }

  .stage-card-right {
    right: 0;
  }

  .process-grid,
  .feature-grid,
  .use-grid,
  .pricing-grid,
  .privacy-points {
    grid-template-columns: 1fr;
  }

  .proof-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .proof-item {
    min-height: 98px;
    padding: 18px 12px;
  }

  .proof-item strong {
    font-size: 18px;
  }

  .demo-panel,
  .accuracy-panel,
  .privacy-panel,
  .rating-panel {
    padding: 26px 20px;
    border-radius: 28px;
  }

  .hero-actions .btn,
  .section-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .final-cta {
    padding: 42px 22px;
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-shell {
    transform: none;
  }
}
