@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 64px 0 72px;
}

.hero-grid,
.demo-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 56px;
}

.badge {
  display: inline-block;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  font-family: Sora, "Segoe UI", Arial, sans-serif;
  font-size: clamp(42px, 5.7vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 17ch;
}

.hero-title-muted,
.hero-title-accent {
  display: block;
}

.hero-title-muted {
  color: #0f172a;
  font-weight: 700;
}

.hero-title-accent {
  margin-top: 10px;
  color: #0b8a6a;
  font-weight: 800;
}

.lead {
  margin-top: 18px;
  max-width: 620px;
  font-size: 20px;
  line-height: 1.65;
  color: #475569;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 0;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn-dark {
  background: linear-gradient(135deg, #ff6b35 0%, #f7c948 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.45);
  letter-spacing: 0.01em;
}

.btn-dark:hover {
  background: linear-gradient(135deg, #ff5520 0%, #f5bc20 100%);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.6);
  transform: translateY(-2px);
  opacity: 1;
}

/* Пульсирующее свечение на главной кнопке hero */
.cta-row .btn-dark {
  animation: ctaPulse 2.6s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(255, 107, 53, 0.45); }
  50%       { box-shadow: 0 4px 32px rgba(255, 107, 53, 0.75); }
}

.btn-light {
  border: 1px solid #cbd5e1;
  color: #0f172a;
  background: #fff;
}

.mini-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 560px;
}

.mini-card,
.feature-card,
.step-card,
.stat-card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 18px;
}

.mini-card strong,
.feature-card h3,
.step-card h3 {
  display: block;
  margin-bottom: 8px;
}

.muted {
  color: #64748b;
}

.phone-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 34px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
}

.phone {
  background: #fff;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.compare-showcase {
  max-width: 760px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6f3 100%);
}

.compare-card-wrap {
  margin-top: 48px;
}

.compare-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 18px;
}

.compare-card-head h3 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.1;
  color: #0f172a;
}

.compare-card-head p {
  max-width: 320px;
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.compare-card-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 138, 106, 0.1);
  color: #0b8a6a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-showcase .phone {
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 14px;
}

.product-view {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(to bottom, #f1f5f9, #e2e8f0);
  aspect-ratio: 4 / 5;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-shape {
  width: 160px;
  height: 270px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
}

.compare-view {
  min-height: 460px;
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #f8fbfd 0%, #deebe7 100%);
}

.compare-view .product-shape {
  display: none;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: 24px;
}

.slide.active {
  opacity: 1;
}

#slider .slide {
  object-fit: cover;
  object-position: center;
}

#slider .slide[src*="turkish_sweet"] {
  transform: scale(1);
  transform-origin: center center;
}

#slider .slide[src*="beef"] {
  object-fit: contain;
  object-position: center;
  padding: 18px;
  background: linear-gradient(180deg, #f8fbfd 0%, #eef4f1 100%);
}

.hero .phone-wrap {
  max-width: 700px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.hero .phone {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero .product-view {
  min-height: 460px;
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, #f8fbfd 0%, #deebe7 100%);
  overflow: hidden;
}

.hero .phone-top {
  margin-bottom: 10px;
  padding-left: 12px;
}

.hero #slider {
  padding: 0;
}

.hero #slider .slide {
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.hero .product-shape {
  display: none;
}

.float-box {
  position: absolute;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  padding: 7px 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 13px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 10;
}

.float-box small {
  display: inline;
  color: rgba(15, 23, 42, 0.62);
  margin: 0;
  font-size: 11px;
  font-weight: 500;
}

.float-box strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  color: #0f172a;
}

.box-a { top: 18px; left: 18px; }
.box-b { top: 86px; right: 18px; }

.switcher {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
  z-index: 2;
}

/* Кнопки навигации слайдов */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: #0f172a;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.slide-prev {
  left: 16px;
}

.slide-next {
  right: 16px;
}

.slide-nav:hover {
  background: white;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  transform: translateY(-50%) scale(1.1);
}

/* Точки навигации */
.slide-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: white;
  box-shadow: 0 0 8px rgba(15, 23, 42, 0.3);
  transform: scale(1.2);
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  background: #f1f5f9;
  cursor: default;
}

