/* ==========================================================================
   КОММЕРЧЕСКОЕ ПРЕДЛОЖЕНИЕ «НОВЫЙ ВКУС» — STYLESHEET
   Дизайн: $10K качество, премиальная гамма, чистая типографика, адаптивность
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, monospace;
  
  /* Цветовая палитра: глубокий благородный изумруд + чистые поверхности */
  --bg-primary: #F8FAF8;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-muted: #F0F4F1;
  --bg-dark: #0A1F14;
  --bg-dark-card: #112B1D;
  
  --forest-900: #0B2416;
  --forest-800: #0F3320;
  --forest-700: #164E2E;
  --forest-600: #1B633B;
  --forest-500: #22844F;
  --emerald-accent: #10B981;
  --emerald-light: #ECFDF5;
  --amber-accent: #D97706;
  --amber-light: #FEF3C7;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --border-subtle: #E2E8F0;
  --border-focus: #164E2E;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 12px 32px -4px rgba(11, 36, 22, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Контейнеры */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER / STATUS BAR
   ========================================================================== */
.proposal-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
  background-color: #FFFFFF;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--forest-900), var(--forest-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(11, 36, 22, 0.2);
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--forest-900);
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--emerald-light);
  color: var(--forest-600);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--forest-900);
  color: var(--text-white);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-header-cta:hover {
  background: var(--forest-700);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 64px 0 48px;
  background: radial-gradient(circle at top right, rgba(34, 132, 79, 0.08), transparent 400px),
              linear-gradient(180deg, #FFFFFF 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(15, 51, 32, 0.06);
  color: var(--forest-700);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--forest-900);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--forest-500);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--forest-900);
  letter-spacing: -0.02em;
}

.stat-item-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Карточка сводки КП в Hero */
.proposal-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.proposal-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-900), var(--emerald-accent));
}

.summary-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.summary-doc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}

.summary-expiry {
  font-size: 12px;
  color: var(--amber-accent);
  background: var(--amber-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.summary-price-box {
  background: var(--bg-muted);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.summary-price-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-price-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--forest-900);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.summary-term {
  font-size: 14px;
  color: var(--forest-600);
  font-weight: 600;
}

.summary-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.summary-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--emerald-light);
  color: var(--forest-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.btn-card-pay {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(11, 36, 22, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-card-pay:hover {
  background: linear-gradient(135deg, var(--forest-800), var(--forest-600));
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(11, 36, 22, 0.3);
}

.btn-card-invoice {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--forest-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-card-invoice:hover {
  background: rgba(15, 51, 32, 0.04);
  border-color: var(--forest-600);
}

/* ==========================================================================
   ИНТЕРАКТИВНЫЙ ШОУКЕЙС (СКРИНШОТЫ)
   ========================================================================== */
.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest-600);
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--forest-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.showcase-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--forest-600);
  color: var(--forest-900);
}

.tab-btn.active {
  background: var(--forest-900);
  color: var(--text-white);
  border-color: var(--forest-900);
  box-shadow: 0 4px 10px rgba(11, 36, 22, 0.15);
}

.showcase-display {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.showcase-panel {
  display: none;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
}

.showcase-panel.active {
  display: grid;
}

.showcase-screen-wrap {
  background: #0F172A;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}

.showcase-screen-wrap img,
.showcase-screen-wrap video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  display: block;
}

.showcase-screen-wrap:hover img,
.showcase-screen-wrap:hover video {
  transform: scale(1.015);
}

.zoom-badge {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.live-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.4);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.showcase-info {
  padding: 40px;
}

.showcase-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--emerald-light);
  color: var(--forest-600);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.showcase-info-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.showcase-info-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.showcase-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-features-list li {
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.showcase-features-list li strong {
  color: var(--forest-900);
}

/* ==========================================================================
   КЛЮЧЕВЫЕ МОДУЛИ В РАЗРАБОТКЕ (КАРТОЧКИ)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 78, 46, 0.3);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--emerald-light);
  color: var(--forest-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-badge-wip {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--amber-accent);
  background: var(--amber-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   ТАРИФЫ И КАЛЬКУЛЯТОР СМЕТЫ
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #FFFFFF 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border: 2px solid var(--forest-600);
  box-shadow: var(--shadow-card);
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest-600);
  color: var(--text-white);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 6px;
}

.tier-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 20px;
}

.tier-price-wrap {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.tier-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--forest-900);
  letter-spacing: -0.02em;
}

.tier-period {
  font-size: 13px;
  color: var(--forest-600);
  font-weight: 600;
  margin-top: 4px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.tier-features li {
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.btn-select-tier {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--forest-900);
  background: transparent;
  color: var(--forest-900);
  transition: all 0.2s ease;
}

.pricing-card.popular .btn-select-tier,
.btn-select-tier.selected {
  background: var(--forest-900);
  color: var(--text-white);
}

.btn-select-tier:hover {
  background: var(--forest-700);
  color: var(--text-white);
  border-color: var(--forest-700);
}

/* Интерактивный калькулятор дополнительных модулей */
.addons-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.addons-header {
  margin-bottom: 20px;
}

.addons-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 6px;
}

.addons-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.addons-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.addon-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-muted);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.addon-label:hover {
  border-color: var(--border-focus);
}

.addon-label.active {
  background: var(--emerald-light);
  border-color: var(--forest-600);
}

.addon-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.addon-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--forest-600);
  cursor: pointer;
  flex-shrink: 0;
}

.addon-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.addon-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--forest-700);
  font-family: var(--font-mono);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 14px;
}

