/* Homepage presentation based on the approved connected-world reference. */
.page-home {
  --home-navy: #020b19;
  --home-ink: #07142c;
  --home-blue: #1769ff;
  --home-soft: #f7f9fd;
  --home-line: #e5eaf2;
  background: #fff;
  color: var(--home-ink);
}

.page-home .topbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.page-home .navbar-brand img { filter: none; }
.page-home .navbar .nav-link { color: #0f172a !important; }
.page-home .navbar .nav-link:hover,
.page-home .navbar .nav-link.active { color: #155bd7 !important; }
.page-home .navbar .nav-link::after { background: #3b82f6; }
.page-home .navbar-toggler {
  color: #155bd7 !important;
  background: #ffffff !important;
  border: 1px solid #dbe5f2 !important;
}
.page-home .navbar-toggler span { color: inherit !important; }
.page-home .header-cart-btn,
.page-home .header-account-btn,
.page-home .topbar .btn-outline-theme {
  border-color: #dbe5f2;
  color: #0f172a;
  background: #ffffff;
}
.page-home .topbar .btn-theme {
  border: 0;
  background: linear-gradient(135deg, #2377ff, #1551d4);
  box-shadow: 0 9px 24px rgba(23, 105, 255, 0.28);
}
.page-home .topbar.is-scrolled {
  background: rgba(2, 7, 18, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.34);
}
.page-home .topbar.is-scrolled .navbar-brand {
  background: #ffffff;
}
.page-home .topbar.is-scrolled .navbar .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
}
.page-home .topbar.is-scrolled .navbar .nav-link:hover,
.page-home .topbar.is-scrolled .navbar .nav-link.active {
  color: #ffffff !important;
}
.page-home .topbar.is-scrolled .header-cart-btn,
.page-home .topbar.is-scrolled .header-account-btn,
.page-home .topbar.is-scrolled .btn-outline-theme {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.page-home .home-hero-v5 {
  min-height: 630px;
  padding: 74px 0 0;
  align-items: stretch;
  background-color: var(--home-navy);
  isolation: isolate;
}
.page-home .hero-rotating-background {
  position: absolute;
  z-index: 0;
  inset: -7%;
  background: url("../images/home-connected-earth-v2.png") center / cover no-repeat;
  transform-origin: 78% 58%;
  will-change: transform;
  animation: home-earth-rotate 5s ease-in-out infinite alternate;
}
.page-home .home-hero-v5::before {
  display: block !important;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  transform: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 11, 25, 0.98) 0%, rgba(2, 11, 25, 0.92) 33%, rgba(2, 11, 25, 0.12) 67%, rgba(2, 11, 25, 0.1) 100%),
    radial-gradient(circle at 76% 48%, rgba(30, 119, 255, 0.12), transparent 34%);
  pointer-events: none;
}
.page-home .home-hero-v5::after { display: none; }
.page-home .home-hero-v5 .container {
  display: flex;
  min-height: 556px;
  flex-direction: column;
  justify-content: space-between;
}
.page-home .hero-copy-v5 {
  width: min(590px, 53%);
  padding: 26px 0 46px;
}

@keyframes home-earth-rotate {
  0% {
    transform: scale(1.08) rotate(-1.6deg) translate3d(-0.5%, 0, 0);
  }
  50% {
    transform: scale(1.1) rotate(0deg) translate3d(0.4%, -0.35%, 0);
  }
  100% {
    transform: scale(1.08) rotate(1.6deg) translate3d(0.8%, 0.25%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-rotating-background {
    animation: none;
    transform: scale(1.08);
  }
}
.page-home .hero-mini-note {
  color: #d7e7ff;
  background: rgba(18, 47, 87, 0.56);
  border-color: rgba(116, 171, 255, 0.2);
  box-shadow: none;
  padding: 8px 14px;
  margin-bottom: 22px;
}
.page-home .hero-mini-note span {
  background: #2f8cff;
  box-shadow: 0 0 0 5px rgba(47, 140, 255, 0.12), 0 0 18px rgba(47, 140, 255, 0.8);
}
.page-home .hero-copy-v5 h1 {
  max-width: 580px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(44px, 4.25vw, 67px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}
.page-home .hero-copy-v5 h1 span {
  display: inline;
  color: #2681ff;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.page-home .hero-copy-v5 p {
  max-width: 520px;
  margin-bottom: 26px;
  color: #c5d2e5;
  font-size: 1.08rem;
  font-weight: 520;
  line-height: 1.7;
}
.page-home .hero-actions { margin-bottom: 0; }
.page-home .home-hero-v5 .btn {
  min-height: 50px;
  border-radius: 7px;
  padding-inline: 22px;
  font-size: 0.98rem;
  font-weight: 750;
}
.page-home .home-hero-v5 .btn-theme {
  background: linear-gradient(135deg, #247cff, #1554d8);
  border: 0;
  box-shadow: 0 12px 30px rgba(18, 95, 244, 0.35);
}
.page-home .home-hero-v5 .btn-outline-theme {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.66) !important;
  background: rgba(2, 11, 25, 0.3) !important;
}
.page-home .hero-stats-v5 {
  width: 100%;
  max-width: none;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.page-home .hero-stats-v5 > div {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.page-home .hero-stats-v5 > div:last-child { border-right: 0; }
.page-home .hero-stats-v5 i {
  width: 42px;
  height: 42px;
  margin: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  font-size: 1.05rem;
}
.page-home .hero-stats-v5 span { display: grid; }
.page-home .hero-stats-v5 strong { color: #fff; font-size: 1.55rem; line-height: 1; }
.page-home .hero-stats-v5 small { margin-top: 7px; color: #c4d0e1; font-size: 0.84rem; font-weight: 650; }

.page-home .section-space { padding: 66px 0; }
.page-home .bg-soft { background: var(--home-soft) !important; }
.page-home .home-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: #2368dc;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.page-home .home-section-label::before,
.page-home .home-section-label::after {
  content: "";
  width: 14px;
  height: 1px;
  background: #72a7ff;
}
.page-home .whatdo-title,
.page-home .section-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}
.page-home .whatdo-title h2,
.page-home .section-head h2 {
  margin-bottom: 9px;
  color: var(--home-ink);
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 850;
}
.page-home .whatdo-title p,
.page-home .section-head p { margin: 0; color: #5f6b80; font-size: 1rem; line-height: 1.7; font-weight: 520; }

.page-home .whatdo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.page-home .whatdo-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 31, 58, 0.07);
}
.page-home .whatdo-card:hover {
  transform: translateY(-5px);
  border-color: #bed4ff;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 71, 164, 0.12);
}
.page-home .whatdo-card .wd-icon {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #4a56ef, #2145d9);
  box-shadow: 0 9px 18px rgba(44, 71, 221, 0.28);
}
.page-home .whatdo-card:hover .wd-icon { color: #fff; background: linear-gradient(145deg, #247cff, #173ed0); }
.page-home .whatdo-card h5 {
  margin: 0 0 7px;
  color: #0b1327;
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}
.page-home .whatdo-card:hover h5 { color: #0b1327; }
.page-home .whatdo-card p { margin: 0 0 12px; color: #5f6879; font-size: 0.91rem; line-height: 1.62; font-weight: 500; }
.page-home .whatdo-card:hover p { color: #667085; }
.page-home .whatdo-card a { color: var(--home-blue); font-size: 0.84rem; font-weight: 800; text-decoration: none; }
.page-home .whatdo-card a i { margin-left: 3px; font-size: 0.68rem; }

.page-home .process-wrap-v5 { padding: 64px 0 70px; overflow: hidden; background: #fff; }
.page-home .process-stage-band { width: min(1180px, calc(100% - 36px)); padding: 0; }
.page-home .process-stage-band::before { display: none; }
.page-home .process-layout { display: block; }
.page-home .process-steps-v5 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.page-home .process-steps-v5::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 17px;
  border-top: 1px dashed #92b9ff;
}
.page-home .process-step-v5 {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 11px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.page-home .process-step-v5 .num {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 5px solid #fff;
  color: #fff;
  background: var(--home-blue);
  box-shadow: 0 0 0 1px #b6d0ff;
  font-size: 0.7rem;
}
.page-home .process-step-v5 > i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #121b2f;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 31, 58, 0.09);
  font-size: 1.05rem;
}
.page-home .process-step-v5 p {
  width: 100%;
  min-height: 100px;
  padding: 15px 12px;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  color: #657086;
  background: #fff;
  font-size: 0.84rem;
  line-height: 1.55;
}
.page-home .process-step-v5 strong { display: block; margin-bottom: 7px; color: #111827; font-size: 1rem; font-weight: 850; }
.page-home .process-step-v5 small { display: block; font-size: 0.82rem; line-height: 1.55; }

.page-home .products-home-track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.page-home .product-card {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 31, 58, 0.07);
}
.page-home .product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(15, 71, 164, 0.13); }
.page-home .product-thumb { height: 160px; border-radius: 0; }
.page-home .product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.page-home .product-content { position: relative; padding: 14px 42px 14px 14px; }
.page-home .product-content h5 { margin: 0 0 7px; color: #15213a; font-size: 1rem; font-weight: 850; }
.page-home .product-content p { margin: 0; color: #687386; font-size: 0.82rem; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-home .product-content p i { color: var(--home-blue); }
.page-home .product-content > a {
  position: absolute;
  right: 13px;
  bottom: 14px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-blue);
  font-size: 0.65rem;
}

.page-home .home-gallery-section { padding-top: 62px; background: #fff; }
.page-home .home-gallery-section::before,
.page-home .home-gallery-section::after { display: none; }
.page-home .home-gallery-filters { display: none; }
.page-home .home-gallery-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.page-home .home-gallery-card { aspect-ratio: 1.55 / 1; border: 0; border-radius: 8px; box-shadow: none; }
.page-home .home-gallery-card img,
.page-home .home-gallery-card video { width: 100%; height: 100%; object-fit: cover; }
.page-home .home-gallery-card button { position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: #07142c; }
.page-home .home-gallery-play { position: absolute; inset: 50% auto auto 50%; display: grid; width: 44px; height: 44px; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; color: #fff; background: rgba(23,105,255,.9); box-shadow: 0 10px 24px rgba(2,11,25,.35); }
.page-home .home-gallery-popup-frame img,
.page-home .home-gallery-popup-frame video { width: 100%; max-height: min(74vh,760px); object-fit: contain; background: #020617; }
.page-home .load-more-actions { display: none; }

.page-home .home-team-section { padding: 66px 0; background: #fff; }
.page-home .home-team-section::before,
.page-home .home-team-section::after { display: none; }
.page-home .home-team-head .eyebrow { color: #2368dc; font-size: .76rem; font-weight: 850; letter-spacing: .12em; }
.page-home .home-team-head h2 { color: var(--home-ink); font-size: clamp(27px,2.5vw,38px); line-height: 1.12; text-shadow: none; }
.page-home .home-team-head p { color: #5f6b80; font-size: 1rem; font-weight: 520; }
.page-home .home-team-controls { justify-content: flex-end; margin: -58px 0 18px; }
.page-home .home-team-controls button { width: 38px; height: 38px; color: #155bd7; border-color: #dbe5f2; background: #fff; box-shadow: 0 6px 16px rgba(15,31,58,.08); }
.page-home .home-team-slider { grid-auto-columns: minmax(220px,1fr); gap: 14px; padding-bottom: 10px; scrollbar-color: #9dbfff #edf3fc; }
.page-home .home-team-card,
.page-home .home-team-card:nth-child(even) { padding: 0; border: 1px solid var(--home-line); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(15,31,58,.07); }
.page-home .home-team-avatar { margin: 0; aspect-ratio: 1.08/1; border: 0; border-radius: 0; background: linear-gradient(135deg,#eaf2ff,#dbeafe); color: #155bd7; }
.page-home .home-team-card > div:last-child { padding: 15px; }
.page-home .home-team-card h3 { color: #111827; font-size: 1.08rem; }
.page-home .home-team-card p { color: #2563eb; font-size: .88rem; }
.page-home .home-team-card small { min-height: 42px; color: #637087; font-size: .84rem; line-height: 1.55; }

.page-home .review-stage { align-items: stretch; gap: 16px; }
.page-home .review-main-card { padding: 28px; border-radius: 10px; box-shadow: 0 9px 26px rgba(15, 31, 58, 0.08); }
.page-home .review-main-card::before { color: rgba(37, 99, 235, 0.06); }
.page-home .review-main-card p { font-size: 0.94rem; line-height: 1.7; }
.page-home .review-user-main .avatar { width: 50px; height: 50px; border-radius: 50%; }
.page-home .review-side-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.page-home .review-side-list.is-slider { max-height: none; }
.page-home .review-side-btn { border-radius: 10px; padding: 13px; box-shadow: 0 7px 20px rgba(15, 31, 58, 0.06); }
.page-home .review-side-btn:hover,
.page-home .review-side-btn.active { transform: translateY(-3px); }
.page-home .review-side-btn .mini-avatar { width: 43px; height: 43px; border-radius: 50%; }

.page-home .page-partners { padding: 20px 0 0; background: #fff; }
.page-home .page-partners .section-head { margin-bottom: 10px; }
.page-home .partners-marquee { padding: 16px 0 22px; border: 0; background: #fff; }
.page-home .partners-track-v5 { gap: 36px; }
.page-home .partner-chip-v5 {
  min-width: 150px;
  height: 54px;
  padding: 5px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.page-home .partner-chip-v5:hover { transform: none; box-shadow: none; }
.page-home .partner-chip-v5 img { max-width: 136px; max-height: 42px; filter: saturate(0.8); }

.page-home .footer {
  padding-top: 44px;
  color: #b7c5d9;
  background: #031126;
  border-top: 1px solid rgba(62, 132, 231, 0.2);
}
.page-home .footer h5 { color: #fff; }
.page-home .footer a,
.page-home .footer-contact-list span,
.page-home .footer p { color: #a8b7cb; font-size: 0.9rem; }
.page-home .footer-bottom { color: #8494aa; }

@media (max-width: 1199px) {
  .page-home .products-home-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .whatdo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .home-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .page-home .navbar-collapse {
    margin-top: 10px;
    padding: 18px;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    background: #ffffff;
  }
  .page-home .navbar-collapse .nav-link {
    color: #0f172a !important;
  }
  .page-home .topbar.is-scrolled .navbar-collapse {
    border-color: rgba(255, 255, 255, 0.12);
    background: #07172e;
  }
  .page-home .topbar.is-scrolled .navbar-collapse .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
  }
  .page-home .home-hero-v5 {
    min-height: 620px;
  }
  .page-home .home-hero-v5::before {
    background:
      linear-gradient(90deg, rgba(2, 11, 25, 0.98), rgba(2, 11, 25, 0.8) 58%, rgba(2, 11, 25, 0.35)),
      radial-gradient(circle at 76% 48%, rgba(30, 119, 255, 0.12), transparent 34%);
  }
  .page-home .hero-rotating-background { background-position: 62% center; }
  .page-home .hero-copy-v5 { width: min(610px, 76%); }
  .page-home .hero-stats-v5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .hero-stats-v5 > div:nth-child(2) { border-right: 0; }
  .page-home .process-steps-v5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .process-steps-v5::before { display: none; }
  .page-home .review-stage { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .page-home .home-hero-v5 { min-height: auto; padding-top: 42px; }
  .page-home .hero-rotating-background { inset: -10%; background-position: 68% top; }
  .page-home .home-hero-v5 .container { min-height: 660px; }
  .page-home .hero-copy-v5 { width: 100%; padding-top: 28px; }
  .page-home .hero-copy-v5 h1 { max-width: 470px; font-size: clamp(38px, 11vw, 53px); }
  .page-home .hero-copy-v5 p { max-width: 460px; }
  .page-home .hero-stats-v5 > div { min-height: 76px; padding: 13px 8px; gap: 9px; }
  .page-home .hero-stats-v5 i { width: 34px; height: 34px; font-size: 0.84rem; }
  .page-home .hero-stats-v5 strong { font-size: 1.15rem; }
  .page-home .hero-stats-v5 small { font-size: 0.62rem; }
  .page-home .section-space { padding: 52px 0; }
  .page-home .whatdo-grid,
  .page-home .products-home-track,
  .page-home .process-steps-v5,
  .page-home .home-gallery-grid { grid-template-columns: 1fr; }
  .page-home .whatdo-card { padding: 18px; }
  .page-home .process-step-v5 { grid-template-columns: 36px 54px minmax(0, 1fr); align-items: center; justify-items: start; text-align: left; }
  .page-home .process-step-v5 .num { grid-column: 1; grid-row: 1; }
  .page-home .process-step-v5 > i { grid-column: 2; grid-row: 1; width: 52px; height: 52px; }
  .page-home .process-step-v5 p { grid-column: 3; grid-row: 1; min-height: auto; text-align: left; }
  .page-home .product-thumb { height: 220px; }
  .page-home .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .review-side-list { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .page-home .hero-actions { display: grid; grid-template-columns: 1fr; }
  .page-home .home-hero-v5 .btn { width: 100%; }
  .page-home .hero-stats-v5 { grid-template-columns: 1fr 1fr; }
  .page-home .hero-stats-v5 > div { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .partners-track-v5 { animation: none; }
}
