@import 'about-team.css';

:root {
  --p-o1: #fe9402;
  --p-o2: #fd5f24;
  --p-red: #f53548;
  --p-pur: #cd3576;
  --p-navy: #0A1628;
  --p-text: #1e293b;
  --p-mute: #64748b;
  --p-bg: #fafbff;
  --p-bgw: #ffffff;
  --p-bgs: #f4f6fb;
  --p-bord: rgba(254, 148, 2, .12);
  --p-grad: linear-gradient(135deg, #fe9402 0%, #fd5f24 33%, #f53548 66%, #cd3576 100%);
  --p-gradr: linear-gradient(to right, #fe9402, #fd5f24, #f53548, #cd3576);
  --p-soft: linear-gradient(135deg, rgba(254, 148, 2, .07) 0%, rgba(245, 53, 72, .05) 60%, rgba(205, 53, 118, .04) 100%);
  --p-sha: 0 8px 30px rgba(10, 22, 40, .06);
  --p-sha2: 0 20px 60px rgba(10, 22, 40, .09);
  --p-rad: 16px;
  --p-rad2: 24px;
  --p-tr: .3s ease;
}

body {
  background: var(--p-bg);
  color: var(--p-text);
  overflow-x: hidden;
}

.plc-trusted {
  background: var(--p-bgw);
}

.plc-trusted__logos {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
}

.plc-trusted__logo {
  min-width: 220px;
  height: 105px;
  padding: 12px 24px;
  color: var(--p-navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.plc-trusted__logo img {
  display: block;
  width: 90%;
  max-width: 170px;
  max-height: 70px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .plc-trusted__logos {
    gap: 14px;
  }

  .plc-trusted__logo {
    width: 100%;
    max-width: 280px;
  }
}

/* ======================================================
   REVEAL TRANSITIONS
   ====================================================== */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade {
  opacity: 0;
  transition: all .8s cubic-bezier(.16, 1, .3, 1);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ======================================================
   BREADCRUMB
   ====================================================== */
.plc-bc {
  background: var(--p-bgw);
  border-bottom: 1px solid var(--p-bord);
  padding: 14px 0;
}

.plc-bc__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
}

.plc-bc__inner a {
  color: var(--p-mute);
  text-decoration: none;
  transition: var(--p-tr);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.plc-bc__inner a:hover {
  color: var(--p-o1);
}

.plc-bc__inner i {
  font-size: .75rem;
  color: #cbd5e1;
}

.plc-bc__inner span {
  color: var(--p-o1);
  font-weight: 600;
}

/* ======================================================
   INTRODUCTION HERO
   ====================================================== */
.plc-intro {
  padding: 20px 0;
  background: var(--p-bgw);
  border-bottom: 1px solid var(--p-bord);
  height: calc(100dvh - 160px); /* header top-bar ~36px + nav ~78px + breadcrumb ~46px */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.plc-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.plc-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--p-o1);
  margin-bottom: .9rem;
}

.plc-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--p-gradr);
  border-radius: 2px;
}

.plc-intro__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--p-navy);
  margin-bottom: 16px;
}

.plc-intro__title .grad {
  background: var(--p-gradr);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plc-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--p-navy);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.plc-title .grad {
  background: var(--p-gradr);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plc-intro__tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.plc-intro__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--p-text);
}

.plc-intro__tag i {
  color: var(--p-o1);
}

.plc-intro__para {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--p-mute);
  margin-bottom: 20px;
  font-weight: 500;
}

.plc-intro__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.plc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: var(--p-tr);
}

.plc-btn--fill {
  background: var(--p-grad);
  color: #fff;
  box-shadow: 0 4px 18px rgba(254, 148, 2, .3);
}

.plc-btn--fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254, 148, 2, .45);
}

.plc-btn--out {
  background: transparent;
  color: var(--p-text);
  border: 2px solid rgba(15, 22, 40, .15);
}

.plc-btn--out:hover {
  background: rgba(15, 22, 40, .05);
}

/* ======================================================
   INTERACTIVE SIMULATOR CARD
   ====================================================== */
.plc-intro__visual {
  background: #0f172a;
  border-radius: var(--p-rad2);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .2);
  overflow: hidden;
}

.plc-intro__vis-head {
  background: rgba(255, 255, 255, .03);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plc-intro__vis-head h4 {
  color: #f1f5f9;
  font-size: .9rem;
  font-weight: 700;
  margin: 0;
}

.plc-live {
  font-size: .7rem;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, .15);
  padding: 3px 8px;
  border-radius: 50px;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {

  0%,
  100% {
    opacity: .7;
  }

  50% {
    opacity: 1;
  }
}

.plc-vis-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* PLC Connection Simulator */
.plc-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: var(--p-rad);
  padding: 14px;
}

.plc-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  z-index: 2;
}

