:root {
  --background: #F5F7FA;
  --surface: #FFFFFF;
  --card: #FFFFFF;

  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --primary-light: #E0F2FE;
  --secondary: #14B8A6;
  --accent: #F59E0B;

  --text-main: #1E293B;
  --text-secondary: #64748B;
  --text-light: #94A3B8;

  --success: #22C55E;
  --border: #E2E8F0;
  --divider: #F1F5F9;
  --shadow: rgba(15, 23, 42, .10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--text-main);
}

button,
a {
  font: inherit;
}

a {
  text-decoration: none;
}

.product-section {
  padding: 42px 20px 68px;
  background: var(--background);
}

.product-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.product-heading {
  text-align: center;
  margin-bottom: 46px;
}

.product-heading h2 {
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #101827;
}

.product-heading p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-secondary);
}

.product-heading::after {
  content: "";
  display: block;
  width: min(500px, 80%);
  height: 1px;
  margin: 8px auto 0;
  background: var(--border);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: start;
}

.product-card {
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background: var(--surface);
  box-shadow: 0 20px 44px var(--shadow);
}

.product-media {
  position: relative;
  background: #fff;
  padding: 14px 14px 18px;
}

.media-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.device-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
}

.device-btn {
  border: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.device-btn.active {
  background: var(--primary);
  color: white;
}

.slide-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
}

.slider-shell {
  width: 100%;
  height: 365px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0F172A;
  border-radius: 14px;
  transition: width .3s ease, border-radius .3s ease;
}

.slider-shell.phone-mode {
  width: min(100%, 245px);
  height: 430px;
  margin: auto;
  border-radius: 30px;
}

.device-bar {
  height: 28px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  color: #CBD5E1;
  font-size: 8px;
  font-weight: 700;
}

.camera-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #475569;
}

.slide-window {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--background);
}

.slide-window img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
  background: var(--background);
  transition: opacity .22s ease, transform .22s ease;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -8px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--primary-dark);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(15,23,42,.10);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

.slider-meta {
  text-align: center;
  margin-top: 14px;
}

.slider-meta h3 {
  font-size: 15px;
  color: var(--text-main);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 9px;
}

.slider-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #CBD5E1;
  cursor: pointer;
  transition: .2s;
}

.slider-dots button.active {
  width: 20px;
  background: var(--primary);
}

.product-description {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 20px;
  padding: 26px 28px 30px;
  background: var(--surface);
}

.accent-line {
  width: 4px;
  min-height: 100%;
  background: var(--secondary);
}

.product-description h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.product-description p {
  color: #51627A;
  font-size: 15px;
  font-style: italic;
  line-height: 1.72;
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(14,165,233,.22);
}

.demo-btn:hover {
  transform: translateY(-1px);
}

.features-panel {
  min-width: 0;
}

.features-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 3px 0 28px;
}

.features-title-row h3 {
  white-space: nowrap;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  color: #111827;
}

.title-line {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 105px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 5px 12px rgba(15,23,42,.06);
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 1px;
  background: #D1FAE5;
  color: #059669;
  font-size: 13px;
  font-weight: 900;
}

.feature-card p {
  color: #34445C;
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-card {
    width: min(680px, 100%);
    margin: auto;
  }

  .features-panel {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .product-section {
    padding: 34px 14px 52px;
  }

  .product-heading {
    margin-bottom: 30px;
  }

  .product-heading p {
    font-size: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .slider-shell {
    height: min(70vw, 390px);
    min-height: 285px;
  }

  .slider-shell.phone-mode {
    height: 470px;
    min-height: 0;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .slider-arrow.prev {
    left: 18px;
  }

  .slider-arrow.next {
    right: 18px;
  }

  .product-description {
    padding: 22px 20px 25px;
  }

  .features-title-row {
    gap: 12px;
    margin-bottom: 20px;
  }
}

@media (max-width: 430px) {
  .product-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .product-media {
    padding: 10px;
  }

  .media-topbar {
    margin-bottom: 9px;
  }

  .slider-shell {
    height: 300px;
    min-height: 0;
  }

  .slider-shell.phone-mode {
    width: 225px;
    height: 420px;
  }

  .feature-card {
    min-height: auto;
    padding: 17px;
  }

  .product-description {
    grid-template-columns: 3px 1fr;
    gap: 15px;
  }
}
