/**
 * SiliconTrendz homepage — green theme with neon accents.
 */

:root {
	--stz-shadow: 0 2px 12px rgba(13, 80, 30, 0.10);
	--stz-shadow-hover: 0 8px 32px rgba(13, 80, 30, 0.22);
}

.stz-home {
	background: var(--stz-white);
	color: var(--stz-text-dark);
}

.stz-section {
	padding: 64px 0;
}

.stz-section-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.stz-section-alt {
	background: var(--stz-green-pale);
}

.stz-section__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--stz-green);
	margin-bottom: 6px;
}

.stz-section__title {
	font-family: var(--stz-font-display);
	font-size: 34px;
	font-weight: 900;
	color: var(--stz-text-dark);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin-bottom: 32px;
}

/* Hero Section */
.stz-hero {
	display: grid;
	grid-template-columns: 55% 45%;
	min-height: 520px;
	background: var(--stz-green-dark);
}

.stz-hero__left {
	padding: 64px 56px 64px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 22px;
}

.stz-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
}

.stz-hero__eyebrow-line {
	width: 28px;
	height: 2px;
	background: var(--stz-green-neon);
}

.stz-hero__eyebrow-text {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--stz-green-neon);
}

.stz-hero__title {
	font-family: var(--stz-font-display);
	font-size: 64px;
	font-weight: 900;
	color: white;
	line-height: 1.0;
	text-transform: uppercase;
	margin: 0;
}

.stz-hero__title em {
	color: var(--stz-green-neon);
	font-style: normal;
}

.stz-hero__sub {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.58);
	max-width: 420px;
	line-height: 1.65;
	margin: 0;
}

.stz-hero__right {
	position: relative;
	overflow: hidden;
}

.stz-hero__right img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.6) saturate(1.1);
}

.stz-hero__right-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--stz-green-dark) 0%, transparent 45%);
}

.stz-hero__badge {
	position: absolute;
	bottom: 24px;
	right: 24px;
	background: var(--stz-green-neon);
	color: var(--stz-green-dark);
	padding: 8px 16px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 2px;
}

/* Hero Buttons */
.stz-btn-lg {
	background: var(--stz-green-neon);
	color: var(--stz-green-dark);
	font-family: var(--stz-font-display);
	font-size: 16px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 16px 32px;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
	text-decoration: none;
}

.stz-btn-lg:hover {
	background: var(--stz-green-neon2);
	transform: translateY(-2px);
	box-shadow: 0 0 28px rgba(57, 255, 106, 0.55);
}

/* Picks Grid (Editor's Picks) */
.stz-picks-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 24px;
}

.stz-pick-large {
	background: var(--stz-white);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: var(--stz-shadow);
	transition: box-shadow 0.25s, transform 0.2s;
	display: block;
	text-decoration: none;
}

.stz-pick-large:hover {
	box-shadow: var(--stz-shadow-hover);
	transform: translateY(-2px);
}

.stz-pick-large img {
	height: 280px;
	width: 100%;
	object-fit: cover;
}

.stz-pick-large-body {
	padding: 24px;
}

.stz-pick-large__title {
	font-family: var(--stz-font-display);
	font-size: 23px;
	font-weight: 800;
	color: var(--stz-text-dark);
	line-height: 1.2;
	text-transform: uppercase;
	margin: 8px 0 10px;
}

.stz-pick-small-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.stz-pick-small {
	background: var(--stz-white);
	border-radius: 6px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 100px 1fr;
	box-shadow: var(--stz-shadow);
	transition: box-shadow 0.25s;
}

.stz-pick-small:hover {
	box-shadow: var(--stz-shadow-hover);
}

.stz-pick-small img {
	height: 100%;
	min-height: 90px;
	object-fit: cover;
}

