/* Hotway Cyber X — landing */

:root {
	--bg: #070b12;
	--bg-elevated: #0d1420;
	--text: #e8edf5;
	--text-muted: #8b9ab0;
	--accent: #00f0ff;
	--accent-2: #7b5cff;
	--accent-dim: rgba(0, 240, 255, 0.12);
	--border: rgba(0, 240, 255, 0.18);
	--font: "Segoe UI", system-ui, -apple-system, sans-serif;
	--radius: 16px;
	--header-h: 72px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	width: 100%;
}

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}

main {
	overflow-x: clip;
	max-width: 100%;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

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

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

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: var(--header-h);
	background: rgba(7, 11, 18, 0.85);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}

.header.is-scrolled {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
}

.logo__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: var(--bg);
	font-weight: 800;
}

.nav {
	display: flex;
	gap: 1.75rem;
}

.nav a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 500;
	transition: color 0.25s var(--ease);
}

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

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

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

.nav-toggle.is-open span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
	.nav-toggle {
		display: flex;
	}

	.nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		flex-direction: column;
		padding: 1.25rem;
		background: var(--bg-elevated);
		border-bottom: 1px solid var(--border);
		transform: translateY(-120%);
		opacity: 0;
		visibility: hidden;
		transition: 0.3s var(--ease);
		z-index: 99;
	}

	.nav.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
}

/* Hero */
.hero {
	position: relative;
	min-height: 100vh;
	padding: calc(var(--header-h) + 3rem) 0 4rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}

.hero__glow {
	position: absolute;
	top: 10%;
	right: -10%;
	width: 60vw;
	height: 60vw;
	max-width: 700px;
	max-height: 700px;
	background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 65%);
	pointer-events: none;
	animation: pulse-glow 8s ease-in-out infinite;
}

@media (max-width: 992px) {
	.hero__glow {
		right: auto;
		left: 50%;
		width: min(100vw, 420px);
		height: min(100vw, 420px);
		margin-left: calc(min(100vw, 420px) / -2);
		animation: pulse-glow-mobile 8s ease-in-out infinite;
	}
}

@keyframes pulse-glow-mobile {
	0%, 100% { opacity: 0.7; }
	50% { opacity: 1; }
}

@keyframes pulse-glow {
	0%, 100% { opacity: 0.7; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.05); }
}

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

.hero__tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--accent-dim);
}

.hero__title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin-bottom: 1.25rem;
}

.hero__brand {
	color: var(--text-muted);
	font-weight: 600;
	font-size: 0.45em;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.hero__model {
	background: linear-gradient(105deg, var(--text) 0%, var(--accent) 45%, var(--accent-2) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero__lead {
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 32rem;
	margin-bottom: 1.75rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.75rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: var(--bg);
	box-shadow: 0 8px 32px rgba(0, 240, 255, 0.25);
}

.btn--primary:hover {
	box-shadow: 0 12px 40px rgba(0, 240, 255, 0.35);
}

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

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

.btn--full {
	width: 100%;
}

.hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
}

.hero__badges li {
	font-size: 0.8rem;
	padding: 0.4rem 0.9rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--text-muted);
}

/* Phone mockup */
.hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.phone-frame {
	position: relative;
	width: min(280px, 70vw);
	aspect-ratio: 9 / 19;
	border-radius: 36px;
	padding: 10px;
	background: linear-gradient(145deg, #1a2332 0%, #0d1420 50%, #151d2a 100%);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06),
		0 40px 80px rgba(0, 0, 0, 0.5),
		0 0 60px rgba(0, 240, 255, 0.08);
	animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-16px) rotate(1deg); }
}

.phone-frame__screen {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 28px;
	overflow: hidden;
	background: linear-gradient(180deg, #0a1525 0%, #0d1f35 40%, #122a45 100%);
}

.phone-frame__content {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 240, 255, 0.2) 0%, transparent 55%),
		linear-gradient(90deg, transparent 40%, rgba(123, 92, 255, 0.15) 50%, transparent 60%);
	animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
	0%, 100% { opacity: 0.8; }
	50% { opacity: 1; }
}

.phone-frame__notch {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 26px;
	background: #070b12;
	border-radius: 20px;
}

.phone-frame__shine {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
	pointer-events: none;
}

