@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --accent: #ef4444;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  background: var(--surface-alt);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--primary), #60a5fa);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

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

.btn.ghost {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.btn.ghost.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--ink);
}

main {
  position: relative;
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 100px 0 60px;
  min-height: 80vh;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.22), transparent 45%), radial-gradient(circle at 80% 10%, rgba(239, 68, 68, 0.16), transparent 35%), linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.88));
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  text-align: center;
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  align-self: center;
  margin: 0 auto;
  backdrop-filter: blur(2px);
  width: max-content;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  justify-content: center;
  transform: translateY(-8px);
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: #bfdbfe;
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn.primary {
  color: #fff;
}

.hero .btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.section {
  padding: 18px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--muted);
}

.product-section {
  background: var(--surface-alt);
  padding-top: 10px;
}

.product-section .section-header {
  margin-bottom: 24px;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0;
  justify-items: stretch;
}

.product-tab {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  text-align: left;
}

.product-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.product-tab__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.product-tab__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.product-tab__title {
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
}

@media (max-width: 900px) {
  .product-tabs {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.product-tab.active {
  background: linear-gradient(135deg, #eef2ff, #e0edff);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.18);
}

.product-tab.active .product-tab__title {
  color: var(--primary);
}

.product-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  aspect-ratio: 4 / 3;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.gallery-nav:hover {
  background: rgba(37, 99, 235, 0.9);
  transform: translateY(-50%) scale(1.03);
}

.gallery-nav.prev {
  left: 12px;
}

.gallery-nav.next {
  right: 12px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.gallery-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  height: 90px;
  padding: 6px;
  display: grid;
  place-items: center;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}

.product-copy {
  display: grid;
  gap: 16px;
}

.eyebrow {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  font-size: 12px;
  text-transform: uppercase;
}

.product-copy h3 {
  font-size: 28px;
  letter-spacing: -0.01em;
}

.lead {
  color: var(--muted);
  font-size: 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: rgba(15, 23, 42, 0.04);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
}

.bullet-list {
  display: grid;
  gap: 8px;
  color: var(--ink);
  padding-left: 20px;
}

.bullet-list li {
  margin-left: 4px;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06);
}

.logos-strip {
  padding: 32px 0 12px;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.logos-row img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(15, 23, 42, 0.08));
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.contact-section {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--surface-alt);
  display: grid;
  gap: 16px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-row .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.contact-row h4 {
  margin: 0;
  font-size: 16px;
}

.contact-row p {
  margin: 2px 0 0;
  color: var(--muted);
}

form {
  display: grid;
  gap: 16px;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  transition: border 0.2s, box-shadow 0.2s;
}

.input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea.input {
  min-height: 140px;
  resize: vertical;
}

.status {
  font-size: 14px;
}

.status.ok {
  color: #059669;
}

.status.err {
  color: #b91c1c;
}

.footer {
  background: var(--ink);
  color: #e2e8f0;
  padding: 40px 0 28px;
  text-align: center;
}

.footer .brand {
  color: #e2e8f0;
  justify-content: center;
}

.footer .brand-badge {
  background: rgba(255, 255, 255, 0.08);
}

.footer p {
  color: #94a3b8;
  margin-top: 8px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  width: min(960px, 100%);
  max-height: 90vh;
  overflow: auto;
  position: relative;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  border: none;
  background: rgba(15, 23, 42, 0.06);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.spec-table th {
  background: var(--surface-alt);
  color: var(--ink);
}

.scheme-slider {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.scheme-frame {
  position: relative;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
  padding: 12px;
}

.scheme-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.scheme-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.scheme-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.scheme-thumb {
  width: 90px;
  height: 70px;
  border-radius: 10px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
}

.scheme-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.scheme-thumb.active {
  border-color: var(--primary);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-4px);
}

@media (max-width: 1100px) {
  .product-shell {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 90px 0 70px;
  }

  .hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 80px 0 62px;
  }

  .hero-content {
    gap: 18px;
  }

  .hero-eyebrow {
    padding: 10px 14px;
    font-size: 14px;
    transform: translateY(-4px);
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-actions .btn {
    padding: 10px 14px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-eyebrow {
    font-size: 13px;
    padding: 9px 12px;
    transform: translateY(-2px);
  }

  .btn {
    font-size: 13px;
    padding: 11px 14px;
  }

  .product-tab {
    font-size: 13px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
  }

  .brand-badge {
    width: 38px;
    height: 38px;
  }

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