html, body {
  width: 100%;
  overflow-x: hidden;
  background: #111;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
}
.top-header {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  min-height: 64px;
  background: rgba(20, 20, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 2px 12px #0006;
  padding: 0 2.5rem 0 2rem;
  overflow: visible;
  box-sizing: border-box;
}
.header-left {
  display: flex;
  align-items: center;
}
.logo {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  object-fit: cover;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  min-width: 0;
  overflow: visible;
  flex-shrink: 1;
}
.hero-header {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 2rem;
}
.header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  animation: headerZoomPingPong 7s ease-in-out infinite alternate;
  will-change: transform;
}
.header-texts {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.header-text {
  position: absolute;
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
  letter-spacing: 1px;
  text-align: center;
  padding: 0 1rem;
}
.header-text.active {
  opacity: 1;
  transform: translateY(0);
}
.highlight {
  position: relative;
  display: inline-block;
}
.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.18em;
  background: #FFD600;
  border-radius: 0.1em;
  z-index: -1;
  width: 100%;
  transform: translateY(0.25em);
}
@media (max-width: 600px) {
  .hero-header { height: 320px; }
  .header-text { font-size: 1.1rem; }
  .top-header { height: 48px; padding: 0 1rem; }
  .logo { height: 32px; width: 32px; }
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  justify-content: center;
}
.tab {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  border-radius: 20px;
  transition: background 0.3s;
  flex: 0 0 auto;
}
.tab.active, .tab:hover {
  background: #222;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: minmax(160px, auto);
  grid-auto-flow: dense;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  place-items: center;
}
.card {
  display: flex;
  flex-direction: column;
  background: #181818;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px #0004;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s, transform 0.5s;
}
.card.show {
  opacity: 1;
  transform: translateY(0);
}
.card.small {
  aspect-ratio: 1 / 1;
  min-height: unset;
  height: auto;
  max-width: 340px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.card.big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
  min-width: 0;
  min-height: unset;
  height: auto;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #222;
  flex-shrink: 0;
}
.card.big .card-img {
  height: 100%;
  min-height: 220px;
  flex: 1 1 0;
  object-fit: cover;
}
.card-content {
  padding: 1rem;
}
.card-title {
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.card-titleTag {
  font-weight: 200;
  opacity: 0.85;
  font-size: 0.8rem;
}
.card-categories {
  color: #aaa;
  font-size: 0.7rem;
}
.slider .card-img.swipe {
  animation: swipe-fade 0.7s;
}
.slider .card-img.swipe-left {
  animation: swipe-fade-left 0.7s;
}
.slider .card-img.swipe-right {
  animation: swipe-fade-right 0.7s;
}
.slider .card-img.swipe-top {
  animation: swipe-fade-top 0.7s;
}
.slider .card-img.swipe-bottom {
  animation: swipe-fade-bottom 0.7s;
}
.slider .card-img.fade-out {
  animation: fade-out-swipe 0.7s;
}
@keyframes swipe-fade {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  49% {
    opacity: 0;
    transform: translateX(-40px);
  }
  50% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes swipe-fade-left {
  0% { opacity: 1; transform: translateX(0); }
  49% { opacity: 0; transform: translateX(-40px); }
  50% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes swipe-fade-right {
  0% { opacity: 1; transform: translateX(0); }
  49% { opacity: 0; transform: translateX(40px); }
  50% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes swipe-fade-top {
  0% { opacity: 1; transform: translateY(0); }
  49% { opacity: 0; transform: translateY(-40px); }
  50% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes swipe-fade-bottom {
  0% { opacity: 1; transform: translateY(0); }
  49% { opacity: 0; transform: translateY(40px); }
  50% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fade-out-swipe {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
.slider .card-img.fade-in {
  animation: fade-in-swipe 0.7s;
}
@keyframes fade-in-swipe {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .card.big {
    grid-column: span 1;
    grid-row: span 1;
  }
}
.menu-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  min-width: 0;
}
.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.08rem;
  padding: 0.2rem 0.5rem 0.2rem 0.5rem;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.menu-btn.active, .menu-btn:focus {
  color: #fff;
}
.menu-btn.active::after {
  content: '';
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  width: 100%;
  margin: 0 auto;
  margin-top: 4px;
}
.menu-toggle {
  display: none;
}
@media (max-width: 700px) {
  .menu-list {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: #181818;
    flex-direction: column;
    gap: 0;
    width: 100vw;
    height: 100vh;
    box-shadow: 0 4px 24px #0006;
    border-radius: 0;
    display: none;
    z-index: 2000;
    padding-top: 64px;
  }
  .menu-list.open {
    display: flex;
  }
  .menu-btn {
    text-align: left;
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    border-radius: 0;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0.5rem;
    z-index: 2100;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
  }
  .top-header {
    height: 56px;
    min-height: 56px;
    padding: 0 1rem;
  }
}
.contact-section {
  background: #181818;
  color: #fff;
  padding: 3rem 1rem 2.5rem 1rem;
  text-align: center;
  margin-top: 3rem;
}
.contact-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.contact-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 12px #0002;
}
.contact-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.5rem 0 0.2rem 0;
  letter-spacing: 1px;
  color: #fff;
}
.contact-desc {
  color: #bbb;
  font-size: 1rem;
  margin-bottom: 2.2rem;
}
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  background: #222;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0008;
  padding: 2rem 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 220px;
  margin: 0.5rem 0;
}
.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #181818;
  box-shadow: 0 2px 8px #0006;
}
.contact-label {
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
  color: #fff;
}
.contact-link {
  color: #FFD600;
  text-decoration: none;
  font-size: 1rem;
  word-break: break-all;
}
.contact-phone .contact-link {
  color: #25D366;
}
@media (max-width: 700px) {
  .contact-cards {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
  }
  .contact-card {
    justify-content: center;
    min-width: 0;
  }
}
.site-footer {
  background: #111;
  color: #bbb;
  text-align: center;
  font-size: 0.95rem;
  padding: 1.2rem 0 1.5rem 0;
  margin-top: 0;
  letter-spacing: 0.02em;
}

/* Customer Success Portal Section */
.contact-portal-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181A20;
  border-radius: 2rem;
  margin: 2rem auto 3rem auto;
  max-width: 950px;
  box-shadow: 0 4px 32px 0 #0008;
  padding: 2.5rem 2rem;
  gap: 2.5rem;
}
.portal-img-wrap {
  flex: 1 1 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
}
.portal-img {
  width: 100%;
  max-width: 370px;
  /* border-radius: 1.2rem; */
  /* background: #23242a; */
  /* box-shadow: 0 2px 16px 0 #0006; */
}
.portal-content {
  flex: 1 1 340px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  padding: 0 1rem;
}
.portal-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}
.portal-desc {
  font-size: 1.1rem;
  color: #bdbdbd;
  margin-bottom: 1.2rem;
}
.portal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.7rem 0;
}
.portal-list li {
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  color: #fff;
}
.portal-check {
  color: #ff3366;
  font-size: 1.2em;
  margin-right: 0.7em;
  display: inline-block;
}
.portal-btn {
  background: transparent;
  color: #ff3366;
  border: 2px solid #ff3366;
  border-radius: 2em;
  padding: 0.7em 2.2em;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 0.5rem;
}
.portal-btn:hover, .portal-btn:focus {
  background: #ff3366;
  color: #fff;
}

