/* Pricing page */
.pricing-hero { padding: 56px 0 24px; }
.pricing-hero h1 { line-height: 1.05; }

.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 40px;
}
.toggle {
  display: inline-flex;
  padding: 4px;
  background: rgba(8,8,18,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.toggle__opt {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: var(--foreground-dim);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.toggle__opt:hover { color: var(--foreground); }
.toggle__opt.is-active {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 16px rgba(96,65,255,0.45);
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.plan {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.plan--cloud {
  background:
    radial-gradient(120% 80% at 55% 0%, rgba(96,65,255,0.22) 0%, transparent 60%),
    linear-gradient(120deg, #14161E 0%, #25244E 50%, #11131A 100%);
  border-color: rgba(96,65,255,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 0 0 1px rgba(96,65,255,0.15),
    0 0 60px -10px rgba(96,65,255,0.35);
}
.plan__ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 12px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 16px rgba(96,65,255,0.45);
}
.plan__head h2 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.plan__amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}
.plan__period { font-size: 16px; color: var(--muted-foreground); }
.plan__sub { font-size: 14px; color: var(--muted-foreground); }
.plan__trial {
  margin-top: 8px;
  font-size: 13px;
  color: var(--primary-light);
  font-weight: 500;
}
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--foreground-dim);
  line-height: 1.5;
}
.plan__features li i {
  width: 18px; height: 18px;
  background: rgba(43,196,112,0.18);
  color: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  margin-top: 3px;
  flex-shrink: 0;
}
.plan__features strong { color: var(--foreground); font-weight: 600; }
.plan__footnote { font-size: 11px; color: var(--muted-foreground); text-align: center; line-height: 1.5; }
.plan__footnote--ghost { visibility: hidden; }
.plan--free .plan__head::after {
  content: "";
  display: block;
  height: 22px;
}

@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Compare table */
.compare { overflow: hidden; }
.compare__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
  align-items: center;
}
.compare__row:last-child { border-bottom: none; }
.compare__row > div:not(:first-child) { text-align: center; }
.compare__row--head {
  background: rgba(96,65,255,0.06);
  font-weight: 600;
  color: var(--foreground);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare__cloud { color: var(--primary-light); }
.compare__row .ok i { color: var(--success); font-size: 14px; }
.compare__row .no { color: var(--muted-foreground); }

@media (max-width: 640px) {
  .compare__row { grid-template-columns: 1.6fr 0.7fr 0.7fr; padding: 12px 16px; font-size: 13px; }
}

/* Sharing anchor */
.sharing-anchor__inner { padding: 48px; display: grid; gap: 14px; }
.sharing-anchor__inner h2 { font-size: clamp(28px, 3vw, 40px); }
.sharing-anchor__inner p { font-size: 16px; }
.sharing-anchor__steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.sharing-anchor__steps li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(8,8,18,0.4);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
}
.sharing-anchor__steps .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.sharing-anchor__steps strong { color: var(--foreground); }

@media (max-width: 640px) { .sharing-anchor__inner { padding: 28px; } }

/* FAQ shared */
.faq__list { display: grid; gap: 8px; }
.faq__item {
  border-radius: var(--radius-md);
  background: rgba(8,8,18,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq__item:hover { border-color: rgba(255,255,255,0.12); }
.faq__item[open] { background: rgba(96,65,255,0.04); border-color: rgba(96,65,255,0.15); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  font-size: 12px;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}
.faq__item[open] summary i { transform: rotate(180deg); color: var(--primary-light); }
.faq__body { padding: 0 22px 18px; color: var(--foreground-dim); font-size: 15px; line-height: 1.6; }
