/**
 * Why Glory — rich sales/differentiator page (about-us).
 */

.glory-why {
	background:
		radial-gradient(70% 50% at 100% 0%, rgba(var(--g-accent-rgb, 176, 137, 104), 0.12), transparent 55%),
		radial-gradient(60% 40% at 0% 40%, rgba(var(--g-wine-rgb, 92, 36, 54), 0.06), transparent 50%),
		var(--g-paper, #fffdfb);
}

.glory-why .glory-lead--light {
	color: rgba(255, 255, 255, 0.88) !important;
}

.glory-why .glory-eyebrow--light {
	display: inline-block;
	color: var(--g-gold, #e6c8a8) !important;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 6px 14px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

/* Hero */
.glory-why-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 110px);
	background:
		radial-gradient(90% 80% at 85% -10%, rgba(var(--g-accent-rgb, 176, 137, 104), 0.42), transparent 55%),
		radial-gradient(60% 50% at 10% 100%, rgba(196, 92, 38, 0.28), transparent 50%),
		linear-gradient(135deg, var(--g-wine-deep, #3f1825), var(--g-wine, #5c2436) 55%, #7a3a4e);
	color: #fff;
}

.glory-why-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 -1px 0;
	height: 72px;
	background: linear-gradient(to top, var(--g-paper, #fffdfb), transparent);
	pointer-events: none;
}

.glory-why-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
}

.glory-why-hero h1 {
	font-family: var(--g-serif);
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.08;
	color: #fff !important;
	margin: 12px 0 18px;
}

.glory-why-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 28px 0 22px;
}

.glory-why-hero__actions .glory-btn-primary {
	background: linear-gradient(135deg, var(--g-gold, #b08968), #caa47f) !important;
	color: #2a1119 !important;
	border: 0;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.glory-why-hero__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.glory-why-hero__chips li {
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	animation: glory-why-chip 0.7s ease both;
}

.glory-why-hero__chips li:nth-child(2) { animation-delay: 0.08s; }
.glory-why-hero__chips li:nth-child(3) { animation-delay: 0.16s; }

@keyframes glory-why-chip {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.glory-why-section-head {
	max-width: 680px;
	margin: 0 auto 36px;
	text-align: center;
}

.glory-why-section-head h2 {
	margin: 0;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.15;
}

/* Support spotlight */
.glory-why-support {
	padding-top: clamp(40px, 6vw, 64px);
	background: transparent;
}

.glory-why-support__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(28px, 5vw, 56px);
	align-items: center;
}

.glory-why-support__copy h2 {
	margin: 0 0 14px;
	font-size: clamp(28px, 3.2vw, 40px);
}

.glory-why-support__copy > p {
	color: var(--g-muted);
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 18px;
}

.glory-why-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.glory-why-checklist li {
	position: relative;
	padding: 10px 0 10px 28px;
	border-top: 1px solid var(--g-line);
	color: var(--g-ink);
	font-size: 15px;
	font-weight: 500;
}

.glory-why-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 40% 35%, #fff 0 28%, transparent 30%),
		linear-gradient(135deg, #1a9f29, #0d7a3a);
	box-shadow: 0 0 0 3px rgba(26, 159, 41, 0.15);
}

.glory-why-support__panel {
	display: grid;
	gap: 14px;
	padding: clamp(20px, 3vw, 28px);
	border-radius: calc(var(--g-radius, 14px) + 4px);
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 242, 0.92)),
		#fff;
	border: 1px solid var(--g-line);
	box-shadow: 0 22px 48px rgba(var(--g-wine-deep-rgb, 63, 24, 37), 0.12);
}

.glory-why-support__stat {
	padding: 16px 18px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(var(--g-wine-rgb, 92, 36, 54), 0.06), rgba(var(--g-accent-rgb, 176, 137, 104), 0.12));
	border: 1px solid rgba(var(--g-wine-rgb, 92, 36, 54), 0.08);
	transition: transform 0.2s ease;
}

.glory-why-support__stat:hover {
	transform: translateX(4px);
}

.glory-why-support__num {
	display: block;
	margin-bottom: 6px;
	font-family: var(--g-serif);
	font-size: 22px;
	color: var(--g-wine, #5c2436);
}

.glory-why-support__stat p {
	margin: 0;
	color: var(--g-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Pillars */
.glory-why-pillars {
	background:
		linear-gradient(180deg, transparent, rgba(var(--g-accent-rgb, 176, 137, 104), 0.08)),
		var(--g-paper, #fffdfb);
}

.glory-why-pillars__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.glory-why-pillar {
	position: relative;
	padding: clamp(24px, 3vw, 34px);
	border-radius: calc(var(--g-radius, 14px) + 2px);
	background: #fff;
	border: 1px solid var(--g-line);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.glory-why-pillar::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
}

.glory-why-pillar--support::before { background: linear-gradient(180deg, #1a9f29, #b08968); }
.glory-why-pillar--admin::before { background: linear-gradient(180deg, #c45c26, #5c2436); }
.glory-why-pillar--ai::before { background: linear-gradient(180deg, #0070ba, #5c2436); }
.glory-why-pillar--astro::before { background: linear-gradient(180deg, #b08968, #3f1825); }

.glory-why-pillar:hover {
	transform: translateY(-5px);
	box-shadow: 0 22px 40px rgba(var(--g-wine-deep-rgb, 63, 24, 37), 0.12);
}

.glory-why-pillar__idx {
	display: block;
	margin-bottom: 12px;
	font-family: var(--g-serif);
	font-size: 20px;
	color: var(--g-gold, #b08968);
}

.glory-why-pillar h3 {
	margin: 0 0 10px;
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.2;
}

.glory-why-pillar p {
	margin: 0;
	color: var(--g-muted);
	font-size: 15px;
	line-height: 1.65;
}

/* Admin showcase */
.glory-why-admin {
	background: linear-gradient(135deg, #2a1119 0%, #3f1825 40%, #5c2436 100%);
	color: #fff;
}

.glory-why-admin__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 56px);
	align-items: center;
}

.glory-why-admin__copy .glory-eyebrow {
	color: #e6c8a8 !important;
}

.glory-why-admin__copy h2 {
	color: #fff !important;
	margin: 0 0 14px;
	font-size: clamp(28px, 3.2vw, 40px);
}

.glory-why-admin__copy > p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 22px;
}

.glory-why-admin__copy .glory-btn-primary {
	background: linear-gradient(135deg, #b08968, #caa47f) !important;
	color: #2a1119 !important;
	border: 0;
}

.glory-why-admin__window {
	border-radius: 16px;
	overflow: hidden;
	background: #1a0e12;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
	transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
	animation: glory-why-float 5s ease-in-out infinite alternate;
}

.glory-why-admin__bar {
	display: flex;
	gap: 7px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.06);
}

.glory-why-admin__bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #5c2436;
}

.glory-why-admin__bar span:nth-child(1) { background: #c45c26; }
.glory-why-admin__bar span:nth-child(2) { background: #b08968; }
.glory-why-admin__bar span:nth-child(3) { background: #1a9f29; }

.glory-why-admin__rows {
	display: grid;
	gap: 10px;
	padding: 18px;
}

.glory-why-admin__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 14px;
}

.glory-why-admin__row strong {
	color: #fff;
	font-weight: 600;
}

.glory-why-admin__row em {
	color: rgba(255, 255, 255, 0.55);
	font-style: normal;
	font-size: 12px;
}

.glory-why-admin__row.is-active {
	background: linear-gradient(135deg, rgba(176, 137, 104, 0.28), rgba(196, 92, 38, 0.18));
	border-color: rgba(176, 137, 104, 0.45);
}

@keyframes glory-why-float {
	from { transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(0); }
	to { transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(-8px); }
}

/* Feature mosaic */
.glory-why-features__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.glory-why-feature {
	padding: 22px 20px;
	border-radius: var(--g-radius, 14px);
	background: linear-gradient(180deg, #fff, #fff8f2);
	border: 1px solid var(--g-line);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glory-why-feature:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 34px rgba(var(--g-wine-deep-rgb, 63, 24, 37), 0.1);
}

.glory-why-feature:nth-child(odd) {
	background: linear-gradient(180deg, #fff, #f7faf6);
}

.glory-why-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	border-radius: 14px;
	color: var(--g-wine, #5c2436);
	background: linear-gradient(135deg, rgba(var(--g-accent-rgb, 176, 137, 104), 0.25), rgba(var(--g-wine-rgb, 92, 36, 54), 0.1));
}

.glory-why-feature h3 {
	margin: 0 0 8px;
	font-family: var(--g-sans) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--g-ink) !important;
}

.glory-why-feature p {
	margin: 0;
	color: var(--g-muted);
	font-size: 13px;
	line-height: 1.55;
}

/* Compare */
.glory-why-compare {
	background:
		radial-gradient(70% 60% at 50% 0%, rgba(var(--g-accent-rgb, 176, 137, 104), 0.14), transparent 60%),
		#fffaf7;
}

.glory-why-compare__table-wrap {
	overflow-x: auto;
	border-radius: calc(var(--g-radius, 14px) + 2px);
	border: 1px solid var(--g-line);
	background: #fff;
	box-shadow: 0 18px 40px rgba(var(--g-wine-deep-rgb, 63, 24, 37), 0.08);
}

.glory-why-compare__table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.glory-why-compare__table th,
.glory-why-compare__table td {
	padding: 16px 18px;
	text-align: left;
	font-size: 14px;
	border-bottom: 1px solid var(--g-line);
	vertical-align: top;
}

.glory-why-compare__table thead th {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: #f6f1eb;
	color: var(--g-muted);
}

.glory-why-compare__table thead th.is-glory,
.glory-why-compare__table td.is-glory {
	background: linear-gradient(180deg, rgba(var(--g-wine-rgb, 92, 36, 54), 0.08), rgba(var(--g-accent-rgb, 176, 137, 104), 0.1));
	color: var(--g-wine-deep, #3f1825);
	font-weight: 600;
}

.glory-why-compare__table tbody th {
	font-family: var(--g-sans);
	font-weight: 600;
	color: var(--g-ink);
	width: 22%;
}

.glory-why-compare__table tbody tr:last-child th,
.glory-why-compare__table tbody tr:last-child td {
	border-bottom: 0;
}

.glory-why-compare__more {
	text-align: center;
	margin: 28px 0 0;
}

/* On landing, hide the secondary "Explore Why Glory" when already linking heavily — keep it. */
.glory-landing .glory-why-support {
	padding-top: clamp(48px, 6vw, 72px);
}

.glory-why-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (prefers-reduced-motion: reduce) {
	.glory-why-hero__chips li,
	.glory-why-admin__window,
	.glory-why-pillar,
	.glory-why-feature,
	.glory-why-support__stat {
		animation: none !important;
		transition: none !important;
	}
	.glory-why-pillar:hover,
	.glory-why-feature:hover,
	.glory-why-support__stat:hover {
		transform: none;
	}
	.glory-why-admin__window {
		transform: none;
	}
}

@media (max-width: 960px) {
	.glory-why-support__grid,
	.glory-why-admin__grid,
	.glory-why-pillars__grid {
		grid-template-columns: 1fr;
	}
	.glory-why-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.glory-why-admin__window {
		transform: none;
		max-width: 520px;
		margin-inline: auto;
	}
}

@media (max-width: 560px) {
	.glory-why-features__grid {
		grid-template-columns: 1fr;
	}
}