.chip.active {
  background: #0f172a;
  color: white;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.stat-card strong {
  display: block;
  font-size: 20px;
  margin: 8px 0 4px;
}

section.alt {
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 72px 0;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.6;
  color: #475569;
  max-width: 760px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.step-card,
.feature-card {
  background: white;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  padding: 28px;
  border-radius: 28px;
}

.step-card {
  padding: 22px;
  border-radius: 18px;
}

section.alt .grid-3 .step-card {
  padding: 16px 16px 14px !important;
  border-radius: 16px !important;
}

.step-number {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 6px;
}

.step-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  flex: 0 0 24px;
}

.step-card .step-icon svg {
  width: 24px !important;
  height: 24px !important;
}

.step-icon-scan {
  background: #e0f2fe;
  color: #0369a1;
}

.step-icon-analyze {
  background: #fef3c7;
  color: #b45309;
}

.step-icon-impact {
  background: #dcfce7;
  color: #166534;
}

.demo-box {
  margin-top: 36px;
  border: 2px dashed #cbd5e1;
  background: white;
  color: #64748b;
  border-radius: 32px;
  padding: 46px 20px;
  text-align: center;
  font-size: 18px;
}

.features {
  padding: 72px 0;
}

.feature-card {
  border: 1px solid #e2e8f0;
  background: white;
  box-shadow: none;
}

.demo-section {
  border-top: 1px solid #1e293b;
  background: #0f172a;
  color: white;
  padding: 72px 0;
}

.demo-section .section-lead {
  color: #cbd5e1;
}

.demo-card {
  background: white;
  color: #0f172a;
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 20px 55px rgba(0,0,0,0.22);
}

.demo-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.demo-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.demo-points {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.demo-point {
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px 14px;
  color: #334155;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.modal.show {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: white;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.25);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.modal-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  padding-right: 40px;
}

.modal-subtitle {
  margin: 12px 0 0;
  color: #64748b;
  line-height: 1.6;
}

.form-row {
  margin-top: 18px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #0f172a;
}

.submit-btn {
  width: 100%;
  margin-top: 16px;
  border: 0;
  cursor: pointer;
}

.error {
  display: none;
  margin-top: 10px;
  color: #b91c1c;
  font-size: 14px;
}

.success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
  line-height: 1.5;
}

.form-note {
  font-size: 13px;
  color: #64748b;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

/* Video Demo Section */
.demo-video-section {
  margin-top: 48px;
  padding: 48px 20px;
  border-radius: 32px;
  background: white;
  border: 2px solid #e2e8f0;
}

.video-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.video-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-placeholder:hover {
  transform: scale(1.05);
}

.video-container h3 {
  font-size: 24px;
  color: #0f172a;
  margin: 0 0 12px;
}

.video-container p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 8px;
}

.coming-soon {
  font-size: 14px;
  color: #0b8a6a;
  font-style: normal;
  font-weight: 600;
}

/* Trust Section */
.trust-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 60px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.trust-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.stat-label {
  color: #64748b;
  font-size: 16px;
  line-height: 1.5;
}

.trust-copy {
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.benefit-title {
  text-align: center;
  font-size: 28px;
  color: #0f172a;
  margin: 0 0 24px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.benefit-item {
  background: white;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 16px;
  font-weight: 500;
}

footer {
  text-align: center;
  padding: 50px 20px;
  color: #999;
  font-size: 13px;
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
  }

  h1 {
    max-width: 18ch;
  }

  .lead {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.6;
  }

  .hero .phone-wrap {
    max-width: 620px;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .demo-grid,
  .grid-3,
  .mini-grid,
  .stats,
  .trust-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 42px; }
  h2 { font-size: 34px; }

  .hero,
  .features,
  section.alt,
  .demo-section,
  .trust-section {
    padding: 48px 0;
  }

  .phone-wrap { max-width: 100%; }
  .compare-showcase {
    max-width: min(100%, 92vw);
    padding: 16px;
  }
  .compare-card-head {
    flex-direction: column;
    gap: 12px;
  }
  .compare-card-head p {
    max-width: none;
  }
  .compare-view {
    min-height: 440px;
    aspect-ratio: 1 / 1.1;
  }
  .hero .phone-wrap {
    max-width: min(100%, 92vw);
    padding: 0;
  }
  .hero .phone {
    padding: 0;
  }
  .hero .product-view {
    min-height: 440px;
    aspect-ratio: 1 / 1.1;
  }
  .hero #slider {
    padding: 0;
  }
  .hero #slider .slide {
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 18px;
  }
  #slider .slide[src*="turkish_sweet"] {
    transform: scale(1);
  }
  .float-box {
    font-size: 12px;
    padding: 6px 9px;
    border-radius: 10px;
    max-width: 46%;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  }
  .float-box strong {
    max-width: 100%;
  }
  .box-a { top: 10px; left: 10px; }
  .box-b { top: auto; bottom: 110px; right: 10px; left: auto; }
  .slide-nav {
    top: auto;
    bottom: 60px;
    transform: none;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .slide-nav:hover { transform: scale(1.1); }
  .slide-prev { left: 10px; }
  .slide-next { right: 10px; }
  .slide-dots { bottom: 16px; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .stat-number { font-size: 32px; }
  .benefit-title { font-size: 22px; }
}

#slider2 {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

#slider2 .slide {
  object-fit: contain;
  object-position: center;
  padding: 24px;
}

.compare-showcase .slide-dots {
  bottom: 22px;
}

.compare-showcase .slide-prev,
.compare-showcase .slide-next {
  top: auto;
  bottom: 18px;
  transform: none;
}

.compare-showcase .slide-prev:hover,
.compare-showcase .slide-next:hover {
  transform: scale(1.08);
}
