/* ============================================================
   TEZ ERP — tez-erp.css
   Dedicated Stylesheet for TEZ ERP Product Page
   ============================================================ */

/* 1. Landing Hero — Viewport-aware responsive height and spacing */
.landinghero {
  background: #f4f0e8;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 6vw;
  min-height: max(600px, calc(100dvh - 140px));
  padding: clamp(48px, 6vh, 80px) 6vw;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.heroCopy>span,
.editorialIntro>span,
.imageStatement>div>span,
.pageJourney>div>span,
.cta>span {
  letter-spacing: 0.2em;
  color: var(--azure, #2463eb);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
}

.heroCopy h1 {
  letter-spacing: -0.055em;
  max-width: 950px;
  margin: 20px 0;
  font-size: clamp(46px, 5.4vw, 80px);
  line-height: 0.96;
  font-weight: 400;
  color: #0b1720;
}

.heroCopy>p {
  color: #4e5a62;
  max-width: 620px;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.6;
  margin: 0 0 32px;
}

.heroCopy .actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.heroCopy .btn-primary,
.cta .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #0b1720;
  color: #ffffff;
  border: 1px solid #0b1720;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.heroCopy .btn-primary:hover,
.cta .btn-primary:hover {
  background: #182833;
  border-color: #182833;
}

.heroCopy .textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14.5px;
  color: #0b1720;
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 4px 0;
}

.heroCopy .textlink:hover {
  color: var(--azure, #2463eb);
}

.heroVisual {
  position: relative;
  width: 100%;
}

.heroVisual img {
  object-fit: cover;
  width: 100%;
  height: clamp(380px, 48vh, 520px);
  border-radius: 200px 200px 0 0;
  display: block;
  box-shadow: 0 16px 40px rgba(11, 23, 32, 0.08);
}

/* 2. Product Proof Strip */
.productProof {
  background: #0b1720;
  color: #ffffff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 5vw;
  border-top: 1px solid #1a2935;
}

.productProof span {
  text-align: center;
  letter-spacing: 0.11em;
  border-right: 1px solid #233442;
  padding: 24px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.productProof span:last-child {
  border-right: none;
}

/* 3. Editorial Intro */
.editorialIntro {
  background: #ffffff;
  padding: 120px 8vw 85px;
  text-align: center;
}

.editorialIntro h2 {
  letter-spacing: -0.055em;
  max-width: 1150px;
  margin: 22px auto 16px;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  color: #0b1720;
}

.editorialIntro p {
  color: var(--azure, #2463eb);
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto;
}

/* 4. Feature Bento Grid (SS2 -> SS3 and SS4) */
.featureBento {
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  padding: 0 6vw 120px;
}

.featureBento>* {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Bento Lead - Left aligned single flow with watermark */
.featureBento .bentoLead {
  background: #0b1720;
  color: #ffffff;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 380px;
  padding: 64px 68px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.bentoLead:after {
  content: "TEZ";
  letter-spacing: -0.09em;
  color: #ffffff;
  opacity: 0.035;
  font-size: clamp(160px, 22vw, 340px);
  font-weight: 900;
  line-height: 1;
  position: absolute;
  top: -0.16em;
  right: 4vw;
  pointer-events: none;
}

.bentoLead>span {
  color: var(--brand-cyan, #33a7d8);
  letter-spacing: 0.2em;
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  display: block;
  z-index: 1;
}

.bentoLead>h2 {
  letter-spacing: -0.05em;
  margin: 28px 0 24px;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.05;
  font-weight: 400;
  color: #ffffff;
  max-width: 900px;
  z-index: 1;
}

.bentoLead>p {
  color: #bdc8ce;
  max-width: 520px;
  margin: 0;
  align-self: flex-start;
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
  z-index: 1;
}

.nowrap {
  white-space: nowrap;
}

/* Bento Cards (SS4 Checkerboard: 02, 04, 06 shaded; 01, 03, 05 white) */
.featureBento article {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: span 4;
  min-height: 300px;
  padding: 38px 36px;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 1px solid #e2e6e3;
  border-radius: 2px;
}

.featureBento article:nth-of-type(2),
.featureBento article:nth-of-type(4),
.featureBento article:nth-of-type(6) {
  background: #eef2e6;
}

.featureBento article:nth-of-type(1),
.featureBento article:nth-of-type(3),
.featureBento article:nth-of-type(5) {
  background: #ffffff;
}

.featureBento article:hover {
  background: #e3ecff;
  z-index: 2;
  transform: translateY(-4px);
  border-color: #b9ccfa;
}

.featureBento article small {
  color: var(--azure, #2463eb);
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}

.featureBento article h3 {
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 600;
  color: #0b1720;
}

.featureBento article p {
  color: #5d6870;
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}

.featureBento article:hover p {
  color: #24323a;
}

/* 5. Image Statement */
.imageStatement {
  background: var(--azure, #2463eb);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
}

.imageStatement>div {
  padding: 100px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.imageStatement h2 {
  letter-spacing: -0.055em;
  margin-top: 20px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.04;
  font-weight: 400;
  color: #ffffff;
}

.imageStatement>div>span {
  color: rgba(255, 255, 255, 0.78);
}

.imageStatement img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
}

/* 6. Connected Everywhere Section (SS3) */
.connectedEverywhere {
  background: #f4f0e8;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.connectionPhoto {
  min-height: 560px;
  position: relative;
}

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

.photoLabel {
  background: var(--azure, #2463eb);
  color: #ffffff;
  letter-spacing: 0.12em;
  padding: 22px 28px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  position: absolute;
  bottom: 0;
  right: 0;
}

.connectedContent {
  padding: 95px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.connectedContent>span {
  letter-spacing: 0.2em;
  color: var(--azure, #2463eb);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
}

.connectedContent h2 {
  letter-spacing: -0.055em;
  margin: 18px 0 16px;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  color: #0b1720;
}

.connectedContent>p {
  color: #56616a;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.connectedContent h3,
.connectedListTitle {
  color: var(--azure, #2463eb);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 24px 0 14px;
}

.connectedList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.connectedList li {
  border-top: 1px solid #c9ceca;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 700;
  color: #0b1720;
}

.connectedList li:last-child {
  border-bottom: 1px solid #c9ceca;
}

/* 7. Deployment Strategy (SS2) */
.deploymentChoice {
  background: #ffffff;
  padding: 115px 7vw 110px;
}

.deploymentHead>span {
  letter-spacing: 0.2em;
  color: var(--azure, #2463eb);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
}

.deploymentHead h2 {
  letter-spacing: -0.055em;
  margin: 18px 0 0;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.05;
  font-weight: 400;
  color: #0b1720;
}

.deploymentCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 55px;
}

.deploymentCards article {
  min-height: 250px;
  padding: 36px 32px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}

.deploymentCards article.deploy-desktop {
  background: #eaf0ff;
}

.deploymentCards article.deploy-lan {
  background: #e4f3ea;
}

.deploymentCards article.deploy-cloud {
  background: #f7ebe0;
}

.deploymentCards article small {
  color: var(--azure, #2463eb);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  display: block;
}

.deploymentCards article h3 {
  margin: 45px 0 10px;
  font-size: 28px;
  font-weight: 700;
  color: #0b1720;
}

.deploymentCards article p {
  color: #59656c;
  line-height: 1.6;
  margin: 0;
  font-size: 14.5px;
}

/* 8. FAQ Section with Mascot */
.productFaq {
  background: #f4f0e8;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 4vw;
  padding: 85px 7vw 0;
  align-items: stretch;
  position: relative;
  overflow: visible;
  min-height: 760px;
}

.faq-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  overflow: visible;
  position: relative;
}

.faq-left>span {
  letter-spacing: 0.2em;
  color: var(--azure, #2463eb);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
  position: relative;
  z-index: 2;
}

.faq-left h2 {
  letter-spacing: -0.055em;
  margin: 16px 0 20px;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.05;
  font-weight: 400;
  color: #0b1720;
  position: relative;
  z-index: 2;
}

.faq-mascot-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: visible;
  margin-top: -45px;
  position: relative;
  z-index: 1;
}

.faq-mascot-img {
  width: 100%;
  max-width: 600px;
  max-height: 560px;
  min-height: 500px;
  height: auto;
  object-fit: contain;
  object-position: bottom left;
  display: block;
  margin-left: -4%;
  filter: drop-shadow(0 20px 40px rgba(11, 23, 32, 0.09));
}

.faq-right {
  display: flex;
  flex-direction: column;
  min-height: 630px;
  padding-bottom: 70px;
}

.faq-item {
  border-top: 1px solid #dcdfd8;
  transition: border-color 0.25s ease;
}

.faq-item:last-child {
  border-bottom: 1px solid #dcdfd8;
}

.faq-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 19px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  user-select: none;
  outline: none;
  transition: color 0.2s ease;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--azure, #2463eb);
  outline-offset: 4px;
  border-radius: 6px;
}

.faq-num {
  color: var(--azure, #2463eb);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  align-self: center;
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: #0b1720;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.faq-trigger:hover .faq-question {
  color: var(--azure, #2463eb);
}

.faq-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 23, 32, 0.04);
  color: #59656c;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
}

.faq-chevron {
  width: 17px;
  height: 17px;
  display: block;
}

.faq-trigger:hover .faq-arrow {
  background: rgba(36, 99, 235, 0.08);
  color: var(--azure, #2463eb);
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
  background: rgba(11, 23, 32, 0.07);
  color: #0b1720;
}

.faq-item.is-open .faq-trigger:hover .faq-arrow {
  background: rgba(36, 99, 235, 0.08);
  color: var(--azure, #2463eb);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding-left: 0;
  padding-right: 40px;
}

.faq-answer p {
  color: #59656c;
  font-size: 14.5px;
  line-height: 1.62;
  margin: 0;
  padding-bottom: 18px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s;
}

.faq-item.is-open .faq-answer p {
  opacity: 1;
  transform: translateY(0);
}

/* 9. Closing CTA */
.cta {
  text-align: center;
  background: linear-gradient(145deg, #eef4ff, #faf5ea);
  padding: 120px 5vw;
}

.cta h2 {
  letter-spacing: -0.055em;
  margin: 18px 0;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.05;
  font-weight: 400;
  color: #0b1720;
}

.cta p {
  color: #59636b;
  max-width: 620px;
  margin: 20px auto 32px;
  font-size: 18px;
  line-height: 1.6;
}

.cta .btn-primary {
  padding: 16px 32px;
  font-size: 16px;
}

/* ============================================================
   Core ERP Modules & Optional Add-on Modules Section (Dark)
   ============================================================ */
.dark-modules-section {
  background: #0b1720;
  color: #ffffff;
  padding: 110px 6vw;
  position: relative;
  overflow: hidden;
}

.dark-sectionhead {
  max-width: 1100px;
  margin-bottom: 50px;
}

.dark-sectionhead>span {
  letter-spacing: 0.2em;
  color: var(--brand-cyan, #33a7d8);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
}

.dark-sectionhead h2 {
  letter-spacing: -0.045em;
  margin: 18px 0;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.05;
  font-weight: 400;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.dark-sectionhead p {
  color: #aeb9bf;
  max-width: 920px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

.coregrid-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.coregrid {
  border-top: 1px solid #233442;
  border-left: 1px solid #233442;
  display: grid;
}

.coregrid--top {
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.coregrid--bottom {
  grid-template-columns: repeat(2, 1fr);
  width: 66.6667%;
  margin-inline: auto;
  border-top: none;
}

.core-module-card {
  position: relative;
  overflow: hidden;
  border-right: 1px solid #233442;
  border-bottom: 1px solid #233442;
  min-height: 280px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #0b1720;
  transition: background 0.2s ease;
  box-sizing: border-box;
}

.core-module-card:hover {
  background: #14222d;
}

.core-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.core-card-body h3 {
  margin: 0 0 12px;
  font-size: 25px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
}

.core-card-body p {
  color: #aeb9bf;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 22px;
  text-align: center;
  max-width: 320px;
}

.core-card-link {
  color: var(--brand-cyan, #33a7d8);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.core-module-card:hover .core-card-link {
  transform: translateX(4px);
}

/* Optional Add-on Modules */
.addons-section-wrap {
  margin-top: 100px;
  position: relative;
  width: 100%;
}

.addons-head {
  max-width: 1100px;
  margin-bottom: 40px;
}

.addons-head>span {
  letter-spacing: 0.2em;
  color: var(--brand-cyan, #33a7d8);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
}

.addons-head h3 {
  letter-spacing: -0.045em;
  margin: 14px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.addons-head p {
  color: #aeb9bf;
  max-width: 920px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  margin: 12px 0 0;
}

.addons-carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.addons-carousel-container:active,
.addons-carousel-container.is-dragging {
  cursor: grabbing;
}

.addons-carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 8px 0;
  animation: none;
  will-change: transform;
}

.addons-carousel-container:hover .addons-carousel-track,
.addons-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes addonsMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.addon-card {
  flex: 0 0 280px;
  width: 280px;
  background: #0b1720;
  border: 1px solid #233442;
  border-radius: 0;
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  min-height: 260px;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.addon-card:hover {
  background: #14222d;
  border-color: #384e61;
}

.addon-card-body h4 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.addon-card-body p {
  color: #aeb9bf;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 20px;
}

.addon-card span {
  color: var(--brand-cyan, #33a7d8);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.addon-card:hover span {
  transform: translateX(4px);
}

.addon-nav-btn {
  display: none !important;
  position: absolute;
  top: 50%;
  z-index: 30;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b1720;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.addon-nav-prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.addon-nav-next {
  right: 0;
  transform: translate(50%, -50%);
}

.addon-nav-btn:hover {
  background: #f1f5f9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.addon-nav-prev:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.addon-nav-next:hover {
  transform: translate(50%, -50%) scale(1.08);
}

.addon-nav-prev:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.addon-nav-next:active {
  transform: translate(50%, -50%) scale(0.95);
}

.addons-action-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.btn-addons-all {
  background: #ffffff;
  color: #0b1720;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 15px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-addons-all:hover {
  background: #f1f5f9;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   Ask Mr TEZ Chat Widget Styles (Request 1)
   ============================================================ */
.tezchat {
  z-index: 1060;
  position: fixed;
  bottom: 24px;
  right: 24px;
}

.chatlauncher {
  background: var(--azure, #2463eb);
  color: #ffffff;
  letter-spacing: 0.08em;
  align-items: center;
  gap: 11px;
  min-width: 120px;
  padding: 6px 16px 6px 6px;
  display: flex;
  box-shadow: 0 12px 30px rgba(12, 28, 51, 0.25);
  border: none;
  border-radius: 4px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.chatlauncher:hover {
  background: #1b53c7;
  transform: translateY(-2px);
}

.mrtezportrait-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.mrtezportrait-img.large {
  width: 48px;
  height: 48px;
  border-color: var(--brand-cyan, #33a7d8);
}

.mrtezportrait {
  background-image: url('../../images/tezerp/mr-tez.webp'), url('../images/tezerp/mr-tez.webp'), url('../../images/mr-tez.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid #ffffff;
  border-radius: 50%;
  flex: none;
  width: 38px;
  height: 38px;
  display: block;
}

.mrtezportrait.large {
  border-color: var(--brand-cyan, #33a7d8);
  width: 48px;
  height: 48px;
}

.chatpanel {
  background: #ffffff;
  border: 1px solid #cbd2d7;
  flex-direction: column;
  width: 380px;
  height: min(600px, calc(100vh - 100px));
  display: none;
  position: absolute;
  bottom: 60px;
  right: 0;
  box-shadow: 0 25px 70px rgba(7, 19, 31, 0.3);
  border-radius: 6px;
  overflow: hidden;
  z-index: 1070;
}

.chatpanel.is-open {
  display: flex;
}

.chatpanel-header {
  background: #0b1720;
  color: #ffffff;
  border: 0;
  justify-content: flex-start;
  gap: 12px;
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
}

.chatpanel-header div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chatpanel-header b {
  font-size: 17px;
  color: #ffffff;
}

.chatpanel-header small {
  color: #b9c4ca;
  font-size: 11px;
}

.chatclose {
  color: var(--brand-cyan, #33a7d8);
  letter-spacing: 0.1em;
  background: transparent;
  margin-left: auto;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.chatclose:hover {
  text-decoration: underline;
}

.chatmessages {
  background: #f6f4ed;
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.chatmessage {
  background: #ffffff;
  border: 1px solid #dce0dd;
  max-width: 88%;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 4px;
}

.chatmessage.user {
  background: #e9f0ff;
  border-color: #c9d7fb;
  margin-left: auto;
}

.chatmessage span {
  letter-spacing: 0.16em;
  color: var(--azure, #2463eb);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  display: block;
}

.chatmessage p {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #0b1720;
}

.chatmessage a {
  color: var(--azure, #2463eb);
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
}

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

.chatchoices {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  display: grid;
}

.choice-btn {
  color: #0b1720;
  text-align: left;
  background: #ffffff;
  border: 1px solid #cbd2d7;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.choice-btn:hover {
  border-color: var(--azure, #2463eb);
  color: var(--azure, #2463eb);
}

.chatinput {
  border-top: 1px solid #d7dcdf;
  padding: 12px 16px 8px;
  background: #ffffff;
}

.chatinput label {
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-size: 9.5px;
  font-weight: 800;
  display: block;
  color: #727b81;
  text-transform: uppercase;
}

.chatinput>div {
  display: flex;
  gap: 6px;
}

.chatinput input {
  border: 1px solid #cbd2d7;
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 3px;
  outline: none;
}

.chatinput input:focus {
  border-color: var(--azure, #2463eb);
}

.chatinput button {
  padding: 8px 16px;
  background: var(--azure, #2463eb);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
}

.chatinput button:hover {
  background: #1b53c7;
}

.chatnote {
  color: #737d82;
  padding: 0 16px 10px;
  font-size: 9px;
  line-height: 1.4;
  display: block;
  background: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .landinghero,
  .imageStatement,
  .connectedEverywhere,
  .productFaq {
    grid-template-columns: 1fr;
  }

  .heroVisual img {
    height: 400px;
  }

  .featureBento {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .featureBento .bentoLead {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 45px 36px;
  }

  .bentoLead h2 {
    font-size: clamp(28px, 4.5vw, 44px);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .bentoLead .nowrap {
    white-space: normal;
  }

  .featureBento article {
    grid-column: auto;
  }

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

  .productProof span:nth-child(2) {
    border-right: none;
  }

  .productProof span:nth-child(-n+2) {
    border-bottom: 1px solid #233442;
  }

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

  .connectionPhoto {
    min-height: 420px;
  }

  .faq-mascot-wrap {
    display: none;
  }

  .coregrid--top,
  .coregrid--bottom {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .addon-card {
    flex: 0 0 280px;
    width: 280px;
  }
}

@media (max-width: 600px) {
  .coregrid--top,
  .coregrid--bottom {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .dark-modules-section {
    padding: 70px 18px 80px;
  }

  .core-module-card {
    padding: 24px 20px;
    min-height: auto;
  }

  .addons-section-wrap {
    margin-top: 60px;
  }

  .addon-card {
    flex: 0 0 250px;
    width: 250px;
    padding: 22px 18px;
    min-height: 220px;
  }

  .addon-nav-btn {
    width: 38px;
    height: 38px;
  }

  .addon-nav-prev {
    left: 0;
    transform: translate(-50%, -50%);
  }

  .addon-nav-next {
    right: 0;
    transform: translate(50%, -50%);
  }

  .landinghero {
    min-height: auto;
    padding: 65px 22px;
    gap: 40px;
  }

  .heroCopy h1 {
    font-size: 44px;
  }

  .heroCopy .actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .heroCopy .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .heroCopy .textlink {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin: 0;
  }

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

  .productProof span {
    border-right: none;
    border-bottom: 1px solid #233442;
    padding: 18px 14px;
  }

  .productProof span:last-child {
    border-bottom: none;
  }

  .editorialIntro {
    padding: 75px 20px 55px;
  }

  .editorialIntro h2 {
    font-size: clamp(24px, 6.5vw, 34px);
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .featureBento {
    grid-template-columns: 1fr;
    padding: 0 16px 75px;
  }

  .featureBento .bentoLead {
    grid-column: 1;
    padding: 34px 20px;
  }

  .bentoLead h2 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.18;
    letter-spacing: -0.03em;
    overflow-wrap: break-word;
    word-break: normal;
    margin: 20px 0 16px;
  }

  .bentoLead h2 .nowrap {
    white-space: normal;
  }

  .featureBento article {
    grid-column: 1;
    min-height: auto;
    padding: 28px 24px;
  }

  .imageStatement>div {
    padding: 70px 20px;
  }

  .imageStatement h2 {
    font-size: clamp(24px, 6.5vw, 34px);
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .imageStatement img {
    min-height: 320px;
  }

  .connectedContent,
  .deploymentChoice {
    padding: 70px 20px;
  }

  .productFaq {
    padding: 60px 22px 0;
    min-height: auto;
  }

  .faq-right {
    min-height: auto;
  }

  .faq-mascot-wrap {
    margin-top: 0;
  }

  .faq-mascot-img {
    max-width: 420px;
    max-height: 380px;
    min-height: 0;
    margin: 0 auto;
  }

  .connectedContent h2,
  .deploymentHead h2,
  .faq-left h2 {
    font-size: clamp(24px, 6.5vw, 34px);
    line-height: 1.15;
    overflow-wrap: break-word;
  }

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

  .connectionPhoto {
    min-height: 320px;
  }

  .photoLabel {
    padding: 16px 20px;
    font-size: 11px;
  }

  .faq-trigger {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 16px 0;
  }

  .faq-question {
    font-size: 15.5px;
  }

  .faq-arrow {
    width: 28px;
    height: 28px;
  }

  .faq-chevron {
    width: 16px;
    height: 16px;
  }

  .faq-answer-inner {
    padding-left: 0;
    padding-right: 12px;
  }

  .faq-answer p {
    font-size: 14px;
    padding-bottom: 16px;
  }

  .cta {
    padding: 85px 22px;
  }

  .cta h2 {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .tezchat {
    bottom: 68px;
    right: 16px;
    z-index: 1060;
  }

  .chatpanel {
    width: calc(100vw - 32px);
    right: 0;
    bottom: 60px;
    z-index: 1070;
  }
}