.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (min-width: 1240px) {
  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .features-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .features-grid .feature-card {
    flex: 0 0 min(280px, calc(100vw - var(--gutter) * 2 - 32px));
    scroll-snap-align: start;
  }
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 20px 44px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: inherit;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  min-height: 196px;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
  pointer-events: none;
}
.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}
.feature-card:hover .chev { transform: translateX(4px); color: var(--text); }

.feature-card .icon-box {
  align-self: flex-start;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}
.feature-card .icon-box svg {
  width: 18px;
  height: 18px;
}
.feature-card .icon-box--channels {
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  gap: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.feature-card .icon-box--channels .channel-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.feature-card .icon-box--channels .channel-icon--wa {
  color: #25d366;
}
.feature-card .icon-box--channels .channel-icon--tg {
  color: #6ab3f3;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  width: 100%;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  width: 100%;
  margin: 0;
  flex: 1;
}
.feature-card .chev {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--text-dim);
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.card {
  position: relative;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 740px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid--single { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

.price-card {
  position: relative;
  padding: 28px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-card.featured {
  border-color: var(--accent-border);
  background:
    linear-gradient(180deg, rgba(63, 224, 122, 0.04) 0%, transparent 60%),
    var(--bg-elev-1);
}
.price-card .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
}
.price-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-trial {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-trial-amount {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-trial-period {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.price-after {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}
.price-after .struck {
  text-decoration: line-through;
  color: var(--text-faint);
}
.price-no-card {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.price-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-card ul li::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  background-color: var(--accent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

.price-card .btn { align-self: stretch; }

/* Subpage hero / article layout */
.subpage-hero {
  padding-top: clamp(36px, 6vw, 64px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.subpage-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.034em;
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 760px;
}
.subpage-hero .lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.55;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}
.article-body p { color: var(--text-muted); }
.article-body strong { color: var(--text); font-weight: 500; }

.highlights {
  margin-top: clamp(32px, 5vw, 48px);
}
.highlights-title {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}
.highlight-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 560px) {
  .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.highlight-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elev-1);
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.highlight-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--bg-elev-2);
}
.highlight-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}
.highlight-card__icon svg {
  display: block;
}
.highlight-card__body {
  min-width: 0;
  flex: 1;
}
.highlight-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}
.highlight-card__desc {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.highlights--channels .highlight-card:nth-child(5) {
  grid-column: 1 / -1;
}
@media (min-width: 560px) {
  .highlights--channels .highlight-card:nth-child(5) {
    grid-column: span 2;
    max-width: calc(50% - 5px);
  }
}
.highlights--channels .highlight-card__icon {
  color: #e9edef;
}
.highlights--channels .highlight-card:nth-child(odd) .highlight-card__icon {
  background: rgba(0, 168, 132, 0.12);
  color: #3dd6b5;
}
.highlights--channels .highlight-card:nth-child(even) .highlight-card__icon {
  background: rgba(106, 179, 243, 0.14);
  color: #7eb8f7;
}

.related-rail {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.related-rail .eyebrow { margin-bottom: 16px; }
.related-rail .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .related-rail .grid { grid-template-columns: repeat(3, 1fr); }
}
.related-card {
  display: block;
  padding: 18px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.related-card:hover { border-color: var(--border-strong); }
.related-card h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.related-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
