/* Spot a Bro — marketing landing page */

:root {
	--bg: #181818;
	--bg-elevated: #222222;
	--bg-card: #1f1f1f;
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(253, 208, 69, 0.35);
	--text: #f5f5f5;
	--text-muted: #a8a8a8;
	--accent: #fdd045;
	--accent-hover: #ffe066;
	--accent-text: #1a1a1a;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	--nav-height: 72px;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--max-width: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.landing-page {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

body.landing-page.landing-nav-open {
	overflow: hidden;
}

.landing-page img:not(.landing-nav__logo):not(.landing-footer__logo):not(.landing-store-badge__img) {
	max-width: 100%;
	height: auto;
	display: block;
}

.landing-page a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.15s ease;
}

.landing-page a:hover {
	color: var(--accent-hover);
}

.landing-page a.btn--primary,
.landing-page a.btn--primary:hover {
	color: var(--accent-text);
}

.landing-page a.btn--ghost,
.landing-page a.btn--ghost:hover {
	color: var(--text);
}

.landing-page a.btn--link,
.landing-page a.btn--link:hover {
	color: var(--accent);
}

.landing-page a.btn--link:hover {
	color: var(--accent-hover);
}

.landing-page a:focus-visible,
.landing-page button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.landing-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--accent);
	color: var(--accent-text);
	font-weight: 700;
}

.landing-skip:focus {
	left: 1rem;
	top: 1rem;
}

.landing-container {
	width: min(100% - 2.5rem, var(--max-width));
	margin-inline: auto;
}

/* Navigation */
.landing-nav {
	position: sticky;
	top: 0;
	z-index: 200;
	height: var(--nav-height);
	background: rgba(24, 24, 24, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	overflow: visible;
}

.landing-nav__inner {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 2rem;
	height: 100%;
}

.landing-page a.landing-nav__brand,
.landing-page a.landing-nav__brand:hover {
	color: var(--text);
	text-decoration: none;
}

.landing-nav__brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-shrink: 0;
}

.landing-nav__name {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	white-space: nowrap;
}

.landing-page a.landing-nav__brand .landing-nav__name-accent,
.landing-page a.landing-nav__brand:hover .landing-nav__name-accent {
	color: var(--accent);
}

.landing-page .landing-nav__logo {
	display: block;
	flex-shrink: 0;
	height: calc(var(--nav-height) - 20px);
	width: auto;
	max-width: min(132px, 36vw);
	object-fit: contain;
	object-position: left center;
}

.landing-nav__links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(2rem, 3.5vw, 3.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.landing-nav__links li {
	display: flex;
	align-items: center;
}

.landing-page .landing-nav__links a {
	display: inline-flex;
	align-items: center;
	height: var(--nav-height);
	color: var(--text-muted);
	font-weight: 600;
	font-size: 1.0625rem;
	letter-spacing: 0.01em;
	line-height: 1;
	padding: 0 0.1rem;
}

.landing-page .landing-nav__links a:hover {
	color: var(--text);
}

.landing-nav__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
	width: 100%;
	gap: 0.75rem;
}

.landing-nav__toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: var(--radius-sm);
	padding: 0.5rem 0.65rem;
	cursor: pointer;
	line-height: 1;
}

.landing-nav__toggle-icon {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.75rem 1.35rem;
	border-radius: 999px;
	font-family: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	text-align: center;
}

.btn--primary {
	background: var(--accent);
	color: var(--accent-text);
	box-shadow: 0 4px 20px rgba(253, 208, 69, 0.25);
}

.btn--primary:hover {
	background: var(--accent-hover);
	color: var(--accent-text);
	transform: translateY(-1px);
}

.btn--ghost {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
}

.btn--ghost:hover {
	border-color: var(--border-strong);
	color: var(--accent);
}

.btn--link {
	background: transparent;
	color: var(--accent);
	padding: 0.75rem 0;
	border: none;
	font-weight: 600;
}

.btn--link:hover {
	color: var(--accent-hover);
}

.btn--sm {
	padding: 0.55rem 1.1rem;
	font-size: 0.875rem;
}

/* Hero */
.landing-hero {
	padding: 3rem 0 4.5rem;
	overflow: hidden;
}

.landing-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.landing-hero__eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
}

.landing-hero__title {
	font-size: clamp(2.25rem, 4.5vw, 3.25rem);
	line-height: 1.12;
	font-weight: 800;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
}

.landing-hero__lead {
	font-size: 1.125rem;
	color: var(--text-muted);
	margin: 0 0 2rem;
	max-width: 34ch;
}

.landing-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	margin-top: 1.25rem;
}

.landing-store-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 1.75rem;
}

