/* ============================================================
   FocusPro theme — main stylesheet
   Design system: NARRATO palette
   ============================================================ */

:root {
	--indigo: #5030e5;
	--indigo-dark: #3f24c4;
	--neo-indigo: #6366f1;
	--jade: #74cb97;
	--apricot: #ffb389;
	--rose: #ff9494;
	--violet-haze: #c2aaff;
	--slate: #333333;
	--slate-soft: #5b5b66;
	--slate-faint: #8a8a96;
	--bg: #ffffff;
	--bg-soft: #f6f5ff;
	--bg-alt: #faf9ff;
	--line: #e9e6fb;
	--pill-green-bg: #e3f6ec;
	--pill-green-fg: #1e7a48;
	--pill-red-bg: #ffe9e9;
	--pill-red-fg: #b23b3b;
	--pill-black-bg: #ececf1;
	--pill-black-fg: #3a3a44;
	--pill-jade-bg: #e3f6ec;
	--pill-jade-fg: #1e7a48;
	--pill-indigo-bg: #e7e3ff;
	--pill-indigo-fg: #5030e5;
	--radius: 20px;
	--radius-sm: 16px;
	--shadow: 0 10px 30px rgba(80, 48, 229, 0.10);
	--shadow-lg: 0 24px 60px rgba(80, 48, 229, 0.16);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--slate);
	background: var(--bg);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 0.6em;
	color: var(--slate);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.container-narrow { max-width: 780px; }

/* ---------- Accessibility ---------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--indigo);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 12px 0;
	z-index: 200;
}

.skip-link:focus { left: 0; }

:focus-visible {
	outline: 3px solid var(--neo-indigo);
	outline-offset: 2px;
	border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------- Eyebrows, sections ---------- */
.eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--indigo);
	background: var(--pill-indigo-bg);
	padding: 6px 14px;
	border-radius: 999px;
	margin: 0 0 1rem;
}

.eyebrow-light {
	color: #fff;
	background: rgba(255, 255, 255, 0.18);
}

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-sub {
	color: var(--slate-soft);
	font-size: 1.08rem;
	max-width: 640px;
	margin: 0 0 2.4rem;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 14px;
	padding: 12px 26px;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	text-align: center;
	font-family: var(--font);
}

.btn-primary {
	background: var(--indigo);
	color: #fff;
	box-shadow: 0 8px 20px rgba(80, 48, 229, 0.28);
}

.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-2px); }

.btn-ghost {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }

.btn-outline {
	background: #fff;
	color: var(--indigo);
	border-color: var(--indigo);
}

.btn-outline:hover { background: var(--bg-soft); }

.btn-lg { padding: 15px 34px; font-size: 1.06rem; }
.btn-sm { padding: 9px 20px; font-size: 0.92rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Pills ---------- */
.pill {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
	white-space: nowrap;
}

.pill-green { background: var(--pill-green-bg); color: var(--pill-green-fg); }
.pill-red { background: var(--pill-red-bg); color: var(--pill-red-fg); }
.pill-black { background: var(--pill-black-bg); color: var(--pill-black-fg); }
.pill-jade { background: var(--pill-jade-bg); color: var(--pill-jade-fg); }
.pill-indigo { background: var(--pill-indigo-bg); color: var(--pill-indigo-fg); }
.pill-xs { font-size: 0.72rem; padding: 3px 10px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 4px 18px rgba(80, 48, 229, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--slate);
	letter-spacing: -0.02em;
}

.brand-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--indigo), var(--neo-indigo));
	box-shadow: 0 2px 8px rgba(80, 48, 229, 0.4);
}

.site-nav { display: none; }

.nav-list {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}

.nav-list a {
	text-decoration: none;
	color: var(--slate-soft);
	font-weight: 600;
	font-size: 0.95rem;
}

.nav-list a:hover { color: var(--indigo); }

.header-actions { display: flex; align-items: center; gap: 12px; }

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

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2.5px;
	border-radius: 2px;
	background: var(--slate);
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 20px 24px;
	background: #fff;
	border-bottom: 1px solid var(--line);
}

/* The hidden attribute must win over display:flex above, otherwise the
   hamburger toggle has no visible effect on mobile. */
.mobile-nav[hidden] { display: none; }

.mobile-nav a:not(.btn) {
	text-decoration: none;
	color: var(--slate);
	font-weight: 600;
	padding: 12px 4px;
	border-bottom: 1px solid var(--line);
}

.mobile-nav .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(900px 480px at 12% -10%, rgba(194, 170, 255, 0.55), transparent 60%),
		radial-gradient(760px 520px at 95% 20%, rgba(99, 102, 241, 0.65), transparent 60%),
		linear-gradient(135deg, #3a20b8 0%, var(--indigo) 45%, #6d5df0 100%);
	padding: 84px 0 96px;
}

