/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f7fb;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  color: #222;
  line-height: 1.5;
}

main {
  flex: 1;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Utilities */
.hidden {
  display: none;
}

.highlighted {
  background-color: #4a4a4ac9 !important;
  color: white !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

.line {
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

.list-heading {
  font-weight: bold;
  margin-bottom: 5px;
}

/* Legal Pages */
.policy-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.policy-container h1 {
  font-size: 28px;
}

/* Header */
.custom-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
  min-height: 100px;
  background: linear-gradient(180deg, #3f6ff0 0%, #3f6ff0 63%, #68a5ff 100%);
}

.header-left {
  flex: 1;
}

.header-right {
  flex: 1;
  max-width: 420px;
}

.site-title {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
}

.site-title a {
  color: white;
  text-decoration: none;
}

/* Search */
.search-container {
  display: flex;
  width: 100%;
  gap: 10px;
}

.search-wrapper {
  position: relative;
  flex-grow: 1;
}

.search-box {
  width: 100%;
  height: 40px;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
}

.search-button {
  height: 40px;
  padding: 0 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #66b3ff;
  color: white;
}

.search-button:hover {
  background-color: #3399ff;
}

.search-dropdown {
  position: absolute;
  z-index: 1000;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 0 0 4px 4px;
  background-color: white;
}

.search-dropdown div {
  padding: 10px;
  cursor: pointer;
}

.search-dropdown div:hover {
  width: 100%;
  background-color: #f1f1f1;
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  background-color: #e72e2e;
  color: whitesmoke;
  padding: 15px 10px;
  border-radius: 8px;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}

.notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Navbar */
.navbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  padding: 0 10px;
  background-color: #333;
  color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  width: 100px;
  padding: 10px 10px;
  text-align: left;
  color: white;
  text-decoration: none;
}

.menu li .dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background-color: #444;
  transition: max-height 0.3s ease;
  z-index: 1000;
}

.menu li .dropdown a {
  display: block;
  width: 300px;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
}

.menu li .dropdown a:hover {
  background-color: #575757;
}

/* Home Sections */
.section-block {
  margin-top: 44px;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 15px 10px;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.brand-logos a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 50px;
}

.brand-logos img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 48px auto;
  padding: 28px 18px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.homepage-description {
  max-width: 900px;
  margin: 24px auto;
  padding: 0 15px;
  font-size: 24px;
  color: #222;
  text-align: center;
  line-height: 1.6;
}

.description-divider {
  width: 180px;
  height: 4px;
  margin: 20px auto;
  border-radius: 5px;
  background-color: #be0e0e;
}

.usecases {
  max-width: 1100px;
  margin: 18px auto 70px;
}

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

.usecase-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.usecase-content {
  flex: 1;
}

.usecase-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.usecase-desc {
  margin: 0 0 12px;
  font-size: 15.5px;
  color: #444;
  line-height: 1.55;
}

.usecase-link {
  font-size: 15px;
  font-weight: 600;
  color: #3f6ff0;
  text-decoration: none;
}

.usecase-link:hover {
  text-decoration: underline;
}

.usecase-image {
  flex: 0 0 190px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f8;
  border-radius: 12px;
  overflow: hidden;
}

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

.listing-row {
  margin-top: 40px;
  padding: 0 20px;
}

.listing-row h2,
.use-cases h2 {
  font-size: 26px;
  margin-bottom: 18px;
  color: #222;
}

.items-row {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.item {
  flex: 0 1 230px;
  text-align: center;
}

.item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}

.item figcaption {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

.speaker-link {
  color: inherit;
  text-decoration: none;
}

.card-container {
  display: flex;
  gap: 20px;
  margin-top: 44px;
  padding: 0;
}

.card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 48%;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.card:hover,
.card-1:hover {
  transform: translateY(-3px);
}

.card-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.card-content img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}

.text-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.text-content p {
  font-size: 16px;
  color: #666;
}

.card-container-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding-top: 30px;
}