.hero__orbit {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(320px, 92vw);
	height: min(320px, 92vw);
	border: 1px dashed var(--border);
	border-radius: 50%;
	animation: spin-slow 30s linear infinite;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

@keyframes spin-slow {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-muted);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.hero__scroll-line {
	width: 1px;
	height: 40px;
	background: linear-gradient(to bottom, var(--accent), transparent);
	animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
	0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
	50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
	padding: 5rem 0;
	overflow-x: clip;
}

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

.section__subtitle {
	color: var(--text-muted);
	max-width: 36rem;
	margin-bottom: 2.5rem;
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.card {
	padding: 1.75rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
	border-color: rgba(0, 240, 255, 0.45);
	transform: translateY(-6px);
}

.card__icon {
	font-size: 1.5rem;
	color: var(--accent);
	margin-bottom: 1rem;
	opacity: 0.9;
}

.card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.6rem;
}

.card p {
	font-size: 0.92rem;
	color: var(--text-muted);
}

@media (max-width: 992px) {
	.features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.features__grid {
		grid-template-columns: 1fr;
	}
}

/* Design block */
.design {
	background: var(--bg-elevated);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

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

.design__copy p {
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

.design__list {
	list-style: none;
	color: var(--text);
}

.design__list li {
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--border);
	padding-left: 1.25rem;
	position: relative;
}

.design__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
	box-shadow: 0 0 12px var(--accent);
}

.design__visual {
	display: flex;
	justify-content: center;
}

.cyber-panel {
	position: relative;
	width: 100%;
	max-width: 380px;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #0d1420, #070b12);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	overflow: hidden;
}

.cyber-panel__line {
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	animation: line-move 4s ease-in-out infinite;
}

.cyber-panel__line:nth-child(1) { top: 30%; animation-delay: 0s; }
.cyber-panel__line:nth-child(2) { top: 50%; animation-delay: 0.6s; opacity: 0.6; }
.cyber-panel__line:nth-child(3) { top: 70%; animation-delay: 1.2s; opacity: 0.4; }

@keyframes line-move {
	0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
	50% { opacity: 1; transform: scaleX(1); }
}

.cyber-panel__glow {
	position: absolute;
	inset: 20%;
	background: radial-gradient(circle, rgba(123, 92, 255, 0.25) 0%, transparent 70%);
	animation: pulse-glow 6s ease-in-out infinite;
}

@media (max-width: 992px) {
	.hero__grid,
	.design__inner {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;
	}

	.hero__copy {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero__lead,
	.section__subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.hero__actions,
	.hero__badges {
		justify-content: center;
	}

	.hero__visual {
		margin-inline: auto;
	}

	.section__title {
		text-align: center;
	}

	.design__list {
		max-width: 28rem;
		margin-inline: auto;
	}

	.design__list li {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}

	.hero {
		padding-top: calc(var(--header-h) + 2rem);
	}

	.hero__title {
		font-size: clamp(2rem, 11vw, 2.5rem);
		word-break: break-word;
	}

	.cta__inner {
		padding: 1.5rem;
	}

	.specs__row {
		padding-inline: 1rem;
	}
}

/* Specs */
.specs__table {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-elevated);
}

.specs__row {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 1rem;
	padding: 1.1rem 1.5rem;
	border-bottom: 1px solid var(--border);
	font-size: 0.95rem;
}

.specs__row:last-child {
	border-bottom: 0;
}

.specs__row span:first-child {
	color: var(--text-muted);
}

@media (max-width: 560px) {
	.specs__row {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}
}

/* CTA */
.cta {
	padding: 5rem 0;
	background: linear-gradient(180deg, transparent, var(--accent-dim) 50%, transparent);
}

.cta__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	padding: 2.5rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 4px);
}

.cta__copy h2 {
	font-size: 1.75rem;
	margin-bottom: 0.5rem;
}

.cta__copy p {
	color: var(--text-muted);
}

.cta__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cta__form input {
	padding: 0.9rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--bg);
	color: var(--text);
}

.cta__form input::placeholder {
	color: var(--text-muted);
}

.cta__form input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-dim);
}

@media (max-width: 768px) {
	.cta__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

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

.footer__inner {
	text-align: center;
	color: var(--text-muted);
	font-size: 0.85rem;
}

.footer__copy {
	margin-top: 0.5rem;
	opacity: 0.7;
}

.footer__credit {
	margin-top: 0.5rem;
	opacity: 0.85;
}

.footer__checkbox-link {
	text-decoration: none;
	color: inherit;
}

.checkbox-brand {
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #52525b;
}

.checkbox-brand__box {
	background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Reveal */
[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

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

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}