@media (max-width: 900px) {
  .contact-portal-section {
    flex-direction: column;
    padding: 1.5rem 0.7rem;
    gap: 1.5rem;
  }
  .portal-img, .portal-content {
    max-width: 100%;
    min-width: 0;
  }
  .portal-content {
    align-items: flex-start;
  }
}

/* WEBAR Features Section */
.webar-features-section {
  padding: 1.5rem 0 3rem 0;
  background: #191919;
}
.webar-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}
.webar-feature-card {
  background: #222;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s, transform 0.5s;
}
.webar-feature-card.show {
  opacity: 1;
  transform: translateY(0);
}
.webar-feature-card:hover {
  box-shadow: 0 6px 32px 0 #000a;
  transform: translateY(-4px) scale(1.03);
}
.webar-feature-header {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.webar-feature-img {
  width: 100%;
  max-width: 180px;
  margin-bottom: 1.7rem;
  margin-top: 0.2rem;
  display: block;
}
.webar-feature-desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}
.webar-feature-usecases-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 0.7rem;
}
.webar-feature-usecases {
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: #ccc;
  text-align: left;
  width: fit-content;
}
.webar-feature-usecases li {
  margin-bottom: 0.5rem;
}

@media (max-width: 1100px) {
  .webar-features-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 700px) {
  .webar-features-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    row-gap: 1.5rem;
  }
  .webar-feature-card {
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
  }
}

/* Make the main-content placeholder text white and bold */
.main-content > div {
  color: #fff !important;
  font-weight: 700;
}

.webar-desc-text {
  color: #fff;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 1000px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.93;
  font-weight: 400 !important;
}

@keyframes headerZoomPingPong {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.card-link {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.card-link:hover, .card-link:focus {
  box-shadow: 0 8px 32px #1d1d1dc0, 0 4px 24px #0004;
  transform: translateY(-2px) scale(1.03);
  z-index: 2;
}

.card.big .slider {
  height: 100%;
  display: flex;
}
.card.big .slider .card-img {
  height: 100%;
  min-height: 0;
} 