:root {
	--bg-dark: #0c0c10;
	--bg-card: #16161f;
	--bg-card-hover: #1e1e2c;
	--border-color: #2a2a3c;
	--border-highlight: #6e2df5;
	--primary: #6e2df5;
	--primary-glow: rgba(110, 45, 245, 0.4);
	--secondary: #b455ff;
	--accent-gold: #ffc34b;
	--accent-green: #32d28c;
	--accent-red: #ff5a6e;
	--text-white: #ffffff;
	--text-muted: #9c9cb8;
	--text-dim: #6c6c84;
	--radius-lg: 24px;
	--radius-md: 16px;
	--radius-sm: 10px;
	--transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background-color: var(--bg-dark);
	color: var(--text-white);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Typography & Badges */
.badge {
	display: inline-block;
	padding: 6px 14px;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--secondary);
	background: rgba(180, 85, 255, 0.12);
	border: 1px solid rgba(180, 85, 255, 0.3);
	border-radius: 20px;
	margin-bottom: 20px;
}

.gradient-text {
	background: linear-gradient(135deg, var(--text-white) 30%, var(--secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(12, 12, 16, 0.8);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border-color);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text-white);
	font-weight: 700;
	font-size: 1.25rem;
}

.nav-brand img {
	width: 32px;
	height: 32px;
	border-radius: 8px;
}

.nav-links {
	display: flex;
	gap: 28px;
	list-style: none;
}

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

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

/* Buttons */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: var(--text-white);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--radius-sm);
	box-shadow: 0 4px 20px var(--primary-glow);
	transition: var(--transition);
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(180, 85, 255, 0.5);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-white);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-color);
	transition: var(--transition);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--text-muted);
}

/* Hero */
.hero {
	padding: 90px 0 60px;
	text-align: center;
	position: relative;
}

.hero-title {
	font-size: 3.8rem;
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 24px;
	letter-spacing: -0.03em;
}

.hero-desc {
	font-size: 1.25rem;
	color: var(--text-muted);
	max-width: 760px;
	margin: 0 auto 36px;
}

.hero-actions {
	display: flex;
	gap: 18px;
	justify-content: center;
	margin-bottom: 50px;
}

.video-container {
	max-width: 960px;
	margin: 0 auto;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.7),
		0 0 40px var(--primary-glow);
	border: 1px solid var(--border-color);
}

.video-container video {
	width: 100%;
	display: block;
}

/* Sections Global */
section {
	padding: 100px 0;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header h2 {
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}

.section-header p {
	font-size: 1.15rem;
	color: var(--text-muted);
	max-width: 620px;
	margin: 0 auto;
}

/* Simulator Grid */
.simulator-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
}

/* Hardware Mockup: Stream Deck + */
.streamdeck-hardware {
	background: #14141d;
	border: 2px solid #2e2e42;
	border-radius: 28px;
	padding: 30px;
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.6),
		inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* LCD Touchstrip */
.touch-strip {
	background: #08080c;
	border: 1px solid #333348;
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 24px;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.strip-top {
	display: flex;
	justify-content: space-between;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text-muted);
	margin-bottom: 6px;
}

.strip-mode {
	color: var(--accent-gold);
	background: rgba(255, 195, 75, 0.15);
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 0.75rem;
}

.strip-main {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 12px;
}

.strip-value {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--text-white);
}

.strip-sub {
	font-size: 0.8rem;
	color: var(--accent-green);
	font-weight: 600;
}

.strip-progress-bg {
	width: 100%;
	height: 8px;
	background: #20202e;
	border-radius: 4px;
	overflow: hidden;
}

.strip-progress-fill {
	height: 100%;
	width: 50%;
	background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
	border-radius: 4px;
	transition: width 0.1s linear;
}

/* Keys Grid */
.keys-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}

.sd-key {
	background: linear-gradient(145deg, #1c1c28 0%, #12121c 100%);
	border: 1px solid #36364e;
	border-radius: 16px;
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px;
	text-align: center;
	cursor: pointer;
	user-select: none;
	transition: var(--transition);
	box-shadow:
		0 4px 10px rgba(0, 0, 0, 0.4),
		inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.sd-key:hover {
	border-color: var(--secondary);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(180, 85, 255, 0.25);
}

.sd-key:active {
	transform: scale(0.95);
	background: #252536;
}

.sd-key img {
	width: 32px;
	height: 32px;
	margin-bottom: 6px;
	pointer-events: none;
}

.sd-key span {
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-white);
	pointer-events: none;
}

/* Dials Grid */
.dials-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	text-align: center;
}

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

