
/* ── Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--orange:       #F57C00;
	--orange-bright:#FF9800;
	--orange-dim:   #E65100;
	--black:        #0D0D0D;
	--black-2:      #141414;
	--black-3:      #1C1C1C;
	--black-4:      #242424;
	--white:        #F5F0EB;
	--white-dim:    #A89880;
	--white-muted:  #5A5048;
	--font-display: 'Barlow Condensed', sans-serif;
	--font-body:    'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
	background: var(--black);
	color: var(--white);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.6;
	overflow-x: hidden;
}

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

/* ── Header ───────────────────────────────────────────────────────── */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 20px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(to bottom, rgba(13,13,13,0.95) 0%, transparent 100%);
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-icon {
	width: 300px;
	background-color: #333333;
	padding: 10px;
	padding-right: 46px;
	margin-top: 20px;
}

.logo-text {
	display: none;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--white);
	line-height: 1;
}

.logo-text span {
	color: var(--orange);
	font-weight: 800;
}

nav {
	display: flex;
	gap: 32px;
	align-items: center;
}

nav a {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--white-dim);
	text-decoration: none;
	transition: color 0.2s;
}

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

/* ── Hero section ─────────────────────────────────────────────────── */
.hero {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 60px;
	padding: 120px 40px 80px;
	position: relative;
	overflow: hidden;
}

/* Industrial grid background */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(245,124,0,0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(245,124,0,0.04) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Factory silhouette decorative element */
.hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: -60px;
	width: 500px;
	height: 300px;
	background: var(--black-2);
	clip-path: polygon(
		0% 100%,
		0% 60%,
		8% 60%, 8% 30%, 16% 30%, 16% 60%,
		24% 60%, 24% 45%, 32% 45%, 32% 60%,
		40% 60%, 40% 20%, 48% 20%, 48% 60%,
		56% 60%, 56% 40%, 64% 40%, 64% 60%,
		100% 60%, 100% 100%
	);
	opacity: 0.5;
}

.hero-content {
	position: relative;
	z-index: 2;
	animation: fadeUp 0.8s ease both;
}

.hero-eyebrow {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--orange);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.hero-eyebrow::before {
	content: '';
	display: block;
	width: 32px;
	height: 2px;
	background: var(--orange);
}

h1 {
	font-family: var(--font-display);
	font-size: clamp(52px, 7vw, 96px);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	margin-bottom: 28px;
	color: var(--white);
}

h1 .accent {
	color: var(--orange);
	display: block;
}

.hero-tagline {
	font-size: 16px;
	font-weight: 300;
	color: var(--white-dim);
	max-width: 400px;
	line-height: 1.7;
	margin-bottom: 40px;
	animation: fadeUp 0.8s 0.15s ease both;
}

.hero-cta {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
	animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--black);
	background: var(--orange);
	border: none;
	padding: 14px 32px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
	transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
	background: var(--orange-bright);
	transform: translateY(-1px);
}

.btn-ghost {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--white-dim);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s;
}

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

.btn-ghost svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

/* ── Demo panel ───────────────────────────────────────────────────── */
.demo-panel {
	position: relative;
	z-index: 2;
	animation: fadeUp 0.8s 0.2s ease both;
}

.demo-label {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--white-muted);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.demo-label::after {
	content: 'LIVE';
	font-size: 9px;
	background: var(--orange);
	color: var(--black);
	padding: 2px 6px;
	letter-spacing: 0.15em;
	animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.5; }
}

.demo-frame {
	background: var(--black-3);
	border: 1px solid var(--black-4);
	border-top: 3px solid var(--orange);
	padding: 0;
	height: 480px;
	position: relative;
	box-shadow:
		0 0 0 1px rgba(245,124,0,0.1),
		0 24px 80px rgba(0,0,0,0.6),
		inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Placeholder until widget is wired */
.demo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	color: var(--white-muted);
}

.demo-placeholder svg {
	width: 48px;
	height: 48px;
	fill: var(--black-4);
	stroke: var(--white-muted);
	stroke-width: 1;
}

.demo-placeholder p {
	font-family: var(--font-display);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* teleCast widget target — uncomment when wiring up */
#telecast-widget {
	width: 100%;
	height: 100%;
}

/* ── Product strip ────────────────────────────────────────────────── */
.products {
	padding: 80px 40px;
	border-top: 1px solid var(--black-4);
	position: relative;
}

.products-label {
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--white-muted);
	margin-bottom: 40px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2px;
}

.product-card {
	background: var(--black-2);
	padding: 32px;
	position: relative;
	overflow: hidden;
	transition: background 0.2s;
	animation: fadeUp 0.6s ease both;
}

.product-card:hover {
	background: var(--black-3);
}

.product-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 0;
	background: var(--orange);
	transition: height 0.3s ease;
}

.product-card:hover::before {
	height: 100%;
}

.product-status {
	font-family: var(--font-display);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--orange);
	margin-bottom: 12px;
}

.product-status.coming-soon {
	color: var(--white-muted);
}

.product-name {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--white);
	margin-bottom: 8px;
}

.product-name span {
	color: var(--orange);
}

.product-desc {
	font-size: 14px;
	font-weight: 300;
	color: var(--white-dim);
	line-height: 1.6;
}

.product-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--orange);
	text-decoration: none;
	margin-top: 20px;
	transition: gap 0.2s;
}

.product-link:hover { gap: 10px; }

.product-link svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
	padding: 40px;
	border-top: 1px solid var(--black-4);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-copy {
	font-size: 12px;
	color: var(--white-muted);
	letter-spacing: 0.05em;
}

.footer-links {
	display: flex;
	gap: 24px;
}

.footer-links a {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--white-muted);
	text-decoration: none;
	transition: color 0.2s;
}

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

/* ── Animations ───────────────────────────────────────────────────── */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
	header { padding: 16px 20px; }
	nav { display: none; }

	.hero {
		grid-template-columns: 1fr;
		padding: 100px 20px 60px;
		gap: 40px;
	}

	.hero::after { display: none; }

	.demo-frame { height: 380px; }

	.products { padding: 60px 20px; }

	footer {
		padding: 24px 20px;
		flex-direction: column;
		align-items: flex-start;
	}
}
