/* /var/www/relyn/static_src/css/industry.css */

.industry-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 24px 80px;
}

.industry-shell {
  position: relative;
  width: 100%;
  max-width: 1920px;
  min-height: 973px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 90px;

  /* Blur placement for this section */
  --blur-top: 62%;
  --blur-h: 537px;
}

.industry-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.industry-kicker {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.industry-title {
  margin: 20px 0 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.12;
  color: #FFFFFF;
}

.industry-cta {
  margin-top: 20px;
  width: 230px;
  height: 45px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #FFFFFF;
  background-image: linear-gradient(135deg, #633EB2, #A697E0);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    filter 0.18s ease-out,
    background-image 0.18s ease-out;
}

.industry-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.98);
  background-image: linear-gradient(135deg, #A697E0, #633EB2);
}

.industry-carousel {
  width: 100%;
  max-width: 1920px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.industry-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease-in-out;
}

.industry-slide {
  min-width: 100%;
  position: relative;
}

/* Layout row & main box */
.industry-layout-row {
  margin-top: 80px;
  width: 100%;
  max-width: 1920px;
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.industry-main-box {
  position: relative;
  width: 1180px;
  max-width: 100%;
  height: 500px;
  margin-left: auto;
  margin-right: 256px;
  overflow: visible;
}

.industry-main-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ✅ SVG swap: desktop vs mobile */
.industry-main-bg-mobile {
  display: none;
}

/* Mini box */
.industry-mini-box {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 335px;
  height: 76px;
  border-radius: 20px;
  background: linear-gradient(90deg, #633EB2 0%, #1a0b3f 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  z-index: 3;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Video player */
.industry-video-wrap {
  position: absolute;
  left: 256px;
  top: 130px;
  width: 500px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95);
  z-index: 2;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.industry-video-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.industry-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.75) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, background 0.16s ease-out, opacity 0.16s ease-out;
}

.industry-video-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.9);
}

.industry-video-play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid #252956;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.industry-video-play.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Text content */
.industry-main-inner {
  position: absolute;
  inset: 0;
  padding: 60px 80px 96px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1;
}

.industry-main-text-block {
  margin-left: 311px;
  max-width: 720px;
  margin-top: 30px;
  text-align: left;
  color: #FFFFFF;
}

.industry-main-subtitle {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
}

.industry-main-heading {
  margin: 20px 0 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
  color: #FFFFFF;
}

.industry-main-body {
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #FFFFFF;
}

