/* ══════════════════════════════════════════
   ChinaProduct — Design System
   ══════════════════════════════════════════ */

:root {
  --bg: #09090b;
  --bg2: #111114;
  --surface: #18181b;
  --surface2: #27272a;
  --surface3: #3f3f46;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.12);
  --text: #fafafa;
  --text2: #a1a1aa;
  --text3: #71717a;
  --accent: #f97316;
  --accent-hover: #ea6c0a;
  --accent-dim: rgba(249,115,22,0.12);
  --success: #22c55e;
  --warning: #eab308;
  --info: #3b82f6;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
}

/* ══ Reset ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: clip; max-width: 100%; }
main { overflow-x: clip; max-width: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
details summary { cursor: pointer; }

/* ══ Layout ══ */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; width: 100%; min-width: 0; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg2); }

/* ══ Typography ══ */
.gradient-text {
  background: linear-gradient(135deg, #f97316, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 0.75rem; }
.section-sub { color: var(--text2); max-width: 540px; margin: 0 auto; }

/* ══ Buttons ══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 0 rgba(249,115,22,0);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.btn--ghost {
  background: var(--surface2); color: var(--text);
  border-color: var(--border2);
}
.btn--ghost:hover { background: var(--surface3); transform: translateY(-1px); }
.btn--outline {
  background: transparent; color: var(--text);
  border-color: var(--border2);
}
.btn--outline:hover { border-color: var(--text3); transform: translateY(-1px); }
.btn--tg {
  background: #2CA5E0; color: #fff; border-color: transparent;
  font-size: 0.85rem; padding: 0.5rem 0.9rem;
  box-shadow: 0 4px 14px -4px rgba(44, 165, 224, 0.45);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn--tg:hover { background: #239acc; transform: translateY(-1px); box-shadow: 0 6px 18px -4px rgba(44, 165, 224, 0.55); }
.btn--tg svg { flex-shrink: 0; }
.btn--lg { padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; }

/* ══ Header ══ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  overflow: hidden;
}
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 64px;
  min-width: 0;
  max-width: 100%;
}
.logo {
  font-size: 1.3rem; font-weight: 800; color: var(--text);
  text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.logo__icon { font-size: 1.1rem; }
.logo__img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.nav { display: flex; gap: 0.25rem; flex: 1; }
.nav a {
  padding: 0.4rem 0.75rem; color: var(--text2);
  border-radius: var(--radius-sm); font-size: 0.9rem;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--text); background: var(--surface2); text-decoration: none; }
.header__actions { margin-left: auto; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: 0.2s; }

.mobile-nav {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav a:not(.mobile-nav__tg) {
  color: var(--text2); padding: 0.6rem 0;
  border-bottom: 1px solid var(--border); font-size: 0.95rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav__tg {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  justify-content: center;
  border-radius: var(--radius);
  border-bottom: none !important;
  text-decoration: none !important;
}
.mobile-nav__tg:hover { text-decoration: none !important; }

/* ══ Hero ══ */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 800px 500px at 75% 0%, rgba(249,115,22,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(249,115,22,0.06) 0%, transparent 50%);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
  min-width: 0;
  width: 100%;
}
.hero__text { align-self: start; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent-dim); color: var(--accent);
  padding: 0.3rem 0.8rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__sub {
  color: var(--text2); font-size: 1.05rem;
  margin-bottom: 1.75rem; line-height: 1.7;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--surface); border: 1px solid var(--border2);
  padding: 0.35rem 0.8rem; border-radius: 999px;
  font-size: 0.85rem; color: var(--text2);
}
.hero__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hero__proof { color: var(--text3); font-size: 0.9rem; }
.hero__proof strong { color: var(--text2); }

/* ══ Price Card ══ */
.hero__card-wrap { display: flex; justify-content: center; align-self: start; width: 100%; min-width: 0; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  width: 100%; max-width: 380px;
  min-width: 0;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card__header {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text3); margin-bottom: 1.25rem;
}
.price-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.price-card__dot--phase2 { background: var(--accent); }

.price-carousel { position: relative; width: 100%; max-width: 380px; min-width: 0; }
.price-carousel__viewport { overflow: hidden; width: 100%; border-radius: var(--radius-xl); }
.price-carousel__track {
  display: flex; width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}
.price-carousel__slide {
  flex: 0 0 100%; min-width: 100%; width: 100%;
  box-sizing: border-box;
}
.price-carousel__controls {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  margin-top: 1rem;
}
.price-carousel__arrow {
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--border2);
  background: var(--surface); color: var(--text2); cursor: pointer; font-size: 1.25rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.price-carousel__arrow:hover { border-color: var(--accent); color: var(--accent); }
.price-carousel__dots {
  display: flex; justify-content: center; gap: 0.5rem;
}
.price-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: var(--border2); cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.price-carousel__dot.is-active { background: var(--accent); transform: scale(1.2); }

.business-banner {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.1rem; margin-bottom: 1.25rem;
  background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: var(--radius);
}
.business-banner.hidden { display: none; }

