:root {
  --bg-dark: #3d3f45;
  --bg-hero-start: #171d2f;
  --bg-hero-end: #2b3552;
  --accent: #27b2d9;
  --accent-orange: #f59b3f;
  --text-light: #ffffff;
  --text-muted: #d8dbe0;
  --card-border: #d8d8d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: #f2f2f2;
  color: #262626;
}

.container {
  width: min(1200px, 95%);
  margin: 0 auto;
}

.top-header {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: 12px;
}

.top-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 1.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-lv1 {
  color: var(--accent-orange);
  font-weight: 900;
  letter-spacing: -1px;
  text-shadow: 0 0 18px rgba(245, 155, 63, 0.45);
}

.brand-health {
  color: var(--accent);
  font-weight: 700;
}

.brand-tech {
  color: #ffffff;
  font-weight: 500;
  opacity: 0.85;
}

.search-wrap {
  flex: 1;
  display: flex;
  max-width: 500px;
  margin-left: 10px;
  position: relative;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dde3ea;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  z-index: 9999;
  max-height: 320px;
  overflow-y: auto;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #1a2540;
  border-bottom: 1px solid #f0f2f5;
  text-decoration: none;
}

.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover,
.search-suggestion-item.active { background: #eaf5fb; }

.search-suggestion-item .sug-name {
  font-weight: 700;
  color: #1a2540;
}

.search-suggestion-item .sug-cat {
  font-size: 0.75rem;
  color: #27b2d9;
  margin-left: auto;
  white-space: nowrap;
}

.search-suggestion-all {
  display: block;
  padding: 9px 14px;
  font-size: 0.8rem;
  color: #27b2d9;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  background: #f8fbfd;
  border-top: 1px solid #dde3ea;
  text-decoration: none;
}

.search-wrap input {
  width: 100%;
  border: none;
  padding: 11px 12px;
  font-size: 0.92rem;
}

.search-wrap button {
  border: none;
  width: 48px;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.lang {
  opacity: 0.85;
}

.expo {
  font-weight: 700;
}

.cta-btn {
  border: 1px solid #cfd3da;
  border-radius: 18px;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
}

.main-nav {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 0.82rem;
  padding: 12px 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.hero {
  background: linear-gradient(90deg, var(--bg-hero-start), var(--bg-hero-end));
  color: var(--text-light);
  padding: 26px 0;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-mark {
  width: 100px;
  height: 100px;
  border: 4px solid var(--accent-orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-orange);
  font-size: 2rem;
  font-weight: 800;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  line-height: 1.13;
  font-weight: 700;
}

.hero-text h1 span {
  color: var(--accent-orange);
}

.learn-btn {
  margin-top: 18px;
  border: none;
  border-radius: 28px;
  padding: 13px 24px;
  background: linear-gradient(90deg, #f7a447, #e88f37);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

.hero-device {
  display: flex;
  align-items: center;
  gap: 16px;
}

.screen {
  width: 300px;
  overflow: hidden;
  position: relative;
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.slide-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s ease;
}

.dot.active {
  background: var(--accent);
}

.probe {
  display: none;
}

.card {
  margin: 50px auto 30px;
  background: #fff;
  border: 1px solid var(--card-border);
}

.company-tabs {
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px 8px;
}

.company-logo {
  margin-right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2f3032;
  font-size: 2rem;
  font-weight: 700;
  text-transform: lowercase;
}

.logo-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #f59b3f;
  color: #f59b3f;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.company-tabs a {
  text-decoration: none;
  color: #7a7a7a;
  padding-bottom: 8px;
  position: relative;
}

.company-tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #8f8f8f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.company-tabs a:hover::after,
.company-tabs a.active::after {
  transform: scaleX(1);
}

.company-tabs a.active,
.company-tabs a:hover {
  color: #4d4d4d;
}

.content {
  padding: 24px 30px 40px;
}

.content h2 {
  margin: 0 0 12px;
  color: #494949;
  font-size: 2rem;
}

.content h3 {
  margin: 0 0 16px;
  color: #4e4e4e;
  font-size: 2rem;
  font-weight: 400;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 12px;
}

.content p {
  color: #626262;
  line-height: 1.7;
  max-width: 1000px;
}

@media (max-width: 1024px) {
  .header-actions {
    display: none;
  }

  .main-nav {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .top-row {
    flex-wrap: wrap;
  }

  .search-wrap {
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .company-tabs {
    flex-wrap: wrap;
  }

  .company-logo {
    width: 100%;
  }

  .content {
    padding: 20px 18px 26px;
  }

  .content h2,
  .content h3 {
    font-size: 1.5rem;
  }
}

/* Product catalogue + product page */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 24px;
}

.product-tile {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.product-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #cfcfcf;
}

.product-tile img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.product-tile-title {
  font-weight: 700;
  color: #3f3f3f;
  font-size: 1rem;
}

.product-tile-body {
  padding: 10px 12px 12px;
}

.product-tile-subtitle {
  margin-top: 3px;
  font-size: 0.88rem;
  color: #6b6b6b;
}

.product-tile-model {
  margin-top: 2px;
  font-size: 0.92rem;
  color: #2d2d2d;
  font-weight: 700;
}

.product-tile-list {
  margin: 8px 0 0;
  padding-left: 16px;
  color: #5f5f5f;
  font-size: 0.84rem;
  line-height: 1.45;
}

.product-tile-list li {
  margin-bottom: 3px;
}

.product-gallery-wrap {
  padding: 18px 30px 0;
}

.product-title {
  margin: 0 0 14px;
  font-size: 1.8rem;
  color: #454545;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-main-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f5f7;
  touch-action: pan-y;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.magnifier {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  display: none;
  pointer-events: none;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.12);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.thumb-btn {
  border: 1px solid #e4e4e4;
  background: #fff;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 120ms ease, transform 120ms ease;
}

.thumb-btn:hover {
  transform: translateY(-1px);
  border-color: #c9c9c9;
}

.thumb-btn img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}

.thumb-btn--active {
  border-color: #f59b3f;
  box-shadow: 0 0 0 3px rgba(245, 155, 63, 0.18);
}

.product-details {
  padding-top: 18px;
}

.product-main-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.product-specs h3,
.product-description h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
  color: #4a4a4a;
  font-weight: 700;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 10px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.specs-table th {
  text-align: left;
  width: 45%;
  color: #585858;
  font-weight: 700;
  padding: 10px 10px;
  border-bottom: 1px solid #ededed;
  vertical-align: top;
}

.specs-table td {
  color: #636363;
  padding: 10px 10px;
  border-bottom: 1px solid #ededed;
  vertical-align: top;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-main-layout {
    grid-template-columns: 1fr;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-gallery-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-gallery-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.related-card {
  margin: 0 auto 18px;
  background: #fff;
  border: 1px solid var(--card-border);
  padding: 20px 22px;
}

.related-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #444;
}

.related-searches,
.footer-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #5e5e5e;
}

.footer-note {
  margin-top: 12px;
  color: #707070;
}

.site-footer {
  background: #1a1f2e;
  color: #f1f4f8;
  padding: 30px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 0.9fr;
  gap: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #7e90a8;
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 240px;
}

.footer-divider {
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 0;
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-links a {
  color: #b0bdd0;
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 180ms ease;
  position: relative;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0bdd0;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  padding: 12px 0;
  font-size: 0.78rem;
  color: #4a5568;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