/* Metrics */
.industry-main-metrics-shell {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.industry-main-metrics {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.industry-metric-set {
  display: none;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  justify-content: flex-start;
}

.industry-metric-set.is-active {
  display: flex;
}

.industry-metrics-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(3, 3, 10, 0.65);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.16s ease-out,
    transform 0.16s ease-out,
    border-color 0.16s ease-out,
    box-shadow 0.16s ease-out;
}

.industry-metrics-arrow:hover {
  background: rgba(8, 8, 24, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Glass metric cards */
.industry-metric-card {
  width: 205px;
  height: 64px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.industry-metric-row {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 12px;
}

.industry-metric-white-box {
  height: 45px;
  border-radius: 8px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #252956;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.industry-metric-white-box.timeline {
  width: 79px;
}

.industry-metric-white-box.percent {
  width: 62px;
}

.industry-metric-value-large {
  font-size: 20px;
  font-weight: 600;
  color: #252956;
  line-height: 1.1;
}

.industry-metric-value-small {
  font-size: 16px;
  font-weight: 600;
  color: #252956;
  line-height: 1.1;
}

.industry-metric-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.industry-metric-label-line {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
}

/* Mini box inner */
.industry-mini-inner {
  width: 100%;
  display: flex;
  align-items: center;
}

.industry-mini-avatar-wrap {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 20px;
}

.industry-mini-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-mini-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.industry-mini-name {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 4px;
}

.industry-mini-role {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  opacity: 0.9;
}

.industry-mini-arrow {
  margin-left: auto;
  font-size: 24px;
  color: #FFFFFF;
}

/* dots */
.industry-dots {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.industry-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  opacity: 0.6;
  transition:
    background 0.18s ease-out,
    transform 0.18s ease-out,
    opacity 0.18s ease-out,
    border-color 0.18s ease-out;
}

.industry-dot.is-active {
  background: #FFFFFF;
  opacity: 1;
  transform: scale(1.2);
  border-color: #A697E0;
}

/* =========================================================
   ✅ LAPTOP + TABLET (LANDSCAPE) ONLY
   - reduce left padding of text block
   - mini box width reduced a little bit more (per request)
   ========================================================= */

/* Laptop / smaller desktop */
@media (max-width: 1440px) and (min-width: 1025px) {
  .industry-shell {
    min-height: 880px;
    padding-top: 84px;
  }

  .industry-kicker {
    font-size: 18px;
    letter-spacing: 0.16em;
  }

  .industry-title {
    font-size: 42px;
  }

  .industry-cta {
    width: 218px;
    height: 43px;
    font-size: 14px;
  }

  .industry-layout-row {
    margin-top: 70px;
    justify-content: flex-start;
  }

  .industry-main-box {
    width: 940px;
    height: 400px;
    margin-right: 0;
    margin-left: calc(50% - 370px);
  }

  .industry-video-wrap {
    position: absolute;
    top: 118px;
    width: 400px;
    height: 300px;
    border-radius: 18px;
    left: calc(50% - 570px);
  }

  .industry-video-play {
    width: 70px;
    height: 70px;
  }

  .industry-video-play-icon {
    border-left: 18px solid #252956;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
  }

  .industry-main-inner {
    padding: 50px 58px 84px 40px;
  }

  .industry-main-text-block {
    margin-left: 206px;
    max-width: 670px;
    margin-top: 22px;
  }

  .industry-main-subtitle {
    font-size: 22px;
  }

  .industry-main-heading {
    font-size: 32px;
  }

  .industry-main-body {
    font-size: 18px;
  }

  .industry-main-metrics-shell {
    margin-top: 28px;
    gap: 14px;
  }

  .industry-metric-card {
    width: 182px;
    height: 60px;
    padding: 9px 12px;
  }

  .industry-metric-white-box {
    height: 42px;
  }

  .industry-metric-white-box.timeline {
    width: 72px;
  }

  .industry-metric-white-box.percent {
    width: 58px;
  }

  .industry-metric-value-large {
    font-size: 18px;
  }

  .industry-metric-value-small {
    font-size: 14px;
  }

  .industry-metric-label-line {
    font-size: 14px;
  }

  /* ✅ Reduced a little bit more */
  .industry-mini-box {
    width: 268px;
    height: 60px;
    border-radius: 16px;
    font-size: 13px;
    padding: 0 16px;
    right: 0;
    bottom: 0;
  }

  .industry-mini-avatar-wrap {
    width: 44px;
    height: 44px;
    margin-right: 14px;
  }

  .industry-mini-name {
    font-size: 16px;
    margin: 0 0 2px;
  }

  .industry-mini-role {
    font-size: 12px;
  }

  .industry-mini-arrow {
    font-size: 20px;
  }
}

/* Tablet landscape */
@media (max-width: 1024px) and (min-width: 769px) {
  .industry-shell {
    min-height: 820px;
    padding-top: 78px;
  }

  .industry-kicker {
    font-size: 17px;
    letter-spacing: 0.15em;
  }

  .industry-title {
    font-size: 38px;
  }

  .industry-cta {
    width: 210px;
    height: 42px;
    font-size: 14px;
  }

  .industry-layout-row {
    margin-top: 62px;
    justify-content: flex-start;
  }

  .industry-main-box {
    width: 760px;
    height: 340px;
    margin-right: 0;
    margin-left: calc(50% - 300px);
  }

  .industry-video-wrap {
    position: absolute;
    top: 120px;
    width: 320px;
    height: 240px;
    border-radius: 16px;
    left: calc(50% - 460px);
    transform: none;
    margin: 0;
  }

  .industry-main-inner {
    padding: 40px 46px 72px 28px;
  }

  .industry-main-text-block {
    margin-left: 154px;
    max-width: 560px;
    margin-top: 18px;
  }

  .industry-main-subtitle {
    font-size: 20px;
  }

  .industry-main-heading {
    font-size: 28px;
  }

  .industry-main-body {
    font-size: 16px;
  }

  .industry-main-metrics-shell {
    margin-top: 24px;
    gap: 12px;
  }

  .industry-metric-set {
    gap: 14px;
  }

  .industry-metric-card {
    width: 160px;
    height: 56px;
    padding: 9px 10px;
  }

  .industry-metric-white-box {
    height: 40px;
    padding: 0 7px;
  }

  .industry-metric-white-box.timeline {
    width: 66px;
  }

  .industry-metric-white-box.percent {
    width: 52px;
  }

  .industry-metric-value-large {
    font-size: 16px;
  }

  .industry-metric-value-small {
    font-size: 12px;
  }

  .industry-metric-label-line {
    font-size: 12px;
  }

  /* ✅ Reduced a little bit more */
  .industry-mini-box {
    width: 244px;
    height: 56px;
    border-radius: 14px;
    font-size: 12px;
    padding: 0 14px;
    right: 0;
    bottom: 0;
  }

  .industry-mini-avatar-wrap {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .industry-mini-name {
    font-size: 15px;
    margin: 0 0 2px;
  }

  .industry-mini-role {
    font-size: 11px;
  }

  .industry-mini-arrow {
    font-size: 18px;
  }
}

/* =========================================================
   ✅ MOBILE + TABLET (PORTRAIT) (UNCHANGED)
   ========================================================= */

@media (max-width: 768px) {
  .industry-section {
    padding: 0 16px 96px;
  }

  .industry-shell {
    padding-top: 72px;
    min-height: 760px;
  }

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

  .industry-kicker {
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  .industry-carousel {
    overflow: hidden;
  }

  .industry-track {
    overflow: hidden;
  }

  .industry-slide {
    padding-top: 0;
    overflow: hidden;
    padding-bottom: 40px;
  }

  .industry-layout-row {
    justify-content: center;
    margin-top: 170px;
  }

  .industry-main-box {
    width: 100%;
    margin: 0;
    height: 470px;
  }

  .industry-video-wrap {
    position: absolute;
    left: 50%;
    top: 80px;
    width: min(360px, 100% - 32px);
    height: 260px;
    transform: translateX(-50%);
    border-radius: 18px;
  }

  .industry-main-bg-desktop {
    display: none;
  }

  .industry-main-bg-mobile {
    display: block;
  }

  .industry-mini-box {
    width: 220px;
    height: 58px;
    font-size: 13px;

    left: 50%;
    right: auto;
    bottom: 0;

    transform: translateX(-50%) translateY(50%);

    border-radius: 18px;
    padding: 0 18px;
  }

  .industry-mini-avatar-wrap {
    width: 46px;
    height: 46px;
    margin-right: 14px;
  }

  .industry-mini-name {
    font-size: 16px;
    margin: 0 0 2px;
  }

  .industry-mini-role {
    font-size: 12px;
  }

  .industry-mini-arrow {
    font-size: 22px;
  }

  .industry-main-inner {
    padding: 202px 22px 86px 22px;
  }

  .industry-main-text-block {
    margin-left: 0;
    max-width: 100%;
    margin-top: 0;
  }

  .industry-main-subtitle {
    font-size: 18px;
  }

  .industry-main-heading {
    font-size: 26px;
  }

  .industry-main-body {
    font-size: 15px;
    line-height: 1.6;
  }

  .industry-main-metrics-shell {
    margin-top: 22px;
    justify-content: center;
    gap: 12px;
  }

  .industry-main-metrics {
    width: 100%;
  }

  .industry-metric-set {
    display: none;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .industry-metric-set.is-active {
    display: flex;
  }

  .industry-metric-card {
    width: auto;
    height: 60px;
    flex: 1;
    min-width: 0;
    padding: 10px 10px;
  }

  .industry-metric-row {
    gap: 10px;
  }

  .industry-metric-white-box {
    height: 42px;
    padding: 0 7px;
  }

  .industry-metric-white-box.timeline {
    width: 70px;
  }

  .industry-metric-white-box.percent {
    width: 54px;
  }

  .industry-metric-value-large {
    font-size: 18px;
  }

  .industry-metric-value-small {
    font-size: 14px;
  }

  .industry-metric-label-line {
    font-size: 13px;
  }

  .industry-dots {
    margin-top: 44px;
  }
}

@media (max-width: 480px) {
  .industry-shell {
    padding-top: 64px;
    min-height: 780px;
  }

  .industry-title {
    font-size: 24px;
  }

  .industry-kicker {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .industry-cta {
    width: 210px;
    height: 42px;
    font-size: 14px;
  }

  .industry-layout-row {
    margin-top: 160px;
  }

  .industry-main-box {
    height: 510px;
  }

  .industry-video-wrap {
    top: 85px;
    width: min(320px, 100% - 28px);
    height: 230px;
    border-radius: 16px;
  }

  .industry-mini-box {
    width: 205px;
    height: 56px;
    font-size: 12px;

    left: 50%;
    right: auto;
    bottom: 0;

    transform: translateX(-50%) translateY(50%);

    border-radius: 16px;
    padding: 0 16px;
  }

  .industry-mini-avatar-wrap {
    width: 42px;
    height: 42px;
    margin-right: 12px;
  }

  .industry-mini-name {
    font-size: 15px;
    margin: 0 0 2px;
  }

  .industry-mini-role {
    font-size: 11px;
  }

  .industry-mini-arrow {
    font-size: 20px;
  }

  .industry-main-inner {
    padding: 186px 18px 86px 18px;
  }

  .industry-main-subtitle {
    font-size: 16px;
  }

  .industry-main-heading {
    font-size: 22px;
    line-height: 1.18;
  }

  .industry-main-body {
    font-size: 14px;
  }

  .industry-main-metrics-shell {
    gap: 10px;
  }

  .industry-metric-set {
    gap: 10px;
  }

  .industry-metric-card {
    height: 58px;
    padding: 10px 9px;
  }

  .industry-metric-white-box {
    height: 40px;
    padding: 0 6px;
  }

  .industry-metric-white-box.timeline {
    width: 66px;
  }

  .industry-metric-white-box.percent {
    width: 52px;
  }

  .industry-metric-value-large {
    font-size: 17px;
  }

  .industry-metric-value-small {
    font-size: 13px;
  }

  .industry-metric-label-line {
    font-size: 12px;
  }

  .industry-dots {
    margin-top: 42px;
  }

  .industry-slide {
    padding-bottom: 34px;
  }
}