.personal-banner {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.1rem; margin-bottom: 1.25rem;
  background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: var(--radius);
}
.personal-banner.hidden { display: none; }
.personal-banner__icon { font-size: 1.5rem; line-height: 1; }
.personal-banner strong { display: block; margin-bottom: 0.25rem; color: #86efac; }
.personal-banner p { margin: 0; font-size: 0.88rem; color: var(--text2); line-height: 1.45; }

.platform-warn {
  padding: 0.85rem 1rem; margin-bottom: 1rem; font-size: 0.88rem; line-height: 1.45;
  background: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: var(--radius); color: var(--text2);
}
.platform-warn.hidden { display: none; }
.platform-warn a { color: var(--accent); }

.form-row-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 720px) {
  .form-row-3 { grid-template-columns: 1fr; }
}
.business-banner__icon { font-size: 1.5rem; line-height: 1; }
.business-banner strong { display: block; margin-bottom: 0.25rem; color: #93c5fd; }
.business-banner p { margin: 0; font-size: 0.88rem; color: var(--text2); line-height: 1.45; }

.translate-form {
  max-width: 560px; margin: 0 auto 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.translate-form textarea {
  width: 100%; padding: 1rem 1.1rem; resize: vertical; min-height: 96px;
  background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius);
  color: var(--text); font: inherit; line-height: 1.5;
}
.translate-form textarea:focus { outline: none; border-color: var(--accent); }
.translate-result { max-width: 560px; margin: 0 auto; }
.translate-result.hidden { display: none; }
.translate-result__box {
  padding: 1.25rem; background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); text-align: left;
}
.translate-result__label { font-size: 0.8rem; color: var(--text3); margin: 0 0 0.35rem; }
.translate-result__text { margin: 0 0 1rem; color: var(--text2); }
.translate-result__zh {
  font-size: 1.35rem; margin: 0 0 1rem; color: var(--text);
  letter-spacing: 0.02em; line-height: 1.5;
}
.translate-result__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem;
}

.cabinet-form--wide { max-width: 640px; flex-wrap: wrap; }
.cabinet-form--wide input[type="email"] { flex: 1.2 1 180px; }
.cabinet-form--wide input[type="text"] { flex: 0.8 1 120px; font-family: ui-monospace, monospace; }
.price-card__img {
  font-size: 3.5rem; text-align: center; margin-bottom: 0.75rem;
  background: var(--surface2); border-radius: var(--radius);
  padding: 1rem;
}
.price-card__title { font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; line-height: 1.4; }
.price-card__rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 0; }
.price-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem;
  padding: 0.45rem 0; font-size: 0.85rem; color: var(--text2);
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.price-row span { min-width: 0; }
.price-row span:first-child { flex: 1; }
.price-row span:last-child { flex-shrink: 0; white-space: nowrap; }
.price-row:last-child { border-bottom: none; }
.price-card__total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1rem; padding: 1rem;
  background: var(--accent-dim); border-radius: var(--radius);
  font-size: 1.1rem;
}
.price-card__total strong { color: var(--accent); font-size: 1.3rem; font-weight: 800; }
.price-card__delivery {
  text-align: center; margin-top: 0.75rem;
  font-size: 0.8rem; color: var(--text3);
}

/* ══ Trust Bar ══ */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar__inner {
  display: flex; justify-content: space-around; flex-wrap: wrap;
  gap: 1.5rem; padding: 2rem 1.5rem;
}
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--text); }
.trust-item span { font-size: 0.85rem; color: var(--text3); }

