:root {
  --blue: #1a4a8a;
  --blue-hover: #2b6cb0;
  --blue-pale: #ebf4ff;
  --text: #1a202c;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --white: #ffffff;
  --bg: #f7fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  box-shadow: 0 2px 12px rgba(26,74,138,0.08);
}

.nav-logo {
  height: 52px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
  filter: drop-shadow(0 2px 6px rgba(26,74,138,0.18));
}
.nav-logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 10px rgba(26,74,138,0.28));
}

nav ul { list-style: none; display: flex; gap: 8px; align-items: center; }

nav ul li a {
  font-size: 14px; font-weight: 500;
  color: var(--text-mid); text-decoration: none;
  padding: 6px 12px; border-radius: 4px;
  transition: all 0.15s;
  display: block;
}
nav ul li a:hover { color: var(--blue); background: var(--blue-pale); }
nav ul li a.active { color: var(--blue); background: var(--blue-pale); font-weight: 600; }

.nav-cta a {
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: 4px;
}
.nav-cta a:hover { background: var(--blue-hover) !important; }

/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  background: transparent;
  list-style: none;
  min-width: 160px;
  z-index: 200;
}
.dropdown-menu::before {
  content: '';
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(26,74,138,0.12);
  position: absolute;
  top: 8px; left: 0; right: 0; bottom: 0;
  z-index: -1;
}
.nav-dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
  position: relative;
}
.dropdown-menu li:first-child a { border-radius: 6px 6px 0 0; }
.dropdown-menu li:last-child a  { border-radius: 0 0 6px 6px; }
.dropdown-menu li a:hover,
.dropdown-menu li a.active {
  background: var(--blue-pale);
  color: var(--blue);
}

/* ── PAGE WRAPPER ── */
.page-wrap {
  padding-top: 72px;
  min-height: 100vh;
}

/* ── HOME ── */
.home-bg-image {
  max-width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}
.home-bg-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero {
  background: var(--blue-pale);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
  text-align: left;
}

.home-hero h1,
.home-hero p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.home-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; color: var(--blue);
  line-height: 1.15; margin-bottom: 28px;
}

.home-hero p {
  font-size: 15px; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 16px;
}
.home-hero p:last-of-type { margin-bottom: 0; }

.home-products {
  padding: 64px 48px;
  max-width: 800px; margin: 0 auto;
}
.home-products h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--text); }

.product-list { display: flex; flex-direction: column; gap: 16px; }

.product-row {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--border); border-radius: 6px;
  padding: 24px 28px; text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  background: var(--white);
}
.product-row:hover { border-color: var(--blue); background: var(--blue-pale); }

.product-row-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue-hover); margin-bottom: 6px;
}
.product-row h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.product-row p { font-size: 13px; color: var(--text-light); }

.product-row-arrow {
  font-size: 20px; color: var(--blue); flex-shrink: 0; margin-left: 20px;
}

/* ── PRODUCT PAGES ── */
.product-page-inner {
  max-width: 900px; margin: 0 auto; padding: 48px 48px 80px;
}

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--blue);
  text-decoration: none; margin-bottom: 32px;
}
.back-link:hover { text-decoration: underline; }

.product-tag-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue-hover); margin-bottom: 8px;
}

.product-page-inner h1 {
  font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  color: var(--text); margin-bottom: 20px; line-height: 1.2;
}

.product-page-inner > p {
  font-size: 15px; color: var(--text-mid); line-height: 1.75;
  max-width: 720px; margin-bottom: 40px;
}

/* PRODUCT RENDER IMAGE */
.product-render {
  margin-bottom: 40px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
}
.product-render img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

/* VIDEO */
.video-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 48px;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}
.video-block iframe,
.video-block video { width: 100%; height: 100%; border: none; display: block; }
.video-placeholder { text-align: center; color: var(--text-light); }
.video-placeholder .play-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; opacity: 0.4;
}
.video-placeholder .play-icon::after {
  content: '▶'; color: white; font-size: 18px; margin-left: 4px;
}
.video-placeholder p { font-size: 13px; }