.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.88); font-size: 1.12rem; max-width: 540px; }
.hero .eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }

.hero-grid {
	display: grid;
	gap: 48px;
	align-items: center;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }

.phone {
	width: 270px;
	background: #14131c;
	border-radius: 44px;
	padding: 12px;
	box-shadow: var(--shadow-lg);
	position: relative;
}

.phone-sm { width: 240px; }

.phone-notch {
	width: 110px;
	height: 24px;
	background: #14131c;
	border-radius: 0 0 14px 14px;
	margin: 0 auto 6px;
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.phone-screen {
	background: linear-gradient(180deg, #f4f2ff 0%, #ffffff 60%);
	border-radius: 34px;
	padding: 44px 18px 22px;
	color: var(--slate);
}

.phone-app-name {
	font-weight: 800;
	color: var(--indigo);
	font-size: 0.95rem;
	margin: 0 0 14px;
	letter-spacing: -0.01em;
}

.checkin-card {
	background: #fff;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	padding: 16px;
	margin-bottom: 14px;
	text-align: left;
}

.checkin-time { font-weight: 800; font-size: 1.05rem; margin: 0 0 6px; }
.checkin-site { font-size: 0.88rem; color: var(--slate-soft); margin: 0 0 10px; }

.check-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--jade);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	margin-right: 6px;
	vertical-align: -3px;
}

.mini-stats { display: flex; gap: 10px; margin-bottom: 16px; }

.mini-stat {
	flex: 1;
	background: #fff;
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 10px 6px;
	text-align: center;
}

.mini-num { display: block; font-weight: 800; font-size: 1.25rem; margin-bottom: 4px; }

.phone-cta {
	background: var(--indigo);
	color: #fff;
	font-weight: 700;
	text-align: center;
	border-radius: 14px;
	padding: 13px;
	box-shadow: 0 8px 20px rgba(80, 48, 229, 0.3);
}

/* ---------- Trust strip ---------- */
.trust {
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
	text-align: center;
}

.trust-line { margin: 0; color: var(--slate-faint); font-size: 0.98rem; }
.trust-line strong { color: var(--slate); }

/* ---------- Cards ---------- */
.cards-3 {
	display: grid;
	gap: 22px;
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 30px 28px;
}

.card-icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 18px;
}

.icon-rose { background: var(--pill-red-bg); }
.icon-apricot { background: #fff0e4; }
.icon-violet { background: var(--pill-indigo-bg); }

/* ---------- Steps ---------- */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 22px;
	counter-reset: step;
}

.step {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 30px 28px;
	position: relative;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--indigo), var(--neo-indigo));
	color: #fff;
	font-weight: 800;
	font-size: 1.15rem;
	margin-bottom: 16px;
}

/* ---------- Points section ---------- */
.point-card { border-top: 6px solid transparent; }
.point-green { border-top-color: var(--jade); }
.point-red { border-top-color: var(--rose); }
.point-black { border-top-color: #55555f; }

.point-value {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--indigo);
	margin: 0.4em 0;
}

.reward-strip {
	margin-top: 28px;
	background: linear-gradient(135deg, var(--indigo), var(--neo-indigo));
	border-radius: var(--radius);
	color: #fff;
	padding: 36px 32px;
	display: grid;
	gap: 24px;
	box-shadow: var(--shadow-lg);
}

.reward-amount {
	display: block;
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.reward-main p { color: rgba(255, 255, 255, 0.9); margin: 0.4em 0 0; }

.reward-rules {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	align-content: center;
}

.reward-rules li {
	background: rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 10px 16px;
	font-weight: 600;
	font-size: 0.95rem;
}

.reward-rules li::before { content: "✓ "; font-weight: 800; }

/* ---------- Dashboard mockup ---------- */
.dashboard-grid {
	display: grid;
	gap: 44px;
	align-items: center;
}

.check-list {
	list-style: none;
	margin: 1.6rem 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.check-list li {
	padding-left: 34px;
	position: relative;
	font-weight: 600;
}

.check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pill-green-bg);
	color: var(--pill-green-fg);
	font-size: 0.8rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.browser-mock {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	border: 1px solid var(--line);
}

.browser-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f1effe;
	padding: 12px 16px;
}

.browser-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--violet-haze);
}

.browser-dot:first-child { background: var(--rose); }
.browser-dot:nth-child(2) { background: var(--apricot); }

.browser-url {
	margin-left: 8px;
	font-size: 0.8rem;
	color: var(--slate-faint);
	background: #fff;
	border-radius: 8px;
	padding: 4px 14px;
}

.browser-body { padding: 22px 20px 26px; }

.mock-title { font-weight: 800; margin: 0 0 12px; font-size: 0.98rem; }
.mock-title-2 { margin-top: 20px; }

.mock-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	margin-bottom: 8px;
	font-size: 0.88rem;
}