.addons-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--forest-900);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  flex-wrap: wrap;
  gap: 16px;
}

.total-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.total-price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.btn-proceed-pay {
  padding: 14px 28px;
  background: var(--emerald-accent);
  color: var(--forest-900);
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-proceed-pay:hover {
  background: #34D399;
  transform: translateY(-1px);
}

/* ==========================================================================
   МОДУЛЬ ОПЛАТЫ (ОНЛАЙН / СЧЕТ ЮРЛИЦА)
   ========================================================================== */
.checkout-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.checkout-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.checkout-tabs-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.pay-tab-btn {
  padding: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.pay-tab-btn:hover {
  color: var(--forest-900);
}

.pay-tab-btn.active {
  background: var(--bg-surface);
  color: var(--forest-900);
  border-bottom: 2px solid var(--forest-900);
}

.checkout-tab-body {
  padding: 40px;
  display: none;
}

.checkout-tab-body.active {
  display: block;
}

/* Формы оплаты */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.form-group.full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--forest-600);
  box-shadow: 0 0 0 3px rgba(22, 78, 46, 0.1);
}

.payment-options-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.pay-option-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-surface);
}

.pay-option-card:hover {
  border-color: var(--forest-600);
}

.pay-option-card.selected {
  border-color: var(--forest-600);
  background: var(--emerald-light);
}

.pay-option-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 4px;
}

.pay-option-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.pay-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  gap: 20px;
  flex-wrap: wrap;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.btn-robokassa-submit {
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(11, 36, 22, 0.25);
}

.btn-robokassa-submit:hover {
  background: linear-gradient(135deg, var(--forest-800), var(--forest-600));
  transform: translateY(-2px);
}

/* ==========================================================================
   ОФИЦИАЛЬНЫЙ БЛАНК СЧЕТА (ДЛЯ ЮРЛИЦ)
   ========================================================================== */
.invoice-preview-container {
  margin-top: 32px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.invoice-preview-container.active {
  display: block;
}

.invoice-paper {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #000000;
  font-size: 13px;
  line-height: 1.4;
}

.invoice-bank-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 12px;
}

.invoice-bank-table td {
  border: 1px solid #000000;
  padding: 6px 8px;
  vertical-align: top;
}

.invoice-heading {
  font-size: 20px;
  font-weight: 800;
  border-bottom: 2px solid #000000;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.invoice-meta-row {
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}

.invoice-meta-label {
  font-weight: 700;
}

.invoice-items-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 12px;
}

.invoice-items-table th,
.invoice-items-table td {
  border: 1px solid #000000;
  padding: 6px 8px;
}

.invoice-items-table th {
  background: #F1F5F9;
  font-weight: 700;
}

.invoice-total-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
}

.invoice-spelling-amount {
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 13px;
}

.invoice-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

.invoice-stamp-box {
  position: relative;
}

.invoice-stamp-svg {
  position: absolute;
  top: -30px;
  left: 60px;
  width: 130px;
  height: 130px;
  opacity: 0.85;
  pointer-events: none;
}

.invoice-actions-bar {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed #CBD5E1;
  flex-wrap: wrap;
}

.btn-invoice-action {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-invoice-print {
  background: var(--forest-900);
  color: var(--text-white);
  border: none;
}

.btn-invoice-print:hover {
  background: var(--forest-700);
}

.btn-invoice-copy {
  background: var(--bg-muted);
  color: var(--forest-900);
  border: 1px solid var(--border-subtle);
}

.btn-invoice-copy:hover {
  background: #E2E8F0;
}

/* ==========================================================================
   MODAL LIGHTBOX ДЛЯ СКРИНШОТОВ
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img,
.lightbox-video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: block;
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 16px;
  font-size: 15px;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 28px;
  cursor: pointer;
}

/* ==========================================================================
   МАРКЕТИНГОВЫЕ УСЛУГИ И МАСШТАБИРОВАНИЕ
   ========================================================================== */
.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.marketing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.marketing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--forest-600);
}

.marketing-card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #0F172A;
}

.marketing-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.marketing-card:hover .marketing-card-img-wrap img {
  transform: scale(1.04);
}

.marketing-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 36, 22, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.marketing-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.marketing-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.marketing-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.marketing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-main);
}

.marketing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.marketing-price-box {
  background: var(--bg-muted);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.marketing-price-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--forest-900);
  letter-spacing: -0.02em;
}

.marketing-price-sub {
  font-size: 12px;
  color: var(--forest-600);
  font-weight: 600;
}

/* ==========================================================================
   PRINT STYLES ДЛЯ СЧЕТА
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  .invoice-preview-container, .invoice-preview-container * {
    visibility: visible;
  }
  .invoice-preview-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .invoice-actions-bar {
    display: none !important;
  }
}

/* ==========================================================================
   БИЗНЕС-ВЫГОДА И ЭКОНОМИКА (ROI CARDS)
   ========================================================================== */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.roi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--forest-600);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.roi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--forest-600);
}

.roi-card:hover::before {
  opacity: 1;
}

.roi-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--emerald-light);
  color: var(--forest-700);
  margin-bottom: 16px;
  align-self: flex-start;
}

.roi-metric {
  font-size: 23px;
  font-weight: 800;
  color: var(--forest-900);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.roi-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.roi-footer {
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .roi-grid,
  .showcase-panel,
  .pricing-grid,
  .marketing-grid,
  .features-grid,
  .addons-list {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full {
    grid-column: span 1;
  }
  
  .payment-options-row {
    grid-template-columns: 1fr;
  }
}

