@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── TOKENS ── */
:root {
	--bg: #0f1923;
	--bg-surface: rgba(255, 255, 255, 0.03);
	--bg-elevated: #1a2740;
	--border: rgba(255, 255, 255, 0.07);
	--border-accent: rgba(249, 115, 22, 0.35);
	--text-primary: #f1f5f9;
	--text-secondary: #94a3b8;
	--text-muted: #64748b;
	--accent-from: #f97316;
	--accent-to: #ef4444;
	--success: #4ade80;
	--font: 'Inter', system-ui, sans-serif;
	--max-w: 1200px;
	--section-py: 96px;
	--radius: 12px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text-secondary);
	line-height: 1.6;
	min-height: 100dvh;
	-webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
svg { display: block; flex-shrink: 0; }

/* ── LAYOUT ── */
.container {
	width: 100%;
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 24px;
}
section { padding: var(--section-py) 0; }

/* ── TYPOGRAPHY ── */
.section-label {
	display: block;
	color: var(--accent-from);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	margin-bottom: 12px;
}
h1, h2, h3 { color: var(--text-primary); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1rem; font-weight: 600; }
p { font-size: 1rem; line-height: 1.7; }
.text-gradient {
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
:focus-visible { outline: 2px solid var(--accent-from); outline-offset: 3px; border-radius: 4px; }

/* ── NAV ── */
.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(15, 25, 35, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
.nav-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-primary);
}
.nav-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	flex-shrink: 0;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
}
.nav-links a {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-secondary);
	transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
	display: inline-flex;
	align-items: center;
	padding: 8px 20px;
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 8px;
	transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.9; }
.nav-hamburger {
	display: none;
	padding: 8px;
	color: var(--text-secondary);
	align-items: center;
	justify-content: center;
}

/* Mobile drawer */
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 150;
}
.nav-overlay.open { display: block; }
.nav-drawer {
	position: fixed;
	top: 0;
	right: -100%;
	width: min(300px, 85vw);
	height: 100dvh;
	background: var(--bg);
	border-left: 1px solid var(--border);
	z-index: 160;
	display: flex;
	flex-direction: column;
	padding: 24px;
	transition: right 0.3s ease;
}
.nav-drawer.open { right: 0; }
.nav-drawer-close {
	align-self: flex-end;
	color: var(--text-secondary);
	padding: 8px;
	margin-bottom: 16px;
}
.nav-drawer-close:hover { color: var(--text-primary); }
.nav-drawer-links {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.nav-drawer-links a {
	padding: 12px 8px;
	color: var(--text-secondary);
	font-size: 1rem;
	font-weight: 500;
	border-bottom: 1px solid var(--border);
	transition: color 0.2s;
}
.nav-drawer-links a:hover { color: var(--text-primary); }
.nav-drawer-cta {
	margin-top: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: 8px;
}

/* ── HERO ── */
.hero {
	padding: 80px 0 96px;
	background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
	overflow: hidden;
}
.hero-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 64px;
	align-items: center;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: 100px;
	padding: 6px 16px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-secondary);
	margin-bottom: 24px;
}
.hero-badge-star { color: var(--accent-from); }
.hero-text h1 { margin-bottom: 20px; }
.hero-sub {
	font-size: 1.0625rem;
	color: var(--text-secondary);
	max-width: 520px;
	margin-bottom: 12px;
}
.hero-trial {
	font-size: 0.9375rem;
	color: var(--success);
	font-weight: 500;
	margin-bottom: 32px;
}
.hero-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.btn-primary {
	display: inline-flex;
	align-items: center;
	padding: 14px 28px;
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--radius);
	box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
	transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	color: var(--text-secondary);
	font-size: 0.9375rem;
	font-weight: 500;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--text-primary); border-color: rgba(255, 255, 255, 0.15); }

