/* ---- Reset & Base ---- */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--cyan-50: #ecfeff;
	--cyan-100: #cffafe;
	--cyan-200: #a5f3fc;
	--cyan-400: #22d3ee;
	--cyan-500: #06b6d4;
	--cyan-600: #0891b2;
	--cool-50: #f0f4f8;
	--cool-100: #e2e8f0;
	--cool-200: #d0d8e2;
	--slate-50: #f8fafc;
	--slate-100: #f1f5f9;
	--slate-200: #e2e8f0;
	--slate-400: #94a3b8;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-800: #1e293b;
	--slate-900: #0f172a;
	--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(--slate-200);
	background: #111116;
	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(--cyan-400);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--cyan-200);
}

/* ---- Hero ---- */
.hero {
	position: relative;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #111116;
	padding: 4rem 2rem;
	overflow: hidden;
}

.hero-glow {
	position: absolute;
	top: -20%;
	right: -5%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
	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(6, 182, 212, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
}

h1 {
	font-size: 3rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #f0f0f2;
	margin-bottom: 1rem;
}

.tagline {
	font-size: 1.2rem;
	color: var(--slate-400);
	line-height: 1.5;
	margin-bottom: 0.5rem;
	max-width: 400px;
}

.subtitle {
	font-size: 0.95rem;
	color: var(--cyan-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: rgba(255, 255, 255, 0.08);
	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.15);
}

.app-store-btn:hover {
	color: #fff;
	transform: scale(1.03);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.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(6, 182, 212, 0.06),
		0 16px 32px rgba(0, 0, 0, 0.3),
		0 4px 12px rgba(0, 0, 0, 0.2);
	background: #000;
	border: 3px solid rgba(255, 255, 255, 0.1);
}

.phone-frame img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Features ---- */
.features {
	padding: 5rem 2rem;
	background: linear-gradient(180deg, #16161c 0%, #111116 100%);
	text-align: center;
}

.features h2 {
	font-size: 1.75rem;
	font-weight: 600;
	color: #f0f0f2;
	margin-bottom: 3rem;
	letter-spacing: -0.01em;
}

.features h2 a {
	color: var(--cyan-400);
}

.features h2 a:hover {
	color: var(--cyan-200);
}

.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.04);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(6, 182, 212, 0.06), 0 2px 8px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 255, 255, 0.12);
}

.feature-icon {
	font-size: 2rem;
	margin-bottom: 0.75rem;
	line-height: 1;
}

.feature-card h3 {
	font-size: 1rem;
	font-weight: 600;
	color: #f0f0f2;
	margin-bottom: 0.5rem;
}

.feature-card p {
	font-size: 0.875rem;
	color: var(--slate-500);
	line-height: 1.55;
}

.read-more {
	margin-top: 2rem;
	font-size: 0.95rem;
}

.read-more a {
	color: var(--cyan-400);
	font-weight: 500;
}

.read-more a:hover {
	color: var(--cyan-200);
}

/* ---- Footer ---- */
footer {
	padding: 2.5rem 2rem;
	text-align: center;
	background: #111116;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.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(--slate-500);
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--cyan-400);
}

.copyright {
	font-size: 0.8rem;
	color: var(--slate-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;
	}
}
