/* Homepage redesign with reusable karma web visual */
:root {
  --hp-ink: #0d0d0d;
  --hp-cream: #f5f0e8;
  --hp-warm: #ede7d8;
  --hp-gold: #d4a017;
  --hp-gold-light: #f0c842;
  --hp-navy: #10233f;
  --hp-navy-mid: #182f52;
  --hp-muted: #6b6560;
  --hp-muted-strong: #5f5953;
  --hp-border: rgba(13, 13, 13, 0.12);
  --hp-radius: 16px;
}

body.kp-landing-page {
  background: var(--hp-cream);
}

body.kp-landing-page .main-content {
  padding: 0;
}

.hp-home {
  background: var(--hp-cream);
  color: var(--hp-ink);
  overflow: hidden;
}

.hp-home [id] {
  scroll-margin-top: 95px;
}

.hp-hero {
  min-height: calc(100vh - 65px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hp-hero-left {
  padding: 5rem 4rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 35, 63, 0.08);
  border: 1px solid rgba(16, 35, 63, 0.16);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hp-navy);
  margin-bottom: 2.4rem;
  width: fit-content;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hp-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hp-gold);
  animation: hpPulse 2s ease infinite;
}

@keyframes hpPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hp-hero-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.3vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.6rem;
}

.hp-hero-title em {
  font-style: normal;
  color: var(--hp-navy);
  position: relative;
  display: inline-block;
}

.hp-hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.14em;
  height: 5px;
  border-radius: 3px;
  background: var(--hp-gold);
}

.hp-hero-sub {
  font-size: 1.06rem;
  color: var(--hp-muted-strong);
  max-width: 34rem;
  margin: 0 0 1.6rem;
}

.hp-hero-eco {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 2.4rem;
  max-width: 34rem;
}

.hp-eco-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--hp-navy);
  background: rgba(16, 35, 63, 0.06);
  border: 1px solid rgba(16, 35, 63, 0.14);
  border-radius: 50px;
  padding: 6px 14px;
}

.hp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hp-btn-primary,
.hp-btn-secondary {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.hp-btn-primary {
  background: var(--hp-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hp-btn-primary:hover {
  background: var(--hp-navy-mid);
  color: #fff;
  transform: translateY(-2px);
}

.hp-btn-secondary {
  background: transparent;
  color: var(--hp-ink);
  border: 1.5px solid var(--hp-border);
}

.hp-btn-secondary:hover {
  border-color: var(--hp-navy);
  background: rgba(16, 35, 63, 0.04);
  color: var(--hp-ink);
}

.hp-hero-right {
  position: relative;
  background: linear-gradient(160deg, var(--hp-navy) 0%, var(--hp-navy-mid) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(240, 200, 66, 0.13) 1.3px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(320px 220px at 92% 4%, #000 0%, transparent 72%);
  mask-image: radial-gradient(320px 220px at 92% 4%, #000 0%, transparent 72%);
}

#hp-karma-web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hp-stats-bar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  background: var(--hp-warm);
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
  padding: 1.6rem 2rem;
  flex-wrap: wrap;
}

.hp-stat-item {
  text-align: center;
  padding: 0 2.6rem;
}

.hp-stat-num {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--hp-navy);
}

.hp-stat-num.hp-stat-code {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.hp-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hp-muted);
  margin-top: 4px;
  max-width: 170px;
  margin-inline: auto;
  line-height: 1.35;
}

.hp-stats-divider {
  width: 1px;
  height: 44px;
  background: var(--hp-border);
  align-self: center;
}

.hp-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2.5rem;
}

.hp-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-gold);
  margin-bottom: 1rem;
}

.hp-section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--hp-gold);
  border-radius: 2px;
}

.hp-section-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
}

.hp-section-sub {
  color: var(--hp-muted-strong);
  font-size: 1rem;
  max-width: 44rem;
  margin: 0;
}

.hp-circular {
  background: linear-gradient(150deg, var(--hp-navy) 0%, var(--hp-navy-mid) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hp-circular::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(240, 200, 66, 0.11) 1.3px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(420px 300px at 6% 100%, #000 0%, transparent 74%);
  mask-image: radial-gradient(420px 300px at 6% 100%, #000 0%, transparent 74%);
}

.hp-circular .hp-section {
  position: relative;
  z-index: 1;
}

.hp-circular .hp-section-title {
  color: #fff;
}

.hp-circular .hp-section-sub {
  color: rgba(255, 255, 255, 0.72);
}

.hp-circular .hp-section-label {
  color: var(--hp-gold-light);
}

.hp-circular .hp-section-label::before {
  background: var(--hp-gold-light);
}

.hp-eco-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 2.8rem;
}

.hp-eco-flow .hp-eco-card {
  flex: 1 1 0;
}

.hp-eco-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 6px;
}

.hp-eco-arrow svg {
  width: 52px;
  height: 22px;
  display: block;
}

.hp-eco-arrow.hp-eco-arrow-out {
  padding-right: 0;
}

.hp-eco-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--hp-radius);
  padding: 26px 24px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.hp-eco-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 200, 66, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hp-eco-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(240, 200, 66, 0.15);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.hp-eco-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--hp-gold-light);
}

.hp-eco-card h3 {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 8px;
  color: #fff;
}

.hp-eco-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.hp-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 2.6rem;
}

.hp-cat-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: var(--hp-ink);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.hp-cat-card svg {
  width: 28px;
  height: 28px;
  stroke: var(--hp-navy);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}

.hp-cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow: 0 10px 26px rgba(16, 35, 63, 0.08);
  color: var(--hp-ink);
}

.hp-cat-card:hover svg {
  stroke: var(--hp-gold);
}

.hp-cat-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.hp-feat-section {
  background: var(--hp-warm);
}

.hp-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2.6rem;
}

.hp-feat-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 26px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.hp-feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(16, 35, 63, 0.08);
}

.hp-feat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hp-feat-card svg {
  width: 24px;
  height: 24px;
  stroke: var(--hp-navy);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.hp-feat-card h3 {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.hp-feat-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--hp-muted-strong);
}

.hp-soon {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-gold);
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: 50px;
  padding: 3px 9px;
  margin-left: auto;
  flex: 0 0 auto;
}

.hp-feat-closing {
  margin: 3rem auto 0;
  max-width: 46rem;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--hp-muted-strong);
  position: relative;
  padding-top: 1.8rem;
}

.hp-feat-closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--hp-gold);
}

.hp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hp-reveal.hp-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hp-hero-left {
    padding: 3.5rem 1.25rem 3rem;
  }

  .hp-hero-right {
    min-height: 420px;
  }

  .hp-eco-flow {
    flex-direction: column;
  }

  .hp-eco-arrow {
    justify-content: center;
    padding: 10px 0;
  }

  .hp-eco-arrow svg {
    transform: rotate(90deg);
  }

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

  .hp-feat-grid {
    grid-template-columns: 1fr;
  }

  .hp-section {
    padding: 4rem 1.25rem;
  }

  .hp-stat-item {
    padding: 0 1.4rem;
  }
}

@media (max-width: 768px) {
  .hp-hero-right {
    display: none;
  }

  .hp-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hp-btn-primary,
  .hp-btn-secondary {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hp-badge-dot {
    animation: none;
  }
}