.stz-pick-small-body {
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.stz-pick-small__title {
	font-family: var(--stz-font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--stz-text-dark);
	line-height: 1.2;
	text-transform: uppercase;
}

/* Card Tag */
.stz-card-tag {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--stz-green);
	margin-bottom: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* Read More Link */
.stz-read-more {
	font-size: 12px;
	font-weight: 800;
	color: var(--stz-green);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	text-decoration: none;
}

.stz-read-more:hover {
	text-decoration: underline;
}

/* Card Description */
.stz-card-desc {
	font-size: 14px;
	color: var(--stz-text-muted);
	line-height: 1.6;
}

/* Card Meta */
.stz-card-meta {
	font-size: 12px;
	color: var(--stz-text-light);
}

/* Best Tools Grid */
.stz-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.stz-card {
	background: var(--stz-white);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: var(--stz-shadow);
	transition: box-shadow 0.25s, transform 0.2s;
	display: flex;
	flex-direction: column;
}

.stz-card:hover {
	box-shadow: var(--stz-shadow-hover);
	transform: translateY(-3px);
}

.stz-card img {
	height: 190px;
	width: 100%;
	object-fit: cover;
}

.stz-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
}

.stz-card__title-lg {
	font-family: var(--stz-font-display);
	font-size: 22px;
	font-weight: 800;
	color: var(--stz-text-dark);
	line-height: 1.15;
	text-transform: uppercase;
}

/* Card CTA Button */
.stz-btn-card {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--stz-green-neon);
	color: var(--stz-green-dark);
	font-family: var(--stz-font-display);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 10px 20px;
	border-radius: 3px;
	width: fit-content;
	margin-top: 16px;
	transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
	text-decoration: none;
}

.stz-btn-card:hover {
	background: var(--stz-green-neon2);
	transform: translateY(-1px);
	box-shadow: 0 0 16px rgba(57, 255, 106, 0.4);
}

/* Topics Strip */
.stz-topics-strip {
	background: var(--stz-white);
	border-top: 1px dashed #C8E6C9;
	border-bottom: 1px dashed #C8E6C9;
	padding: 28px 0;
}

.stz-topics__header-label {
	font-size: 11px;
	color: var(--stz-text-muted);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.stz-topics__header-title {
	font-family: var(--stz-font-display);
	font-size: 24px;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--stz-text-dark);
	margin-bottom: 16px;
}

.stz-topics-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.stz-pill {
	border: 1.5px solid var(--stz-green);
	color: var(--stz-green);
	background: var(--stz-white);
	padding: 8px 20px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 20px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.18s;
	text-decoration: none;
}

.stz-pill:hover {
	background: var(--stz-green-neon);
	border-color: var(--stz-green-neon);
	color: var(--stz-green-dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(57, 255, 106, 0.35);
}

/* Articles Grid */
.stz-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.stz-article-card {
	border-radius: 6px;
	overflow: hidden;
	background: var(--stz-white);
	box-shadow: var(--stz-shadow);
	transition: box-shadow 0.25s, transform 0.2s;
	display: block;
	text-decoration: none;
}

.stz-article-card:hover {
	box-shadow: var(--stz-shadow-hover);
	transform: translateY(-3px);
}

.stz-article-card img {
	height: 200px;
	width: 100%;
	object-fit: cover;
}

.stz-article-body {
	padding: 20px;
}

.stz-article__title {
	font-family: var(--stz-font-display);
	font-size: 19px;
	font-weight: 700;
	color: var(--stz-text-dark);
	line-height: 1.25;
	text-transform: uppercase;
	margin: 8px 0 10px;
	transition: color 0.2s;
}

.stz-article-card:hover .stz-article__title {
	color: var(--stz-green);
}

.stz-article__meta {
	font-size: 12px;
	color: var(--stz-text-light);
	font-style: italic;
}

/* Newsletter Section */
.stz-newsletter {
	background: var(--stz-green-dark);
	padding: 72px 0;
	position: relative;
	overflow: hidden;
}

.stz-newsletter::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(57, 255, 106, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.stz-newsletter__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 48px;
}

.stz-newsletter__eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--stz-green-neon);
	margin-bottom: 10px;
}

.stz-newsletter__title {
	font-family: var(--stz-font-display);
	font-size: 40px;
	font-weight: 900;
	color: white;
	text-transform: uppercase;
	line-height: 1.05;
	margin: 0 0 12px;
}

.stz-newsletter__sub {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.42);
	margin: 0;
}

.stz-newsletter__form {
	display: flex;
	margin-top: 4px;
}