/* RENDER CAROUSEL */
.render-carousel {
  margin-bottom: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.carousel-window {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-track img {
  min-width: 100%;
  height: 460px;
  object-fit: contain;
  display: block;
  background: var(--bg);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.92);
  color: var(--blue);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 26px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(26,74,138,0.12);
  line-height: 1;
}
.carousel-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(26,74,138,0.28);
}
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-thumbs {
  display: flex;
  border-top: 1px solid var(--border);
}
.carousel-thumb {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.carousel-thumb:last-child { border-right: none; }
.carousel-thumb:hover { background: var(--blue-pale); }
.carousel-thumb.active {
  background: var(--blue-pale);
  border-bottom: 2px solid var(--blue);
}
.carousel-thumb img {
  width: 52px;
  height: 36px;
  object-fit: contain;
  border-radius: 3px;
  background: var(--bg);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.carousel-thumb span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.carousel-thumb.active span { color: var(--blue); }

/* SPECS + BENEFITS */
.specs-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.specs-card, .benefits-card {
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}

.card-header {
  padding: 14px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-light);
}

.spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 20px; border-bottom: 1px solid var(--border); gap: 12px;
}
.spec-row:last-child { border-bottom: none; }
.spec-name { font-size: 13px; color: var(--text-mid); }
.spec-value { font-size: 13px; font-weight: 600; color: var(--text); text-align: right; }

.benefit-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 20px; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-mid);
  width: calc(50% - 1px);
  box-sizing: border-box;
}
.benefits-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.benefits-card .card-header { border-bottom: 1px solid var(--border); }
.benefits-items-wrap {
  display: flex;
  flex-wrap: wrap;
}
.benefit-item:nth-child(odd) { border-right: 1px solid var(--border); }
.benefit-item:nth-last-child(-n+2) { border-bottom: none; }
.benefit-item::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* COMPARISON TABLE */
.comparison-wrap { margin-bottom: 0; }
.comparison-wrap .card-header { border-radius: 6px 6px 0 0; }
table.comp {
  width: 100%; border-collapse: collapse; font-size: 13px;
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 6px 6px; overflow: hidden;
}
table.comp th {
  background: var(--blue); color: var(--white);
  padding: 10px 16px; text-align: left; font-size: 12px; font-weight: 600;
}
table.comp th:first-child { background: #dde6f0; color: var(--text-mid); }
table.comp td { padding: 9px 16px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
table.comp td:first-child { font-weight: 500; color: var(--text); background: var(--bg); }
table.comp td:last-child { color: var(--blue); font-weight: 500; }
table.comp tr:last-child td { border-bottom: none; }

/* ── ABOUT ── */
.about-inner {
  max-width: 800px; margin: 0 auto; padding: 60px 48px 80px;
}
.about-hero {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.about-hero h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700; color: var(--blue);
  line-height: 1.15; margin-bottom: 20px;
}
.about-lead {
  font-size: 16px; color: var(--text-mid);
  line-height: 1.8; max-width: 680px;
}
.about-history {
  margin-bottom: 48px;
}
.about-history h2 {
  font-size: 20px; font-weight: 700;
  color: var(--text); margin-bottom: 16px;
}
.about-history p {
  font-size: 15px; color: var(--text-mid);
  line-height: 1.8; margin-bottom: 14px;
}
.about-history p:last-child { margin-bottom: 0; }
.about-video {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

/* ── CONTACT ── */
.contact-inner {
  max-width: 800px; margin: 0 auto; padding: 60px 48px 80px;
}
.contact-inner h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.contact-inner > p { font-size: 14px; color: var(--text-mid); margin-bottom: 40px; line-height: 1.7; }
.contact-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.contact-detail { display: flex; flex-direction: column; gap: 10px; }
.contact-row { display: flex; gap: 14px; font-size: 14px; }
.contact-row-label { font-weight: 600; color: var(--text); min-width: 68px; }
.contact-row-val { color: var(--text-mid); }
.contact-row-val a { color: var(--blue); text-decoration: none; }
.contact-row-val a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--blue); color: rgba(255,255,255,0.65);
  padding: 28px 48px; display: flex;
  justify-content: space-between; align-items: center; font-size: 13px;
}
footer img { height: 36px; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { padding: 0 16px; }
  .home-hero { padding: 60px 20px; }
  .home-products,
  .product-page-inner,
  .contact-inner { padding-left: 20px; padding-right: 20px; }
  .specs-benefits { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px 20px; }
}