/* ══ Steps ══ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--border2); transform: translateY(-2px); }
.step__num {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 2.5rem; font-weight: 900; color: var(--surface3);
  line-height: 1;
}
.step__icon { font-size: 2rem; margin-bottom: 1rem; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text2); line-height: 1.6; }
.steps--flow { grid-template-columns: repeat(3, 1fr); }

/* ══ Platform cards ══ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  min-width: 0;
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.platform-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.platform-card__head {
  display: flex; align-items: flex-start; gap: 0.75rem; flex-wrap: wrap;
}
.platform-card__emoji { font-size: 2rem; line-height: 1; }
.platform-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.platform-card__tag { font-size: 0.8rem; color: var(--text3); margin: 0.15rem 0 0; }
.platform-card__badge {
  margin-left: auto; font-size: 0.7rem; font-weight: 600;
  padding: 0.25rem 0.55rem; border-radius: 999px; white-space: nowrap;
}
.platform-card__badge--auto { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.platform-card__badge--manual { background: rgba(249, 115, 22, 0.15); color: var(--accent); }
.platform-card__desc { font-size: 0.875rem; color: var(--text2); line-height: 1.55; margin: 0; }
.platform-card__steps {
  margin: 0; padding-left: 1.15rem; font-size: 0.82rem; color: var(--text2); line-height: 1.6;
}
.platform-card__steps li { margin-bottom: 0.35rem; }
.platform-card__hint {
  font-size: 0.78rem; color: var(--text3); margin: 0;
}
.platform-card__hint code { font-size: 0.75rem; color: var(--accent); }
.platform-card__links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem;
}
.btn--sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }

/* ══ Order Form ══ */
.order-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; min-width: 0; }
.order-form {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  min-width: 0;
  max-width: 100%;
}
.form-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 1.5rem;
  background: var(--surface2); border-radius: var(--radius); padding: 0.35rem;
  flex-wrap: wrap;
}
.form-tab {
  flex: 1 1 8rem; padding: 0.5rem 0.75rem;
  background: none; border: none; color: var(--text2);
  border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
  transition: all 0.15s;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  min-width: 0;
}
.form-tab.active { background: var(--surface3); color: var(--text); font-weight: 600; }
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block; margin-bottom: 0.4rem;
  font-size: 0.85rem; font-weight: 500; color: var(--text2);
}
.form-field input,
.form-field select {
  width: 100%; max-width: 100%; padding: 0.7rem 0.9rem;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 0.95rem; transition: border-color 0.15s;
  min-width: 0;
}
.form-field input:focus,
.form-field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.form-field input::placeholder { color: var(--text3); }
.form-hint { display: block; margin-top: 0.35rem; font-size: 0.78rem; color: var(--text3); }
.optional { color: var(--text3); font-weight: 400; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; margin-bottom: 1.25rem; }
.form-row-3 .form-field { margin-bottom: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.25rem; }
.form-row-2 .form-field { margin-bottom: 0; }
.form-disclaimer { margin-top: 0.9rem; font-size: 0.78rem; color: var(--text3); line-height: 1.5; text-align: center; }
.consent-field {
  display: flex; align-items: flex-start; gap: 0.65rem;
  margin-bottom: 1rem; font-size: 0.82rem; color: var(--text2); line-height: 1.5;
}
.consent-field input { margin-top: 0.2rem; accent-color: var(--accent); flex-shrink: 0; }
.consent-field a { color: var(--accent); }
.consent-field.input-error-block { color: var(--warning); }
.legal-page__inner { max-width: 720px; }
.legal-page h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.legal-page h2 { font-size: 1.1rem; margin: 1.75rem 0 0.75rem; }
.legal-page p, .legal-page li { color: var(--text2); line-height: 1.7; margin-bottom: 0.75rem; }
.legal-page ul, .legal-page ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-meta { font-size: 0.85rem; color: var(--text3); }
.legal-warn {
  background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1.5rem;
  font-size: 0.85rem; color: var(--text2); line-height: 1.55;
}
.legal-warn code { font-size: 0.8rem; color: var(--accent); }
.legal-warn.hidden { display: none; }
.input-error { border-color: var(--warning) !important; box-shadow: 0 0 0 3px rgba(234,179,8,0.12) !important; }
.input-error-block .tg-choice__item { border-color: var(--warning); }
.result-note { margin-top: 0.85rem; font-size: 0.8rem; color: var(--text3); text-align: center; line-height: 1.5; }
.result-note--inline { margin: 0.5rem 0 1rem; text-align: left; }
.product-meta__hint { opacity: 0.75; font-size: 0.75rem; }
.manual-fields--filled #priceCny {
  background: var(--surface2);
  opacity: 0.85;
  cursor: not-allowed;
}
.form-field-label {
  display: block; margin-bottom: 0.4rem;
  font-size: 0.85rem; font-weight: 500; color: var(--text2);
}
.tg-choice {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.65rem;
}
.tg-choice__item {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.75rem; border-radius: var(--radius-sm);
  background: var(--surface2); border: 1px solid var(--border2);
  font-size: 0.85rem; color: var(--text2); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.tg-choice__item:has(input:checked) {
  border-color: var(--accent); color: var(--text);
}
.tg-choice__item input { accent-color: var(--accent); }
.tg-username-input.hidden { display: none; }
.tg-username-input { margin-top: 0.15rem; }
.cabinet-empty { color: var(--text3); text-align: center; padding: 2rem; }
.cabinet-empty.error { color: var(--warning); }
.warning-box.error { background: rgba(234,179,8,0.08); border-color: rgba(234,179,8,0.35); }

/* ══ Result Panel ══ */
.result-panel {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}
.result-panel.hidden { display: none; }

.product-block {
  display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start;
}
.product-block__img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: var(--radius); flex-shrink: 0;
  background: var(--surface2);
}
.product-block__title { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.product-meta { font-size: 0.82rem; color: var(--text2); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-meta span {
  background: var(--surface2); padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}
.order-card__meta {
  display: flex; flex-direction: column; gap: 0.2rem;
  margin-top: 0.35rem; font-size: 0.78rem; color: var(--text3);
}
.risk-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.risk-tag {
  font-size: 0.75rem; padding: 0.15rem 0.5rem;
  background: rgba(249,115,22,0.12); color: var(--accent);
  border-radius: 999px;
}

.breakdown-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 1rem; }
.breakdown-row {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; font-size: 0.875rem;
  border-bottom: 1px solid var(--border); color: var(--text2);
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem; margin: 0.5rem 0;
  background: var(--accent-dim); border-radius: var(--radius);
}
.breakdown-total .label { font-size: 0.9rem; font-weight: 600; }
.breakdown-total .amount { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.delivery-badge {
  font-size: 0.83rem; color: var(--text3);
  margin-bottom: 1rem; text-align: center;
}

.warning-box {
  background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.3);
  border-radius: var(--radius-sm); padding: 0.75rem 1rem;
  margin-bottom: 1rem; font-size: 0.875rem; color: var(--warning);
}

.phase2-estimate {
  margin-top: 0.75rem; padding: 0.85rem 1rem;
  background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text2);
}
.phase2-estimate strong { color: var(--text); }
.phase2-estimate__list {
  margin: 0.5rem 0 0.35rem; padding-left: 1.1rem;
}
.phase2-estimate__list li { margin-bottom: 0.2rem; }
.phase2-estimate__weight { margin: 0.4rem 0 0.35rem; font-size: 0.84rem; line-height: 1.45; }
.phase2-estimate__picked { margin: 0.35rem 0 0; font-size: 0.82rem; }
.phase2-estimate--tariff {
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.06);
}
.phase2-estimate--tariff a { color: var(--accent); }
.phase2-estimate__warn {
  margin: 0.5rem 0 0; font-size: 0.8rem; color: var(--warning);
}