.plc-node i {
  font-size: 1.8rem;
  background: var(--p-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(254, 148, 2, .4));
}

.plc-node--cloud i {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, .4));
}

.plc-line-connector {
  position: relative;
  flex-grow: 1;
  height: 2px;
  background: rgba(255, 255, 255, .1);
  margin: 0 15px;
}

.plc-dot-anim {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
  animation: move-dot 2.5s infinite linear;
}

@keyframes move-dot {
  0% {
    left: 0%;
  }

  100% {
    left: 100%;
  }
}

/* Sensor Pills */
.plc-vis-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.plc-vis-pill {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
}

.plc-vis-pill__val {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.plc-vis-pill__label {
  font-size: .72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .5px;
}

/* Scrolling Logs */
.plc-logs {
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .04);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: monospace;
  font-size: .72rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plc-log-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plc-log-time {
  color: var(--p-o1);
}

/* ======================================================
   PRODUCT OVERVIEW
   ====================================================== */
.plc-overview {
  padding: 80px 0;
  background: var(--p-bg);
}

.plc-overview__content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.plc-overview__para-justify {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--p-mute);
  text-align: justify;
}

.plc-section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--p-navy);
  margin-bottom: 24px;
}

/* ======================================================
   KEY FEATURES SECTION
   ====================================================== */
.plc-features {
  padding: 80px 0 90px;
  background: var(--p-bgw);
  border-top: 1px solid var(--p-bord);
  border-bottom: 1px solid var(--p-bord);
}

.plc-features__header {
  text-align: center;
  margin-bottom: 50px;
}

.plc-sub {
  font-size: 1.05rem;
  color: var(--p-mute);
}

.plc-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.plc-feat-card {
  background: var(--p-bg);
  border: 1px solid rgba(254, 148, 2, .08);
  border-radius: var(--p-rad);
  padding: 35px 25px;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.plc-feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--p-grad);
  opacity: 0;
  transition: var(--p-tr);
}

.plc-feat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--p-sha2);
  background: #fff;
  border-color: rgba(254, 148, 2, .25);
}

.plc-feat-card:hover::before {
  opacity: 1;
}

/* ======================================================
   INTELLIGENT SHOP FLOOR AUTOMATION
   ====================================================== */
.plc-automation {
  padding: 90px 0;
  background: var(--p-bg);
  border-bottom: 1px solid var(--p-bord);
}

.plc-automation__header {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.plc-automation__intro {
  max-width: 720px;
  margin: 0 auto;
  color: var(--p-mute);
  font-size: 1.05rem;
  line-height: 1.75;
}

.plc-automation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.plc-automation__card {
  position: relative;
  overflow: hidden;
  padding: 32px 26px 26px;
  background: #fff;
  border: 1px solid rgba(254, 148, 2, .12);
  border-radius: var(--p-rad2);
  box-shadow: var(--p-sha);
  height: 100%;
  box-sizing: border-box;
}

.plc-automation__card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--p-grad);
}

.plc-automation__card h3 {
  margin: 0 0 14px;
  color: var(--p-navy);
  font-size: 1.25rem;
  line-height: 1.3;
}

.plc-automation__summary {
  margin: 0 0 10px;
  color: var(--p-mute);
  font-size: .95rem;
  line-height: 1.65;
}

.plc-automation__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.plc-automation__item {
  padding: 15px 16px;
  background: var(--p-bg);
  border: 1px solid rgba(254, 148, 2, .08);
  border-radius: 12px;
}

.plc-automation__item h4 {
  margin: 0 0 6px;
  color: var(--p-o2);
  font-size: .92rem;
  line-height: 1.35;
}

.plc-automation__item p {
  margin: 0;
  color: var(--p-mute);
  font-size: .86rem;
  line-height: 1.6;
}

.plc-feat-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--p-soft);
  color: var(--p-o2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  transition: var(--p-tr);
}

.plc-feat-card:hover .plc-feat-card__icon {
  background: var(--p-grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(254, 148, 2, .3);
}

.plc-feat-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--p-navy);
  margin-bottom: 12px;
}

.plc-feat-card p {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--p-mute);
  margin: 0;
}

/* ======================================================
   OTHER PRODUCTS SECTION
   ====================================================== */
.plc-other {
  padding: 80px 0;
  background: var(--p-bg);
}

.plc-other__header {
  text-align: center;
  margin-bottom: 45px;
}

.plc-other__header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: var(--p-navy);
  margin-top: 10px;
}

.plc-other__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.plc-prod-card {
  background: var(--p-bgw);
  border: 1px solid var(--p-bord);
  border-radius: var(--p-rad);
  padding: 35px;
  text-decoration: none;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}

.plc-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--p-sha2);
  border-color: rgba(254, 148, 2, .25);
}

