/* ============================================
   Pawse Marketing Site — style.css
   Pure CSS, no dependencies
   ============================================ */

/* --- Custom Properties --- */
:root {
	/* Brand palette — Berry Bliss */
	--color-primary: #AD1457;
	--color-primary-deep: #880E4F;
	--color-secondary: #7B1FA2;
	--color-bg: #FCE4EC;
	--color-shell: #880E4F;
	--color-text: #3D1A28;
	--color-subtle: #8C6B78;
	--color-card: #FFFFFF;
	--color-divider: #E8D0D8;

	/* Gradient helpers */
	--gradient-hero: linear-gradient(135deg, #AD1457 0%, #7B1FA2 100%);
	--gradient-warm: linear-gradient(160deg, #FCE4EC 0%, #F8BBD0 100%);
	--gradient-phone: linear-gradient(180deg, #F8BBD0 0%, #F48FB1 50%, #AD1457 100%);

	/* Layout */
	--max-width: 1200px;
	--section-padding: 80px;
	--radius-card: 16px;
	--radius-pill: 50px;
	--radius-phone: 24px;

	/* Typography */
	--font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Dark mode --- */
@media (prefers-color-scheme: dark) {
	:root {
		--color-primary: #EC407A;
		--color-primary-deep: #AD1457;
		--color-secondary: #AB47BC;
		--color-bg: #1A1015;
		--color-shell: #1A1015;
		--color-text: #F2D6E0;
		--color-subtle: #B8909D;
		--color-card: #352028;
		--color-divider: #3D2830;

		--gradient-warm: linear-gradient(160deg, #1A1015 0%, #2A1820 100%);
		--gradient-phone: linear-gradient(180deg, #2A1820 0%, #3D2830 50%, #880E4F 100%);
	}
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-stack);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

/* --- Utility --- */
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.section-title {
	font-size: 36px;
	font-weight: 800;
	text-align: center;
	margin-bottom: 16px;
}

.section-subtitle {
	font-size: 18px;
	color: var(--color-subtle);
	text-align: center;
	max-width: 560px;
	margin: 0 auto 48px;
}

/* ============================================
   1. HERO
   ============================================ */
.hero {
	padding: var(--section-padding) 0;
	text-align: center;
	background: var(--gradient-warm);
}

.hero__icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 24px;
}

.hero__name {
	font-size: 48px;
	font-weight: 900;
	letter-spacing: -0.5px;
	margin-bottom: 8px;
}

.hero__tagline {
	font-size: 22px;
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 16px;
}

.hero__subtitle {
	font-size: 18px;
	color: var(--color-subtle);
	max-width: 520px;
	margin: 0 auto 32px;
}

/* CTA buttons */
.cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	margin-bottom: 48px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: var(--radius-pill);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
}

.btn--primary:hover {
	background: var(--color-primary-deep);
}

.btn--outline {
	background: transparent;
	color: var(--color-text);
	border-color: var(--color-divider);
}

.btn--outline:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

/* White outline variant (for gradient bg) */
.btn--white-outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.6);
}

.btn--white-outline:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: #fff;
}

/* Phone mockup */
.phone-mockup {
	width: 280px;
	height: 560px;
	margin: 0 auto;
	border-radius: var(--radius-phone);
	background: var(--gradient-phone);
	border: 3px solid var(--color-divider);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.phone-mockup__label {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-shell);
	opacity: 0.6;
}

@media (prefers-color-scheme: dark) {
	.phone-mockup {
		border-color: #3D3028;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
	}
	.phone-mockup__label {
		color: #F5E6D3;
	}
}

/* ============================================
   2. FEATURES
   ============================================ */
.features {
	padding: var(--section-padding) 0;
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.feature-card {
	background: var(--color-card);
	border: 1px solid var(--color-divider);
	border-radius: var(--radius-card);
	padding: 32px 24px;
	transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
	.feature-card:hover {
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
	}
}

.feature-card__icon {
	font-size: 40px;
	margin-bottom: 16px;
}

.feature-card__title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 8px;
}

.feature-card__desc {
	font-size: 15px;
	color: var(--color-subtle);
	line-height: 1.6;
}

/* ============================================
   3. SCREENSHOTS GALLERY
   ============================================ */
.screenshots {
	padding: var(--section-padding) 0;
	background: var(--gradient-warm);
}

.screenshots__scroll {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 8px 0 24px;
	scrollbar-width: thin;
	scrollbar-color: var(--color-divider) transparent;
}

.screenshots__scroll::-webkit-scrollbar {
	height: 6px;
}

.screenshots__scroll::-webkit-scrollbar-track {
	background: transparent;
}

.screenshots__scroll::-webkit-scrollbar-thumb {
	background: var(--color-divider);
	border-radius: 3px;
}

.screenshot-frame {
	flex: 0 0 240px;
	height: 480px;
	border-radius: var(--radius-phone);
	border: 3px solid var(--color-divider);
	background: var(--gradient-phone);
	display: flex;
	align-items: center;
	justify-content: center;
	scroll-snap-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s;
}

.screenshot-frame:first-child {
	margin-left: auto;
}

.screenshot-frame:last-child {
	margin-right: auto;
}

.screenshot-frame:hover {
	transform: scale(1.03);
}

@media (prefers-color-scheme: dark) {
	.screenshot-frame {
		border-color: #3D3028;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	}
}

.screenshot-frame__label {
	font-size: 15px;
	font-weight: 600;
	color: var(--color-shell);
	opacity: 0.6;
}

@media (prefers-color-scheme: dark) {
	.screenshot-frame__label {
		color: #F5E6D3;
	}
}

/* ============================================
   4. THEMES
   ============================================ */
.themes {
	padding: var(--section-padding) 0;
	text-align: center;
}

.themes__swatches {
	display: flex;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.swatch__circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 3px solid var(--color-divider);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.swatch--active .swatch__circle {
	border-color: var(--color-text);
	transform: scale(1.15);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.swatch__circle:hover {
	transform: scale(1.15);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.swatch__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-subtle);
}

.themes__note {
	font-size: 15px;
	color: var(--color-subtle);
}

/* ============================================
   5. BOTTOM CTA
   ============================================ */
.bottom-cta {
	padding: var(--section-padding) 0;
	background: var(--gradient-hero);
	text-align: center;
	color: #fff;
}

.bottom-cta .section-title {
	color: #fff;
}

.bottom-cta .section-subtitle {
	color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   6. FOOTER
   ============================================ */
.footer {
	background: var(--color-shell);
	color: #FDF5EC;
	padding: 48px 0 32px;
	text-align: center;
}

@media (prefers-color-scheme: dark) {
	.footer {
		background: #0F0C08;
	}
}

.footer__brand {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 4px;
}

.footer__tagline {
	font-size: 14px;
	color: rgba(253, 245, 236, 0.6);
	margin-bottom: 24px;
}

.footer__links {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-bottom: 24px;
}

.footer__link {
	font-size: 14px;
	color: rgba(253, 245, 236, 0.8);
	transition: color 0.2s;
}

.footer__link:hover {
	color: var(--color-primary);
}

.footer__copy {
	font-size: 13px;
	color: rgba(253, 245, 236, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
	:root {
		--section-padding: 64px;
	}

	.hero__name {
		font-size: 40px;
	}

	.section-title {
		font-size: 30px;
	}

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

/* Mobile */
@media (max-width: 600px) {
	:root {
		--section-padding: 48px;
	}

	.container {
		padding: 0 16px;
	}

	.hero__name {
		font-size: 34px;
	}

	.hero__tagline {
		font-size: 18px;
	}

	.hero__subtitle {
		font-size: 16px;
	}

	.section-title {
		font-size: 26px;
	}

	.section-subtitle {
		font-size: 16px;
	}

	.features__grid {
		grid-template-columns: 1fr;
	}

	.cta-group {
		flex-direction: column;
		align-items: center;
	}

	.btn {
		width: 100%;
		max-width: 300px;
		justify-content: center;
	}

	.phone-mockup {
		width: 240px;
		height: 480px;
	}

	.screenshot-frame {
		flex: 0 0 200px;
		height: 400px;
	}

	.themes__swatches {
		gap: 20px;
	}
}