.place-order-btn {
  background: var(--accent); color: #fff; border: none;
  width: 100%; padding: 0.85rem; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all 0.18s; margin-top: 0.5rem;
}
.place-order-btn:hover {
  background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}

.order-success {
  text-align: center; padding: 2rem 1rem;
}
.order-success__icon { font-size: 3rem; margin-bottom: 1rem; }
.order-success h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--success); }
.order-success p { color: var(--text2); font-size: 0.9rem; }
.order-id { font-size: 0.82rem; color: var(--text3); margin-top: 0.5rem; }

/* ══ FAQ ══ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border2); }
.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600; font-size: 0.95rem;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-item summary::after { content: '+'; color: var(--text3); font-size: 1.2rem; }
.faq-item[open] summary::after { content: '−'; color: var(--accent); }
.faq-item p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.9rem; color: var(--text2); line-height: 1.7;
}
.faq-item p:last-child { padding-bottom: 1.1rem; }
.faq-steps {
  margin: 0 1.25rem 0.75rem; padding-left: 1.35rem;
  font-size: 0.9rem; color: var(--text2); line-height: 1.7;
}
.faq-steps li + li { margin-top: 0.35rem; }
.faq-note {
  padding: 0 1.25rem 1.1rem !important;
  font-size: 0.85rem !important; color: var(--text3) !important;
}

/* ══ CTA Banner ══ */
.cta-banner {
  background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(249,115,22,0.04));
  border-top: 1px solid rgba(249,115,22,0.2);
  border-bottom: 1px solid rgba(249,115,22,0.2);
  padding: 4rem 0;
}
.cta-banner__inner {
  display: flex; justify-content: space-between;
  align-items: center; gap: 2rem; flex-wrap: wrap;
}
.cta-banner__inner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.cta-banner__inner p { color: var(--text2); }
.cta-banner__btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ══ Cabinet ══ */
.cabinet-form { display: flex; gap: 0.75rem; max-width: 440px; margin: 0 auto 2rem; }
.cabinet-form input {
  flex: 1; padding: 0.7rem 0.9rem;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text); font-size: 0.95rem;
}
.cabinet-form input:focus { outline: none; border-color: var(--accent); }
.cabinet-list { max-width: 640px; margin: 0 auto; }
.cabinet-list.hidden { display: none; }
.order-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.order-card__info strong { display: block; font-size: 0.95rem; }
.order-card__info span { font-size: 0.82rem; color: var(--text3); }
.order-card__right { text-align: right; flex-shrink: 0; }
.order-card__price { font-weight: 700; font-size: 1rem; }
.order-card__status { font-size: 0.78rem; color: var(--success); margin-top: 0.2rem; }