.plc-prod-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--p-soft);
  color: var(--p-o2);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.plc-prod-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--p-navy);
  margin-bottom: 12px;
}

.plc-prod-card p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--p-mute);
  margin-bottom: 20px;
  flex-grow: 1;
}

.plc-prod-card__link {
  font-size: .9rem;
  font-weight: 700;
  color: var(--p-o2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s;
}

.plc-prod-card:hover .plc-prod-card__link {
  gap: 10px;
}

/* ======================================================
   HOW IT WORKS SECTION
   ====================================================== */
.plc-how {
  padding: 80px 0 100px;
  background: var(--p-bg);
  border-bottom: 1px solid var(--p-bord);
}

.plc-how__header {
  text-align: center;
  margin-bottom: 60px;
}

.plc-how__wrapper {
  position: relative;
  width: 100%;
  margin-top: 40px;
  padding-bottom: 60px;
}

.plc-how__wave-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 200px;
  pointer-events: none;
  z-index: 1;
}

.plc-how__wave-svg {
  width: 100%;
  height: 100%;
}

.plc-how__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.plc-how-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.plc-how-item:nth-child(even) {
  transform: translateY(60px);
}

.plc-how-item__circle-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
}

.plc-how-item__circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #eef2ff;
  border: 2px solid #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #0f172a;
  transition: all .35s ease;
}

.plc-how-item:hover .plc-how-item__circle {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(254, 148, 2, 0.2);
  background: #fff;
  border-color: var(--p-o1);
}

.plc-how-item:hover .plc-how-item__circle i {
  color: var(--p-o1);
}

.plc-how-item__num {
  position: absolute;
  top: 2px;
  left: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #475569;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.plc-how-item__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--p-o1);
  margin-bottom: 12px;
}

.plc-how-item__desc {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--p-text);
  margin: 0;
  max-width: 220px;
}

/* ======================================================
   OTHER PRODUCTS SECTION
   ====================================================== */
.plc-other {
  padding: 80px 0;
  background: var(--p-bgw);
}

.plc-other__header {
  text-align: center;
  margin-bottom: 45px;
}

.plc-other__header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: var(--p-navy);
  margin-top: 10px;
}

.plc-other__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.plc-prod-card {
  background: var(--p-bg);
  border: 1px solid var(--p-bord);
  border-radius: var(--p-rad);
  padding: 35px;
  text-decoration: none;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}

.plc-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--p-sha2);
  border-color: rgba(254, 148, 2, .25);
}

.plc-prod-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--p-soft);
  color: var(--p-o2);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.plc-prod-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--p-navy);
  margin-bottom: 12px;
}

.plc-prod-card p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--p-mute);
  margin-bottom: 20px;
  flex-grow: 1;
}

.plc-prod-card__link {
  font-size: .9rem;
  font-weight: 700;
  color: var(--p-o2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s;
}

.plc-prod-card:hover .plc-prod-card__link {
  gap: 10px;
}

/* ======================================================
   RESPONSIVE LAYOUTS
   ====================================================== */

/* --- Tablet: stack grid but allow scroll --- */
@media(max-width:900px) {
  /* Hero section: allow natural height on mobile so visual shows below */
  .plc-intro {
    height: auto !important;
    overflow: visible !important;
    padding: 0;
    display: block;
  }

  .plc-intro__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Left text column: fill exactly one screen */
  .plc-intro__copy {
    min-height: calc(100dvh - 160px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0;
  }

  /* Right visual: shown naturally below */
  .plc-intro__visual {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 0 48px;
  }
}

/* --- Phablet & below --- */
@media(max-width:600px) {
  .plc-intro__copy {
    min-height: calc(100dvh - 160px);
    padding: 24px 0;
  }

  .plc-intro__actions {
    flex-direction: column;
    width: 100%;
  }

  .plc-btn {
    width: 100%;
    justify-content: center;
  }

  .plc-intro__visual {
    padding: 0 0 40px;
  }
}

/* How it Works: disable wavy line on smaller screens */
@media(max-width:1000px) {
  .plc-how__wave-wrap {
    display: none;
  }

  .plc-automation__grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }

  .plc-automation__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plc-how-item:nth-child(even) {
    transform: translateY(0) !important;
  }

  .plc-how__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px 24px !important;
  }

  .plc-how__wrapper {
    padding-bottom: 0 !important;
  }
}

@media(max-width:767px) {
  .plc-features__grid {
    grid-template-columns: 1fr;
  }

  .plc-automation {
    padding: 64px 0;
  }

  .plc-automation__header {
    margin-bottom: 34px;
  }

  .plc-automation__intro {
    font-size: .95rem;
  }

  .plc-automation__items {
    grid-template-columns: 1fr;
  }

  .plc-other__grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:600px) {
  .plc-how__grid {
    grid-template-columns: 1fr !important;
  }
}