.card-1 {
  width: 350px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.card-1 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-content-1 {
  padding: 15px;
}

.card-content-1 h3 {
  margin: 10px 0;
  font-size: 1.5em;
}

.card-content-1 p {
  font-size: 1em;
  line-height: 1.5;
  color: #666;
}

.top-10 {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px 40px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.top-10 h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.top-10 p {
  font-size: 16px;
  color: #444;
  margin-bottom: 25px;
}

.top-10-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #3f6ff0;
  color: white;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.top-10-btn:hover {
  background: #2d58cc;
}

/* Feedback Popup */
.feedback {
  text-align: center;
  padding: 30px 15px 0;
}

.feedback-link {
  color: #ff6b6b;
  cursor: pointer;
  text-decoration: none;
}

.feedback-link:hover {
  text-decoration: underline;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  padding: 40px;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
}

.email {
  margin: 10px 0;
  font-weight: bold;
  color: #007bff;
}

.copyButton {
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
}

.copyButton:hover {
  background-color: #0056b3;
}

/* Footer */
.site-footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
}

.footer-disclaimer {
  max-width: 1100px;
  margin: 0 auto 12px;
  padding: 0 20px;
  font-size: 12px;
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.footer-link:hover {
  color: #ff6b6b;
}

#open-popup-contact {
  cursor: pointer;
}

.footer-link + .footer-link {
  position: relative;
  padding-left: 20px;
}

.footer-link + .footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 30px;
  transform: translateY(-50%);
  background: #ffffffc2;
  border-radius: 2px;
}

/* Product Page */
.product,
.product-specification {
  max-width: 1100px;
  margin: 0 auto;
}

.product {
  padding: 2px 20px;
  font-family: Arial, sans-serif;
}

.product-blurb {
  margin-top: 0;
  font-size: 20px;
}

h1.page-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 20px 0;
}

.product-title {
  margin-top: -10px;
  font-weight: bolder;
  font-size: 2rem;
  color: #222;
}

.product-price {
  margin-top: 15px;
  font-size: 1.5rem;
  color: #222222cc;
}

