/* ============================================================
   Страница ПРАЙС (template-preis.php) — тёмная неон-оранжевая,
   с анимациями и адаптивом (на телефоне таблицы → карточки).
   Переменные (--flame и т.д.) берутся из landing.css (body.pdf-landing).
   ============================================================ */
.pdf-price { padding: 138px 0 100px; position: relative; overflow: hidden; }
.pdf-price::before {
	content: ""; position: absolute; top: -200px; right: -160px; width: 700px; height: 700px;
	background: radial-gradient(circle, rgba(255, 90, 31, .16), transparent 66%); pointer-events: none; z-index: 0;
}
.pdf-price::after {
	content: ""; position: absolute; bottom: -220px; left: -180px; width: 560px; height: 560px;
	background: radial-gradient(circle, rgba(255, 179, 92, .09), transparent 68%); pointer-events: none; z-index: 0;
}
.pdf-price .pdf-wrap { position: relative; z-index: 1; }

/* ---- Хиро ---- */
.pdf-price-hero { display: flex; align-items: center; gap: 48px; justify-content: space-between; margin-bottom: 46px; }
.pdf-price-kicker { color: var(--amber); letter-spacing: .38em; font: 700 13px/1 var(--font-mono, ui-monospace, monospace); text-transform: uppercase; margin: 0 0 16px; }
.pdf-price-title {
	font-size: clamp(40px, 7.2vw, 78px); line-height: .96; font-weight: 800; margin: 0 0 22px; letter-spacing: -0.015em;
	background: linear-gradient(96deg, var(--flame) 15%, var(--amber) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 6px 30px rgba(255, 90, 31, .16));
}
.pdf-price-intro { color: #cfccd4; font-size: 17px; line-height: 1.7; max-width: 640px; margin: 0; }
.pdf-price-intro b { color: var(--flame); font-weight: 700; }

.pdf-price-hero-badge {
	flex: 0 0 auto; position: relative; width: 172px; height: 172px; display: grid; place-items: center; border-radius: 34px; color: var(--flame);
	background: linear-gradient(155deg, rgba(255, 90, 31, .22), rgba(255, 90, 31, .04) 60%);
	border: 1px solid rgba(255, 90, 31, .4); box-shadow: 0 30px 70px -20px rgba(255, 90, 31, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
	animation: pdf-float 5s ease-in-out infinite;
}
.pdf-price-hero-badge::before {
	content: ""; position: absolute; inset: -1px; border-radius: 35px; padding: 1px;
	background: conic-gradient(from 0deg, rgba(255, 90, 31, 0), rgba(255, 179, 92, .7), rgba(255, 90, 31, 0) 40%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	animation: pdf-spin 6s linear infinite;
}
.pdf-price-hero-badge svg { width: 78px; height: 78px; position: relative; filter: drop-shadow(0 4px 14px rgba(255, 90, 31, .45)); }
@keyframes pdf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pdf-spin { to { transform: rotate(360deg); } }

/* ---- Две CTA-карточки ---- */
.pdf-price-cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 28px; }
.pdf-price-card {
	position: relative; overflow: hidden;
	background: linear-gradient(165deg, var(--bg-2) 0%, #0b0b10 100%); border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 22px; padding: 30px; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pdf-price-card::before {
	content: ""; position: absolute; top: -60%; right: -30%; width: 220px; height: 220px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 90, 31, .16), transparent 70%); pointer-events: none;
}
.pdf-price-card:hover { border-color: rgba(255, 90, 31, .55); transform: translateY(-5px); box-shadow: 0 28px 60px rgba(0, 0, 0, .45), 0 0 46px rgba(255, 90, 31, .14); }
.pdf-price-card-ic {
	position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--flame);
	background: linear-gradient(150deg, rgba(255, 90, 31, .22), rgba(255, 90, 31, .06)); border: 1px solid rgba(255, 90, 31, .28); margin-bottom: 18px;
}
.pdf-price-card-ic svg { width: 26px; height: 26px; }
.pdf-price-card h3 { position: relative; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: .015em; margin: 0 0 10px; text-transform: uppercase; }
.pdf-price-card p { position: relative; color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }

/* ---- Акция ---- */
.pdf-price-promo {
	display: flex; align-items: center; gap: 24px; padding: 22px 28px; border-radius: 20px; margin-bottom: 36px;
	background: linear-gradient(100deg, rgba(255, 90, 31, .14), rgba(255, 90, 31, .02)); border: 1px solid rgba(255, 90, 31, .38);
	position: relative; overflow: hidden;
}
.pdf-price-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 32%, rgba(255, 179, 92, .18), transparent 68%); transform: translateX(-100%); animation: pdf-shine 4.8s ease-in-out infinite; }
@keyframes pdf-shine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.pdf-price-promo-ic {
	flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; color: var(--flame); border-radius: 50%;
	background: rgba(255, 90, 31, .12); border: 1px solid rgba(255, 90, 31, .35);
}
.pdf-price-promo-ic svg { width: 26px; height: 26px; }
.pdf-price-promo-txt { flex: 1; min-width: 0; position: relative; }
.pdf-price-promo-txt h2 { color: var(--ink); font-size: clamp(17px, 2.3vw, 24px); font-weight: 800; margin: 0 0 5px; letter-spacing: -.005em; }
.pdf-price-promo-txt p { color: var(--muted); font-size: 14.5px; margin: 0; }
.pdf-price-promo-badge {
	flex: 0 0 auto; text-align: center; padding: 11px 22px; border-radius: 16px; position: relative;
	border: 1.5px dashed rgba(255, 90, 31, .6); background: rgba(255, 90, 31, .06); animation: pdf-pulse 2.2s ease-in-out infinite;
}
.pdf-price-promo-badge small { display: block; color: var(--amber); font: 700 10px/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .14em; margin-bottom: 5px; }
.pdf-price-promo-badge b { color: var(--flame); font-size: 28px; font-weight: 800; line-height: 1; }
@keyframes pdf-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .32); } 50% { box-shadow: 0 0 0 13px rgba(255, 90, 31, 0); } }

/* ---- Раскладка таблиц ---- */
.pdf-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; margin-bottom: 22px; }
.pdf-price-mktrow { display: grid; grid-template-columns: 2.15fr 1fr; gap: 22px; align-items: stretch; margin-bottom: 42px; }
.pdf-price-grid .pdf-price-tbl, .pdf-price-mktrow .pdf-price-tbl { display: flex; flex-direction: column; height: 100%; }
.pdf-price-grid .pdf-price-tbl .pdf-price-tbl-scroll, .pdf-price-mktrow .pdf-price-tbl .pdf-price-tbl-scroll { flex: 1; }

