/* ============================================
   Artharogyam — Home Page Premium UX/UI
   Scoped to .home-page
   ============================================ */

.home-page {
  --home-radius: 20px;
  --home-shadow: 0 8px 32px rgba(26, 69, 76, 0.08);
  --home-shadow-hover: 0 20px 50px rgba(26, 69, 76, 0.14);
}

/* ---- Typography & readability ---- */
.home-page {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.home-page p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.home-page .hero-section .hero-slide-text,
.home-page .hero-section .hero-slide-meta {
  color: #ffffff;
}

.home-page .lead-text {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.8;
  font-weight: 500;
}

.home-page .section-header-premium {
  margin-bottom: 3rem;
}

.home-page .section-header-premium .section-title {
  font-size: clamp(1.875rem, 4.2vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.home-page .section-header-premium .section-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 640px;
}

.home-page .section-header-premium.text-start .section-desc {
  margin-left: 0;
  margin-right: 0;
}

/* ---- Section rhythm ---- */
.home-page .section-block {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}

.home-page .section-block.bg-white {
  background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
}

.home-page .section-block.bg-cream {
  background: linear-gradient(180deg, var(--cream) 0%, #f3efe6 100%);
}

.home-page .section-block.bg-cream::before,
.home-page .section-block.bg-white::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(38, 93, 102, 0.03) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(184, 115, 51, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.home-page .section-block > .container {
  position: relative;
  z-index: 1;
}

/* ---- Trust bar ---- */
.home-page .trust-bar-premium {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary) 50%, #2d6b75);
  padding: 0;
  border: none;
  box-shadow: 0 4px 24px rgba(26, 69, 76, 0.2);
}

.home-page .trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.home-page .trust-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.125rem 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.home-page .trust-pill:last-child { border-right: none; }

.home-page .trust-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.home-page .trust-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.home-page .trust-pill strong {
  display: block;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
}

.home-page .trust-pill span {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.75;
  font-weight: 500;
}

/* ---- About section ---- */
.home-page .about-visual {
  position: relative;
}

.home-page .about-visual img {
  border-radius: var(--home-radius);
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--home-shadow-hover);
}

.home-page .about-visual::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 2px solid rgba(184, 115, 51, 0.25);
  border-radius: calc(var(--home-radius) + 8px);
  z-index: -1;
}

.home-page .about-badge-float {
  position: absolute;
  bottom: 24px;
  left: -16px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(184, 115, 51, 0.35);
  text-align: center;
  min-width: 100px;
}

.home-page .about-badge-float .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.home-page .about-badge-float .lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
}

.home-page .highlight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.25rem 0 1.5rem;
}

.home-page .highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.home-page .highlight-chip i { color: var(--accent); font-size: 0.875rem; }

.home-page .feature-list li {
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 0.625rem;
  border: 1px solid rgba(38, 93, 102, 0.06);
  font-weight: 500;
  transition: var(--transition);
}

.home-page .feature-list li:hover {
  border-color: rgba(184, 115, 51, 0.25);
  transform: translateX(4px);
}

/* ---- Advantage cards ---- */
.home-page .advantage-card {
  background: var(--white);
  border-radius: var(--home-radius);
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  border: 1px solid rgba(38, 93, 102, 0.06);
  box-shadow: var(--home-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.home-page .advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.home-page .advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--home-shadow-hover);
}

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

.home-page .advantage-card .adv-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(38, 93, 102, 0.06);
  line-height: 1;
}

.home-page .advantage-card .plan-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(38, 93, 102, 0.1), rgba(74, 124, 89, 0.12));
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.home-page .advantage-card h5 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}

.home-page .advantage-card p {
  font-size: 0.9375rem;
  margin: 0;
}

/* ---- Products strip ---- */
.home-page .product-categories-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.home-page .cat-chip {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.home-page .cat-chip.active,
.home-page .cat-chip:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(38, 93, 102, 0.25);
}

.home-page .product-card-premium {
  border-radius: var(--home-radius);
  border: 1px solid rgba(38, 93, 102, 0.06);
}

