/* Modern Enterprise Industrial Homepage Styles */

.home-page {
  min-width: 320px;
  margin: 0;
  color: var(--text-body, #475569);
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

.home-page a {
  color: inherit;
  text-decoration: none;
}

.home-page img {
  display: block;
  max-width: 100%;
  border: 0;
}

.home-main {
  overflow: hidden;
}

.home-section-inner {
  box-sizing: border-box;
  position: relative;
  width: 1280px;
  max-width: 92%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Section Header Typography */
.home-section-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-section-title {
  margin: 0 0 16px;
  color: var(--text-dark, #0f172a);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
}

.home-section-title.is-accent {
  color: var(--text-dark, #0f172a);
}

.home-section-title.is-accent span {
  color: var(--primary-blue, #0284c7);
}

.home-section-lead {
  max-width: 760px;
  margin: 0 auto 36px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
}

.home-section-lead.is-muted {
  color: #64748b;
}

/* Hero Banner Overlays */
.home-banner {
  position: relative;
  height: 620px;
  background: #0b132a;
}

.home-banner-slide {
  position: relative;
  height: 100%;
}

.home-banner-slide-bg {
  position: absolute;
  inset: 0;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 6s ease;
}

.swiper-slide-active .home-banner-slide-bg {
  transform: scale(1.04);
}

/* Gradient Mask overlay on slides */
.home-banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 19, 42, 0.88) 0%, rgba(11, 19, 42, 0.6) 50%, rgba(11, 19, 42, 0.25) 100%);
}

.home-banner-caption {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 1280px;
  max-width: 92%;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-banner-caption-inner {
  max-width: 680px;
  pointer-events: auto;
}

.home-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 16px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.home-banner-title {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.home-banner-apps {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.home-banner-apps p {
  margin: 0 0 6px;
}

.home-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  border-radius: 8px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.5);
  transition: all 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  border-color: #7dd3fc;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(2, 132, 199, 0.6);
}

.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Swiper Pagination & Navigation Controls */
.home-banner-pagination.swiper-pagination {
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.home-banner-pagination .swiper-pagination-bullet {
  width: 40px;
  height: 4px;
  margin: 0 !important;
  border-radius: 2px;
  opacity: .4;
  background: #fff;
  transition: all .3s ease;
}

.home-banner-pagination .swiper-pagination-bullet-active {
  width: 56px;
  opacity: 1;
  background: #38bdf8;
}

.home-banner-prev.swiper-button-prev,
.home-banner-next.swiper-button-next {
  --swiper-navigation-size: 0;
  top: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: all .3s ease;
}

.home-banner-prev.swiper-button-prev::after,
.home-banner-next.swiper-button-next::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: 0;
  font-size: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
}

.home-banner-prev.swiper-button-prev::after {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.home-banner-next.swiper-button-next::after {
  transform: translate(-65%, -50%) rotate(45deg);
}

.home-banner-slider:hover .home-banner-prev.swiper-button-prev,
.home-banner-slider:hover .home-banner-next.swiper-button-next {
  opacity: 1;
}

.home-banner-prev.swiper-button-prev:hover,
.home-banner-next.swiper-button-next:hover {
  background: rgba(2, 132, 199, 0.8);
  border-color: rgba(2, 132, 199, 1);
}

/* Key Metrics Highlight Bar */
.home-metrics-bar {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  margin-bottom: 60px;
}

.home-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 30px 40px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.home-metric-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid #f1f5f9;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}

.home-metric-item:last-child {
  border-right: none;
}

.home-metric-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-blue, #0284c7);
  line-height: 1.1;
  margin-bottom: 6px;
  opacity: 1;
  visibility: visible;
}

.home-metric-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
  opacity: 1;
  visibility: visible;
}

.home-metric-subtext {
  font-size: 12px;
  color: #94a3b8;
  opacity: 1;
  visibility: visible;
}

/* Intro Section */
.home-intro {
  padding: 60px 0 80px;
  background: #ffffff;
}

.home-intro-head {
  text-align: center;
  margin-bottom: 48px;
}

.home-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.home-intro-visual {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.home-intro-image {
  width: 50%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease;
}

.home-intro-image:hover {
  transform: translateY(-6px);
}

.home-intro-side-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-intro-side {
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
}

.home-button,
.home-button:link,
.home-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  width: fit-content;
  color: #ffffff !important;
  background: var(--primary-blue, #0284c7);
  border: 1px solid #38bdf8;
  border-radius: 8px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.home-button:hover,
.home-button:focus {
  background: #0369a1;
  border-color: #7dd3fc;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.5);
}

/* Featured Product Matrix Grid */
.home-products-section {
  padding: 80px 0;
  background: var(--bg-light, #f8fafc);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.home-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.15);
}

.home-product-thumb {
  position: relative;
  height: 220px;
  background: #f1f5f9;
  overflow: hidden;
}

.home-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-product-card:hover .home-product-thumb img {
  transform: scale(1.06);
}

.home-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.home-product-tag {
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.home-product-title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.home-product-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.home-product-link,
.home-product-link:link,
.home-product-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #0284c7 !important;
  text-decoration: none !important;
  transition: gap 0.2s ease;
}

.home-product-card:hover .home-product-link {
  gap: 10px;
}

/* Certificates & Partners Section */
.home-certs-partners {
  padding: 80px 0;
  background: #ffffff;
}

.home-certs-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 64px;
}

.home-cert-item {
  width: auto;
  max-width: 220px;
  height: 280px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-cert-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.home-cert-feature {
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.home-partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  padding: 32px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
}

.home-partner-logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.home-partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* News Section */
.home-news-section {
  padding: 80px 0;
  background: var(--bg-light, #f8fafc);
  border-top: 1px solid #e2e8f0;
}

.home-news-slider {
  position: relative;
  margin-top: 32px;
}

.home-news-viewport {
  overflow: hidden;
  padding: 10px 4px 20px;
}

.home-news-track {
  display: flex;
  gap: 28px;
  transition: transform .6s cubic-bezier(0.25, 1, 0.5, 1);
}

.home-news-item {
  display: flex;
  flex: 0 0 calc((100% - 56px) / 3);
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.home-news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.home-news-media {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.home-news-image {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.4s ease;
}

.home-news-item:hover .home-news-image {
  transform: scale(1.05);
}

.home-news-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-news-title-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-news-item:hover .home-news-title-text {
  color: #0284c7;
}

.home-news-summary {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.home-news-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0;
  z-index: 10;
  pointer-events: none;
}

.home-news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.home-news-arrow.is-prev {
  left: -56px;
}

.home-news-arrow.is-next {
  right: -56px;
}

@media (max-width: 1400px) {
  .home-news-arrow.is-prev { left: -24px; }
  .home-news-arrow.is-next { right: -24px; }
}

.home-news-arrow:hover {
  color: #ffffff;
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.home-news-arrow::before {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  content: "‹";
}

.home-news-arrow.is-next::before {
  content: "›";
}

/* Contact CTA Bar */
.home-contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #0b132a 0%, #1e293b 100%);
  color: #ffffff;
}

.home-contact-stage {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-contact-logo {
  max-width: 210px;
  height: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.home-contact-logo:hover {
  opacity: 1;
}

.home-contact-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.home-contact-title.is-muted {
  color: #94a3b8;
}

.home-contact-line {
  margin: 0 0 10px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

.home-contact-label {
  color: #94a3b8;
  font-weight: 500;
}

/* Scroll Reveal */
.reveal-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-section.animate_running,
.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .home-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .home-metric-item {
    border-right: none;
  }
  .home-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-intro-layout {
    grid-template-columns: 1fr;
  }
  .home-contact-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-metrics-grid {
    grid-template-columns: 1fr;
  }
  .home-products-grid {
    grid-template-columns: 1fr;
  }
  .home-banner-title {
    font-size: 32px;
  }
  .home-news-item {
    flex: 0 0 100%;
  }
}
