/* ==========================================================
   HOME PAGE CSS
   File: public/assets/css/home.css
   Depends on: theme.css variables
========================================================== */


/* ==========================================================
   01. HERO SECTION
========================================================== */

.home-hero {
  position: relative;
  width: 100%;
  margin-top: var(--lss-header-height);
  overflow: hidden;
  background: #050505;
}

.homeHeroSwiper,
.home-hero-slide {
  width: 100%;
  height: calc(100vh - var(--lss-header-height));
  min-height: 640px;
}

.home-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(220, 53, 69, 0.26), transparent 34%),
    linear-gradient(105deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.70) 45%, rgba(0, 0, 0, 0.34) 100%);
  z-index: 1;
}

.home-hero .container {
  position: relative;
  z-index: 2;
}

.home-hero-content {
  max-width: 780px;
  padding-top: 40px;
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 17px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(220, 53, 69, 0.16);
  color: #ffffff;
  font-family: var(--lss-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.home-hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--lss-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(220, 53, 69, 0.18);
  animation: homePulse 1.6s infinite;
}

.home-hero-content h1 {
  max-width: 820px;
  margin: 0 0 22px;
  color: #ffffff;
  font-family: var(--lss-font-heading);
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.home-hero-content h1 strong {
  display: block;
  color: var(--lss-primary);
  font-weight: 800;
}

.home-hero-content p {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.85;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-outline-white {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-outline-white:hover {
  background: #ffffff;
  color: #111111 !important;
  border-color: #ffffff;
}

.home-hero-next,
.home-hero-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: all var(--lss-transition);
}

.home-hero-next:hover,
.home-hero-prev:hover {
  background: var(--lss-primary);
}

.home-hero-next::after,
.home-hero-prev::after {
  font-size: 18px;
  font-weight: 700;
}

.home-hero-pagination {
  bottom: 32px !important;
}

.home-hero-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: #ffffff;
  opacity: 0.42;
}

.home-hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: var(--lss-primary);
  opacity: 1;
}

.home-hero-trust {
  position: absolute;
  right: 6%;
  bottom: 90px;
  z-index: 4;
  width: 360px;
  padding: 22px;
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--lss-radius-lg);
  backdrop-filter: blur(18px);
}

.home-hero-trust div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero-trust div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-hero-trust strong {
  color: #ffffff;
  font-family: var(--lss-font-heading);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.home-hero-trust span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes homePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.78);
  }
}


/* ==========================================================
   02. STATS SECTION
========================================================== */

.home-stats {
  position: relative;
  z-index: 5;
  margin-top: -48px;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--lss-surface);
  border: 1px solid var(--lss-border);
  border-radius: var(--lss-radius-lg);
  box-shadow: var(--lss-shadow-md);
  overflow: hidden;
}

.home-stat-card {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid var(--lss-border);
  transition: all var(--lss-transition);
}

.home-stat-card:last-child {
  border-right: 0;
}

.home-stat-card:hover {
  background: var(--lss-primary-soft);
  transform: translateY(-4px);
}

.home-stat-number {
  color: var(--lss-primary);
  font-family: var(--lss-font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.home-stat-card p {
  margin: 0;
  color: var(--lss-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}


/* ==========================================================
   03. ABOUT SECTION
========================================================== */

.home-about {
  padding-top: 120px;
}

.home-about-image {
  position: relative;
  max-width: 100%;
}

.home-about-image::before {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 170px;
  height: 170px;
  border: 4px solid var(--lss-primary);
  border-radius: var(--lss-radius-lg);
  opacity: 0.45;
}

.home-about-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--lss-radius-lg);
  box-shadow: var(--lss-shadow-md);
}

.home-about-badge {
  position: absolute;
  left: -18px;
  bottom: 32px;
  z-index: 3;
  min-width: 126px;
  padding: 18px 22px;
  background: var(--lss-primary);
  color: #ffffff;
  border-radius: var(--lss-radius-md);
  box-shadow: var(--lss-shadow-red);
}

.home-about-badge strong {
  display: block;
  color: #ffffff;
  font-family: var(--lss-font-heading);
  font-size: 42px;
  line-height: 1;
}

.home-about-badge span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-about-content h2,
.home-why-content h2 {
  margin: 0 0 20px;
  font-size: 50px;
  text-transform: uppercase;
}

.home-about-content h2 span,
.home-why-content h2 span {
  color: var(--lss-primary);
}

.home-about-content p,
.home-why-content p {
  margin-bottom: 14px;
  color: var(--lss-text-soft);
  font-size: 15px;
  line-height: 1.9;
}

.home-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 26px 0 30px;
}

.home-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  background: var(--lss-surface);
  border: 1px solid var(--lss-border);
  border-radius: 999px;
  color: var(--lss-text-soft);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--lss-shadow-sm);
}

.home-feature-list i {
  color: var(--lss-primary);
}


/* ==========================================================
   04. PRODUCTS SECTION
========================================================== */

.home-products {
  background:
    radial-gradient(circle at top left, rgba(220, 53, 69, 0.06), transparent 34%),
    var(--lss-bg);
}

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

.home-product-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  background: var(--lss-surface);
  border: 1px solid var(--lss-border);
  border-radius: var(--lss-radius-lg);
  overflow: hidden;
  transition: all var(--lss-transition);
}

.home-product-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--lss-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--lss-transition);
}

.home-product-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  background: var(--lss-primary-soft);
  border-radius: 50%;
  opacity: 0.75;
  transition: all var(--lss-transition);
}

.home-product-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--lss-shadow-md);
}

.home-product-card:hover::before {
  transform: scaleX(1);
}