.landing-store-badge {
	display: inline-block;
	line-height: 0;
	border-radius: 8px;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.landing-store-badge:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.landing-store-badge--pending {
	cursor: default;
	opacity: 0.85;
}

.landing-store-badge--pending:hover {
	opacity: 0.85;
	transform: none;
}

.landing-page .landing-store-badge__img {
	display: block;
	height: 44px;
	width: auto;
	max-width: none;
}

/* Phone mockup */
.phone-mockup {
	position: relative;
	justify-self: center;
	width: min(100%, 260px);
	margin: 0;
}

.phone-mockup__frame {
	background: linear-gradient(145deg, #2a2a2a, #141414);
	border-radius: 26px;
	padding: 5px;
	box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-mockup__screen {
	background: #121212;
	border-radius: 21px;
	overflow: hidden;
	border: none;
	line-height: 0;
}

.phone-mockup__screenshot {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: top;
}

.phone-mockup__glow {
	position: absolute;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(253, 208, 69, 0.12) 0%, transparent 70%);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
	pointer-events: none;
}

/* Flash messages */
.landing-flash {
	margin-top: 1rem;
	padding: 0.85rem 1.15rem;
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
	font-weight: 500;
}

.landing-flash--success {
	background: rgba(109, 212, 160, 0.12);
	border: 1px solid rgba(109, 212, 160, 0.35);
	color: #b8efd4;
}

.landing-flash--error {
	background: rgba(255, 120, 120, 0.1);
	border: 1px solid rgba(255, 120, 120, 0.35);
	color: #ffb8b8;
}

/* Features grid */
.landing-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-bottom: 3rem;
}

.landing-feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.landing-feature-card__icon {
	width: 44px;
	height: 44px;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: rgba(253, 208, 69, 0.12);
	border: 1px solid var(--border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--accent);
}

.landing-feature-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.45rem;
}

.landing-feature-card__text {
	margin: 0;
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* Sections */
.landing-section {
	padding: 4.5rem 0;
}

.landing-section--alt {
	background: var(--bg-elevated);
}

.landing-section__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 3rem;
}

.landing-section__title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.landing-section__subtitle {
	margin: 0;
	color: var(--text-muted);
	font-size: 1.05rem;
}

/* About + dual phone mockups */
.landing-about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
}

.landing-about__copy p {
	color: var(--text-muted);
	margin: 0 0 1rem;
}

.landing-about__copy p:last-child {
	margin-bottom: 0;
}