/* ── PHONE MOCKUP ── */
.phone-mockup {
	width: 160px;
	height: 300px;
	background: #0a1520;
	border-radius: 24px;
	border: 2px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
}
.phone-header {
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.15));
	padding: 10px 12px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
}
.phone-title {
	font-size: 9px;
	font-weight: 700;
	color: var(--text-primary);
	letter-spacing: 0.5px;
}
.phone-live {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 8px;
	color: var(--success);
	font-weight: 600;
}
.phone-live-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--success);
	animation: livePulse 2s infinite;
}
.phone-map {
	flex: 1;
	background: #0d1c2a;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 20px 20px;
	position: relative;
	overflow: hidden;
}
.alert-pin {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}
.alert-pin::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	animation: pinPulse 2.5s ease-out infinite;
}
.alert-pin.blue  { background: #60a5fa; left: 35%; top: 30%; }
.alert-pin.blue::after  { border: 1.5px solid rgba(96, 165, 250, 0.5); }
.alert-pin.yellow { background: #facc15; left: 65%; top: 50%; }
.alert-pin.yellow::after { border: 1.5px solid rgba(250, 204, 21, 0.5); animation-delay: 0.8s; }
.alert-pin.orange { background: var(--accent-from); left: 50%; top: 70%; }
.alert-pin.orange::after { border: 1.5px solid rgba(249, 115, 22, 0.5); animation-delay: 1.6s; }
.phone-notif {
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	background: rgba(15, 25, 35, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 9px;
	color: var(--text-primary);
	display: none;
	backdrop-filter: blur(8px);
	line-height: 1.4;
}
.phone-notif.visible {
	display: block;
	animation: slideUpIn 0.3s ease-out, fadeOut 0.3s ease-in 2.2s forwards;
}

@keyframes pinPulse {
	0%   { transform: scale(1); opacity: 0.8; }
	70%  { transform: scale(2.5); opacity: 0; }
	100% { transform: scale(2.5); opacity: 0; }
}
@keyframes livePulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.4; }
}
@keyframes slideUpIn {
	from { transform: translateY(20px); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}
@keyframes fadeOut {
	from { opacity: 1; }
	to   { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.alert-pin::after,
	.phone-live-dot { animation: none; }
	.phone-notif.visible { animation: none; display: block; opacity: 1; }
	html { scroll-behavior: auto; }
}

/* ── WHY JOIN ── */
.why-join { background: var(--bg); }
.why-join-header { text-align: center; margin-bottom: 56px; }
.why-join-header p { color: var(--text-secondary); margin-top: 12px; }
.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.feature-card {
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
	transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(255, 255, 255, 0.12); }
.feature-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(239, 68, 68, 0.1));
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-from);
	margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--bg-elevated); }
.how-header { text-align: center; margin-bottom: 56px; }
.how-header p { color: var(--text-secondary); margin-top: 12px; }
.steps {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	gap: 0;
	align-items: start;
	max-width: 900px;
	margin: 0 auto 32px;
}
.step { text-align: center; padding: 0 16px; }
.step-number {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	color: #fff;
	font-size: 1.125rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--text-secondary); }
.step-connector {
	width: 48px;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
	opacity: 0.3;
	margin-top: 24px;
}
.how-it-works .container { text-align: center; }
.how-guide-link {
	color: var(--accent-from);
	font-size: 0.9375rem;
	font-weight: 500;
	transition: opacity 0.2s;
	display: inline-block;
}
.how-guide-link:hover { opacity: 0.8; }

/* ── PRICING ── */
.pricing { background: var(--bg); }
.pricing-header { text-align: center; margin-bottom: 16px; }
.pricing-trial-note {
	text-align: center;
	color: var(--text-muted);
	font-size: 0.9375rem;
	margin-bottom: 40px;
}
.pricing-trial-note strong { color: var(--text-secondary); }
.pricing-grid {
	display: grid;
	grid-template-columns: 1fr 1.45fr 1fr 1fr;
	gap: 16px;
	align-items: stretch;
}
.plan-card {
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	overflow: hidden;
}
.plan-card.featured {
	background: linear-gradient(145deg, #1e2d40, #1a2035);
	border-color: var(--border-accent);
	box-shadow: 0 0 30px rgba(249, 115, 22, 0.08);
}
.plan-card.featured::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
	pointer-events: none;
}
.plan-popular-badge {
	position: absolute;
	top: 0;
	right: 0;
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 0 var(--radius) 0 8px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.plan-period {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
}
.plan-price {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-primary);
	line-height: 1;
}
.plan-card.featured .plan-price { font-size: 2.5rem; }
.plan-per-month { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }
.plan-saving {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 100px;
}
.plan-saving.none   { color: var(--text-muted); }
.plan-saving.green  { background: rgba(74, 222, 128, 0.1); color: var(--success); }
.plan-saving.orange { background: rgba(249, 115, 22, 0.15); color: var(--accent-from); border: 1px solid rgba(249, 115, 22, 0.2); }
.plan-divider { height: 1px; background: var(--border); }
.plan-features { display: flex; flex-direction: column; gap: 8px; }
.plan-feature {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--text-secondary);
}
.plan-feature::before { content: '✓'; color: var(--success); font-size: 0.75rem; font-weight: 700; }
.plan-btn {
	display: block;
	margin-top: auto;
	padding: 11px;
	text-align: center;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-muted);
	transition: background 0.2s, color 0.2s;
}
.plan-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--text-secondary); }
.plan-btn.featured-btn {
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	color: #fff;
	box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}