.mock-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--indigo), var(--neo-indigo));
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mock-name { font-weight: 700; flex: 1; }
.mock-time { color: var(--slate-faint); font-variant-numeric: tabular-nums; }
.mock-ledger { display: inline-flex; gap: 6px; }

/* ---------- App section ---------- */
.app-grid {
	display: grid;
	gap: 44px;
	align-items: center;
}

.app-balance-label { font-size: 0.85rem; color: var(--slate-faint); margin: 0; }
.app-balance { font-size: 2rem; font-weight: 800; margin: 0 0 14px; }

/* ---------- Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }

.price-featured {
	border: 2px solid var(--indigo);
	transform: scale(1.02);
}

.price-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
}

.price { margin: 0.2em 0; }
.price-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--indigo); }

.price-tagline { color: var(--slate-soft); font-size: 0.95rem; }

.price-features {
	list-style: none;
	margin: 0 0 1.8rem;
	padding: 0;
	display: grid;
	gap: 10px;
	flex: 1;
}

.price-features li { padding-left: 28px; position: relative; font-size: 0.95rem; }

.price-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--pill-green-fg);
	font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }

.faq-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.faq-q {
	width: 100%;
	background: none;
	border: 0;
	padding: 20px 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-family: var(--font);
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--slate);
	cursor: pointer;
	text-align: left;
}

.faq-icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--pill-indigo-bg);
	color: var(--indigo);
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease;
}

.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a p { padding: 0 22px 22px; margin: 0; color: var(--slate-soft); }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 96px; }

.cta-card {
	background:
		radial-gradient(700px 380px at 90% 0%, rgba(194, 170, 255, 0.35), transparent 60%),
		linear-gradient(135deg, var(--indigo) 0%, #5b3df0 60%, var(--neo-indigo) 100%);
	border-radius: 24px;
	color: #fff;
	padding: 48px 32px;
	display: grid;
	gap: 36px;
	box-shadow: var(--shadow-lg);
}

.cta-card h2 { color: #fff; }
.cta-copy p { color: rgba(255, 255, 255, 0.9); }

.cta-alt a { color: #fff; font-weight: 700; }

.cta-form-wrap {
	background: #fff;
	border-radius: var(--radius);
	padding: 30px 26px;
	color: var(--slate);
	box-shadow: var(--shadow-lg);
}

.form-notice {
	border-radius: var(--radius-sm);
	padding: 18px 20px;
	margin: 0;
}

.form-notice p { margin: 0 0 0.4em; }
.form-notice p:last-child { margin-bottom: 0; }

.form-success { background: var(--pill-green-bg); color: var(--pill-green-fg); }
.form-error { background: var(--pill-red-bg); color: var(--pill-red-fg); margin-bottom: 18px; }

.lead-form { display: grid; gap: 16px; }

.field-row { display: grid; gap: 16px; }

.field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }

.field input, .field select {
	font-family: var(--font);
	font-size: 1rem;
	padding: 13px 15px;
	border: 2px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--slate);
	width: 100%;
}

.field input:focus, .field select:focus {
	border-color: var(--indigo);
	outline: none;
	box-shadow: 0 0 0 3px rgba(80, 48, 229, 0.15);
}

.hp-field {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-micro { font-size: 0.85rem; color: var(--slate-faint); text-align: center; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
	background: #1d1b2e;
	color: rgba(255, 255, 255, 0.75);
	padding: 64px 0 0;
}

.site-footer .brand-word { color: #fff; }

.footer-grid {
	display: grid;
	gap: 36px;
	padding-bottom: 48px;
}

.footer-brand p { font-size: 0.95rem; max-width: 300px; }

.footer-col h3 {
	color: #fff;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 1.1em;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer-col a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-size: 0.95rem;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 22px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	font-size: 0.88rem;
}

.footer-bottom p { margin: 0; }
.footer-note { color: rgba(255, 255, 255, 0.45); }

/* ---------- Breakpoints ---------- */
@media (min-width: 720px) {
	.section { padding: 96px 0; }
	.cards-3 { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.field-row { grid-template-columns: 1fr 1fr; }
	.reward-strip { grid-template-columns: 1.2fr 1fr; align-items: center; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.cta-card { padding: 60px 56px; }
}

@media (min-width: 1024px) {
	.site-nav { display: block; }
	.nav-toggle { display: none; }
	.mobile-nav { display: none !important; }
	.hero-grid { grid-template-columns: 1.05fr 0.95fr; }
	.dashboard-grid { grid-template-columns: 0.9fr 1.1fr; }
	.app-grid { grid-template-columns: 0.9fr 1.1fr; }
	.app-grid .hero-visual { order: -1; }
	.cta-card { grid-template-columns: 1fr 1fr; align-items: center; }
	.hero { padding: 110px 0 120px; }
}