.pdf-price-tbl {
	background: linear-gradient(170deg, var(--bg-2) 0%, #0a0a0f 100%); border: 1px solid rgba(255, 255, 255, .07); border-radius: 22px; padding: 26px 26px 10px; transition: border-color .25s;
	min-width: 0; /* грид-ловушка: без этого широкая таблица внутри раздувает трек грида и выталкивает соседнюю колонку за экран */
}
.pdf-price-tbl:hover { border-color: rgba(255, 90, 31, .22); }
.pdf-price-tbl-h { color: var(--ink); font-size: 18px; line-height: 1.3; font-weight: 800; margin: 0 0 20px; padding-left: 16px; position: relative; letter-spacing: -.005em; }
.pdf-price-tbl-h::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 3px; background: linear-gradient(180deg, var(--flame), var(--amber)); box-shadow: 0 0 10px rgba(255, 90, 31, .5); }
.pdf-price-tbl-scroll { overflow-x: auto; margin: 0 -4px; }
.pdf-price-tbl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pdf-price-tbl thead th { text-align: left; color: var(--muted); font-size: 10.5px; line-height: 1.35; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 0 10px 13px; white-space: normal; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.pdf-price-tbl thead th.is-price { color: var(--amber); }
.pdf-price-tbl tbody td { padding: 15px 10px; color: #d8d5dd; border-bottom: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; }
.pdf-price-tbl tbody tr:last-child td { border-bottom: 0; }
.pdf-price-tbl tbody tr { transition: background .18s; }
.pdf-price-tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, .015); }
.pdf-price-tbl tbody tr:hover { background: rgba(255, 90, 31, .07); }
.pdf-price-tbl td:first-child { color: var(--ink); font-weight: 700; white-space: nowrap; }
.pdf-price-tbl td.c-old { color: #726f79; text-decoration: line-through; text-decoration-color: rgba(255, 90, 31, .5); white-space: nowrap; font-size: 13px; }
.pdf-price-tbl td.c-new { color: var(--flame); font-weight: 800; font-size: 16.5px; white-space: nowrap; text-shadow: 0 0 18px rgba(255, 90, 31, .35); }

/* ---- Почему система выгоднее ---- */
.pdf-price-why {
	background: linear-gradient(170deg, rgba(255, 90, 31, .1), rgba(255, 90, 31, .015) 70%); border: 1px solid rgba(255, 90, 31, .3);
	border-radius: 22px; padding: 28px; position: sticky; top: 100px;
}
.pdf-price-why h3 { color: var(--ink); font-size: 19px; font-weight: 800; margin: 0 0 18px; letter-spacing: -.005em; }
.pdf-price-why ul { list-style: none; margin: 0; padding: 0; }
.pdf-price-why li { display: flex; gap: 13px; align-items: flex-start; color: #e2dfe6; font-size: 15px; line-height: 1.5; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.pdf-price-why li:last-child { border-bottom: 0; }
.pdf-price-why-ic { flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--flame); color: #fff; margin-top: 1px; box-shadow: 0 0 14px rgba(255, 90, 31, .45); }
.pdf-price-why-ic svg { width: 13px; height: 13px; }

/* ---- Нижний CTA ---- */
.pdf-price-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 34px 38px; border-radius: 26px; margin-bottom: 36px;
	background: linear-gradient(115deg, var(--flame) 0%, #ff7a3d 55%, var(--amber) 100%); box-shadow: 0 30px 70px -18px rgba(255, 90, 31, .4); position: relative; overflow: hidden;
}
.pdf-price-bottom::before { content: ""; position: absolute; top: -70%; right: -8%; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); pointer-events: none; }
.pdf-price-bottom h2 { color: #180a03; font-size: clamp(23px, 3.1vw, 31px); font-weight: 800; margin: 0 0 7px; letter-spacing: -.01em; }
.pdf-price-bottom p { color: rgba(24, 10, 3, .82); font-size: 15px; margin: 0; max-width: 520px; position: relative; }
.pdf-price-bottom-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.pdf-price-bottom .pdf-btn { background: #160903; color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.pdf-price-bottom .pdf-btn:hover { background: #000; }
.pdf-price-bottom .pdf-btn-ghost { background: rgba(255, 255, 255, .12); color: #180a03; border: 1.5px solid rgba(24, 10, 3, .55); }
.pdf-price-bottom .pdf-btn-ghost:hover { background: rgba(255, 255, 255, .28); color: #180a03; }

/* ---- Фичи + слоган ---- */
.pdf-price-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.pdf-price-feat { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.45; }
.pdf-price-feat span { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 90, 31, .15); border: 1px solid rgba(255, 90, 31, .25); color: var(--flame); }
.pdf-price-feat span svg { width: 14px; height: 14px; }
.pdf-price-slogan { text-align: center; color: var(--muted); letter-spacing: .3em; font: 700 12px/1.6 var(--font-mono, ui-monospace, monospace); text-transform: uppercase; margin: 24px 0 0; }

/* ---- Планшет ---- */
@media (max-width: 1000px) {
	.pdf-price-mktrow { grid-template-columns: 1fr; }
	.pdf-price-why { position: static; }
	.pdf-price-feats { grid-template-columns: repeat(2, 1fr); }
}
/* ---- Телефон: таблицы → карточки ---- */
@media (max-width: 720px) {
	.pdf-price { padding-top: 108px; }
	.pdf-price-hero { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
	.pdf-price-hero-badge { width: 100px; height: 100px; border-radius: 24px; }
	.pdf-price-hero-badge svg { width: 44px; height: 44px; }
	.pdf-price-cta2, .pdf-price-grid { grid-template-columns: 1fr; }
	.pdf-price-promo { flex-wrap: wrap; }
	.pdf-price-promo-badge { margin-left: auto; }

	.pdf-price-tbl { padding: 20px 18px; }
	.pdf-price-tbl thead { display: none; }
	.pdf-price-tbl table, .pdf-price-tbl tbody, .pdf-price-tbl tr, .pdf-price-tbl td { display: block; width: 100%; }
	.pdf-price-tbl tbody tr { border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 6px 14px; margin-bottom: 12px; background: rgba(255, 255, 255, .025) !important; }
	.pdf-price-tbl tbody tr:last-child { margin-bottom: 0; }
	.pdf-price-tbl td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); white-space: normal !important; text-align: right; }
	.pdf-price-tbl tr td:last-child { border-bottom: 0; }
	.pdf-price-tbl td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; text-align: left; flex: 1; }
	.pdf-price-tbl td:first-child { color: var(--ink); font-size: 16px; font-weight: 800; }
	.pdf-price-tbl td:first-child::before { content: ""; display: none; }
	.pdf-price-bottom { padding: 26px; }
	.pdf-price-feats { grid-template-columns: 1fr; }
}
