/* ── Software page specific styles ── */

.product-block { padding: clamp(48px, 6vw, 80px) 0; }

.product-head { max-width: 700px; margin-bottom: 56px; }

.product-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.prod-ver {
  font-family: var(--ffm); font-size: var(--xs);
  color: var(--muted); letter-spacing: .1em;
}
.prod-badge {
  font-family: var(--ffm); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 10px;
}
.prod-badge--stable { background: rgba(200,255,0,.12); color: var(--accent); border: 1px solid rgba(200,255,0,.3); }
.prod-badge--beta   { background: rgba(0,229,255,.1);  color: var(--accent2); border: 1px solid rgba(0,229,255,.3); }

.product-title { font-size: var(--h2); margin-bottom: 16px; }
.product-desc  { font-size: 17px; color: var(--text2); line-height: 1.72; max-width: 62ch; }

.product-body {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start;
}

/* Features */
.product-features { display: flex; flex-direction: column; gap: 0; }
.feat {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.feat:first-child { border-top: 1px solid var(--line); }
.feat-icon { font-size: 16px; color: var(--accent); padding-top: 2px; }
.feat h4 { font-family: var(--ffd); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.feat p  { font-size: var(--sm); color: var(--text2); line-height: 1.65; }

/* Plans */
.product-plans {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  align-items: start;
}

.plan {
  background: var(--card);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.plan--accent {
  background: var(--bg3);
}
.plan--accent::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
}

.plan-badge {
  font-family: var(--ffm); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 12px;
}
/* spacer for plans without badge */
.plan:not(:has(.plan-badge))::before { content: ''; display: block; height: 22px; }

.plan-name  { font-family: var(--ffd); font-weight: 700; font-size: 20px; display: block; margin-bottom: 12px; }
.plan-price {
  font-family: var(--ffd); font-weight: 800;
  font-size: clamp(22px, 2.5vw, 30px); color: var(--accent);
  display: block; line-height: 1; margin-bottom: 6px;
}
.plan-note  { font-family: var(--ffm); font-size: 11px; color: var(--muted); letter-spacing: .08em; display: block; margin-bottom: 24px; }

.plan-list {
  list-style: none; display: flex; flex-direction: column; gap: 9px;
  margin-bottom: 28px; flex: 1;
}
.plan-list li {
  font-size: var(--sm); color: var(--text2);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.plan-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-family: var(--ffm); }

.sw-btn { width: 100%; justify-content: center; }

.prod-divider { width: 100%; height: 1px; background: var(--line); }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .product-body { grid-template-columns: 1fr; gap: 40px; }
  .product-plans { grid-template-columns: 1fr; }
  .plan--accent::before { display: none; }
  .plan--accent { border-left: 2px solid var(--accent); }
}
@media (max-width: 600px) {
  .product-head { margin-bottom: 36px; }
}
