/* Websting Pricing page */
.pricing-page {
  --pricing-purple: 176, 144, 255;
  --pricing-teal: 45, 212, 191;
  --pricing-blue: 91, 167, 255;
  --pricing-pink: 255, 112, 196;
  --pricing-yellow: 255, 214, 102;
}

.pricing-page [data-accent="blue"] { --accent-rgb: var(--pricing-blue); }

.pricing-hero-layout,
.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.pricing-hero h1 span {
  display: block;
  color: #8ef3df;
}

.pricing-hero-media,
.value-media {
  min-height: 410px;
  padding: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(45,212,191,.22), transparent 36%),
    radial-gradient(circle at 90% 85%, rgba(176,144,255,.2), transparent 42%),
    rgba(255,255,255,.055);
}

.pricing-hero-media img,
.value-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 22px;
}

.included-strip {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.included-strip-panel {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(176,144,255,.24), transparent 38%),
    radial-gradient(circle at 95% 70%, rgba(45,212,191,.15), transparent 40%),
    rgba(255,255,255,.055);
}

.included-kicker {
  color: #c9b8ff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.included-strip-panel h2 {
  margin: .65rem 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.included-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.included-benefits div {
  min-height: 100px;
  padding: 1rem;
  border: 1px solid rgba(91,167,255,.18);
  border-radius: 18px;
  background: rgba(91,167,255,.07);
}

.included-benefits strong,
.included-benefits span {
  display: block;
}

.included-benefits strong {
  color: #9dc9ff;
  font-family: var(--font-heading);
  font-size: 1.55rem;
}

.included-benefits span {
  margin-top: .3rem;
  color: var(--text-dim);
  font-size: .76rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.45rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle at 8% 0%, rgba(var(--accent-rgb,176,144,255),.21), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(45,212,191,.07), transparent 42%),
    rgba(255,255,255,.045);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb,176,144,255),.42);
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: .45rem .7rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(176,144,255,.2);
  color: #f1ebff;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.plan-label {
  margin: 0 0 .55rem;
  color: rgb(var(--accent-rgb,176,144,255));
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.plan-head {
  position: relative;
  z-index: 2;
}

.plan-head h3 {
  margin: 0 0 .75rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.plan-description {
  min-height: 6.4rem;
  color: var(--text-soft);
}

.plan-price {
  display: flex;
  align-items: end;
  gap: .45rem;
  margin-top: 1.2rem;
}

.plan-price strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5vw, 4rem);
  line-height: .9;
}

.plan-price span {
  color: var(--text-dim);
}

.setup-price {
  margin: .65rem 0 1.2rem;
  color: rgb(var(--accent-rgb,176,144,255));
  font-weight: 700;
}

.setup-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.15rem 0 1.35rem;
}

.setup-choice {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(45,212,191,.17);
  border-radius: 17px;
  background: rgba(45,212,191,.055);
}

.setup-choice-highlight {
  border-color: rgba(176,144,255,.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(176,144,255,.17), transparent 50%),
    rgba(176,144,255,.065);
}

.setup-choice-label,
.setup-choice strong,
.setup-choice p {
  display: block;
}