.dial-wheel {
	width: 72px;
	height: 72px;
	background: #1e1e2b;
	border: 2px solid #38384f;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-shadow:
		0 6px 14px rgba(0, 0, 0, 0.5),
		inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.dial-wheel.interactive {
	cursor: grab;
	border-color: var(--primary);
	box-shadow: 0 0 15px var(--primary-glow);
}

.dial-wheel.interactive:active {
	cursor: grabbing;
}

.dial-cap {
	width: 54px;
	height: 54px;
	background: radial-gradient(circle, #2a2a3b 0%, #171722 100%);
	border-radius: 50%;
	position: relative;
	border: 1px solid #44445e;
}

.dial-indicator {
	width: 3px;
	height: 14px;
	background: var(--accent-gold);
	position: absolute;
	top: 4px;
	left: calc(50% - 1.5px);
	border-radius: 2px;
	transform-origin: 50% 23px;
}

.dial-label {
	font-size: 0.85rem;
	font-weight: 700;
	margin-top: 10px;
	color: var(--text-white);
}

.dial-hint {
	font-size: 0.75rem;
	color: var(--text-muted);
}

/* Right Card: Virtual Sonos Speaker Visualizer */
.sonos-visualizer-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 28px;
	padding: 32px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.visualizer-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

.speaker-status-dot {
	width: 14px;
	height: 14px;
	background: var(--accent-green);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--accent-green);
}

.visualizer-header h3 {
	font-size: 1.3rem;
	font-weight: 800;
}

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

.canvas-wrapper {
	background: #08080c;
	border: 1px solid #2a2a3c;
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: 24px;
}

#waveformCanvas {
	width: 100%;
	display: block;
}

.sim-meta-panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: rgba(255, 255, 255, 0.03);
	padding: 18px;
	border-radius: var(--radius-sm);
	margin-bottom: 20px;
}

.meta-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
}

.meta-label {
	color: var(--text-muted);
}

.meta-val {
	font-weight: 700;
	color: var(--text-white);
}

.meta-val.highlight {
	color: var(--accent-green);
}

.btn-scan-demo {
	width: 100%;
	padding: 12px;
	background: #252536;
	border: 1px solid #444460;
	color: var(--text-white);
	border-radius: var(--radius-sm);
	font-weight: 700;
	cursor: pointer;
	transition: var(--transition);
}

.btn-scan-demo:hover {
	background: #32324a;
	border-color: var(--secondary);
}

.scan-demo-result {
	margin-top: 10px;
	font-size: 0.85rem;
	text-align: center;
	color: var(--text-muted);
	min-height: 24px;
}

/* Features Grid */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 36px 30px;
	transition: var(--transition);
}

.feature-card:hover {
	transform: translateY(-4px);
	border-color: var(--secondary);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
	width: 58px;
	height: 58px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
}

.feature-icon-wrapper img {
	width: 32px;
	height: 32px;
}

.feature-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.feature-card p {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.55;
}

/* Comparison Table */
.table-wrapper {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

th,
td {
	padding: 20px 28px;
	border-bottom: 1px solid var(--border-color);
	font-size: 1rem;
}

th {
	background: #111118;
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
}

th.highlight {
	color: var(--secondary);
}

td.highlight {
	background: rgba(110, 45, 245, 0.06);
	font-weight: 700;
	color: var(--text-white);
}

.check {
	color: var(--accent-green);
	margin-right: 6px;
	font-weight: 900;
}

.cross {
	color: var(--text-dim);
}

/* Setup Steps */
.setup-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.step-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 36px 30px;
	position: relative;
}

.step-num {
	width: 44px;
	height: 44px;
	background: var(--primary);
	color: var(--text-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.2rem;
	margin-bottom: 22px;
}

.step-card h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 12px;
}

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

/* Pricing */
.pricing-card {
	max-width: 580px;
	margin: 0 auto;
	background: var(--bg-card);
	border: 2px solid var(--primary);
	border-radius: var(--radius-lg);
	padding: 50px 40px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(110, 45, 245, 0.2);
}

.pricing-card h2 {
	font-size: 1.8rem;
	font-weight: 800;
	margin-bottom: 10px;
}

.price-tag {
	font-size: 4rem;
	font-weight: 900;
	color: var(--text-white);
	margin: 16px 0 6px;
}

.price-sub {
	font-size: 0.95rem;
	color: var(--accent-gold);
	margin-bottom: 30px;
	font-weight: 600;
}

.pricing-features {
	list-style: none;
	text-align: left;
	margin-bottom: 36px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pricing-features li {
	font-size: 0.95rem;
	color: var(--text-muted);
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.pricing-features li span {
	color: var(--accent-green);
	font-weight: 800;
}

/* FAQ */
.faq-list {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.faq-item {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 26px 30px;
}

.faq-item h4 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.faq-item p {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.6;
}

/* Footer */
.footer {
	border-top: 1px solid var(--border-color);
	padding: 40px 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--text-dim);
}

.footer-links {
	margin-top: 12px;
	display: flex;
	gap: 24px;
	justify-content: center;
}

.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 992px) {
	.simulator-grid {
		grid-template-columns: 1fr;
	}
	.features-grid,
	.setup-steps {
		grid-template-columns: 1fr;
	}
	.hero-title {
		font-size: 2.8rem;
	}
}

@media (max-width: 767px) {
	body {
		overflow-x: hidden;
	}

	.nav-links,
	.navbar .btn-primary {
		display: none;
	}

	.streamdeck-hardware,
	.touch-strip,
	.keys-grid {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
	}

	.streamdeck-hardware {
		padding: 16px;
	}

	.keys-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