.home-page .home-product-card .product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(145deg, var(--cream), #fff);
}

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

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

.home-page .product-card-premium .product-card-body {
  padding: 1.25rem 1.25rem 0.75rem;
}

.home-page .product-card-premium .product-card-footer {
  padding: 0 1.25rem 1.25rem;
  gap: 8px;
}

.home-page .product-card-premium .product-card-footer .btn {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 50px;
  justify-content: center;
}

.home-page .product-card-premium .product-card-body h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.home-page .product-card-premium .product-card-body p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ---- Business block ---- */
.home-page .business-visual img {
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow-hover);
}

.home-page .biz-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 1.5rem 0;
}

.home-page .biz-stat {
  background: var(--white);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.home-page .biz-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--accent);
  line-height: 1.2;
}

.home-page .biz-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.home-page .mlm-tree-preview {
  background: linear-gradient(145deg, var(--white), var(--cream));
  border-radius: var(--home-radius);
  padding: 1.75rem;
  border: 1px dashed rgba(38, 93, 102, 0.15);
}

/* ---- Mission / Vision ---- */
.home-page .mv-split {
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
  transition: var(--transition);
}

.home-page .mv-split:hover {
  transform: translateY(-6px);
  box-shadow: var(--home-shadow-hover);
}

.home-page .mv-split-content h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.home-page .mv-split-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---- Income cards ---- */
.home-page .income-card {
  border-radius: var(--home-radius);
  border: 1px solid rgba(38, 93, 102, 0.06);
  border-left: 4px solid var(--accent);
}

.home-page .income-card .income-percent {
  font-size: 1.625rem;
  margin-bottom: 0.25rem;
}

.home-page .income-card h5 { color: var(--primary); }

.home-page .income-card p { font-size: 0.9375rem; }

/* ---- Stats band ---- */
.home-page .home-stats-wrap {
  padding: 0;
  background: transparent;
}

.home-page .stats-section-premium {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.home-page .stats-section-premium::before {
  display: none;
}

/* ---- Rewards ---- */
.home-page .reward-card {
  border-radius: var(--home-radius);
  border: 1px solid rgba(38, 93, 102, 0.06);
}

.home-page .reward-card h6 {
  font-size: 0.9375rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

/* ---- Success stories ---- */
.home-page .success-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: var(--home-radius);
  border: 1px solid rgba(38, 93, 102, 0.06);
  background: var(--white);
  height: 100%;
}

.home-page .success-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.home-page .success-card h6 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
  color: var(--primary);
}

.home-page .success-card p {
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.65;
}

.home-page .success-income {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ---- Testimonials ---- */
.home-page .testimonial-card {
  border-radius: var(--home-radius);
  border: 1px solid rgba(38, 93, 102, 0.06);
  padding: 2rem 1.75rem;
}

.home-page .testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
}

.home-page .video-testimonial {
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--home-shadow);
  aspect-ratio: 16/10;
}

.home-page .video-testimonial:hover {
  box-shadow: var(--home-shadow-hover);
}

/* ---- Events ---- */
.home-page .event-mini {
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.home-page .event-mini-overlay h6 {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ---- Certificates ---- */
.home-page .certificates-section {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.home-page .cert-card {
  border-radius: 16px;
  border: 1px solid rgba(38, 93, 102, 0.08);
  transition: var(--transition);
}

.home-page .cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

/* ---- FAQ ---- */
.home-page .home-faq .accordion {
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--home-shadow);
  border: 1px solid var(--border);
}

.home-page .home-faq .accordion-item {
  border: none;
  border-bottom: 1px solid var(--border);
}

.home-page .home-faq .accordion-item:last-child { border-bottom: none; }

.home-page .home-faq .accordion-button {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary);
  padding: 1.125rem 1.25rem;
  background: var(--white);
}

.home-page .home-faq .accordion-button:not(.collapsed) {
  background: rgba(38, 93, 102, 0.06);
  color: var(--primary-dark);
  box-shadow: none;
}

.home-page .home-faq .accordion-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding: 0 1.25rem 1.25rem;
}