.home-product-card:hover::after {
  transform: scale(1.18);
}

.home-product-icon {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lss-primary-soft);
  border-radius: var(--lss-radius-md);
  color: var(--lss-primary);
  font-size: 26px;
}

.home-product-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  font-size: 24px;
  text-transform: uppercase;
}

.home-product-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 20px;
  color: var(--lss-muted);
  font-size: 14px;
  line-height: 1.8;
}

.home-product-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lss-primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-product-card a:hover {
  gap: 12px;
}


/* ==========================================================
   05. WHY CHOOSE US SECTION
========================================================== */

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.home-why-card {
  min-height: 210px;
  padding: 30px;
  background: var(--lss-surface);
  border: 1px solid var(--lss-border);
  border-radius: var(--lss-radius-lg);
  transition: all var(--lss-transition);
}

.home-why-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--lss-shadow-md);
  border-color: transparent;
}

.home-why-card span {
  display: block;
  margin-bottom: 14px;
  color: rgba(220, 53, 69, 0.16);
  font-family: var(--lss-font-heading);
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
}

.home-why-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  text-transform: uppercase;
}

.home-why-card p {
  margin: 0;
  color: var(--lss-muted);
  font-size: 14px;
  line-height: 1.8;
}


/* ==========================================================
   06. CTA SECTION
========================================================== */

.home-cta {
  padding: 92px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(220, 53, 69, 0.24), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(220, 53, 69, 0.16), transparent 34%),
    #141414;
}

.home-cta-box {
  display: grid;
  grid-template-columns: 1.1fr auto;
  align-items: center;
  gap: 34px;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.home-cta-box h2 {
  margin: 6px 0 12px;
  color: #ffffff;
  font-size: 54px;
  text-transform: uppercase;
}

.home-cta-box p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.home-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ==========================================================
   07. CLIENTS SECTION
========================================================== */

.home-clients {
  background: var(--lss-bg);
}

.homeClientSwiper {
  padding: 10px 0;
  overflow: hidden;
}

.home-client-logo {
  height: 120px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--lss-border);
  border-radius: var(--lss-radius-md);
  transition: all var(--lss-transition);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

html[data-theme="dark"] .home-client-logo {
  background: #ffffff;
}

.home-client-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--lss-shadow-sm);
}

.home-client-logo img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  transition: all var(--lss-transition);
}

.home-client-logo:hover img {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.04);
}


/* ==========================================================
   08. RESPONSIVE DESIGN
========================================================== */

@media (max-width: 1199px) {
  .home-hero-trust {
    right: 24px;
    width: 330px;
  }

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

  .home-cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .home-hero {
    margin-top: var(--lss-header-height-tablet);
  }

  .homeHeroSwiper,
  .home-hero-slide {
    height: calc(100vh - var(--lss-header-height-tablet));
    min-height: 600px;
  }

  .home-hero-trust {
    display: none;
  }

  .home-stats {
    margin-top: 0;
  }

  .home-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    border-radius: 0;
  }

  .home-stat-card {
    border-bottom: 1px solid var(--lss-border);
  }

  .home-about {
    padding-top: var(--lss-section-padding-tablet);
  }

  .home-about-content h2,
  .home-why-content h2 {
    font-size: 42px;
  }

  .home-about-image img {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    margin-top: var(--lss-header-height-mobile);
  }

  .homeHeroSwiper,
  .home-hero-slide {
    height: auto;
    min-height: calc(100vh - var(--lss-header-height-mobile));
  }

  .home-hero-slide {
    padding: 58px 0 72px;
    align-items: center;
    background-position: center;
  }

  .home-hero-overlay {
    background: rgba(0, 0, 0, 0.76);
  }

  .home-hero-content {
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
    margin: 0 auto;
  }

  .home-hero-badge {
    max-width: 100%;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 1.2px;
    line-height: 1.5;
  }

  .home-hero-content h1 {
    font-size: 36px;
    line-height: 1.08;
    margin-bottom: 20px;
  }

  .home-hero-content p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 26px;
  }

  .home-hero-actions {
    margin-top: 22px;
    gap: 14px;
    flex-direction: column;
  }

  .home-hero-actions .primary-btn,
  .home-hero-actions .outline-btn {
    width: 100%;
    min-height: 58px;
  }

  .home-hero-pagination {
    display: none !important;
  }

  .home-hero-next,
  .home-hero-prev {
    display: none !important;
  }

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

  .home-stat-card {
    min-height: 118px;
    border-right: 1px solid var(--lss-border);
  }

  .home-stat-number {
    font-size: 34px;
  }

  .home-about-image::before {
    display: none;
  }

  .home-about-image img {
    height: 320px;
  }

  .home-about-badge {
    left: 16px;
    bottom: 18px;
  }

  .home-about-content h2,
  .home-why-content h2 {
    font-size: 34px;
  }

  .home-products-grid,
  .home-why-grid {
    grid-template-columns: 1fr;
  }

  .home-product-card,
  .home-why-card {
    padding: 26px;
  }

  .home-cta {
    padding: 64px 0;
  }

  .home-cta-box {
    padding: 30px 22px;
    text-align: center;
  }

  .home-cta-box h2 {
    font-size: 36px;
  }

  .home-cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .home-hero-content h1 {
    font-size: 31px;
  }

  .home-hero-badge {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .home-hero-content p {
    font-size: 14px;
  }

  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-stat-card {
    border-right: 0;
  }

  .home-about-image img {
    height: 280px;
  }

  .home-feature-list span {
    width: 100%;
    justify-content: center;
  }

  .home-about-content h2,
  .home-why-content h2,
  .home-cta-box h2 {
    font-size: 31px;
  }
}