.about-mockups {
	position: relative;
	min-height: 400px;
	margin: 0;
	padding: 2.5rem 1rem 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-mockups__glow {
	position: absolute;
	inset: 10% 5%;
	background:
		radial-gradient(ellipse 55% 45% at 30% 45%, rgba(253, 208, 69, 0.14) 0%, transparent 70%),
		radial-gradient(ellipse 50% 40% at 75% 55%, rgba(253, 208, 69, 0.08) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0;
}

.about-mockups__ring {
	position: absolute;
	border: 1px solid rgba(253, 208, 69, 0.12);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.about-mockups__ring--one {
	width: 280px;
	height: 280px;
	left: 8%;
	top: 18%;
}

.about-mockups__ring--two {
	width: 220px;
	height: 220px;
	right: 6%;
	bottom: 12%;
}

.about-mockup {
	position: absolute;
	width: min(200px, 44vw);
	margin: 0;
	z-index: 1;
	transition: transform 0.35s ease;
}

.about-mockup--requests {
	left: 4%;
	top: 14%;
	transform: rotate(-10deg);
	z-index: 1;
}

.about-mockup--contacts {
	right: 2%;
	bottom: 6%;
	transform: rotate(8deg);
	z-index: 2;
}

.about-mockup:hover {
	transform: rotate(0deg) translateY(-4px);
	z-index: 3;
}

.about-mockup--requests:hover {
	transform: rotate(0deg) translateY(-4px);
}

.about-mockup .phone-mockup__frame {
	box-shadow:
		0 24px 50px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Contact form */
.landing-contact {
	max-width: 560px;
	margin: 0 auto;
}

.landing-contact__form {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
}

.landing-field {
	margin-bottom: 1.25rem;
}

.landing-field__label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.4rem;
}

.landing-field__optional {
	font-weight: 500;
	color: var(--text-muted);
	font-size: 0.85rem;
}

.landing-field__input {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	color: var(--text);
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	transition: border-color 0.15s ease;
}

.landing-field__input:focus {
	outline: none;
	border-color: var(--border-strong);
}

.landing-field__input--error {
	border-color: rgba(255, 120, 120, 0.6);
}

.landing-field__textarea {
	resize: vertical;
	min-height: 120px;
}

.landing-field__error {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: #ffb8b8;
}

/* Footer */
.landing-footer {
	padding: 3rem 0 2rem;
	border-top: 1px solid var(--border);
	margin-top: 4rem;
}

.landing-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.landing-footer__brand {
	display: flex;
	align-items: center;
	margin-bottom: 0.75rem;
	color: var(--text);
}

.landing-page .landing-footer__logo {
	display: block;
	height: 76px;
	width: auto;
	max-width: 192px;
	object-fit: contain;
	object-position: left center;
}

.landing-footer__tagline {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.9rem;
	max-width: 28ch;
}

.landing-footer__heading {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	margin: 0 0 0.75rem;
}

.landing-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.landing-footer__links li {
	margin-bottom: 0.45rem;
}

.landing-footer__links a {
	color: var(--text-muted);
	font-size: 0.9rem;
}

.landing-footer__links a:hover {
	color: var(--accent);
}

.landing-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	font-size: 0.85rem;
	color: var(--text-muted);
}

.landing-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.landing-page .landing-footer__legal a {
	color: var(--text-muted);
	font-weight: 500;
}

.landing-page .landing-footer__legal a:hover {
	color: var(--accent);
}

.landing-footer__legal-sep {
	color: var(--text-muted);
	opacity: 0.6;
	user-select: none;
}

/* Mobile nav panel */
.landing-nav__backdrop {
	position: fixed;
	inset: var(--nav-height) 0 0 0;
	z-index: 150;
	border: none;
	padding: 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.landing-nav__backdrop[hidden] {
	display: none !important;
}

.landing-nav__mobile {
	display: none;
	position: fixed;
	top: var(--nav-height);
	left: 0;
	right: 0;
	z-index: 160;
	max-height: calc(100vh - var(--nav-height));
	background: var(--bg);
	padding: 1rem 1.25rem 1.5rem;
	border-bottom: 1px solid var(--border);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	flex-direction: column;
	gap: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.landing-nav__mobile.is-open {
	display: flex;
}

.landing-page .landing-nav__mobile a {
	color: var(--text);
	font-weight: 600;
	font-size: 1.125rem;
	line-height: 1.3;
	padding: 1rem 0;
	border-bottom: 1px solid var(--border);
}

.landing-page .landing-nav__mobile a:hover {
	color: var(--accent);
}

.landing-nav__mobile .btn {
	margin-top: 1rem;
	width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
	.landing-hero__grid,
	.landing-about {
		grid-template-columns: 1fr;
	}

	.about-mockups {
		min-height: 520px;
		margin-top: 1rem;
	}

	.about-mockup {
		width: min(180px, 42vw);
	}

	.about-mockup--requests {
		left: 50%;
		top: 6%;
		transform: translateX(-95%) rotate(-8deg);
	}

	.about-mockup--contacts {
		right: auto;
		left: 50%;
		bottom: 14%;
		transform: translateX(-5%) rotate(7deg);
	}

	.about-mockup--requests:hover {
		transform: translateX(-95%) rotate(-2deg) translateY(-4px);
	}

	.about-mockup--contacts:hover {
		transform: translateX(-5%) rotate(2deg) translateY(-4px);
	}

	.landing-hero__grid {
		text-align: center;
	}

	.landing-hero__lead {
		margin-inline: auto;
	}

	.landing-hero__actions,
	.landing-store-badges {
		justify-content: center;
	}

	.landing-features {
		grid-template-columns: 1fr;
	}

	.landing-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* Mobile / tablet navigation */
@media (max-width: 900px) {
	.landing-nav__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 0.75rem;
	}

	.landing-nav__brand {
		min-width: 0;
	}

	.landing-nav__name {
		font-size: clamp(0.95rem, 4.2vw, 1.2rem);
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.landing-page .landing-nav__logo {
		height: calc(var(--nav-height) - 26px);
		max-width: min(100px, 22vw);
	}

	.landing-nav__links {
		display: none;
	}

	.landing-nav__actions {
		width: auto;
		flex-shrink: 0;
	}

	.landing-nav__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		min-width: 44px;
		min-height: 44px;
		padding: 0.65rem;
	}
}

@media (max-width: 768px) {
	.landing-hero {
		padding-top: 2rem;
	}
}

@media (max-width: 380px) {
	.landing-nav__name {
		display: none;
	}

	.landing-page .landing-nav__logo {
		max-width: 120px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.btn--primary:hover {
		transform: none;
	}

	.about-mockup:hover,
	.about-mockup--requests:hover,
	.about-mockup--contacts:hover {
		transform: none;
	}
}