/* ══ Footer ══ */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding-top: 3rem; }
.footer__inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; padding-bottom: 2.5rem;
}
.footer__brand .logo { margin-bottom: 0.75rem; font-size: 1.2rem; }
.footer__brand p { color: var(--text3); font-size: 0.875rem; max-width: 240px; }
.footer__links { display: flex; gap: 3rem; }
.footer__links div { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links strong { font-size: 0.8rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.footer__links a { font-size: 0.875rem; color: var(--text2); }
.footer__links a:hover { color: var(--text); text-decoration: none; }
.footer__bottom {
  border-top: 1px solid var(--border); padding: 1.25rem 1.5rem;
  display: flex;
}
.footer__bottom .container {
  width: 100%; display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--text3);
}
.footer__bottom a { color: var(--text3); }

/* ══ Responsive ══ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__card-wrap { order: -1; align-self: stretch; }
  .price-card { max-width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps--flow { grid-template-columns: 1fr 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { flex-wrap: wrap; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav, .header__actions { display: none; }
  .burger { display: flex; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .mobile-nav { padding: 0.75rem 1rem 1rem; }
  .header__inner { gap: 0.65rem; height: 60px; }
  .logo { font-size: 1.05rem; min-width: 0; }
  .logo__img { width: 28px; height: 28px; }
  .steps { grid-template-columns: 1fr; }
  .steps--flow { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero__inner { gap: 2rem; }
  .hero__sub { font-size: 1rem; }
  .hero__card-wrap { padding: 0; }
  .price-carousel, .price-card { max-width: 100%; }
  .price-card { padding: 1.15rem; }
  .price-card__header { flex-wrap: wrap; row-gap: 0.35rem; font-size: 0.72rem; line-height: 1.35; }
  .price-card__total { font-size: 1rem; flex-wrap: wrap; gap: 0.35rem; }
  .price-card__total strong { font-size: 1.15rem; }
  .form-row-3, .form-row-2 { grid-template-columns: 1fr; }
  .order-form { padding: 1.2rem; }
  .form-tab { font-size: 0.78rem; padding: 0.55rem 0.5rem; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
  .platform-card { overflow: hidden; }
  .platform-card__badge { margin-left: 0; width: 100%; text-align: center; }
  .platform-card__head { flex-direction: column; align-items: flex-start; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__btns { justify-content: center; width: 100%; }
  .cta-banner__btns .btn { width: 100%; max-width: 320px; }
  .trust-bar__inner { gap: 1rem; padding: 1.5rem 1rem; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; max-width: 100%; white-space: normal; }
  .hero__badges { gap: 0.45rem; }
  .badge { font-size: 0.8rem; max-width: 100%; }
  .footer__bottom .container { flex-direction: column; gap: 0.35rem; text-align: center; }
  .cabinet-form { flex-direction: column; max-width: 100%; }
  .cabinet-form input, .cabinet-form button { width: 100%; }
  .product-block { flex-direction: column; }
  .product-block__img { width: 100%; max-width: 100%; height: auto; max-height: 220px; object-fit: contain; }
  .phase2-estimate, .warning-box, .result-panel { word-break: break-word; overflow-wrap: anywhere; }
  .btn--full, .place-order-btn { width: 100%; }
  .price-card:hover, .step:hover, .platform-card:hover { transform: none; }
  .result-panel, .order-form, .faq-item, .translate-result {
    max-width: 100%;
    overflow: hidden;
  }
}

/* ══════════════════════════════════════════
   Accessibility & polish
   ══════════════════════════════════════════ */

/* Skip link для клавиатурной навигации */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--accent); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
  font-size: 0.9rem; font-weight: 600;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* Единый видимый фокус для клавиатуры (не мешает мыши) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
a:focus-visible, .btn:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Микро-взаимодействия */
.btn { will-change: transform; }
.btn:active { transform: translateY(0) scale(0.98); }
.step, .faq-item, .price-card { transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.price-card:hover { transform: translateY(-3px); box-shadow: 0 12px 56px rgba(0,0,0,0.55); }
.trust-item strong { transition: color 0.2s ease; }

/* Плавное появление результата */
.result-panel:not(.hidden) { animation: fadeUp 0.35s ease both; }
.order-success { animation: fadeUp 0.35s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Уважение к настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .step:hover, .price-card:hover { transform: none; }
  .hero::before { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .price-carousel__track { transition: none; }
}

/* ══════════════════════════════════════════
   v2 — Premium polish
   ══════════════════════════════════════════ */

/* Доступность: скрытый текст для скринридеров */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Чуть «дороже» базовая типографика */
body { letter-spacing: -0.011em; }
h1, h2, h3 { letter-spacing: -0.02em; }

/* Primary button — мягкий градиент + свечение */
.btn--primary {
  background: linear-gradient(135deg, #fb8b3c 0%, #f97316 100%);
  box-shadow: 0 6px 20px -8px rgba(249,115,22,0.55);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #fc9a52 0%, #ef6e0d 100%);
  box-shadow: 0 12px 32px -8px rgba(249,115,22,0.65);
}

/* Живой фон hero — мягкий плавающий ореол */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: 0;
  top: -20%; right: -10%; width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 62%);
  filter: blur(20px); pointer-events: none;
  animation: floatOrb 16s ease-in-out infinite alternate;
}
.hero__inner { position: relative; z-index: 1; }
@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-6%, 6%) scale(1.12); }
}

/* Карточки — тонкая верхняя подсветка и более мягкие тени */
.step, .price-card, .order-form, .result-panel, .faq-item {
  position: relative;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%);
}
.step:hover { box-shadow: 0 12px 40px -16px rgba(0,0,0,0.7); }
.section-header h2 { line-height: 1.15; }

/* Логотип — лёгкое свечение под иконкой */
.logo__img { box-shadow: 0 2px 10px -2px rgba(249,115,22,0.5); }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.22,.61,.36,1); }
.reveal--in { opacity: 1; transform: none; }
.steps .step:nth-child(2).reveal { transition-delay: 0.06s; }
.steps .step:nth-child(3).reveal { transition-delay: 0.12s; }
.steps .step:nth-child(4).reveal { transition-delay: 0.18s; }

/* Кнопка в состоянии загрузки — спиннер */
.btn--loading { position: relative; color: transparent !important; pointer-events: none; }
.btn--loading > * { visibility: hidden; }
.btn--loading::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Скелетон расчёта (пока считаем) */
.skeleton-wrap { display: flex; flex-direction: column; gap: 0.75rem; }
.sk {
  border-radius: var(--radius-sm);
  background: linear-gradient(100deg, var(--surface2) 30%, var(--surface3) 50%, var(--surface2) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}
.sk-img { height: 80px; width: 80px; border-radius: var(--radius); flex-shrink: 0; }
.sk-row { height: 16px; }
.sk-row:nth-child(2) { width: 92%; }
.sk-row:nth-child(3) { width: 85%; }
.sk-row:nth-child(4) { width: 78%; }
.sk-total { height: 56px; margin-top: 0.5rem; border-radius: var(--radius); }
.sk-btn { height: 48px; border-radius: var(--radius); }
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -20% 0; }
}