.setup-choice-label {
  color: var(--text-dim);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.setup-choice strong {
  margin-top: .35rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.setup-choice p {
  margin: .45rem 0 0;
  color: var(--text-dim);
  font-size: .76rem;
  line-height: 1.5;
}

.plan-list {
  display: grid;
  gap: .72rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text-soft);
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(var(--accent-rgb,176,144,255));
  font-weight: 900;
}

.plan-best-for {
  margin: auto 0 1.2rem;
  padding: .9rem;
  border-radius: 15px;
  background: rgba(var(--accent-rgb,176,144,255),.08);
  color: var(--text-dim);
  font-size: .84rem;
}

.plan-best-for strong {
  display: block;
  margin-bottom: .25rem;
  color: rgb(var(--accent-rgb,176,144,255));
}

.plan-actions {
  display: grid;
  gap: .7rem;
}

.button-wide {
  width: 100%;
  justify-content: center;
}

/* Playful AI Tools card */
.ai-tools-card {
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(176,144,255,.62);
  background:
    radial-gradient(circle at 15% 12%, rgba(255,112,196,.2), transparent 27%),
    radial-gradient(circle at 88% 16%, rgba(255,214,102,.18), transparent 24%),
    radial-gradient(circle at 76% 84%, rgba(45,212,191,.17), transparent 32%),
    linear-gradient(155deg, rgba(83,45,150,.34), rgba(20,15,53,.9) 52%, rgba(10,22,45,.92));
  box-shadow:
    0 34px 100px -55px rgba(176,144,255,.95),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.ai-tools-card::before,
.ai-tools-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.ai-tools-card::before {
  width: 180px;
  height: 180px;
  top: -88px;
  left: -58px;
  border: 1px dashed rgba(255,255,255,.18);
  box-shadow: 0 0 0 24px rgba(176,144,255,.04);
}

.ai-tools-card::after {
  width: 120px;
  height: 120px;
  right: -42px;
  bottom: 90px;
  background: radial-gradient(circle, rgba(45,212,191,.18), transparent 68%);
}

.ai-tools-card:hover {
  border-color: rgba(255,112,196,.58);
  box-shadow:
    0 38px 110px -52px rgba(176,144,255,1),
    0 18px 45px -35px rgba(45,212,191,.7);
}

.ai-tool-cloud {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  max-width: 72%;
  margin: 0 0 1.45rem;
}

.ai-tool-cloud span {
  padding: .36rem .62rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(9px);
}

.ai-tool-cloud span:nth-child(1) { transform: rotate(-4deg); }
.ai-tool-cloud span:nth-child(2) { transform: translateY(5px) rotate(3deg); }
.ai-tool-cloud span:nth-child(3) { transform: rotate(4deg); }
.ai-tool-cloud span:nth-child(4) { transform: translateY(-3px) rotate(-2deg); }

.ai-tools-card .plan-head h3 {
  display: inline-block;
  margin-right: .35rem;
  background: linear-gradient(90deg, #fff, #e5d9ff 48%, #9ff5e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-price-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.ai-price-pop {
  flex: 0 0 auto;
  margin-top: 1.2rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(255,214,102,.34);
  border-radius: 12px 18px 12px 18px;
  background: rgba(255,214,102,.12);
  color: #ffe69a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(2deg);
}

.ai-plan-list li:nth-child(odd)::before {
  content: "✦";
}

.ai-plan-list li:nth-child(even)::before {
  content: "+";
}

.ai-play-box {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: auto 0 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,112,196,.16), transparent 48%),
    rgba(255,255,255,.065);
}

.ai-play-spark {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255,112,196,.24), rgba(176,144,255,.2));
  color: #ffd4ef;
  font-size: 1.15rem;
}

.ai-play-box strong {
  display: block;
  color: #fff;
  font-size: .88rem;
}

.ai-play-box p {
  margin: .25rem 0 0;
  color: var(--text-dim);
  font-size: .78rem;
}

.ai-tools-button {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(90deg, #7c3aed, #a855f7 48%, #0d9488);
  box-shadow: 0 16px 34px -20px rgba(168,85,247,.9);
}

.ai-tools-button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  transform: skewX(-18deg);
  transition: left .5s ease;
}

.ai-tools-button:hover::after {
  left: 120%;
}

.plan-toolkit-item {
  color: rgba(231,240,255,.94) !important;
}

.smart-toolkit-note {
  max-width: 940px;
  margin: .3rem auto 0;
  overflow: hidden;
  border-color: rgba(91,167,255,.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(91,167,255,.1), transparent 38%),
    rgba(255,255,255,.035);
}

.smart-toolkit-note summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
}

.smart-toolkit-note summary::-webkit-details-marker {
  display: none;
}

.smart-toolkit-summary-copy {
  display: grid;
  gap: .18rem;
}

.smart-toolkit-summary-copy small {
  color: #9dc9ff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.smart-toolkit-summary-copy strong {
  color: rgba(255,255,255,.9);
  font-size: .93rem;
}

.smart-toolkit-summary-action {
  position: relative;
  flex: 0 0 auto;
  padding-right: 1.25rem;
  color: var(--text-dim);
  font-size: .74rem;
  font-weight: 700;
}

.smart-toolkit-summary-action::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  color: #9dc9ff;
  font-size: 1rem;
  transform: translateY(-50%);
}

.smart-toolkit-note[open] .smart-toolkit-summary-action::after {
  content: "−";
}

