:root {
  color-scheme: dark;
  
  /* Основа — глубокий карбон */
  --bg: #0a0a0a;
  --bg-secondary: #141414;
  
  /* Текст — высокий контраст для читабельности */
  --text: #f8f8f8;
  --text-secondary: #d4d4d4;
  --muted: #7a7a7a;
  
  /* Акцент — чистое шампанское золото (премиум, не кричащее) */
  --accent: #d4af37;
  --accent-light: #e8c860;
  --accent-dark: #b8962e;
  
  /* Вторичный акцент — платина/серебро (авто-тема) */
  --silver: #a8b0b8;
  --silver-light: #c8d0d8;
  
  /* Карточки и линии */
  --card: #161616;
  --card-hover: #1e1e1e;
  --line: #252525;
  
  /* Успех/прибыль — благородный изумруд */
  --success: #2d9a5d;
  --success-light: #3db870;
  
  /* Ошибки — приглушённый бордо */
  --error: #c44040;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 100;
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.contact-callback {
  background: var(--accent);
  color: #0a0a0a !important;
  padding: 7px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact-callback:hover {
  background: var(--accent-light);
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.contact-phone,
.contact-email {
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
}

.contact-email {
  color: var(--muted);
  font-size: 11px;
}

@media (min-width: 769px) {
  .contact-phone {
    pointer-events: none;
    cursor: default;
  }
}

/* Компактная шапка на мобильных */
@media (max-width: 480px) {
  .header-inner {
    padding: 8px 0;
    gap: 8px;
  }
  
  .logo-img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  
  .logo-name {
    font-size: 13px;
  }
  
  .contact-callback {
    padding: 5px 10px;
    font-size: 10px;
  }
  
  .contact-phone {
    font-size: 10px;
  }
  
  .contact-email {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .logo-name {
    display: none;
  }
  
  .contact-callback {
    padding: 5px 8px;
    font-size: 9px;
  }
  
  .contact-phone {
    font-size: 9px;
  }
  
  .contact-email {
    display: none;
  }
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section {
  padding: 56px 0;
}


.section-title {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: clamp(22px, 3vw, 32px);
}

.section-title p {
  color: var(--muted);
  max-width: 640px;
}

.hero-headline {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.hero-headline.compact {
  padding: 0.5rem 0 1rem;
}

.hero-headline h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.home-page .hero-headline {
  margin-bottom: 16px;
}

.home-page .hero-headline.compact {
  margin-bottom: 8px;
}

.home-page #feedback {
  margin-top: 28px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.home-page .section.download {
  margin-top: 28px;
  padding-top: 22px;
  padding-bottom: 52px;
}

@media (max-width: 768px) {
  .hero-headline {
    padding: 1.5rem 0 1rem;
  }
  .hero-headline h1 {
    font-size: 2.5rem;
    font-weight: 800;
  }
}

.section-divider {
  height: 2px;
  width: min(960px, 92%);
  margin: 20px auto;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.15) 0%,
    var(--accent) 20%,
    var(--accent) 80%,
    rgba(212, 175, 55, 0.15) 100%
  );
}

.feedback-section {
  padding-top: 100px !important;
}

.form {
  display: grid;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(212, 175, 55, 0.3);
  border-color: var(--accent);
  background: var(--bg-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(212, 175, 55, 0.3);
  background: var(--accent-light);
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn.outline.accent {
  border-color: var(--accent);
  color: var(--accent);
  border-width: 2px;
}

.btn.outline.accent:hover {
  background: var(--accent);
  color: #0a0a0a;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
}

.inline-warning {
  font-size: 13px;
  color: var(--error);
  min-height: 18px;
  font-weight: 600;
  margin: -4px 0 10px;
  display: block;
}

.form-status {
  font-size: 14px;
  min-height: 20px;
}

.form-status.pending {
  color: var(--accent);
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--error);
}

.download {
  padding-bottom: 72px;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
}

.site-footer .container {
  display: grid;
  gap: 12px;
  font-size: 13px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-links a {
  color: var(--text);
  font-size: 13px;
  text-decoration: underline;
}

.legal-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}



/* Жирный заголовок */
.hero-title-bold {
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* Слайдер-карусель товаров */
.product-carousel-section {
  padding: 20px 0 40px;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 33.333%;
  padding: 0 8px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .carousel-slide {
    min-width: 50%;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    min-width: 100%;
  }
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
  background: var(--card-hover);
}

.product-image {
  aspect-ratio: 1;
  background: var(--bg-secondary);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.product-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  flex: 1;
  line-height: 1.4;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Секция "Всё под ключ" */
.turnkey-section {
  padding: 60px 0;
  background: var(--bg);
}

.turnkey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.turnkey-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.turnkey-card:hover {
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

.turnkey-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #0a0a0a;
}

.turnkey-icon svg {
  width: 30px;
  height: 30px;
}

.turnkey-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.turnkey-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .turnkey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .turnkey-grid {
    grid-template-columns: 1fr;
  }
  
  .turnkey-card {
    padding: 24px 16px;
  }
}

/* Секция преимуществ */
.advantages-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

.advantage-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.advantage-card:hover {
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #0a0a0a;
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
}

.advantage-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.advantage-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Калькулятор прибыльности */
.calculator-section {
  padding: 40px 0 60px;
}

.calculator-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calc-row {
  margin-bottom: 24px;
}

.calc-row-two {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 20px;
}

@media (max-width: 560px) {
  .calc-row-two {
    grid-template-columns: 1fr;
  }
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-input-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.calc-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.calc-slider-wrapper input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.calc-slider-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
  transition: transform 0.15s ease;
}

.calc-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider-wrapper input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
}

.calc-slider-wrapper input[type="number"],
.calc-input-group > input[type="number"] {
  width: 100px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

.calc-input-group > input[type="number"] {
  width: 100%;
}

.calc-slider-wrapper input[type="number"]:focus,
.calc-input-group > input[type="number"]:focus {
  outline: 2px solid rgba(212, 175, 55, 0.3);
  border-color: var(--accent);
  background: var(--bg-secondary);
}

.calc-price-tier {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.calc-price-tier strong {
  color: var(--accent);
  font-weight: 700;
}

.calc-divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

.calc-results {
  display: grid;
  gap: 14px;
}

.calc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.calc-result-item:last-child {
  border-bottom: none;
}

.calc-result-label {
  font-size: 14px;
  color: var(--muted);
}

.calc-result-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.calc-result-negative {
  color: var(--error);
}

.calc-result-highlight {
  background: linear-gradient(90deg, rgba(45, 154, 93, 0.15) 0%, rgba(45, 154, 93, 0.05) 100%);
  margin: 0 -16px;
  padding: 14px 16px;
  border-radius: 12px;
  border-bottom: none;
}

.calc-result-highlight .calc-result-label {
  color: var(--text);
  font-weight: 600;
}

.calc-result-highlight .calc-result-value {
  font-size: 20px;
  color: var(--success);
}

.calc-result-roi {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  margin: 0 -16px;
  padding: 14px 16px;
  border-radius: 12px;
  border-bottom: none;
}

.calc-result-roi .calc-result-label {
  color: var(--text);
  font-weight: 600;
}

.calc-result-roi .calc-result-value {
  font-size: 20px;
  color: var(--accent);
}

.calc-tiers {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.calc-tiers-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.calc-tiers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-tier {
  font-size: 12px;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.calc-tier.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

.calc-tier.active b {
  color: #0a0a0a;
}

.calc-tier b {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 560px) {
  .calculator-card {
    padding: 24px 20px;
  }
  
  .calc-slider-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .calc-slider-wrapper input[type="number"] {
    width: 100%;
  }
  
  .calc-result-highlight,
  .calc-result-roi {
    margin: 0 -12px;
    padding: 12px;
  }
}

/* Плавающие кнопки */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.floating-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.floating-cta {
  background: var(--accent);
  color: #0a0a0a;
}

.floating-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.floating-cta.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.floating-top {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.floating-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-top:hover {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }
  
  .floating-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .floating-cta span {
    display: none;
  }
  
  .floating-cta {
    padding: 14px;
    border-radius: 50%;
  }
}

/* Мобильные улучшения */
@media (max-width: 480px) {
  .hero-headline h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.4rem;
  }
  
  .product-info {
    padding: 12px;
  }
  
  .product-name {
    font-size: 14px;
  }
  
  .product-desc {
    font-size: 12px;
  }
  
  .product-price {
    font-size: 16px;
  }
  
  .advantage-card {
    padding: 20px 16px;
  }
  
  .advantage-card h3 {
    font-size: 14px;
  }
  
  .advantage-card p {
    font-size: 12px;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
  }
  
  .form {
    padding: 20px 16px;
  }
  
  input,
  textarea {
    padding: 14px;
    font-size: 16px;
  }
  
  .download-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .download-inner .btn {
    width: 100%;
  }
}

/* Улучшение тач-зон для мобильных */
@media (hover: none) and (pointer: coarse) {
  .carousel-btn {
    width: 48px;
    height: 48px;
  }
  
  .carousel-dot {
    width: 12px;
    height: 12px;
  }
  
  .calc-tier {
    padding: 10px 14px;
    font-size: 13px;
  }
}
