/* ---- Reset & Base ---- */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--amber-50: #fffbeb;
	--amber-100: #fef3c7;
	--amber-200: #fde68a;
	--amber-400: #fbbf24;
	--peach-50: #fff7ed;
	--peach-100: #ffedd5;
	--peach-200: #fed7aa;
	--orange-400: #fb923c;
	--orange-500: #f97316;
	--orange-600: #ea580c;
	--warm-50: #fdf8f4;
	--warm-100: #f5ebe0;
	--warm-200: #e8ddd3;
	--stone-400: #a8a29e;
	--stone-500: #78716c;
	--stone-600: #57534e;
	--stone-800: #292524;
	--stone-900: #1c1917;
	--radius: 16px;
	--radius-sm: 10px;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--stone-800);
	background: var(--warm-50);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	opacity: 0;
	transition: opacity 0.5s ease;
}

body.loaded {
	opacity: 1;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--orange-500);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--orange-600);
}

/* ---- Hero ---- */
.hero {
	position: relative;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, var(--peach-50) 0%, var(--amber-50) 30%, var(--warm-50) 60%, var(--peach-100) 100%);
	padding: 4rem 2rem;
	overflow: hidden;
}

.hero-glow {
	position: absolute;
	top: -20%;
	right: -5%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, rgba(249, 115, 22, 0.05) 50%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.hero-content {
	position: relative;
	max-width: 960px;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 4rem;
}

.hero-text {
	flex: 1;
	animation: slideUp 0.8s ease both;
}

.app-icon-row {
	margin-bottom: 1.5rem;
}

.app-icon {
	width: 64px;
	height: 64px;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
}

h1 {
	font-size: 3rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--stone-900);
	margin-bottom: 1rem;
}

.tagline {
	font-size: 1.2rem;
	color: var(--stone-500);
	line-height: 1.5;
	margin-bottom: 0.5rem;
	max-width: 400px;
}

.subtitle {
	font-size: 0.95rem;
	color: var(--orange-400);
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 2rem;
}

/* ---- App Store Button ---- */
.app-store-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: var(--stone-900);
	color: #fff;
	padding: 0.6rem 1.25rem;
	border-radius: var(--radius-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-store-btn:hover {
	color: #fff;
	transform: scale(1.03);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.apple-logo {
	width: 18px;
	height: auto;
	flex-shrink: 0;
}

.app-store-label {
	display: flex;
	flex-direction: column;
	text-align: left;
	line-height: 1.15;
}

.app-store-small {
	font-size: 0.6rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	opacity: 0.9;
}

.app-store-large {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* ---- Phone Mockup ---- */
.hero-phone {
	flex-shrink: 0;
	animation: slideUp 0.8s ease 0.15s both;
}

.phone-frame {
	position: relative;
	width: 280px;
	border-radius: 36px;
	overflow: hidden;
	box-shadow:
		0 32px 64px rgba(249, 115, 22, 0.1),
		0 16px 32px rgba(0, 0, 0, 0.08),
		0 4px 12px rgba(0, 0, 0, 0.04);
	background: #000;
	border: 3px solid var(--warm-200);
}

.phone-frame img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Features ---- */
.features {
	padding: 5rem 2rem;
	background: linear-gradient(180deg, var(--warm-100) 0%, var(--warm-50) 100%);
	text-align: center;
}

.features h2 {
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--stone-900);
	margin-bottom: 3rem;
	letter-spacing: -0.01em;
}

.feature-grid {
	max-width: 800px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.feature-card {
	padding: 2rem 1.25rem;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-icon {
	font-size: 2rem;
	margin-bottom: 0.75rem;
	line-height: 1;
}

.feature-card h3 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--stone-800);
	margin-bottom: 0.5rem;
}

.feature-card p {
	font-size: 0.875rem;
	color: var(--stone-500);
	line-height: 1.55;
}

/* ---- Footer ---- */
footer {
	padding: 2.5rem 2rem;
	text-align: center;
	background: var(--warm-50);
	border-top: 1px solid var(--warm-200);
}

.footer-content {
	max-width: 600px;
	margin: 0 auto;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.footer-links a {
	font-size: 0.875rem;
	color: var(--stone-500);
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--orange-500);
}

.copyright {
	font-size: 0.8rem;
	color: var(--stone-400);
}

/* ---- Animations ---- */
@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in:nth-child(2) {
	transition-delay: 0.1s;
}

.fade-in:nth-child(3) {
	transition-delay: 0.2s;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	.hero {
		padding: 3rem 1.5rem;
		min-height: auto;
	}

	.hero-glow {
		width: 300px;
		height: 300px;
		top: -10%;
		right: -10%;
	}

	.hero-content {
		flex-direction: column-reverse;
		text-align: center;
		gap: 2.5rem;
	}

	.hero-text {
		align-items: center;
		display: flex;
		flex-direction: column;
	}

	.tagline {
		text-align: center;
	}

	h1 {
		font-size: 2.25rem;
	}

	.tagline {
		font-size: 1.1rem;
	}

	.phone-frame {
		width: 220px;
	}

	.feature-grid {
		grid-template-columns: 1fr;
		max-width: 360px;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 1.875rem;
	}

	.tagline {
		font-size: 1rem;
	}

	.phone-frame {
		width: 200px;
	}

	.features {
		padding: 3rem 1.5rem;
	}
}