.smart-toolkit-content {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

.smart-toolkit-content > p:first-child {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: .86rem;
  line-height: 1.6;
}

.smart-toolkit-products {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .9rem;
}

.smart-toolkit-products span {
  padding: .42rem .65rem;
  border: 1px solid rgba(91,167,255,.18);
  border-radius: 999px;
  background: rgba(91,167,255,.065);
  color: rgba(224,237,255,.82);
  font-size: .73rem;
  font-weight: 700;
}

.smart-toolkit-license-note {
  margin: .85rem 0 0;
  color: rgba(255,255,255,.43);
  font-size: .72rem;
  line-height: 1.55;
}

.pricing-scope-note {
  max-width: 840px;
  margin: .6rem auto 0;
  color: var(--text-dim);
  text-align: center;
  font-size: .86rem;
}

.comparison-table-wrap {
  overflow-x: auto;
  padding: .45rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(45,212,191,.15), transparent 35%),
    rgba(255,255,255,.04);
}

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

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
  text-align: left;
}

.comparison-table thead th {
  color: #8ef3df;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.comparison-table thead th:nth-child(3) {
  color: #d7c5ff;
}

.comparison-table tbody th {
  color: rgba(255,255,255,.9);
  font-weight: 700;
}

.comparison-table td {
  color: var(--text-soft);
}

.comparison-table tbody td:nth-child(3) {
  background: rgba(176,144,255,.045);
}

.value-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(176,144,255,.1), transparent 34%),
    radial-gradient(circle at 85% 70%, rgba(91,167,255,.08), transparent 34%);
}

.value-copy ul {
  display: grid;
  gap: .75rem;
  margin: 1.4rem 0 1.8rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.value-copy li::marker {
  color: #9dc9ff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-item {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(91,167,255,.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(91,167,255,.09), transparent 36%),
    rgba(255,255,255,.035);
}

.faq-item summary {
  cursor: pointer;
  color: #fff;
  font-weight: 800;
}

.faq-item p {
  margin: 1rem 0 0;
  color: var(--text-soft);
}

.pricing-final-cta {
  background:
    radial-gradient(circle at 12% 12%, rgba(45,212,191,.22), transparent 38%),
    radial-gradient(circle at 92% 80%, rgba(91,167,255,.16), transparent 42%),
    rgba(255,255,255,.055);
}

@media (min-width: 64rem) {
  .ai-tools-card {
    transform: translateY(-16px);
  }

  .ai-tools-card:hover {
    transform: translateY(-22px) rotate(.15deg);
  }
}

@media (max-width: 70rem) and (min-width: 64rem) {
  .plan-card {
    padding: 1.4rem;
  }

  .plan-description {
    min-height: 7.4rem;
  }

  .setup-choices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 63.99rem) {
  .pricing-hero-layout,
  .value-layout,
  .included-strip-panel {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-description {
    min-height: 0;
  }

  .ai-tools-card {
    order: -1;
  }
}

@media (max-width: 47.99rem) {
  .included-benefits,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .smart-toolkit-note summary {
    align-items: flex-start;
  }

  .smart-toolkit-summary-action {
    width: 1rem;
    min-height: 1rem;
    padding-right: 0;
    overflow: hidden;
    color: transparent;
    white-space: nowrap;
  }

  .pricing-hero-media,
  .value-media,
  .pricing-hero-media img,
  .value-media img {
    min-height: 280px;
  }
}

@media (max-width: 38rem) {
  .setup-choices {
    grid-template-columns: 1fr;
  }

  .ai-price-wrap {
    align-items: flex-end;
  }
}

@media (max-width: 31rem) {
  .included-benefits,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .ai-price-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .ai-price-pop {
    margin-top: .7rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ai-tool-cloud span:nth-child(1) { animation: pricing-float 5.5s ease-in-out infinite; }
  .ai-tool-cloud span:nth-child(2) { animation: pricing-float 6.5s ease-in-out -.8s infinite; }
  .ai-tool-cloud span:nth-child(3) { animation: pricing-float 5.8s ease-in-out -1.6s infinite; }
  .ai-tool-cloud span:nth-child(4) { animation: pricing-float 6.8s ease-in-out -2.2s infinite; }
}

@keyframes pricing-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

/* Homepage-aligned pricing hero */
@media (min-width: 901px) {
  body.pricing-page main#main-content > .pricing-hero {
    padding-top: 3.6rem !important;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  body.pricing-page main#main-content > .pricing-hero {
    padding-top: 2.7rem !important;
  }
}

@media (max-width: 700px) {
  body.pricing-page main#main-content > .pricing-hero {
    padding-top: .35rem !important;
  }
}