.plan-btn.featured-btn:hover { opacity: 0.9; }

/* ── CONTACT ── */
.contact { background: var(--bg-elevated); text-align: center; }
.contact-inner { max-width: 540px; margin: 0 auto; }
.contact h2 { margin-bottom: 16px; }
.contact p { color: var(--text-secondary); margin-bottom: 8px; }
.contact-email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent-from);
	font-size: 1.0625rem;
	font-weight: 600;
	margin: 16px 0;
	transition: opacity 0.2s;
}
.contact-email:hover { opacity: 0.8; }
.contact-cancel-link {
	display: block;
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-top: 8px;
	transition: color 0.2s;
}
.contact-cancel-link:hover { color: var(--text-secondary); }

/* ── FOOTER ── */
.footer {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding: 32px 0;
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand-name { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.footer-copy { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.8125rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

/* ── LEGAL / ONBOARDING HEADER ── */
.page-header {
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}
.page-header .container { display: flex; justify-content: center; }

/* ── LEGAL CONTENT ── */
.legal-content {
	max-width: 680px;
	margin: 64px auto;
	padding: 0 24px;
}
.legal-content h1 { font-size: 1.75rem; margin-bottom: 8px; }
.legal-content .updated { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 40px; }
.legal-content h2 { font-size: 1.125rem; margin: 32px 0 12px; }
.legal-content p { color: var(--text-secondary); margin-bottom: 16px; }
.legal-content ul { list-style: disc; padding-left: 24px; color: var(--text-secondary); margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content a { color: var(--accent-from); text-decoration: underline; }
.legal-content a:hover { opacity: 0.8; }

/* ── ONBOARDING ── */
.onboarding-content {
	max-width: 680px;
	margin: 64px auto;
	padding: 0 24px;
}
.onboarding-content h1 { margin-bottom: 8px; }
.page-subtitle { color: var(--text-secondary); font-size: 1.0625rem; margin-bottom: 48px; }
.steps-vertical { display: flex; flex-direction: column; gap: 24px; margin-bottom: 56px; }
.step-v { display: flex; gap: 20px; align-items: flex-start; }
.step-v-num {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}
.step-v-body h3 { color: var(--text-primary); margin-bottom: 6px; }
.step-v-body p { font-size: 0.9375rem; color: var(--text-secondary); }
.faq { margin-top: 48px; }
.faq h2 { margin-bottom: 24px; }
.faq details {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin-bottom: 8px;
	overflow: hidden;
}
.faq summary {
	padding: 16px 20px;
	cursor: pointer;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text-primary);
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	user-select: none;
	gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.25rem; color: var(--accent-from); flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] { background: var(--bg-surface); }
.faq-body { padding: 0 20px 16px; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* ── 404 ── */
.not-found {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 70dvh;
	text-align: center;
	padding: 24px;
}
.not-found-code { font-size: 5rem; font-weight: 800; color: var(--text-muted); margin-bottom: 16px; }
.not-found p { color: var(--text-secondary); margin-bottom: 32px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
	:root { --section-py: 72px; }
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.pricing-grid { grid-template-columns: 1fr 1.3fr; }
}

@media (max-width: 768px) {
	:root { --section-py: 56px; }
	.nav-links, .nav-cta { display: none; }
	.nav-hamburger { display: flex; }
	.hero-inner { grid-template-columns: 1fr; text-align: center; }
	.hero-badge { justify-content: center; }
	.hero-sub { margin-left: auto; margin-right: auto; }
	.hero-actions { justify-content: center; }
	.phone-mockup { margin: 40px auto 0; }
	.features-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; max-width: 400px; }
	.step-connector { display: none; }
	.pricing-grid { grid-template-columns: 1fr; }
	.plan-card.featured { order: -1; }
	.footer-inner { flex-direction: column; text-align: center; }
	.footer-links { justify-content: center; }
}

@media (max-width: 375px) {
	.container { padding: 0 16px; }
	h1 { font-size: 1.875rem; }
	.btn-primary, .btn-secondary { padding: 12px 20px; font-size: 0.9375rem; }
}
