/**
 * YNDJ Theme — Homepage Styles
 * assets/css/pages/home.css
 *
 * Homepage-only components. Depends on marketing.css for shared mk- classes.
 * Uses hp- prefix for page-specific classes.
 */


/* ── Hero: decorative vertical line ────────────────────────── */
.mk-home .mk-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 28%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,147,58,0.15), transparent);
  pointer-events: none;
}

/* ── Hero: inner grid ──────────────────────────────────────── */
.hp-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}


/* ── Hero Card Children (stats) ────────────────────────────── */
.hp-hero-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yndj-gold);
  margin-bottom: 20px;
}

.hp-stat-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hp-stat-row:last-child { border-bottom: none; }

.hp-stat-num {
  font-family: var(--yndj-font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--yndj-gold-light);
  line-height: 1;
  min-width: 90px;
}

.hp-stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.hp-stat-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

.hp-hero-card-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 22px 0;
}

.hp-hero-card-cta {
  display: block;
  text-align: center;
  background: rgba(201,147,58,0.1);
  border: 1px solid var(--yndj-border);
  border-radius: 8px;
  padding: 14px;
  color: var(--yndj-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.hp-hero-card-cta:hover {
  background: rgba(201,147,58,0.18);
  color: var(--yndj-white);
}


/* ── Platform Feature Cards ────────────────────────────────── */
.hp-platform {
  background: var(--yndj-cream);
}

.hp-platform .mk-section-body {
  margin-bottom: 56px;
}

.hp-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hp-feat-card {
  background: var(--yndj-white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.hp-feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yndj-gold), var(--yndj-gold-light));
  opacity: 0;
  transition: opacity 0.2s;
}

.hp-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--yndj-shadow-card);
}

.hp-feat-card:hover::before { opacity: 1; }

.hp-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hp-feat-icon--blue   { background: rgba(52,152,219,0.1); color: #2176ae; }
.hp-feat-icon--gold   { background: var(--yndj-gold-pale); color: var(--yndj-gold); }
.hp-feat-icon--navy   { background: rgba(13,31,60,0.08); color: var(--yndj-navy); }
.hp-feat-icon--purple { background: rgba(155,89,182,0.1); color: #7b3fa0; }

.hp-feat-card h3 {
  font-family: var(--yndj-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yndj-navy);
  margin-bottom: 10px;
}

.hp-feat-card p {
  font-size: 0.9rem;
  color: var(--yndj-muted);
  line-height: 1.7;
}


/* ── How It Works ──────────────────────────────────────────── */
.hp-how {
  background: var(--yndj-cream);
}

.hp-how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hp-how-steps { margin-top: 40px; }

.hp-how-step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.hp-how-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hp-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yndj-navy);
  color: var(--yndj-gold-light);
  font-family: var(--yndj-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-step-title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--yndj-navy);
  margin-bottom: 6px;
}

.hp-step-body {
  font-size: 0.87rem;
  color: var(--yndj-muted);
  line-height: 1.65;
}

.hp-how-visual {
  background: var(--yndj-navy);
  border-radius: 20px;
  padding: 44px 40px;
  color: var(--yndj-white);
}

.hp-how-visual-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yndj-gold);
  margin-bottom: 24px;
}

.hp-ch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
  transition: background 0.2s;
  cursor: default;
}

.hp-ch-row:hover {
  background: rgba(201,147,58,0.08);
  border-color: rgba(201,147,58,0.2);
}

.hp-ch-left { display: flex; align-items: center; gap: 12px; }

.hp-ch-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--yndj-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 24px;
}

.hp-ch-title {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.82);
}

.hp-ch-count {
  font-size: 0.72rem;
  color: var(--yndj-gold);
  font-weight: 600;
  background: rgba(201,147,58,0.1);
  border-radius: 100px;
  padding: 2px 8px;
  white-space: nowrap;
}

.hp-how-visual-footer {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hp-how-visual-footer span { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.hp-how-visual-footer strong { color: var(--yndj-gold-light); }


/* ── Audience Cards ────────────────────────────────────────── */
.hp-audience {
  background: var(--yndj-cream);
}

.hp-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.hp-audience-card {
  background: var(--yndj-white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.2s;
  position: relative;
}

.hp-audience-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--yndj-gold), var(--yndj-gold-light));
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.hp-audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.hp-audience-card:hover::after { opacity: 1; }

.hp-audience-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.hp-audience-card h3 {
  font-family: var(--yndj-font-display);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--yndj-navy);
  margin-bottom: 8px;
}

.hp-audience-card p {
  font-size: 0.83rem;
  color: var(--yndj-muted);
  line-height: 1.65;
}


/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hp-hero-inner { grid-template-columns: 1fr; }
  .hp-how-inner { grid-template-columns: 1fr; }
  .hp-feat-grid { grid-template-columns: 1fr; }
  .hp-audience-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hp-audience-grid { grid-template-columns: 1fr; }
}