/* ══════════════════════════════════════════
   v3 — Premium redesign pass
   ══════════════════════════════════════════ */

:root {
  --grad-accent: linear-gradient(135deg, #fb923c 0%, #f97316 55%, #ea580c 100%);
  --grad-soft: linear-gradient(135deg, rgba(249,115,22,0.18), rgba(245,158,11,0.06));
  --ring: 0 0 0 3px rgba(249,115,22,0.18);
  --glass: rgba(255,255,255,0.045);
}

/* Глобальный «дорогой» фон + ритм секций */
body {
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(249,115,22,0.07), transparent 60%),
    radial-gradient(700px 500px at 0% 10%, rgba(249,115,22,0.04), transparent 55%),
    var(--bg);
  background-repeat: no-repeat;
}
.section { padding: 6rem 0; }
.gradient-text {
  background: linear-gradient(120deg, #fdba74 0%, #f97316 45%, #fb923c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header — чуть выше, живой логотип */
.header__inner { height: 68px; }
.logo__img { transition: transform 0.25s cubic-bezier(.34,1.56,.64,1); }
.logo:hover .logo__img { transform: rotate(-5deg) scale(1.08); }
.nav a { font-weight: 500; }

/* Buttons — глянец сверху */
.btn--primary {
  box-shadow: 0 6px 20px -8px rgba(249,115,22,0.55), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn--primary:hover {
  box-shadow: 0 14px 34px -8px rgba(249,115,22,0.6), inset 0 1px 0 rgba(255,255,255,0.32);
}

/* Hero — крупнее заголовок, тонкая сетка для глубины, стеклянные бейджи */
.hero { padding: 6rem 0 4.5rem; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.06; }
.hero__sub { font-size: 1.1rem; max-width: 520px; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 25%, transparent 72%);
}
.hero__tag { border: 1px solid rgba(249,115,22,0.25); backdrop-filter: blur(8px); }
.badge {
  background: var(--glass); backdrop-filter: blur(8px);
  border-color: var(--border2); transition: border-color 0.2s, transform 0.2s;
}
.badge:hover { border-color: rgba(249,115,22,0.4); transform: translateY(-1px); }

/* Price card — премиальные тени, акцентная линия сверху, градиентный итог */
.price-card {
  box-shadow: 0 30px 80px -36px rgba(0,0,0,0.92), 0 2px 12px rgba(0,0,0,0.5);
  overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent);
}
.price-card__img {
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  border: 1px solid var(--border); font-size: 4rem;
}
.price-card__total {
  background: var(--grad-soft); border: 1px solid rgba(249,115,22,0.25);
}

/* Trust bar — градиентные цифры + мягкие разделители */
.trust-bar { background: linear-gradient(180deg, var(--surface), var(--bg2)); }
.trust-item strong {
  background: linear-gradient(120deg, #fff, #d4d4d8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 1.45rem;
}

/* Steps — линия-коннектор, контурные цифры, чип-иконки */
.steps { position: relative; }
@media (min-width: 901px) {
  .steps::before {
    content: ''; position: absolute; top: 3.4rem; left: 13%; right: 13%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border2) 20%, var(--border2) 80%, transparent);
    z-index: 0;
  }
}
.step { z-index: 1; }
.step:hover { border-color: rgba(249,115,22,0.3); }
.step__num {
  font-size: 3rem; color: transparent;
  -webkit-text-stroke: 1.5px var(--surface3); opacity: 0.7;
}
.step__icon {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.1rem;
  background: var(--accent-dim); border: 1px solid rgba(249,115,22,0.25);
  border-radius: 15px;
}

/* Form — крупнее поля, заметный фокус, градиентный активный таб */
.order-form { box-shadow: var(--shadow-lg); }
.form-field input, .form-field select {
  padding: 0.8rem 1rem; border-radius: 10px;
}
.form-field input:focus, .form-field select:focus { box-shadow: var(--ring); }
.form-tab.active,
.form-tab[aria-pressed="true"] {
  background: var(--grad-accent); color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px -4px rgba(249,115,22,0.5);
}

/* Result — акцентная линия + градиентный итог */
.result-panel { overflow: hidden; }
.result-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent);
}
.breakdown-total { background: var(--grad-soft); border: 1px solid rgba(249,115,22,0.25); }
.place-order-btn {
  background: var(--grad-accent);
  box-shadow: 0 6px 20px -8px rgba(249,115,22,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* FAQ — акцент при наведении и в открытом состоянии */
.faq-item summary { transition: color 0.15s; }
.faq-item summary:hover { color: var(--accent); }
.faq-item[open] { box-shadow: 0 8px 30px -18px rgba(0,0,0,0.8); }

/* CTA — выразительный градиент со свечением */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; width: 560px; height: 560px;
  top: -70%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(249,115,22,0.28), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner__inner h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }

/* Footer — тонкая акцентная линия сверху */
.footer { position: relative; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.45), transparent);
}

