/* ===========================
   CSS Custom Properties
   =========================== */
:root {
	/* Colors */
	--primary: #10b981;
	--primary-light: #34d399;
	--primary-dark: #059669;
	--accent: #6366f1;
	--accent-light: #818cf8;

	--text: #f8fafc;
	--text-secondary: rgba(248, 250, 252, 0.7);
	--text-muted: rgba(248, 250, 252, 0.5);

	--bg-dark: #020617;
	--bg-card: rgba(15, 23, 42, 0.6);
	--bg-card-hover: rgba(30, 41, 59, 0.8);

	--border: rgba(255, 255, 255, 0.08);
	--border-light: rgba(255, 255, 255, 0.12);

	--glow-primary: rgba(16, 185, 129, 0.4);
	--glow-accent: rgba(99, 102, 241, 0.3);

	/* Spacing */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;

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

	/* Transitions */
	--transition-fast: 150ms ease;
	--transition-base: 250ms ease;
	--transition-slow: 400ms ease;

	/* Shadows */
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
	--shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
	--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
	--shadow-glow: 0 0 40px var(--glow-primary);

	/* Border Radius */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--radius-full: 9999px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg-dark);
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ===========================
   Background Effects
   =========================== */
.bg-video {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -3;
	filter: saturate(1.1) brightness(0.5);
}

.gradient-overlay {
	position: fixed;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.25), transparent),
		radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.15), transparent),
		linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.9) 100%);
	z-index: -2;
	pointer-events: none;
}

.noise-overlay {
	position: fixed;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
	opacity: 0.03;
	z-index: -1;
	pointer-events: none;
}

/* ===========================
   Layout
   =========================== */
.page {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--space-md) var(--space-md);
}

@media (min-width: 768px) {
	.page {
		padding: var(--space-lg) var(--space-lg);
	}
}

.section {
	margin-bottom: var(--space-2xl);
}

/* ===========================
   Reveal Animations
   =========================== */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered feature cards */
.feature-card {
	transition-delay: calc(var(--delay, 0) * 100ms);
}

/* ===========================
   Navigation
   =========================== */
.nav {
	position: sticky;
	top: var(--space-md);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	padding: var(--space-sm) var(--space-md);
	background: rgba(2, 6, 23, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	transition: all var(--transition-base);
}

.nav.scrolled {
	background: rgba(2, 6, 23, 0.95);
	box-shadow: var(--shadow-lg);
}

.logo {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--text);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.logo-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: var(--radius-sm);
	color: white;
}

.logo-icon svg {
	width: 18px;
	height: 18px;
}

.nav-links {
	display: none;
	gap: var(--space-lg);
}

@media (min-width: 768px) {
	.nav-links {
		display: flex;
	}
}

.nav-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color var(--transition-fast);
}

.nav-links a:hover {
	color: var(--text);
}

.nav-links.active {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: calc(100% + var(--space-sm));
	left: var(--space-sm);
	right: var(--space-sm);
	padding: var(--space-md);
	background: rgba(2, 6, 23, 0.98);
	backdrop-filter: blur(20px);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	gap: var(--space-sm);
}

.nav-actions {
	display: none;
}

@media (min-width: 768px) {
	.nav-actions {
		display: flex;
	}
}

.nav-toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
}

@media (min-width: 768px) {
	.nav-toggle {
		display: none;
	}
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   Buttons
   =========================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	padding: 0.75rem 1.25rem;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all var(--transition-base);
}

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

.btn-lg {
	padding: 1rem 1.75rem;
	font-size: 1rem;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: white;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
	border: 1px solid var(--border-light);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
}

.btn svg {
	flex-shrink: 0;
}

/* ===========================
   Typography
   =========================== */
.gradient-text {
	background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	padding: 0.4rem 1rem;
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: var(--radius-full);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--primary-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--space-md);
}

.section-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto var(--space-xl);
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: var(--space-md);
}

.section-lead {
	font-size: 1.1rem;
	color: var(--text-secondary);
	max-width: 560px;
	margin: 0 auto;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
	text-align: center;
	padding: var(--space-2xl) 0;
	margin-top: var(--space-lg);
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	padding: 0.5rem 1rem 0.5rem 0.75rem;
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: var(--radius-full);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--primary-light);
	margin-bottom: var(--space-lg);
}

.hero-badge .pulse {
	width: 8px;
	height: 8px;
	background: var(--primary);
	border-radius: 50%;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(1.2);
	}
}

.hero-title {
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.04em;
	margin-bottom: var(--space-lg);
}

.hero-title .line {
	display: block;
}

.hero-lead {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto var(--space-lg);
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-sm);
	margin-bottom: var(--space-xl);
}

/* Hero Stats */
.hero-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: var(--space-md);
	max-width: 700px;
	margin: 0 auto var(--space-xl);
}

.stat-card {
	padding: var(--space-md);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	text-align: left;
	transition: all var(--transition-base);
}

.stat-card:hover {
	background: var(--bg-card-hover);
	border-color: var(--border-light);
	transform: translateY(-4px);
}