/* ---- Final CTA ---- */
.home-page .contact-cta-banner {
  border-radius: calc(var(--home-radius) + 4px);
  padding: clamp(2.5rem, 6vw, 4rem) 2rem;
  background: linear-gradient(135deg, #0f2e33 0%, var(--primary-dark) 30%, var(--primary) 65%, var(--leaf) 100%);
}

.home-page .contact-cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.home-page .contact-cta-banner p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
}

.home-page .contact-cta-banner .cta-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* ---- Leader cards on home ---- */
.home-page .leader-card {
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid rgba(38, 93, 102, 0.06);
  box-shadow: var(--home-shadow);
}

.home-page .leader-card:hover {
  box-shadow: var(--home-shadow-hover);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .home-page .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-page .trust-pill:nth-child(2) { border-right: none; }
  .home-page .trust-pill { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

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

  .home-page .biz-stat-row { grid-template-columns: 1fr; }
}

.home-page .hero-prod img {
  object-fit: contain;
  background: #fff;
}

.home-page .hero-prod img[src$=".svg"] {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px;
}

/* ---- Dashboard-style panels (brand colors only) ---- */
.dash-welcome-section {
  padding: 1.25rem 0 0;
  background: var(--cream);
}

.dash-welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--primary-light));
  border-radius: var(--home-radius);
  padding: 1.5rem 1.75rem;
  color: var(--white);
  box-shadow: var(--home-shadow-hover);
}

.dash-welcome-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-welcome-logo {
  border-color: var(--gold);
  flex-shrink: 0;
}

.dash-welcome-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--white);
  margin: 0 0 0.25rem;
  letter-spacing: 0.5px;
}

.dash-welcome-hi {
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.dash-welcome-tag {
  margin: 0;
  font-size: 0.9375rem;
  opacity: 0.92;
}

.dash-welcome-tag em { color: rgba(255, 255, 255, 0.95); }

.dash-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.dash-quick-section { padding-top: 1.25rem !important; }

.dash-panel {
  background: var(--white);
  border-radius: var(--home-radius);
  border: 1px solid var(--border);
  box-shadow: var(--home-shadow);
  overflow: hidden;
}

.dash-panel-head {
  padding: 0.875rem 1.25rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  background: rgba(38, 93, 102, 0.04);
}

.dash-panel-head i {
  color: var(--accent);
  margin-right: 8px;
}

.dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 1.25rem;
}

.dash-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1.125rem 0.75rem;
  background: var(--white);
  border: 1px solid rgba(38, 93, 102, 0.12);
  border-radius: 14px;
  text-decoration: none;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: var(--transition);
  min-height: 96px;
}

.dash-quick-btn i {
  font-size: 1.375rem;
  color: var(--accent);
}

.dash-quick-btn:hover {
  border-color: var(--accent);
  background: rgba(38, 93, 102, 0.04);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--primary-dark);
}

/* Dashboard stat cards */
.home-page .dash-stats-grid {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.home-page .dash-stats-grid::before { display: none; }

.dash-stat-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--home-shadow);
  height: 100%;
  transition: var(--transition);
}

.dash-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow-hover);
}

.dash-stat-head {
  padding: 0.625rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

.dash-stat-head i { margin-right: 4px; }

.dash-stat-head--primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.dash-stat-head--accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.dash-stat-head--gold { background: linear-gradient(135deg, var(--gold), var(--accent)); }
.dash-stat-head--leaf { background: linear-gradient(135deg, var(--leaf), var(--primary)); }

.dash-stat-body {
  padding: 1.25rem 0.75rem;
  text-align: center;
}

.dash-stat-body .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.home-page .advantage-card,
.home-page .income-card,
.home-page .reward-card,
.home-page .success-card,
.home-page .cert-card {
  border: 1px solid var(--border);
}

@media (max-width: 991.98px) {
  .dash-quick-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .dash-welcome-banner { padding: 1.25rem; }
  .dash-welcome-left { flex-direction: column; text-align: center; }
  .dash-quick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