/* Мобильная адаптация premium-элементов */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
  .trust-item strong { font-size: 1.25rem; }
  .header__inner { height: 60px; }
  .step { padding: 1.35rem 1.15rem; }
}

/* ══ App shell (sidebar layout) ══ */
.app-page { min-height: 100vh; display: flex; flex-direction: column; }
.app-topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,9,11,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.app-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 56px;
}
.sidebar-toggle {
  display: none; background: var(--surface2); border: 1px solid var(--border2);
  color: var(--text); border-radius: var(--radius-sm);
  width: 40px; height: 40px; font-size: 1.25rem;
}
.app-shell {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 2rem; flex: 1; padding-top: 1.5rem; padding-bottom: 2rem;
  align-items: start;
}
.app-sidebar {
  display: flex; flex-direction: column; gap: 0.25rem;
  position: sticky; top: 72px;
}
.sidebar-link {
  display: block; padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm); color: var(--text2);
  font-size: 0.92rem; font-weight: 500; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.sidebar-link:hover { background: var(--surface2); color: var(--text); text-decoration: none; }
.sidebar-link.is-active {
  background: var(--accent-dim); color: var(--accent); font-weight: 600;
}
.app-main { min-width: 0; }
.app-main--order { max-width: none; width: 100%; }
.order-hero { margin-bottom: 1.5rem; }
.order-hero h1 { font-size: clamp(1.65rem, 4vw, 2.25rem); font-weight: 800; margin-bottom: 0.5rem; }
.order-hero__sub { color: var(--text2); font-size: 1.05rem; margin-bottom: 0.5rem; }
.order-hero--compact { margin-bottom: 1.25rem; }
.order-layout--full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: none;
}
.order-layout--split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.75rem;
  align-items: start;
  width: 100%;
}
.order-layout__form-col { min-width: 0; }
.order-layout__aside {
  position: sticky;
  top: 72px;
}
.order-aside__label {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.order-layout--split .price-carousel { max-width: none; }
.order-form--full {
  width: 100%;
  max-width: none;
}
.form-field--primary input { font-size: 1.05rem; padding: 0.85rem 1rem; }
.form-row-2--wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.form-more {
  margin-bottom: 0.75rem; padding: 0.65rem 0.85rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.88rem; color: var(--text2);
}
.form-more summary { font-weight: 600; color: var(--text); cursor: pointer; }
.form-more[open] summary { margin-bottom: 0.75rem; }
.personal-banner.compact, .business-banner.compact {
  padding: 0.65rem 0.85rem; font-size: 0.88rem; margin-bottom: 0.75rem;
}
.app-footer {
  border-top: 1px solid var(--border); padding: 1rem 0;
  margin-top: auto; font-size: 0.85rem; color: var(--text3);
}
.app-footer__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.app-footer a { color: var(--text2); }
.app-main--legacy .section > .container { max-width: none; padding-left: 0; padding-right: 0; }
.app-main--legacy .hero > .container { max-width: none; padding-left: 0; padding-right: 0; }
.app-main--legacy .trust-bar > .container { max-width: none; padding-left: 0; padding-right: 0; }

@media (min-width: 960px) {
  .order-layout--full:has(.result-panel:not(.hidden)) {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
  .order-layout--split:has(.result-panel:not(.hidden)) {
    grid-template-columns: 1fr;
  }
  .order-layout--split:has(.result-panel:not(.hidden)) .order-layout__aside {
    display: none;
  }
}

@media (max-width: 1024px) {
  .order-layout--split { grid-template-columns: 1fr; }
  .order-layout__aside { position: static; }
}

@media (max-width: 900px) {
  .form-row-2--wide { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sidebar-toggle { display: flex; align-items: center; justify-content: center; }
  .app-shell { grid-template-columns: 1fr; gap: 0; padding-top: 1rem; }
  .app-sidebar {
    display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 99; padding: 1rem 1.5rem;
    overflow-y: auto; border-top: 1px solid var(--border);
  }
  .app-sidebar.is-open { display: flex; }
}

/* ══ Trust strip (главная) ══ */
.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
  margin-top: 1.25rem; padding: 0.85rem 1rem;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius); font-size: 0.82rem; color: var(--text2);
}
.trust-strip__chip { white-space: nowrap; }
.trust-strip__chip a { color: var(--text); font-weight: 500; }
.trust-strip__mgrs a { color: var(--accent); }
.trust-strip__more { margin-left: auto; color: var(--accent); font-weight: 600; white-space: nowrap; }
.access-note {
  margin-top: 0.75rem; font-size: 0.82rem; color: var(--text3); text-align: center;
}
.access-note a { color: var(--accent); font-weight: 600; }

.order-aside-details {
  border: none; background: transparent; padding: 0;
}
.order-aside-details summary {
  list-style: none; cursor: pointer; margin-bottom: 0.75rem;
}
.order-aside-details summary::-webkit-details-marker { display: none; }
@media (min-width: 1025px) {
  .order-aside-details summary { display: none; }
}

.order-layout__form-col:has(.result-panel:not(.hidden)) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.order-layout__form-col:has(.result-panel:not(.hidden)) .order-form { grid-column: 1; }
.order-layout__form-col:has(.result-panel:not(.hidden)) .result-panel { grid-column: 2; grid-row: 1; }
.order-layout__form-col:has(.result-panel:not(.hidden)) .trust-strip,
.order-layout__form-col:has(.result-panel:not(.hidden)) .access-note { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .order-layout__form-col:has(.result-panel:not(.hidden)) { grid-template-columns: 1fr; }
  .order-layout__form-col:has(.result-panel:not(.hidden)) .result-panel { grid-column: 1; }
}

/* ══ About / trust pages ══ */
.page-head { margin-bottom: 1.5rem; }
.page-head h1, .page-head h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 800; margin-bottom: 0.35rem; }
.page-head p { color: var(--text2); margin: 0; }
.page-head--sub { margin-top: 2.5rem; }
.page-block { margin-bottom: 2rem; }
.page-cta { margin-top: 2rem; text-align: center; }
.app-main--wide { max-width: 900px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.trust-card__icon { font-size: 1.75rem; margin-bottom: 0.65rem; }
.trust-card h3 { font-size: 1rem; margin: 0 0 0.45rem; }
.trust-card p { margin: 0; font-size: 0.88rem; color: var(--text2); line-height: 1.6; }
.example-box {
  max-width: 520px; background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow-lg);
}
.example-box__product {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.example-box__emoji { font-size: 2.5rem; line-height: 1; }
.example-box__product p { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--text3); }
.example-box__rows { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.example-box__rows li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--text2); }
.example-box__total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 0; border-top: 2px solid var(--accent); margin-bottom: 0.75rem;
}
.example-box__total strong { font-size: 1.35rem; color: var(--accent); }
.example-box__note { font-size: 0.82rem; color: var(--text3); margin: 0; line-height: 1.5; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review-card {
  margin: 0; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
}
.review-card p { margin: 0 0 0.75rem; font-size: 0.92rem; color: var(--text2); line-height: 1.65; font-style: italic; }
.review-card footer { font-size: 0.8rem; color: var(--text3); }
@media (max-width: 768px) {
  .trust-grid, .reviews-grid { grid-template-columns: 1fr; }
  .trust-strip__more { margin-left: 0; width: 100%; }
}

/* ══ Демо-бейдж ══ */
.demo-badge {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.55rem; margin-left: 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  color: #fde68a; background: rgba(234,179,8,0.14);
  border: 1px solid rgba(234,179,8,0.35); border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 560px) { .demo-badge { display: none; } }

/* ══════════════════════════════════════════
   Premium layer — глубина, стекло, свечение
   ══════════════════════════════════════════ */
:root { --ring: 0 0 0 3px rgba(249,115,22,0.16); }

/* Амбиентная тёплая подсветка фона на всех app-страницах */
body.app-page::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 42% at 80% -8%, rgba(249,115,22,0.12), transparent 70%),
    radial-gradient(46% 38% at 6% -2%, rgba(99,102,241,0.07), transparent 70%);
}