.stz-newsletter__input {
	flex: 1;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(57, 255, 106, 0.25);
	border-right: none;
	color: white;
	padding: 0 18px;
	font-size: 15px;
	height: 52px;
	border-radius: 3px 0 0 3px;
	outline: none;
	transition: border-color 0.2s;
}

.stz-newsletter__input::placeholder {
	color: rgba(255, 255, 255, 0.28);
}

.stz-newsletter__input:focus {
	border-color: var(--stz-green-neon);
}

.stz-newsletter__btn {
	background: var(--stz-green-neon);
	color: var(--stz-green-dark);
	border: none;
	padding: 0 28px;
	font-family: var(--stz-font-display);
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	height: 52px;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
	transition: background 0.15s, box-shadow 0.15s;
}

.stz-newsletter__btn:hover {
	background: var(--stz-green-neon2);
	box-shadow: 0 0 20px rgba(57, 255, 106, 0.5);
}

.stz-newsletter__note {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.22);
	margin-top: 10px;
}

/* Fade Up Animation */
.stz-fade-up {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.stz-fade-up.stz-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Grid Layouts */
.stz-grid {
	display: grid;
	gap: 24px;
}

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

.stz-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.stz-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* Buttons */
.stz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.35rem;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.stz-btn--primary {
	background: var(--stz-green-neon);
	color: var(--stz-green-dark) !important;
}

.stz-btn--primary:hover,
.stz-btn--primary:focus-visible {
	background: var(--stz-green-neon2);
	color: var(--stz-green-dark) !important;
}

.stz-btn--outline {
	background: transparent;
	color: var(--stz-green) !important;
	border-color: var(--stz-green);
}

.stz-btn--outline:hover,
.stz-btn--outline:focus-visible {
	background: rgba(40, 167, 69, 0.08);
	color: var(--stz-green-mid) !important;
}

.stz-btn--sm {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

/* Post Cards (for latest articles) */
.stz-post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--stz-border);
	border-radius: 6px;
	overflow: hidden;
	background: var(--stz-white);
}

.stz-post-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f5f5f5;
}

.stz-post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.stz-post-card__body {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.stz-post-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
}

.stz-post-card__title a {
	color: var(--stz-green);
	text-decoration: none;
}

.stz-post-card__title a:hover,
.stz-post-card__title a:focus-visible {
	text-decoration: underline;
}

.stz-post-card__excerpt {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--stz-text-muted);
	flex: 1;
}

.stz-post-card__more {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
}

.stz-text-link {
	color: var(--stz-green);
	text-decoration: none;
}

.stz-text-link:hover,
.stz-text-link:focus-visible {
	text-decoration: underline;
}

/* Screen reader only */
.stz-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Responsive */
@media (max-width: 900px) {
	.stz-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.stz-hero__left {
		padding: 48px 24px;
	}

	.stz-hero__title {
		font-size: 48px;
	}

	.stz-hero__right {
		height: 300px;
	}

	.stz-picks-grid {
		grid-template-columns: 1fr;
	}

	.stz-card-grid,
	.stz-articles-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stz-newsletter__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

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

@media (max-width: 768px) {
	.stz-section {
		padding: 48px 0;
	}

	.stz-section__title {
		font-size: 28px;
		margin-bottom: 24px;
	}

	.stz-hero__title {
		font-size: 36px;
	}

	.stz-hero__sub {
		font-size: 15px;
	}

	.stz-card-grid,
	.stz-articles-grid,
	.stz-grid-2,
	.stz-grid-3,
	.stz-grid-4 {
		grid-template-columns: 1fr;
	}

	.stz-newsletter__title {
		font-size: 32px;
	}

	.stz-newsletter__form {
		flex-direction: column;
	}

	.stz-newsletter__input {
		border-radius: 3px;
		border-right: 1px solid rgba(57, 255, 106, 0.25);
	}

	.stz-newsletter__btn {
		border-radius: 3px;
		height: 48px;
	}

	.stz-topics-pills {
		gap: 8px;
	}

	.stz-pill {
		padding: 6px 14px;
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.stz-fade-up,
	.stz-fade-up * {
		transition-duration: 0.01ms !important;
	}
}