/**
 * MLM Homepage — Stylesheet
 *
 * Aligned with DeepDigital parent theme visual identity.
 * Full-width sections, gold accents, pill buttons, square cards.
 * Consistent vertical rhythm: 100px section padding (desktop).
 *
 * @package DeepDigital_Child
 */

/* ==========================================================================
   Layout
   ========================================================================== */

.mlm-homepage {
	font-family: inherit;
	color: var(--mlm-dark, #1f2732);
	line-height: 1.75;
}

.mlm-hp-container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 30px;
}

.mlm-hp-container--wide {
	max-width: 1200px;
}

/* ==========================================================================
   Sections — consistent 100px vertical padding
   ========================================================================== */

.mlm-hp-section {
	padding: 100px 0;
}

.mlm-hp-section:nth-child(even) {
	background-color: var(--mlm-light, #f4f4f5);
}

.mlm-hp-section__title {
	font-size: 42px;
	font-weight: 500;
	text-align: center;
	margin: 0 auto 15px;
	line-height: 1.15;
	max-width: 700px;
	text-wrap: balance;
}

.mlm-hp-section__subtitle {
	font-size: 17px;
	color: var(--mlm-grey, #7f7f7f);
	text-align: center;
	max-width: 620px;
	margin: 0 auto 50px;
	line-height: 1.75;
	font-weight: 300;
}

/* ==========================================================================
   Hero — dark theme, full-width
   ========================================================================== */

.mlm-hp-hero {
	padding: 200px 0 100px;
	text-align: center;
	background: var(--mlm-dark, #1f2732);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.mlm-hp-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -25%;
	width: 150%;
	height: 200%;
	background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
	pointer-events: none;
}

.mlm-hp-hero__eyebrow {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	opacity: 0.6;
	margin: 0 0 20px;
	font-weight: 600;
}

.mlm-hp-hero__title {
	font-size: 50px;
	font-weight: 500;
	line-height: 1.1;
	margin: 0 0 25px;
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
}

.mlm-hp-hero__subtitle {
	font-size: 17px;
	opacity: 0.7;
	max-width: 600px;
	margin: 0 auto 40px;
	line-height: 1.75;
	color: #fff;
	font-weight: 300;
}

.mlm-hp-hero__ctas {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* Primary button in hero — gold on dark */
.mlm-hp-hero .mlm-btn-primary {
	background: var(--mlm-primary, #F2BC00);
	color: var(--mlm-dark, #1f2732);
	border-color: var(--mlm-primary, #F2BC00);
}

.mlm-hp-hero .mlm-btn-primary:hover {
	background: transparent;
	color: var(--mlm-primary, #F2BC00);
}

/* Outline button in hero — white border */
.mlm-hp-hero .mlm-btn-outline {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

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

/* ==========================================================================
   Problem Section
   ========================================================================== */

.mlm-hp-problem__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.mlm-hp-problem__item {
	text-align: center;
	padding: 40px 25px;
	background: #fff;
	box-shadow: var(--mlm-shadow, 4px 0 30px 0 rgba(0, 7, 46, 0.06));
	transition: transform 0.4s linear, box-shadow 0.4s linear;
}

.mlm-hp-problem__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--mlm-shadow-lg, 0 8px 30px rgba(0, 7, 46, 0.1));
}

.mlm-hp-problem__icon {
	font-size: 36px;
	display: block;
	margin-bottom: 20px;
	color: var(--mlm-primary, #F2BC00);
}

.mlm-hp-problem__item h3 {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 12px;
	line-height: 1.2;
}

.mlm-hp-problem__item p {
	font-size: 15px;
	color: var(--mlm-grey, #7f7f7f);
	line-height: 1.75;
	margin: 0;
	font-weight: 300;
}

/* ==========================================================================
   Offers Grid (4 cards)
   ========================================================================== */

.mlm-hp-offers__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.mlm-hp-offer-card {
	background: #fff;
	box-shadow: var(--mlm-shadow, 4px 0 30px 0 rgba(0, 7, 46, 0.06));
	padding: 35px 25px 30px;
	position: relative;
	display: flex;
	flex-direction: column;
	transition: transform 0.4s linear, box-shadow 0.4s linear;
	border-top: 4px solid transparent;
}

.mlm-hp-offer-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--mlm-shadow-lg, 0 8px 30px rgba(0, 7, 46, 0.1));
}

.mlm-hp-offer--audit   { border-top-color: #1565c0; }
.mlm-hp-offer--template { border-top-color: var(--mlm-success, #77AE39); }
.mlm-hp-offer--funnel  { border-top-color: #7b1fa2; }
.mlm-hp-offer--growth  { border-top-color: var(--mlm-primary, #F2BC00); }

.mlm-hp-offer-card__badge {
	display: inline-block;
	padding: 4px 14px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: var(--mlm-radius-pill, 50px);
	margin-bottom: 18px;
	align-self: flex-start;
}

.mlm-hp-offer--audit .mlm-hp-offer-card__badge   { background: #e3f2fd; color: #1565c0; }
.mlm-hp-offer--template .mlm-hp-offer-card__badge { background: rgba(var(--colorMain2RGB, 119, 174, 57), 0.15); color: #4a7c10; }
.mlm-hp-offer--funnel .mlm-hp-offer-card__badge  { background: #f3e5f5; color: #7b1fa2; }
.mlm-hp-offer--growth .mlm-hp-offer-card__badge  { background: rgba(var(--colorMainRGB, 242, 188, 0), 0.15); color: #b8860b; }

.mlm-hp-offer-card__title {
	font-size: 22px;
	font-weight: 500;
	margin: 0 0 10px;
	line-height: 1.2;
}

.mlm-hp-offer-card__desc {
	font-size: 14px;
	color: var(--mlm-grey, #7f7f7f);
	line-height: 1.6;
	margin-bottom: 18px;
	font-weight: 300;
}

.mlm-hp-offer-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	flex-grow: 1;
}

.mlm-hp-offer-card__features li {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 8px;
	color: var(--mlm-grey, #7f7f7f);
	font-weight: 300;
}

.mlm-hp-offer-card__features li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--mlm-success, #77AE39);
	font-weight: 700;
}

.mlm-hp-offer-card__price {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 18px;
	color: var(--mlm-dark, #1f2732);
	white-space: nowrap;
	text-align: center;
}

.mlm-hp-offer-card__price del {
	font-size: 15px;
	color: var(--mlm-grey, #7f7f7f);
	font-weight: 300;
}

.mlm-hp-offer-card__price ins {
	text-decoration: none;
}

.mlm-hp-offer-card__price-note {
	font-size: 14px;
	font-weight: 300;
	color: var(--mlm-grey, #7f7f7f);
}

.mlm-hp-offer-card .mlm-btn {
	margin-top: auto;
	padding: 14px 16px;
	font-size: 10px;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

/* ==========================================================================
   Process Steps
   ========================================================================== */

.mlm-hp-process__steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	margin-top: 50px;
}

.mlm-hp-process__step {
	text-align: center;
	flex: 0 1 200px;
	padding: 0 10px;
}

.mlm-hp-process__number {
	width: 52px;
	height: 52px;
	line-height: 52px;
	border-radius: 50%;
	background: var(--mlm-primary, #F2BC00);
	color: var(--mlm-dark, #1f2732);
	font-size: 20px;
	font-weight: 700;
	margin: 0 auto 18px;
}

.mlm-hp-process__step h3 {
	font-size: 17px;
	font-weight: 500;
	margin-bottom: 8px;
}

.mlm-hp-process__step p {
	font-size: 14px;
	color: var(--mlm-grey, #7f7f7f);
	line-height: 1.6;
	margin: 0;
	font-weight: 300;
}

.mlm-hp-process__connector {
	flex: 0 0 50px;
	height: 2px;
	background: var(--mlm-border, #dedfe1);
	margin-top: 25px;
}

/* ==========================================================================
   Packs Section
   ========================================================================== */

.mlm-hp-packs__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.mlm-hp-pack-card {
	background: #fff;
	border: 2px solid var(--mlm-border, #dedfe1);
	padding: 30px 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.4s linear, transform 0.4s linear, border-color 0.4s linear;
}

.mlm-hp-pack-card:hover {
	box-shadow: var(--mlm-shadow, 4px 0 30px 0 rgba(0, 7, 46, 0.06));
	transform: translateY(-3px);
	border-color: var(--mlm-primary, #F2BC00);
}

.mlm-hp-pack-card__title {
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 5px;
}

.mlm-hp-pack-card__desc {
	font-size: 12px;
	color: var(--mlm-grey, #7f7f7f);
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	flex-grow: 1;
}

.mlm-hp-pack-card__price {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 18px;
	white-space: nowrap;
}

.mlm-hp-pack-card__price del {
	font-size: 14px;
	color: var(--mlm-grey, #7f7f7f);
	font-weight: 300;
}

.mlm-hp-pack-card__price ins {
	text-decoration: none;
}

/* ==========================================================================
   Trust Section
   ========================================================================== */

.mlm-hp-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.mlm-hp-trust__item {
	text-align: center;
	padding: 25px 15px;
}

.mlm-hp-trust__icon {
	font-size: 36px;
	margin-bottom: 18px;
	display: block;
	color: var(--mlm-primary, #F2BC00);
}

.mlm-hp-trust__item h3 {
	font-size: 17px;
	font-weight: 500;
	margin-bottom: 8px;
}

.mlm-hp-trust__item p {
	font-size: 14px;
	color: var(--mlm-grey, #7f7f7f);
	line-height: 1.6;
	margin: 0;
	font-weight: 300;
}

/* ==========================================================================
   Final CTA — dark theme, full-width
   ========================================================================== */

.mlm-hp-final-cta {
	background: var(--mlm-dark, #1f2732) !important;
	color: #fff;
	text-align: center;
	padding: 100px 0;
}

.mlm-hp-final-cta__title {
	font-size: 42px;
	font-weight: 500;
	margin: 0 0 18px;
	color: #fff;
	line-height: 1.15;
}

.mlm-hp-final-cta__text {
	font-size: 17px;
	opacity: 0.7;
	max-width: 580px;
	margin: 0 auto 35px;
	line-height: 1.75;
	color: #fff;
	font-weight: 300;
}

.mlm-hp-final-cta__buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.mlm-hp-final-cta .mlm-btn-primary {
	background: var(--mlm-primary, #F2BC00);
	color: var(--mlm-dark, #1f2732);
	border-color: var(--mlm-primary, #F2BC00);
}

.mlm-hp-final-cta .mlm-btn-primary:hover {
	background: transparent;
	color: var(--mlm-primary, #F2BC00);
}

.mlm-hp-final-cta .mlm-btn-outline {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.mlm-hp-final-cta .mlm-btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}

/* ==========================================================================
   Responsive — Tablet (max 1199px)
   ========================================================================== */

@media (max-width: 1199px) {
	.mlm-hp-offers__grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

/* ==========================================================================
   Responsive — Small tablet (max 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
	.mlm-hp-hero__title {
		font-size: 42px;
	}

	.mlm-hp-section__title,
	.mlm-hp-final-cta__title {
		font-size: 36px;
	}

	.mlm-hp-hero {
		padding: 160px 0 80px;
	}

	.mlm-hp-section {
		padding: 80px 0;
	}

	.mlm-hp-final-cta {
		padding: 80px 0;
	}
}

/* ==========================================================================
   Responsive — Tablet portrait (max 991px)
   ========================================================================== */

@media (max-width: 991px) {
	.mlm-hp-trust__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mlm-hp-process__steps {
		flex-wrap: wrap;
		gap: 20px;
	}

	.mlm-hp-process__connector {
		display: none;
	}

	.mlm-hp-process__step {
		flex: 0 1 45%;
	}
}

/* ==========================================================================
   Responsive — Mobile (max 767px)
   ========================================================================== */

@media (max-width: 767px) {
	.mlm-hp-hero {
		padding: 130px 0 60px;
	}

	.mlm-hp-hero__title {
		font-size: 32px;
	}

	.mlm-hp-hero__subtitle {
		font-size: 15px;
	}

	.mlm-hp-section {
		padding: 60px 0;
	}

	.mlm-hp-section__title,
	.mlm-hp-final-cta__title {
		font-size: 28px;
	}

	.mlm-hp-offers__grid,
	.mlm-hp-packs__grid,
	.mlm-hp-problem__grid,
	.mlm-hp-trust__grid {
		grid-template-columns: 1fr;
	}

	.mlm-hp-process__step {
		flex: 0 1 100%;
	}

	.mlm-hp-final-cta {
		padding: 60px 0;
	}

	.mlm-hp-container {
		padding: 0 20px;
	}
}

/* ==========================================================================
   Responsive — Small mobile (max 479px)
   ========================================================================== */

@media (max-width: 479px) {
	.mlm-hp-hero__title {
		font-size: 28px;
	}

	.mlm-hp-section__title,
	.mlm-hp-final-cta__title {
		font-size: 24px;
	}

	.mlm-hp-hero {
		padding: 110px 0 50px;
	}

	.mlm-hp-section {
		padding: 50px 0;
	}

	.mlm-hp-final-cta {
		padding: 50px 0;
	}

	.mlm-hp-container {
		padding: 0 15px;
	}
}
