.pricing { padding: 140px 0 80px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s var(--ease);
}

.price-card:hover { transform: translateY(-4px); }

.price-card.featured {
  background: linear-gradient(180deg, rgba(139,92,246,0.18), rgba(236,72,153,0.08));
  border: 1px solid rgba(167,139,250,0.4);
  box-shadow: 0 30px 80px rgba(139,92,246,0.25);
}

.price-card.featured::before {
  content: 'Самый популярный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 22px rgba(139,92,246,0.5);
  white-space: nowrap;
}

.plan-name {
  font-size: 14px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 6px;
  flex-wrap: wrap;
}

.plan-price .amount {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.plan-price .currency { color: var(--ink-1); font-size: 28px; }
.plan-price .period { color: var(--ink-2); font-size: 14px; margin-left: 4px; }
.plan-tag { color: var(--ink-1); font-size: 14px; margin-bottom: 28px; }

.plan-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-1);
}

.plan-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #c4b5fd;
  margin-top: 2px;
}

.plan-cta { width: 100%; justify-content: center; }

.testimonials { padding: 140px 0 80px; }

.tsm-marquee {
  display: flex;
  gap: 18px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tsm-track {
  display: flex;
  gap: 18px;
  animation: marquee 50s linear infinite;
  flex-shrink: 0;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.tsm-card {
  width: 360px;
  flex-shrink: 0;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
}

.tsm-quote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-0);
  margin-bottom: 18px;
}

.tsm-author { display: flex; align-items: center; gap: 12px; }

.tsm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 0;
}

.tsm-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.tsm-meta span { font-size: 12px; color: var(--ink-2); }

.cta {
  padding: 120px 0 140px;
  text-align: center;
}

.cta-card {
  position: relative;
  padding: 80px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 30% 0%, rgba(139,92,246,0.45), transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(236,72,153,0.4), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  isolation: isolate;
}

.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 80px 80px, 60px 60px;
}

.cta-card h2 {
  font-size: clamp(40px, 6vw, 84px);
  margin-bottom: 22px;
}

.cta-card p {
  color: var(--ink-1);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-card .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  position: relative;
  z-index: 5;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5,6,10,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 48px;
}

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-brand .brand-logo .brand-mark { width: 28px; height: 28px; }

.footer-brand p {
  color: var(--ink-2);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-1);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-col a, .footer-col span, .footer-col button {
  display: block;
  color: var(--ink-1);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.footer-col a:hover, .footer-col button:hover { color: #fff; }

.footer-legal {
  padding: 28px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.legal-block {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 720px;
}

.legal-block strong { color: var(--ink-1); font-weight: 500; }
.legal-block .row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 6px; }
.legal-copy { font-size: 12px; color: var(--ink-3); }