.stat-card.featured {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.1));
	border-color: rgba(16, 185, 129, 0.3);
}

.stat-value {
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 0.25rem;
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.stat-trend {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.75rem;
	font-weight: 500;
}

.stat-trend.positive {
	color: var(--primary-light);
}

/* Trust Section */
.hero-trust {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-md);
}

.trust-label {
	font-size: 0.85rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.trust-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-lg);
}

.trust-logo {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-muted);
	opacity: 0.6;
	transition: opacity var(--transition-fast);
}

.trust-logo:hover {
	opacity: 1;
}

/* ===========================
   Features Section
   =========================== */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-md);
}

.feature-card {
	position: relative;
	padding: var(--space-lg);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	transition: all var(--transition-base);
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
	opacity: 0;
	transition: opacity var(--transition-base);
}

.feature-card:hover {
	border-color: var(--border-light);
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
	opacity: 1;
}

.feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: rgba(16, 185, 129, 0.1);
	border-radius: var(--radius-md);
	margin-bottom: var(--space-md);
	color: var(--primary-light);
}

.feature-icon.accent {
	background: rgba(99, 102, 241, 0.1);
	color: var(--accent-light);
}

.feature-icon svg {
	width: 24px;
	height: 24px;
}

.feature-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: var(--space-xs);
}

.feature-card p {
	font-size: 0.95rem;
	color: var(--text-secondary);
	margin-bottom: var(--space-md);
}

.feature-stat {
	display: flex;
	align-items: baseline;
	gap: var(--space-xs);
	padding-top: var(--space-sm);
	border-top: 1px solid var(--border);
}

.feature-stat .value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary-light);
}

.feature-stat .label {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ===========================
   Split Layouts (Owners/Haulers)
   =========================== */
.split-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	align-items: center;
}

@media (min-width: 900px) {
	.split-layout {
		grid-template-columns: 1fr 1fr;
	}

	.split-layout.reverse {
		direction: rtl;
	}

	.split-layout.reverse > * {
		direction: ltr;
	}
}

.split-content .section-title {
	text-align: left;
}

.split-content .section-lead {
	margin: 0 0 var(--space-lg);
}

/* Check List */
.check-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	margin-bottom: var(--space-lg);
}

.check-list.compact {
	gap: var(--space-xs);
	margin-bottom: var(--space-md);
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: var(--space-sm);
	color: var(--text-secondary);
}

.check-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: rgba(16, 185, 129, 0.15);
	border-radius: var(--radius-sm);
	color: var(--primary-light);
}

.check-icon svg {
	width: 14px;
	height: 14px;
}

/* Split Visual - Metrics */
.split-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.metric-card {
	padding: var(--space-lg);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	transition: all var(--transition-base);
}

.metric-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.metric-card.primary {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(99, 102, 241, 0.1));
	border-color: rgba(16, 185, 129, 0.3);
}

.metric-header {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	margin-bottom: var(--space-sm);
}

.metric-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-sm);
	color: var(--primary-light);
}

.metric-icon svg {
	width: 18px;
	height: 18px;
}

.metric-label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.metric-value {
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin-bottom: 0.25rem;
}

.metric-trend {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.85rem;
	font-weight: 500;
	margin-bottom: var(--space-md);
}

.metric-trend.positive {
	color: var(--primary-light);
}

.metric-subtitle {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.metric-bar {
	height: 6px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-full);
	overflow: hidden;
}

.metric-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: var(--radius-full);
	animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
	from {
		width: 0;
	}
}

.floating-badge {
	position: absolute;
	top: -10px;
	right: 20px;
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: var(--radius-full);
	font-size: 0.8rem;
	font-weight: 600;
	color: white;
	box-shadow: var(--shadow-glow);
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* Steps Container */
.steps-container {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.step-card {
	display: flex;
	align-items: flex-start;
	gap: var(--space-md);
	padding: var(--space-md);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	transition: all var(--transition-base);
}

.step-card:hover {
	border-color: var(--border-light);
	background: var(--bg-card-hover);
}

.step-number {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(16, 185, 129, 0.15);
	border-radius: var(--radius-md);
	font-weight: 700;
	color: var(--primary-light);
}

.step-content {
	flex: 1;
}

.step-content h4 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.step-content p {
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.step-status {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}

.step-status.complete {
	background: rgba(16, 185, 129, 0.2);
	border-radius: var(--radius-sm);
	color: var(--primary-light);
}

.step-status.complete svg {
	width: 16px;
	height: 16px;
}

.step-status.active {
	background: rgba(99, 102, 241, 0.2);
	border-radius: var(--radius-sm);
}

.pulse-dot {
	width: 10px;
	height: 10px;
	background: var(--accent-light);
	border-radius: 50%;
	animation: pulse 1.5s ease-in-out infinite;
}

.step-status svg {
	width: 20px;
	height: 20px;
	color: var(--text-muted);
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonial-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
}

@media (min-width: 768px) {
	.testimonial-grid {
		grid-template-columns: 1.2fr 1fr 1fr;
	}

	.testimonial-card.featured {
		grid-row: span 2;
	}
}

.testimonial-card {
	padding: var(--space-lg);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	transition: all var(--transition-base);
}

.testimonial-card:hover {
	border-color: var(--border-light);
	transform: translateY(-4px);
}

.testimonial-card.featured {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.05));
	border-color: rgba(16, 185, 129, 0.2);
}

.testimonial-rating {
	display: flex;
	gap: 2px;
	margin-bottom: var(--space-md);
	color: #fbbf24;
}

.testimonial-card blockquote {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text);
	margin-bottom: var(--space-lg);
}

