/* ===== Homepage - Reference Layout ===== */

.home-page .header {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid #f0f0f0;
}

.home-page .header.scrolled {
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.home-page .hero {
  min-height: auto;
  display: block;
  align-items: stretch;
  padding-top: var(--header-height);
  padding-bottom: 0;
  background: #0a0a10;
  overflow: visible;
}

.home-page .hero::before {
  top: -30%;
  right: -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.12) 0%, transparent 65%);
}

.home-page .hero::after {
  bottom: 20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(114, 46, 209, 0.08) 0%, transparent 70%);
}

.hero-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 0;
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: center;
  gap: 24px;
  min-height: 380px;
  margin-bottom: 32px;
}

.hero-text {
  text-align: left;
  max-width: 620px;
}

.hero-brand-line {
  margin-bottom: 20px;
}

.hero-brand-name {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.hero-brand-name .dot {
  color: var(--primary);
  margin: 0 4px;
}

.hero-headline {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 540px;
}

.home-page .hero-actions {
  justify-content: flex-start;
  margin-bottom: 32px;
  gap: 20px;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 36px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.btn-hero-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 36px;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  border: 1.5px solid transparent;
  background-image: linear-gradient(#0a0a10, #0a0a10), linear-gradient(135deg, #69b1ff, #1677ff, #722ed1);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 24px rgba(22, 119, 255, 0.25);
  transition: all 0.3s ease;
}

.btn-hero-glow:hover {
  box-shadow: 0 0 36px rgba(22, 119, 255, 0.45);
  transform: translateY(-2px);
}

.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-3d {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 20px 40px rgba(22, 119, 255, 0.3));
}

.hero-dashboard-box {
  position: relative;
  z-index: 10;
  margin-top: 72px;
  margin-bottom: -80px;
  padding: 0 8px 40px;
}

.home-page .hero-dashboard {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  border: none;
}

/* Floating background icons */
.hero-float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-icon {
  position: absolute;
  border-radius: 10px;
  opacity: 0.35;
}

.fi-1 { top: 18%; left: 8%; width: 36px; height: 36px; background: linear-gradient(135deg, #1677ff, #69b1ff); transform: rotate(-12deg); }
.fi-2 { top: 12%; right: 22%; width: 28px; height: 28px; background: linear-gradient(135deg, #52c41a, #95de64); transform: rotate(20deg); border-radius: 50%; }
.fi-3 { top: 35%; left: 15%; width: 24px; height: 24px; background: #fa8c16; transform: rotate(8deg); }
.fi-4 { top: 28%; right: 8%; width: 32px; height: 32px; background: linear-gradient(135deg, #722ed1, #b37feb); transform: rotate(-18deg); border-radius: 50%; }
.fi-5 { bottom: 45%; left: 5%; width: 20px; height: 20px; background: #ff4d4f; border-radius: 50%; }
.fi-6 { bottom: 38%; right: 15%; width: 26px; height: 26px; background: #13c2c2; transform: rotate(15deg); }

/* Channel section */
.home-section {
  padding: 100px 0;
}

.home-channel {
  position: relative;
  z-index: 5;
  background: #eef4fc;
  padding-top: 200px;
  padding-bottom: 80px;
}

.home-channel .home-section-title {
  margin-bottom: 32px;
}

.home-section-title {
  text-align: center;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 48px;
  line-height: 1.35;
}

.home-feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #eef5ff 0%, #dceeff 100%);
  border-radius: 20px;
  padding: 48px 56px;
  box-shadow: 0 4px 24px rgba(22, 119, 255, 0.08);
}

.home-feature-text h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.35;
}

.home-feature-text p {
  font-size: 15px;
  color: #595959;
  line-height: 1.9;
  margin-bottom: 28px;
}

.home-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-feature-tags li {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  font-size: 13px;
  color: #595959;
  border: 1px solid rgba(22, 119, 255, 0.12);
}

.home-feature-img img {
  width: 100%;
  border-radius: 12px;
}

/* Floating sidebar - consult style */
.float-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-40%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px 0 0 12px;
  box-shadow: -2px 0 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 88px;
}

.float-sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  color: #333;
  text-align: center;
  line-height: 1.2;
  transition: all 0.2s;
  min-height: 88px;
}

.float-sidebar-item:last-child {
  border-bottom: none;
}

.float-sidebar-item:hover {
  background: #f5f9ff;
  color: var(--primary);
}

.float-sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #333;
}

.float-sidebar-item:hover .float-sidebar-icon {
  color: var(--primary);
}

.float-sidebar-icon svg {
  width: 24px;
  height: 24px;
}

.float-sidebar-label {
  display: block;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-top {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .home-page .hero-actions {
    justify-content: center;
  }

  .hero-graphic {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-dashboard-box {
    margin-top: 48px;
    margin-bottom: -40px;
    padding-bottom: 24px;
  }

  .home-channel {
    padding-top: 160px;
  }

  .home-feature-card {
    grid-template-columns: 1fr;
    padding: 32px 28px;
  }

  .float-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-wrap {
    padding: 40px 16px 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .float-sidebar {
    display: none !important;
  }

  .hero-headline {
    font-size: 36px;
  }

  .hero-brand-name {
    font-size: 22px;
  }

  .hero-dashboard-box {
    margin-top: 32px;
    margin-bottom: 0;
    padding-bottom: 16px;
  }

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

  .home-section {
    padding: 60px 0;
  }
}
