/**
 * Rainbow Store — About Page Styles
 *
 * @package Rainbow_Store
 * @since   2.0.0
 */

/* ── About Hero ── */
.about-hero {
	background: var(--neutral-950);
	padding: var(--size-4xl) var(--size-xl);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.about-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--rainbow-gradient);
	background-size: 400% 400%;
	animation: rainbowShift 12s ease infinite;
	opacity: 0.1;
}

.about-hero-content {
	position: relative;
	z-index: 2;
	max-width: 700px;
	margin: 0 auto;
}

.about-hero h1 {
	color: var(--white);
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin-bottom: var(--size-md);
}

.about-hero p {
	color: var(--neutral-400);
	font-size: 1.15rem;
	line-height: 1.8;
}

/* ── Timeline ── */
.timeline {
	position: relative;
	max-width: 700px;
	margin: 0 auto;
	padding: var(--size-xl) 0;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 28px;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--rainbow-gradient);
	border-radius: var(--radius-full);
}

.timeline-item {
	position: relative;
	padding-left: 70px;
	margin-bottom: var(--size-2xl);
}

.timeline-dot {
	position: absolute;
	left: 18px;
	top: 6px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 4px solid var(--white);
	box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(6n+1) .timeline-dot { background: var(--rainbow-red); }
.timeline-item:nth-child(6n+2) .timeline-dot { background: var(--rainbow-orange); }
.timeline-item:nth-child(6n+3) .timeline-dot { background: var(--rainbow-yellow); }
.timeline-item:nth-child(6n+4) .timeline-dot { background: var(--rainbow-green); }
.timeline-item:nth-child(6n+5) .timeline-dot { background: var(--rainbow-blue); }
.timeline-item:nth-child(6n+6) .timeline-dot { background: var(--rainbow-violet); }

.timeline-year {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--size-xs);
}

.timeline-item:nth-child(6n+1) .timeline-year { color: var(--rainbow-red); }
.timeline-item:nth-child(6n+2) .timeline-year { color: var(--rainbow-orange); }
.timeline-item:nth-child(6n+3) .timeline-year { color: var(--rainbow-yellow); }
.timeline-item:nth-child(6n+4) .timeline-year { color: var(--rainbow-green); }
.timeline-item:nth-child(6n+5) .timeline-year { color: var(--rainbow-blue); }
.timeline-item:nth-child(6n+6) .timeline-year { color: var(--rainbow-violet); }

.timeline-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--neutral-900);
	margin-bottom: var(--size-xs);
}

.timeline-description {
	color: var(--neutral-600);
	font-size: 0.95rem;
	line-height: 1.7;
}

/* ── Values Grid ── */
.values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--size-xl);
	max-width: 1100px;
	margin: 0 auto;
}

.value-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: var(--size-2xl) var(--size-xl);
	text-align: center;
	box-shadow: var(--shadow-md);
	transition: all var(--transition-normal);
	position: relative;
	overflow: hidden;
}

.value-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.value-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
}

.value-card:nth-child(1)::before { background: var(--rainbow-red); }
.value-card:nth-child(2)::before { background: var(--rainbow-green); }
.value-card:nth-child(3)::before { background: var(--rainbow-blue); }
.value-card:nth-child(4)::before { background: var(--rainbow-orange); }
.value-card:nth-child(5)::before { background: var(--rainbow-violet); }
.value-card:nth-child(6)::before { background: var(--rainbow-yellow); }

.value-icon {
	font-size: 2.5rem;
	margin-bottom: var(--size-md);
	display: block;
}

.value-card h3 {
	font-size: 1.15rem;
	margin-bottom: var(--size-sm);
}

.value-card p {
	font-size: 0.92rem;
	color: var(--neutral-600);
	margin: 0 auto;
}

/* ── Stats ── */
.stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--size-xl);
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.stat-item .stat-number {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(2rem, 4vw, 3rem);
	display: block;
	margin-bottom: var(--size-xs);
}

.stat-item:nth-child(1) .stat-number { color: var(--rainbow-red); }
.stat-item:nth-child(2) .stat-number { color: var(--rainbow-green); }
.stat-item:nth-child(3) .stat-number { color: var(--rainbow-blue); }
.stat-item:nth-child(4) .stat-number { color: var(--rainbow-violet); }

.stat-item .stat-label {
	font-size: 0.9rem;
	color: var(--neutral-500);
	font-weight: 500;
}

@media (max-width: 768px) {
	.stats-row { grid-template-columns: repeat(2, 1fr); }
	.values-grid { grid-template-columns: 1fr; }
}