.testimonial-card.featured blockquote {
	font-size: 1.1rem;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.author-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: 50%;
	font-weight: 600;
	font-size: 0.9rem;
	color: white;
}

.author-info strong {
	display: block;
	font-size: 0.95rem;
	margin-bottom: 0.1rem;
}

.author-info span {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ===========================
   Download Section
   =========================== */
.download-card {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	padding: var(--space-xl);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	overflow: hidden;
}

@media (min-width: 900px) {
	.download-card {
		grid-template-columns: 1.2fr 1fr;
		padding: var(--space-2xl);
	}
}

.download-glow {
	position: absolute;
	top: -50%;
	right: -20%;
	width: 60%;
	height: 150%;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 60%);
	pointer-events: none;
}

.download-content {
	position: relative;
	z-index: 1;
}

.download-content .section-title {
	text-align: left;
}

.download-content .section-lead {
	margin: 0 0 var(--space-lg);
}

/* Store Badges */
.store-badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
}

.store-badge {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	padding: 0.75rem 1.25rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
	text-decoration: none;
	color: var(--text);
	transition: all var(--transition-base);
}

.store-badge:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.store-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
}

.store-icon svg {
	width: 24px;
	height: 24px;
}

.store-text small {
	display: block;
	font-size: 0.7rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.store-text strong {
	font-size: 1rem;
	font-weight: 600;
}

/* App Preview */
.download-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.app-preview {
	width: 220px;
	background: linear-gradient(180deg, #1e293b, #0f172a);
	border-radius: 32px;
	padding: 12px;
	box-shadow: var(--shadow-lg);
}

.app-header {
	display: flex;
	justify-content: center;
	padding: 8px 0 16px;
}

.app-notch {
	width: 80px;
	height: 6px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-full);
}

.app-screen {
	padding: var(--space-sm);
}

.app-stat-row {
	display: flex;
	justify-content: space-around;
	margin-bottom: var(--space-md);
}

.app-stat {
	text-align: center;
}

.app-stat-value {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary-light);
}

.app-stat-label {
	font-size: 0.7rem;
	color: var(--text-muted);
}

.app-card-preview {
	height: 60px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-md);
	margin-bottom: var(--space-sm);
}

.app-card-preview.small {
	height: 40px;
}

.app-badge {
	position: absolute;
	bottom: 20px;
	right: -10px;
}

.verified-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, #0070ba, #003087);
	border-radius: var(--radius-full);
	font-size: 0.75rem;
	font-weight: 600;
	color: white;
	box-shadow: var(--shadow-md);
}

.verified-badge svg {
	color: #fbbf24;
}

/* ===========================
   Final CTA Section
   =========================== */
.final-cta {
	text-align: center;
}

.cta-card {
	padding: var(--space-xl) var(--space-lg);
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.1));
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: var(--radius-xl);
}

.cta-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: var(--space-sm);
}

.cta-lead {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: var(--space-lg);
}

.cta-buttons {
	display: flex;
	justify-content: center;
	gap: var(--space-sm);
	margin-bottom: var(--space-md);
}

.cta-note {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* ===========================
   Footer
   =========================== */
.footer {
	margin-top: var(--space-xl);
	padding-top: var(--space-xl);
	border-top: 1px solid var(--border);
}

.footer-main {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
	.footer-main {
		grid-template-columns: 1.5fr 2fr;
	}
}

.footer-brand .logo {
	margin-bottom: var(--space-sm);
}

.footer-brand p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	max-width: 280px;
}

.footer-links-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-lg);
}

.footer-col h4 {
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--space-sm);
}

.footer-col a {
	display: block;
	font-size: 0.9rem;
	color: var(--text-secondary);
	text-decoration: none;
	margin-bottom: 0.5rem;
	transition: color var(--transition-fast);
}

.footer-col a:hover {
	color: var(--text);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-md);
	padding-top: var(--space-lg);
	border-top: 1px solid var(--border);
}

.footer-bottom p {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.social-links {
	display: flex;
	gap: var(--space-sm);
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	transition: all var(--transition-fast);
}

.social-links a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text);
	transform: translateY(-2px);
}

/* ===========================
   Accessibility - Reduced Motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

/* ===========================
   Focus States (Accessibility)
   =========================== */
:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

.btn:focus-visible,
.nav-links a:focus-visible,
.store-badge:focus-visible {
	outline: 2px solid var(--primary-light);
	outline-offset: 2px;
}
