/* =============================================================
   Maxta Homepage — V22 Integrated Styles
   Scoped under body.page-home to avoid conflicts with main.css
   Uses main.css design tokens (--brand-*, --gray-*, --r-*, etc.)
   ============================================================= */

/* ═══════════════════════════════════════════════
   HEADER — Dark Hero Override
   Transparent on top, frosted white after scroll
   ═══════════════════════════════════════════════ */
body.page-home .site-header {
  background: rgba(2,8,23,.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: rgba(255,255,255,.06);
}
body.page-home .site-header.scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: rgba(0,0,0,.06);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* Nav links: white on dark hero, revert on scroll */
body.page-home .nav-link { color: rgba(255,255,255,.7); }
body.page-home .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
body.page-home .nav-link.active { color: #60A5FA; background: rgba(59,130,246,.12); }
body.page-home .scrolled .nav-link { color: var(--gray-600); }
body.page-home .scrolled .nav-link:hover { color: var(--gray-900); background: var(--gray-50); }
body.page-home .scrolled .nav-link.active { color: var(--brand-600); background: var(--brand-50); }

/* Logo: invert for dark hero */
body.page-home .logo-img { filter: brightness(0) invert(1); }
body.page-home .scrolled .logo-img { filter: none; }

/* Header actions: adapt for dark hero */
body.page-home .search-toggle {
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
}
body.page-home .scrolled .search-toggle {
  border-color: var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
}
body.page-home .lang-btn {
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
}
body.page-home .scrolled .lang-btn {
  color: var(--gray-600);
  border-color: var(--gray-200);
  background: var(--white);
}
body.page-home .header-cta {
  background: linear-gradient(135deg, #0EA5E9, #8B5CF6);
  border: none;
  color: #fff;
}


/* ═══════════════════════════════════════════════
   GRADIENT TEXT — Homepage variant
   ═══════════════════════════════════════════════ */
body.page-home .g-text {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════
   SECTION UTILITIES
   ═══════════════════════════════════════════════ */
body.page-home .hp-divider {
  height: 1px;
  max-width: 64rem;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

/* sec-label: unified in hero.css */

body.page-home .hp-glass {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gray-200);
}

/* Section header row with "了解更多" */
body.page-home .sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

body.page-home .section__heading {
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}
body.page-home .section__heading--tight { margin-bottom: .5rem; }

body.page-home .section__subtext {
  color: var(--gray-600);
  max-width: 36rem;
  line-height: 1.6;
}

/* "了解更多" button */
body.page-home .sec-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  flex-shrink: 0;
  padding: .5rem 1.125rem;
  border-radius: 9999px;
  border: 1px solid rgba(59,130,246,.3);
  color: var(--brand-600);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
body.page-home .sec-more-btn:hover {
  background: rgba(59,130,246,.08);
  border-color: rgba(59,130,246,.55);
  transform: translateX(2px);
}


/* ═══════════════════════════════════════════════
   PILLS — Light section variant
   ═══════════════════════════════════════════════ */
body.page-home .hp-pill {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  border-radius: 9999px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 500;
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.2);
  color: var(--brand-600);
}
body.page-home .hp-pill--sm  { border-radius: var(--r-sm); padding: .125rem .5rem; }
body.page-home .hp-pill--v   { background: rgba(124,58,237,.08);  border-color: rgba(124,58,237,.2);   color: #7c3aed; }
body.page-home .hp-pill--a   { background: rgba(245,158,11,.08);  border-color: rgba(245,158,11,.2);   color: #b45309; }
body.page-home .hp-pill--g   { background: rgba(16,185,129,.08);  border-color: rgba(16,185,129,.2);   color: #047857; }
body.page-home .hp-pill--r   { background: rgba(244,63,94,.08);   border-color: rgba(244,63,94,.2);    color: #be123c; }

body.page-home .hp-pill__dot {
  width: .375rem; height: .375rem;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
body.page-home .hp-pill__dot--blue   { background: var(--brand-500); }
body.page-home .hp-pill__dot--violet { background: #7c3aed; }


/* ═══════════════════════════════════════════════
   HERO — Dark Island
   ═══════════════════════════════════════════════ */
body.page-home .hp-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(14,165,233,.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 20%,  rgba(139,92,246,.1)  0%, transparent 55%),
    #020817;
  color: #CBD5E1;
}

body.page-home .hp-hero__grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14,165,233,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 0%, transparent 100%);
}

/* Orbs */
body.page-home .hp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: hpFloatOrb 10s ease-in-out infinite;
  pointer-events: none;
}
body.page-home .hp-orb--1 { width:700px; height:700px; background:radial-gradient(circle,rgba(14,165,233,.13),transparent 70%); top:-250px; left:-150px; }
body.page-home .hp-orb--2 { width:550px; height:550px; background:radial-gradient(circle,rgba(139,92,246,.11),transparent 70%); top:-150px; right:-120px; animation-delay:-4s; }
body.page-home .hp-orb--3 { width:400px; height:400px; background:radial-gradient(circle,rgba(6,182,212,.09),transparent 70%);  bottom:80px; left:38%; animation-delay:-7s; }

/* Neural canvas */
body.page-home #neural-canvas {
  position: absolute; inset: 0;
  opacity: .35;
  pointer-events: none;
}

/* Hero content */
body.page-home .hp-hero__content {
  position: relative;
  z-index: 10;
  padding-block: 7rem 3rem;
  width: 100%;
}
body.page-home .hp-hero__inner {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

/* Badge */
body.page-home .hp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  border-radius: 9999px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  color: #60A5FA;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
}
body.page-home .hp-hero__badge-dot {
  width: .375rem; height: .375rem;
  border-radius: 50%;
  background: #60A5FA;
  flex-shrink: 0;
  animation: hpPulse 2s ease-in-out infinite;
}

/* Title */
body.page-home .hp-hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}
body.page-home .hp-hero__title-gradient {
  background: linear-gradient(to right, #60A5FA, #38BDF8, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
body.page-home .hp-hero__sub-wrap { max-width: 60rem; margin-inline: auto; margin-bottom: 1.8rem; }
body.page-home .hp-hero__sub { font-size: 1.125rem; color: #94A3B8; line-height: 1.7; }
@media (min-width:768px) { body.page-home .hp-hero__sub { font-size: 1.25rem; } }

/* Scroll indicator */
body.page-home .hp-hero__scroll {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: .35; pointer-events: none;
}
body.page-home .hp-hero__scroll-label {
  font-size: .625rem; letter-spacing: .25em;
  text-transform: uppercase; color: #64748B;
}
body.page-home .hp-hero__scroll-line {
  width: 1px; height: 2.5rem;
  background: linear-gradient(to bottom, #0EA5E9, transparent);
  animation: hpPulse 2s ease-in-out infinite;
}

/* ─── Contrast: Pain vs Maxta ─── */
body.page-home .contrast {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  body.page-home .contrast { max-width: 72rem; }
}

body.page-home .contrast__card {
  border-radius: var(--r-lg);
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #0f172a, #0d1526);
  border: 1px solid rgba(255,255,255,.06);
}
@media (min-width:768px) {
  body.page-home .contrast__card { padding: 1.15rem 1.75rem; }
}

body.page-home .contrast__card--pain {
  border-color: rgba(239,68,68,.18);
  box-shadow: inset 0 1px 0 rgba(239,68,68,.10);
}
body.page-home .contrast__card--win {
  border-color: rgba(16,185,129,.18);
  box-shadow: inset 0 1px 0 rgba(16,185,129,.10);
}

/* Header row */
body.page-home .contrast__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .7rem;
  flex-wrap: nowrap;
}
body.page-home .contrast__label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  flex-shrink: 0;
}
body.page-home .contrast__label--win {
  color: #34D399;
  font-weight: 600;
}
body.page-home .contrast__divider {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
  min-width: 2rem;
}
body.page-home .contrast__divider--win {
  background: rgba(16,185,129,.15);
}

/* Verdict badges */
body.page-home .verdict-pain {
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: var(--r-full, 9999px);
  color: #FCA5A5;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.25);
  white-space: nowrap;
}
body.page-home .verdict-win {
  flex-shrink: 0;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: var(--r-full, 9999px);
  color: #34D399;
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.30);
  letter-spacing: .05em;
  white-space: nowrap;
}

/* Step pills */
body.page-home .contrast__steps {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
body.page-home .step-pain {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  padding: .3rem .7rem;
  border-radius: var(--r-full, 9999px);
  color: #FCA5A5;
  background: rgba(239,68,68,.10);
  border: 1px solid rgba(239,68,68,.22);
  white-space: nowrap;
}
body.page-home .step-pain--faded {
  opacity: .5;
  border-style: dashed;
}
body.page-home .step-connector {
  color: rgba(255,255,255,.2);
  font-size: .7rem;
  padding: 0 .1rem;
}
body.page-home .step-win {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: var(--r-full, 9999px);
  color: #34D399;
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.25);
  white-space: nowrap;
}
body.page-home .step-win--highlight {
  background: rgba(16,185,129,.15);
  border-color: rgba(16,185,129,.35);
}
body.page-home .step-win__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
body.page-home .step-connector--green {
  color: rgba(16,185,129,.4);
  font-size: .75rem;
  padding: 0 .15rem;
}
body.page-home .step-note {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}

/* VS divider */
body.page-home .vs-divider {
  display: flex;
  justify-content: center;
  padding: .4rem 0;
}
body.page-home .vs-divider__badge {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: #0f172a;
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
}

/* Responsive: stack header on small */
@media (max-width: 640px) {
  body.page-home .contrast__header {
    flex-wrap: wrap;
    gap: .4rem;
  }
  body.page-home .contrast__label {
    font-size: .6rem;
    white-space: normal;
  }
  body.page-home .contrast__divider { display: none; }
  body.page-home .contrast__steps { gap: .3rem; }
  body.page-home .step-pain,
  body.page-home .step-win { font-size: .65rem; padding: .25rem .5rem; }
}



/* ═══════════════════════════════════════════════
   ABOUT — Light gray (#f8fafc)
   ═══════════════════════════════════════════════ */
body.page-home .hp-about {
  padding-block: 4.5rem;
  background: var(--gray-50);
}
body.page-home .hp-about__grid { display: grid; gap: 4rem; align-items: start; }
@media (min-width:1024px) { body.page-home .hp-about__grid { grid-template-columns: repeat(2,1fr); } }

body.page-home .hp-about__heading {
  font-size: clamp(2rem,4vw,3rem); font-weight: 700;
  color: var(--gray-900); line-height: 1.2; margin-bottom: 1.5rem;
}
body.page-home .hp-about__body { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; }
body.page-home .hp-about__pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }

body.page-home .hp-about__awards { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-top: 2rem; }
body.page-home .hp-award-card  { border-radius: var(--r-md); padding: 1rem; text-align: center; }
body.page-home .hp-award-label { font-size: .75rem; font-weight: 700; margin-bottom: .25rem; }
body.page-home .hp-award-label--sky    { color: var(--brand-500); }
body.page-home .hp-award-label--amber  { color: #b45309; }
body.page-home .hp-award-label--green  { color: #047857; }
body.page-home .hp-award-name  { font-size: .75rem; color: var(--gray-900); font-weight: 500; }

/* Timeline */
body.page-home .hp-timeline { display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; height: 100%; }
body.page-home .hp-tl__item { display: flex; gap: 1.25rem; flex: 1; }
body.page-home .hp-tl__rail { display: flex; flex-direction: column; align-items: center; width: 1rem; margin-top: .3rem; }
body.page-home .hp-tl__dot  { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
body.page-home .hp-tl__dot--blue   { background: #0EA5E9; box-shadow: 0 0 14px rgba(14,165,233,.45); }
body.page-home .hp-tl__dot--violet { background: #8B5CF6; box-shadow: 0 0 14px rgba(139,92,246,.45); }
body.page-home .hp-tl__dot--green  { background: #10B981; box-shadow: 0 0 14px rgba(16,185,129,.45); }
body.page-home .hp-tl__dot--orange { background: #F97316; box-shadow: 0 0 14px rgba(249,115,22,.45); }
body.page-home .hp-tl__line { flex: 1; width: 1px; background: var(--gray-200); margin-top: .75rem; margin-bottom: -1.5rem; }
body.page-home .hp-tl__body { flex: 1; border-radius: var(--r-md); padding: 1.25rem; transition: transform .3s; }
body.page-home .hp-tl__body:hover { transform: translateY(-4px); }
body.page-home .hp-tl__meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
body.page-home .hp-tl__year--blue   { font-weight: 700; font-size: .875rem; color: #0EA5E9; }
body.page-home .hp-tl__year--violet { font-weight: 700; font-size: .875rem; color: #7c3aed; }
body.page-home .hp-tl__year--green  { font-weight: 700; font-size: .875rem; color: #047857; }
body.page-home .hp-tl__title { font-weight: 600; color: var(--gray-900); margin-bottom: .25rem; }
body.page-home .hp-tl__desc  { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }


/* ═══════════════════════════════════════════════
   MISSION — White (#fff)
   ═══════════════════════════════════════════════ */
body.page-home .hp-mission { padding-block: 4.5rem; background: #fff; }

body.page-home .hp-pillars { display: grid; gap: 2rem; }
@media (min-width:1024px) { body.page-home .hp-pillars { grid-template-columns: repeat(2,1fr); } }

body.page-home .hp-pillar {
  background: #fff; border-radius: var(--r-lg); padding: 2.5rem;
  position: relative; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
body.page-home .hp-pillar:hover { transform: translateY(-4px) scale(1.01); }
body.page-home .hp-pillar--blue   { border: 1px solid rgba(59,130,246,.18); }
body.page-home .hp-pillar--blue:hover   { box-shadow: 0 20px 48px rgba(59,130,246,.12), 0 0 0 1px rgba(59,130,246,.2); }
body.page-home .hp-pillar--violet { border: 1px solid rgba(124,58,237,.18); }
body.page-home .hp-pillar--violet:hover { box-shadow: 0 20px 48px rgba(124,58,237,.12), 0 0 0 1px rgba(124,58,237,.2); }

body.page-home .hp-pillar__icon {
  width: 3.5rem; height: 3.5rem; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; transition: transform .3s, background .3s;
}
body.page-home .hp-pillar__icon--blue   { background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.2); color: var(--brand-600); }
body.page-home .hp-pillar__icon--violet { background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.2); color: #7c3aed; }
body.page-home .hp-pillar:hover .hp-pillar__icon { transform: scale(1.1); }

body.page-home .hp-pillar__heading { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-top: 1rem; margin-bottom: .75rem; }
body.page-home .hp-pillar__body { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; }
body.page-home .hp-pillar__footer { display: flex; align-items: flex-start; gap: .5rem; }
body.page-home .hp-pillar__dot { width: .375rem; height: .375rem; border-radius: 50%; flex-shrink: 0; margin-top: .375rem; }
body.page-home .hp-pillar__dot--blue   { background: var(--brand-500); }
body.page-home .hp-pillar__dot--violet { background: #7c3aed; }
body.page-home .hp-pillar__footer-text { font-size: .875rem; font-weight: 500; }
body.page-home .hp-pillar__footer-text--blue   { color: var(--brand-600); }
body.page-home .hp-pillar__footer-text--violet { color: #7c3aed; }


/* ═══════════════════════════════════════════════
   PRODUCTS — Gray (#f8fafc)
   ═══════════════════════════════════════════════ */
body.page-home .hp-products { padding-block: 4.5rem; background: var(--gray-50); }

body.page-home .hp-products__grid { display: grid; gap: 2rem; }
@media (min-width:1024px) { body.page-home .hp-products__grid { grid-template-columns: repeat(2,1fr); } }

body.page-home .hp-pcard {
  background: #fff; border-radius: var(--r-lg); padding: 2.5rem;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
body.page-home .hp-pcard:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(59,130,246,.1), 0 0 0 1px rgba(59,130,246,.18); }
body.page-home .hp-pcard--blue   { border: 1px solid rgba(59,130,246,.14); }
body.page-home .hp-pcard--violet { border: 1px solid rgba(124,58,237,.14); }
body.page-home .hp-pcard--violet:hover { box-shadow: 0 24px 56px rgba(124,58,237,.1), 0 0 0 1px rgba(124,58,237,.18); }

body.page-home .hp-pcard__header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; }
body.page-home .hp-pcard__pill { margin-bottom: .75rem; }

body.page-home .hp-pcard__icon {
  width: 4rem; height: 4rem; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
body.page-home .hp-pcard__icon--blue   { background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.2); color: var(--brand-600); }
body.page-home .hp-pcard__icon--violet { background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.2); color: #7c3aed; }

body.page-home .hp-pcard__name { font-size: 1.875rem; font-weight: 900; color: var(--gray-900); margin-top: .75rem; }
body.page-home .hp-pcard__desc { color: var(--gray-600); line-height: 1.7; margin-bottom: 2rem; }

/* 2x2 feature grid */
body.page-home .hp-feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; }
body.page-home .hp-feat-cell {
  border-radius: var(--r-md); padding: 1rem;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 7.5rem;
}
body.page-home .hp-feat-cell--blue   { background: rgba(59,130,246,.04);  border: 1px solid rgba(59,130,246,.12); }
body.page-home .hp-feat-cell--violet { background: rgba(124,58,237,.04);  border: 1px solid rgba(124,58,237,.12); }

body.page-home .hp-feat-cell__icon {
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: .5rem;
}
body.page-home .hp-feat-cell__icon--blue   { background: rgba(59,130,246,.08);  color: var(--brand-600); }
body.page-home .hp-feat-cell__icon--violet { background: rgba(124,58,237,.08);  color: #7c3aed; }
body.page-home .hp-feat-cell__title { font-size: .875rem; font-weight: 600; color: var(--gray-900); }


/* ═══════════════════════════════════════════════
   SOLUTIONS — White (#fff)
   ═══════════════════════════════════════════════ */
body.page-home .hp-solutions { padding-block: 4.5rem; background: #fff; }

body.page-home .hp-sol-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}

body.page-home .hp-sol-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start;
}
@media (max-width: 1023px) { body.page-home .hp-sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { body.page-home .hp-sol-grid { grid-template-columns: 1fr; } }

body.page-home .hp-sol-hidden { display: none !important; }

/* Controls */
body.page-home .hp-sol-controls { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

body.page-home .hp-sol-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  border: 1px solid var(--gray-200); background: #fff;
  color: var(--gray-500); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .15s;
}
body.page-home .hp-sol-btn:hover:not(:disabled) {
  color: var(--brand-600); border-color: var(--brand-500);
  background: rgba(59,130,246,.05); transform: scale(1.08);
}
body.page-home .hp-sol-btn:disabled { opacity: .3; cursor: default; }

body.page-home .hp-sol-dots { display: flex; align-items: center; gap: .5rem; }
body.page-home .hp-sol-dot {
  width: .5rem; height: .5rem; border-radius: 9999px;
  background: var(--gray-300); border: none; cursor: pointer;
  transition: background .3s, width .3s; padding: 0;
}
body.page-home .hp-sol-dot--active { background: var(--brand-500); width: 1.5rem; }

/* Solution card */
body.page-home .hp-sol-card {
  background: #fff; border-radius: var(--r-lg); padding: 2rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s; cursor: default;
}
body.page-home .hp-sol-card:hover { transform: translateY(-6px); }

body.page-home .hp-sol-card--blue   { border: 1px solid rgba(59,130,246,.18); }
body.page-home .hp-sol-card--blue:hover   { box-shadow: 0 24px 56px rgba(59,130,246,.1); }
body.page-home .hp-sol-card--violet { border: 1px solid rgba(124,58,237,.18); }
body.page-home .hp-sol-card--violet:hover { box-shadow: 0 24px 56px rgba(124,58,237,.1); }
body.page-home .hp-sol-card--amber  { border: 1px solid rgba(245,158,11,.18); }
body.page-home .hp-sol-card--amber:hover  { box-shadow: 0 24px 56px rgba(245,158,11,.1); }
body.page-home .hp-sol-card--green  { border: 1px solid rgba(16,185,129,.18); }
body.page-home .hp-sol-card--green:hover  { box-shadow: 0 24px 56px rgba(16,185,129,.1); }
body.page-home .hp-sol-card--rose   { border: 1px solid rgba(244,63,94,.18); }
body.page-home .hp-sol-card--rose:hover   { box-shadow: 0 24px 56px rgba(244,63,94,.1); }

body.page-home .hp-sol-card__icon {
  width: 3rem; height: 3rem; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: .75rem;
}
body.page-home .hp-sol-card__icon--blue   { background: rgba(59,130,246,.08);   border: 1px solid rgba(59,130,246,.2);   color: var(--brand-600); }
body.page-home .hp-sol-card__icon--violet { background: rgba(124,58,237,.08);   border: 1px solid rgba(124,58,237,.2);   color: #7c3aed; }
body.page-home .hp-sol-card__icon--amber  { background: rgba(245,158,11,.08);   border: 1px solid rgba(245,158,11,.2);   color: #b45309; }
body.page-home .hp-sol-card__icon--green  { background: rgba(16,185,129,.08);   border: 1px solid rgba(16,185,129,.2);   color: #047857; }
body.page-home .hp-sol-card__icon--rose   { background: rgba(244,63,94,.08);    border: 1px solid rgba(244,63,94,.2);    color: #be123c; }

body.page-home .hp-sol-card__num {
  position: absolute; top: 1.25rem; right: 1.5rem;
  font-size: 4.5rem; font-weight: 900; line-height: 1;
  color: rgba(0,0,0,.04); letter-spacing: -.05em;
  user-select: none; font-style: italic;
}

body.page-home .hp-sol-card__heading { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
body.page-home .hp-sol-card__body    { font-size: .875rem; color: var(--gray-600); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
body.page-home .hp-sol-card__tags    { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }


/* ═══════════════════════════════════════════════
   EXPERTS — Gray (#f8fafc)
   ═══════════════════════════════════════════════ */
body.page-home .hp-experts { padding-block: 4.5rem; background: var(--gray-50); }

body.page-home .hp-experts__row {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { body.page-home .hp-experts__row { grid-template-columns: repeat(3, 1fr); } }

body.page-home .hp-experts__title-nowrap { white-space: nowrap; }

body.page-home .hp-ecard {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 2rem; display: block; width: 100%; box-shadow: var(--shadow-sm);
  transition: transform .3s, border-color .3s, box-shadow .3s; cursor: pointer;
  text-decoration: none;
}
body.page-home .hp-ecard:hover { transform: translateY(-5px); border-color: rgba(124,58,237,.25); box-shadow: 0 20px 42px rgba(124,58,237,.08); }

body.page-home .hp-ecard__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
body.page-home .hp-ecard__avatar {
  width: 4rem; height: 4rem; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 900; flex-shrink: 0;
}
body.page-home .hp-ecard__avatar--violet { background: rgba(124,58,237,.08);  border: 1px solid rgba(124,58,237,.18);  color: #7c3aed; }
body.page-home .hp-ecard__avatar--amber  { background: rgba(245,158,11,.08);  border: 1px solid rgba(245,158,11,.18);  color: #b45309; }
body.page-home .hp-ecard__avatar--blue   { background: rgba(59,130,246,.08);  border: 1px solid rgba(59,130,246,.18);  color: var(--brand-600); }

body.page-home .hp-ecard__name  { font-weight: 700; color: var(--gray-900); }
body.page-home .hp-ecard__title { font-size: .875rem; color: var(--gray-500); }
body.page-home .hp-ecard__pill  { margin-bottom: 1rem; display: inline-block; }
body.page-home .hp-ecard__body  { font-size: .875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 1rem; }

body.page-home .hp-ecard__insight { padding: .75rem; border-radius: var(--r-md); font-size: .75rem; margin-top: auto; }
body.page-home .hp-ecard__insight--violet { background: rgba(124,58,237,.05); border: 1px solid rgba(124,58,237,.12); color: #7c3aed; }
body.page-home .hp-ecard__insight--amber  { background: rgba(245,158,11,.05); border: 1px solid rgba(245,158,11,.12); color: #b45309; }
body.page-home .hp-ecard__insight--blue   { background: rgba(59,130,246,.05); border: 1px solid rgba(59,130,246,.12); color: var(--brand-600); }


/* ═══════════════════════════════════════════════
   PARTNERS — White (#fff)
   ═══════════════════════════════════════════════ */
body.page-home .hp-partners { padding-block: 4.5rem; background: #fff; }

body.page-home .hp-cat-label {
  text-align: center; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; font-weight: 500; color: var(--gray-500); margin-bottom: 1.5rem;
}
body.page-home .hp-cat-label--mt { margin-top: 1.5rem; }

/* Slider */
body.page-home .hp-slider-wrap { position: relative; }
body.page-home .hp-slider-wrap:hover .hp-slider-btn { opacity: 1; }

body.page-home .hp-slider-btn {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 20;
  width: 2.5rem; height: 6rem; border-radius: 9999px;
  background: rgba(255,255,255,.8); border: 1px solid var(--gray-200);
  backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); opacity: 0; box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: opacity .5s, color .2s, background .2s, border-color .2s; cursor: pointer;
}
body.page-home .hp-slider-btn:hover { color: var(--brand-600); background: #fff; border-color: var(--brand-500); }
body.page-home .hp-slider-btn--prev { left: -1rem; }
body.page-home .hp-slider-btn--next { right: -1rem; }

body.page-home .hp-slider-viewport {
  overflow-x: auto; scroll-behavior: smooth; display: flex; gap: 1.25rem;
  padding-bottom: 3.5rem; scrollbar-width: none; -ms-overflow-style: none;
}
body.page-home .hp-slider-viewport::-webkit-scrollbar { display: none; }

body.page-home .hp-slider-item { flex-shrink: 0; width: 100%; }
@media (min-width:768px)  { body.page-home .hp-slider-item { width: calc(50% - 10px); } }
@media (min-width:1024px) { body.page-home .hp-slider-item { width: calc(33.333% - 14px); } }

/* Partner card */
body.page-home .hp-partcard {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 1.5rem; height: 100%; box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
body.page-home .hp-partcard:hover { border-color: var(--brand-400); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,.08); }

body.page-home .hp-partcard__header { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
body.page-home .hp-partcard__logo {
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .875rem; flex-shrink: 0;
}
body.page-home .hp-partcard__logo--blue   { background: rgba(59,130,246,.08);  border: 1px solid rgba(59,130,246,.18);  color: var(--brand-600); }
body.page-home .hp-partcard__logo--violet { background: rgba(124,58,237,.08);  border: 1px solid rgba(124,58,237,.18);  color: #7c3aed; }
body.page-home .hp-partcard__logo--amber  { background: rgba(245,158,11,.08);  border: 1px solid rgba(245,158,11,.18);  color: #b45309; }
body.page-home .hp-partcard__logo--green  { background: rgba(16,185,129,.08);  border: 1px solid rgba(16,185,129,.18);  color: #047857; }
body.page-home .hp-partcard__logo--rose   { background: rgba(244,63,94,.08);   border: 1px solid rgba(244,63,94,.18);   color: #be123c; }
body.page-home .hp-partcard__logo--teal   { background: rgba(20,184,166,.08);  border: 1px solid rgba(20,184,166,.18);  color: #0d9488; }

body.page-home .hp-partcard__name { font-size: .875rem; font-weight: 600; color: var(--gray-900); }
body.page-home .hp-partcard__meta { font-size: .75rem; color: var(--gray-500); }
body.page-home .hp-partcard__desc { font-size: .75rem; color: var(--gray-500); line-height: 1.6; }

/* Marquee */
body.page-home .hp-marquee-wrap {
  overflow: hidden; position: relative; width: 100%; margin-top: 3.5rem;
}
body.page-home .hp-marquee-wrap::before,
body.page-home .hp-marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 4rem;
  z-index: 2; pointer-events: none;
}
body.page-home .hp-marquee-wrap::before { left: 0;  background: linear-gradient(to right, #fff, transparent); }
body.page-home .hp-marquee-wrap::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }

body.page-home .hp-marquee-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: hpMarquee 20s linear infinite;
}
body.page-home .hp-marquee-track:hover { animation-play-state: paused; }

body.page-home .hp-marquee-card {
  min-width: 16.25rem; border-radius: var(--r-md); padding: 1.25rem; text-align: center;
}
body.page-home .hp-marquee-card__name { font-size: .875rem; font-weight: 600; color: var(--gray-900); margin-bottom: .25rem; }
body.page-home .hp-marquee-card__desc { font-size: .75rem; color: var(--gray-500); }


/* ═══════════════════════════════════════════════
   Keyframes
   ═══════════════════════════════════════════════ */
@keyframes hpFloatOrb {
  0%,100% { transform: translateY(0) scale(1); }
  33%     { transform: translateY(-28px) scale(1.04); }
  66%     { transform: translateY(18px) scale(.96); }
}
@keyframes hpPulse {
  0%,100% { opacity: 1; }
  50%     { opacity: .4; }
}
@keyframes hpMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