.product-display {
  display: block;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product-display picture {
  display: block;
  margin: 0 auto 12px;
  text-align: center;
}

.product-display img {
  width: auto;
  height: auto;
  max-height: 280px;
  border-radius: 8px;
}

.product-description {
  flex: 1 1 100px;
  padding-top: 10px;
}

.product-description h2 {
  font-size: 28px;
}

.product-description p:not(.product-price):not(.visitlink) {
  font-size: 16px;
}

.product a {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}

.product a:hover {
  text-decoration: underline;
}

.visitlink {
  position: relative;
  top: -30px;
  text-align: right;
  border-bottom: 2px #ff6b6b solid;
}

.context-acknowledgement {
  width: 100%;
  margin: 10px 0 18px;
  padding: 10px 14px;
  background: #f7f9ff;
  border-left: 4px solid #3f6ff0;
  border-radius: 8px;
  font-size: 15px;
  color: #374151;
  line-height: 1.55;
}

.decision-title {
  margin-bottom: 22px;
  font-size: 34px;
  font-weight: 700;
  color: #111;
}

.decision-section {
  margin-top: 0;
  padding: 22px 22px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.decision-block {
  margin-top: 18px;
}

.decision-block:first-child {
  margin-top: 0;
}

.decision-block h2 {
  margin: 0 0 6px 0;
  font-size: 28px;
  color: #111;
}

.decision-block.verdict p {
  font-size: 18px;
  font-weight: 600;
}

.decision-action {
  margin-top: 18px;
}

.decision-cta {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.decision-separator {
  max-width: 1100px;
  margin: 48px auto 40px;
  height: 1px;
  background: #e9e9e9;
}

.spec-title {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 32px;
  font-weight: 600;
  color: #333;
}

.specs-accordion {
  max-width: 1100px;
  margin: 24px auto 40px;
}

.spec-item {
  margin-bottom: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
}

.spec-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.spec-item summary::-webkit-details-marker {
  display: none;
}

.spec-item summary::after {
  content: "▸";
  float: right;
  transition: transform 0.2s ease;
}

.spec-item[open] summary::after {
  transform: rotate(90deg);
}

.spec-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.specifications-data {
  width: 100%;
  margin: 20px auto;
}

.specifications-table,
.product-specification table,
.detail-specifications table,
.detail-specifications-data-table {
  width: 100%;
  border-collapse: collapse;
}

.specifications-table {
  font-size: 16px;
  margin-bottom: 20px;
}

.specifications-table tbody tr {
  border-bottom: 1px solid #ddd;
}

.specifications-table tbody tr:nth-child(even),
#detail-specifications-data tr:nth-child(even),
.detail-specifications-data-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.specifications-table td,
#detail-specifications-data td,
.detail-specifications-data-table td,
.product-specification td,
.product-specification th,
.detail-specifications td,
.detail-specifications th {
  padding: 10px 14px;
  line-height: 1.35;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #ddd;
}

.specifications-table td:first-child,
#detail-specifications-data td:first-child,
.detail-specifications-data-table td:first-child,
.product-specification td:first-child,
.detail-specifications td:first-child {
  width: 40%;
  font-weight: 600;
  color: #333;
}

.specifications-table td:last-child,
#detail-specifications-data td,
.detail-specifications-data-table td,
.product-specification td:last-child,
.detail-specifications td:last-child {
  color: #555;
}

.product-specification {
  line-height: 1.45;
  overflow: hidden;
}

.product-specification h3,
.product-specification h4 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.product-specification li,
.product-specification p {
  margin-bottom: 6px;
  font-size: 14.5px;
  color: #444;
}

.product-specification table,
.detail-specifications table {
  border-spacing: 0;
  border-radius: 0;
  overflow: visible;
}

.features .feature-list,
.pros-cons ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style-type: disc;
  font-size: 18px;
  line-height: 1.5;
}

.features .feature-list li {
  font-size: 16px;
  line-height: 1.55;
}

.detail-specifications {
  margin: 0 auto 30px;
  overflow: hidden;
}

.detail-specifications-data {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-specifications table {
  width: 100%;
}

.detail-specifications-data-table td:last-child {
  text-align: left;
}

/* Responsive */
@media (min-width: 769px) {
  .menu li:hover .dropdown {
    max-height: 500px;
  }
}

@media (max-width: 900px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .footer-disclaimer {
    text-align: center;
  }

  .context-acknowledgement {
    margin: 8px 0 16px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .custom-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .header-left,
  .header-right {
    max-width: 100%;
  }

  .header-left .site-title {
    text-align: center;
    margin-bottom: 0;
  }

  .header-right {
    align-items: center;
  }

  .search-dropdown {
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1;
    background-color: whitesmoke;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .menu li {
    width: 100%;
  }

  .menu li .dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu li.active .dropdown {
    max-height: 500px;
  }

  .menu li a,
  .menu li .dropdown a {
    width: 100%;
    text-align: left;
  }

  .usecase-card {
    flex-direction: column;
    text-align: center;
  }

  .usecase-image {
    order: -1;
  }

  .items-row .item:nth-child(n + 5) {
    display: none;
  }

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

  .item {
    flex: 0 0 calc(50% - 14px);
    max-width: calc(50% - 14px);
    margin-bottom: 0;
    text-align: center;
  }

  .item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
  }

  .item figcaption {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.2;
  }

  .card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .card {
    width: 100%;
  }

  .card-content {
    flex-direction: column;
    align-items: center;
  }

  .card-content img {
    width: 100%;
    height: auto;
  }

  .text-content h1,
  .text-content p {
    text-align: center;
  }

  .card-container-1 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card-1 {
    width: 90%;
  }

  .card-1 img {
    height: auto;
  }

  .top-10 {
    margin-left: 15px;
    margin-right: 15px;
  }

  .product {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .product-display {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .product-display img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    margin: 0 auto;
  }

  .product-description {
    width: 100%;
    text-align: center;
  }

  .decision-title {
    font-size: 28px;
  }

  .visitlink {
    position: static;
    top: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    text-align: center;
    border-bottom: 3px #ff6b6b solid;
  }

  .detail-specifications-data-table td {
    font-size: 14px;
  }
}