/* Премиальные карточки — мягкая подложка сверху + глубокая тень */
.order-form,
.price-card,
.trust-card,
.example-box,
.review-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0) 140px),
    var(--surface);
  border-color: var(--border2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 28px 64px -34px rgba(0,0,0,0.9);
}

/* Сегментированный переключатель «Для себя / Для бизнеса» */
.form-tabs {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.form-tab {
  border-radius: 9px;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

/* Поля ввода — глубже фон, мягкое свечение при фокусе */
.form-field input,
.form-field select {
  background: var(--bg2);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form-field input:focus,
.form-field select:focus {
  background: var(--surface2);
  border-color: var(--accent);
  box-shadow: var(--ring);
}

/* Топбар — тоньше стекло + мягкая линия */
.app-topbar {
  background: rgba(10,10,12,0.72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* Логотип «дороже» */
.logo { font-weight: 800; letter-spacing: -0.02em; }

/* Активный пункт меню — акцентная полоска слева */
.sidebar-link.is-active { position: relative; }
.sidebar-link.is-active::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px; border-radius: 3px; background: var(--accent);
}

/* Trust strip — премиальнее */
.trust-strip {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0)), var(--surface);
  box-shadow: 0 14px 34px -26px rgba(0,0,0,0.85);
}

/* Герой — крупнее и выразительнее */
.order-hero h1 { font-size: clamp(1.95rem, 4.5vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.08; }
.order-hero__sub { font-size: 1.08rem; color: var(--text2); }

/* Крупная CTA */
.btn--primary.btn--lg { padding: 0.95rem 1.5rem; font-size: 1.02rem; }

/* Trust-пилюли в герое */
.hero-pills {
  list-style: none; margin: 0.9rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.hero-pill {
  font-size: 0.82rem; font-weight: 500; color: var(--text2);
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border2);
}

/* Сегмент-переключатель — читается как контрол */
.form-tabs {
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--border), inset 0 2px 6px rgba(0,0,0,0.35);
}

/* Карточки чуть светлее фона — заметная «поднятость» */
.order-form, .price-card {
  border-radius: var(--radius-xl);
}
.order-form { border-color: rgba(255,255,255,0.14); }
