:root {
	--black: #0A0A0A;
	--black-2: #0f0f0f;
	--text: #e7e7e7;
	--muted: #b5b5b5;
	--gold: #d6a64b;
	--gold-2: #ffde84;
	--glow: 0 0 0 transparent;
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
	background: var(--black);
	color: var(--text);
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	margin: 0;
}

h1, h2, h3 {
	font-family: Montserrat, Inter, ui-sans-serif, system-ui, sans-serif;
	line-height: 1.15;
	margin: 0 0 12px 0;
}

h1 {
	font-size: clamp(40px, 7vw, 72px);
	font-weight: 800;
}

h2 {
	font-size: clamp(28px, 4.2vw, 40px);
	font-weight: 700;
	color: var(--gold-2);
}

h3 {
	font-size: 20px;
	font-weight: 700;
}

p {
	color: var(--text);
	opacity: 0.88;
	line-height: 1.7;
	margin: 0 0 12px 0;
}

a {
	color: var(--gold-2);
	text-decoration: none;
}

a:hover {
	color: var(--gold);
	text-decoration: underline;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: linear-gradient(180deg, rgba(10,10,10,0.92), rgba(10,10,10,0.6) 60%, rgba(10,10,10,0));
	backdrop-filter: blur(6px);
	border-bottom: 1px solid rgba(214, 166, 75, 0.08);
}

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

.brand {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	text-decoration: none;
	color: var(--text);
}

.brand-logo {
	height: 40px;
	width: auto;
	transition: filter 200ms ease;
}

.brand:hover .brand-logo {
	filter: 
		brightness(0) saturate(100%) 
		invert(100%) brightness(100%);
}

.brand:hover .brand-name {
	color: white;
}

.footer-logo {
	height: 24px;
	width: auto;
	opacity: 0.8;
}

.brand-name {
	font-weight: 700;
	letter-spacing: 0.2px;
	font-size: 18px;
}

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

.nav a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 500;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	border: 1px solid transparent;
	transition: transform 180ms ease, box-shadow 240ms ease, background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.btn-gold {
	background: linear-gradient(180deg, #ffecb3, #d6a64b);
	color: #151515;
	box-shadow: 0 10px 30px rgba(214,166,75,0.25);
}

.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(214,166,75,0.35); }

.btn-ghost {
	background: transparent;
	border-color: rgba(214,166,75,0.4);
	color: var(--gold-2);
}

.btn-ghost:hover { background: rgba(214,166,75,0.08); }

.btn-outline {
	border-color: rgba(214,166,75,0.5);
	color: var(--gold-2);
}

.btn-outline:hover { background: rgba(214,166,75,0.08); }

.hero {
	position: relative;
	min-height: min(86vh, 860px);
	display: grid;
	place-items: center;
	padding: 80px 0 60px 0;
	isolation: isolate;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(1200px 600px at 50% -10%, rgba(214,166,75,0.16), transparent 60%),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 900"><defs><linearGradient id="g" x1="0" x2="1" y1="0" y2="1"><stop stop-color="%230a0a0a"/><stop offset="1" stop-color="%23131313"/></linearGradient></defs><rect width="1600" height="900" fill="url(%23g)"/><g opacity="0.22" stroke="%23d6a64b" stroke-width="0.6"><path d="M0 700 C400 650 1200 850 1600 700" fill="none"/><path d="M0 540 C400 490 1200 690 1600 540" fill="none"/><path d="M0 380 C400 330 1200 530 1600 380" fill="none"/></g></svg>');
	background-size: cover;
	opacity: 0.9;
	z-index: -1;
}

.hero-inner { text-align: center; }

.headline span { display: block; }

.lede {
	max-width: 760px;
	margin: 14px auto 28px auto;
	color: #dbdbdb;
	font-size: clamp(16px, 2.4vw, 20px);
}


.cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; }

.section { padding: 80px 0; }

.split {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 36px;
	align-items: center;
}

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

.media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	border: 1px solid rgba(214,166,75,0.18);
	box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.center { text-align: center; }

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 24px;
}

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

.card {
	background: linear-gradient(180deg, rgba(255, 228, 140, 0.06), rgba(255, 228, 140, 0.02));
	border: 1px solid rgba(214,166,75,0.18);
	border-radius: 16px;
	padding: 22px;
	transition: transform 200ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(214,166,75,0.12);
	border-color: rgba(214,166,75,0.38);
}

.card .icon { color: var(--gold-2); margin-bottom: 8px; }

/* Technology Product Sections */
.tech-product {
	margin: 60px 0;
}

.product-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.product-content.reverse {
	direction: rtl;
}

.product-content.reverse > * {
	direction: ltr;
}

.product-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.product-logo {
	height: 40px;
	width: auto;
	flex-shrink: 0;
}

.product-info h3 {
	font-size: clamp(24px, 3vw, 32px);
	color: var(--gold-2);
	margin: 0;
	font-weight: 800;
}

.product-description {
	font-size: 18px;
	margin-bottom: 24px;
	color: var(--text);
}

.feature-points {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.feature-point {
	display: flex;
	align-items: center;
	gap: 12px;
}

.feature-point .icon {
	color: var(--gold-2);
	flex-shrink: 0;
}

.feature-point span {
	font-weight: 500;
	color: var(--text);
}

.product-image img {
	width: 85%;
	height: auto;
	max-height: 400px;
	object-fit: contain;
	border-radius: 16px;
	border: 1px solid rgba(214,166,75,0.18);
	box-shadow: 0 24px 60px rgba(0,0,0,0.6);
	transition: transform 200ms ease, box-shadow 240ms ease;
}

.product-image img:hover {
	transform: translateY(-4px);
	box-shadow: 0 32px 80px rgba(214,166,75,0.15);
}

@media (max-width: 900px) {
	.product-content,
	.product-content.reverse {
		grid-template-columns: 1fr;
		gap: 32px;
		direction: ltr;
	}
	
	.tech-product {
		margin: 40px 0;
	}
	
	.product-title {
		gap: 12px;
	}
	
	.product-logo {
		height: 32px;
	}
}

/* Carousel Styles */
.carousel-container {
	margin-top: 32px;
	position: relative;
}

.carousel {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: rgba(214,166,75,0.04);
	border: 1px solid rgba(214,166,75,0.12);
}

.carousel-track {
	display: flex;
	transition: transform 500ms ease;
}

.carousel-slide {
	min-width: 100%;
	position: relative;
	margin: 0;
}

.carousel-slide img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
}

.carousel-slide:not(.active) {
	opacity: 0;
}

.carousel-slide.active {
	opacity: 1;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.7);
	border: 1px solid rgba(214,166,75,0.3);
	color: var(--gold-2);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
	z-index: 10;
}

.carousel-btn:hover {
	background: rgba(214,166,75,0.2);
	border-color: rgba(214,166,75,0.5);
	transform: translateY(-50%) scale(1.05);
}

.carousel-btn-prev {
	left: 20px;
}

.carousel-btn-next {
	right: 20px;
}

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

.carousel-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid rgba(214,166,75,0.4);
	background: transparent;
	cursor: pointer;
	transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.carousel-dot:hover {
	border-color: rgba(214,166,75,0.6);
	transform: scale(1.1);
}

.carousel-dot.active {
	background: var(--gold-2);
	border-color: var(--gold-2);
}

@media (max-width: 640px) {
	.carousel-slide img {
		height: 300px;
	}
	
	.carousel-btn {
		width: 40px;
		height: 40px;
	}
	
	.carousel-btn-prev {
		left: 12px;
	}
	
	.carousel-btn-next {
		right: 12px;
	}
}

.site-footer {
	border-top: 1px solid rgba(214,166,75,0.12);
	padding: 26px 0 40px 0;
	background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,0.6));
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.foot-brand { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); }

.foot-links { display: inline-flex; gap: 14px; color: var(--muted); }

/* Mobile Navigation */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: var(--gold-2);
	font-size: 24px;
	cursor: pointer;
	padding: 8px;
}

.nav-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(10px);
	z-index: 50;
	opacity: 0;
	transition: opacity 300ms ease;
}

.nav-overlay.active {
	display: flex;
	opacity: 1;
}

.nav-overlay .nav {
	flex-direction: column;
	gap: 32px;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.nav-overlay .nav a {
	font-size: 24px;
	font-weight: 600;
}

.nav-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	color: var(--gold-2);
	font-size: 32px;
	cursor: pointer;
	padding: 8px;
}

@media (max-width: 768px) {
	.nav {
		display: none;
	}
	
	.mobile-menu-btn {
		display: block;
	}
	
	.header-inner {
		height: 60px;
	}
	
	.brand-logo {
		height: 32px;
	}
	
	.brand-name {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 16px;
	}
	
	.header-inner {
		height: 56px;
	}
	
	.brand-logo {
		height: 28px;
	}
	
	.brand-name {
		font-size: 15px;
	}
}

/* Mobile Typography and Spacing */
@media (max-width: 768px) {
	h1 {
		font-size: clamp(32px, 8vw, 48px);
		line-height: 1.1;
	}
	
	h2 {
		font-size: clamp(24px, 6vw, 32px);
		margin-bottom: 16px;
	}
	
	h3 {
		font-size: 18px;
	}
	
	.lede {
		font-size: clamp(16px, 4vw, 18px);
		margin: 16px auto 24px auto;
	}
	
	.section {
		padding: 60px 0;
	}
	
	.hero {
		min-height: 70vh;
		padding: 60px 0 40px 0;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: clamp(28px, 9vw, 40px);
	}
	
	h2 {
		font-size: clamp(22px, 7vw, 28px);
	}
	
	.section {
		padding: 40px 0;
	}
	
	.hero {
		min-height: 60vh;
		padding: 40px 0 30px 0;
	}
	
	.lede {
		font-size: 16px;
		margin: 12px auto 20px auto;
	}
}

/* Mobile Buttons */
@media (max-width: 768px) {
	.btn {
		padding: 14px 20px;
		font-size: 16px;
		min-height: 48px;
	}
	
	.cta-row {
		flex-direction: column;
		gap: 12px;
		align-items: center;
	}
	
	.cta-row .btn {
		width: 100%;
		max-width: 280px;
	}
}

@media (max-width: 480px) {
	.btn {
		padding: 12px 18px;
		font-size: 15px;
	}
}

/* Mobile Product Sections */
@media (max-width: 768px) {
	.product-image img {
		width: 100%;
		max-height: 300px;
	}
	
	.product-content {
		gap: 32px;
	}
	
	.tech-product {
		margin: 40px 0;
	}
	
	.product-info {
		text-align: center;
	}
	
	.product-title {
		justify-content: center;
	}
	
	.product-description {
		font-size: 16px;
	}
	
	.feature-points {
		gap: 12px;
		align-items: center;
	}
	
	.feature-point {
		gap: 10px;
		justify-content: center;
	}
	
	.feature-point span {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.product-image img {
		max-height: 250px;
	}
	
	.product-content {
		gap: 24px;
	}
	
	.tech-product {
		margin: 30px 0;
	}
	
	.product-title {
		gap: 8px;
		margin-bottom: 12px;
	}
	
	.product-logo {
		height: 28px;
	}
	
	.product-description {
		font-size: 15px;
		margin-bottom: 20px;
	}
	
	.feature-point span {
		font-size: 14px;
	}
}

/* Mobile Cards and Grid */
@media (max-width: 768px) {
	.card {
		padding: 20px;
	}
	
	.card h3 {
		font-size: 18px;
	}
	
	.card p {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.card {
		padding: 18px;
	}
	
	.card h3 {
		font-size: 17px;
	}
	
	.card p {
		font-size: 14px;
		line-height: 1.6;
	}
}

/* Mobile Footer */
@media (max-width: 768px) {
	.footer-inner {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
	
	.foot-links {
		flex-direction: column;
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.site-footer {
		padding: 20px 0 30px 0;
	}
	
	.foot-brand {
		gap: 8px;
	}
	
	.footer-logo {
		height: 20px;
	}
}

/* Mobile About Section */
@media (max-width: 768px) {
	.split {
		gap: 24px;
	}
}

@media (max-width: 480px) {
	.split {
		gap: 20px;
	}
}

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 500ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Before/After Image Comparison */
.before-after-container {
	position: relative;
	width: 100%;
}

.before-after-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
	cursor: ew-resize;
	user-select: none;
}

.image-container {
	position: relative;
	width: 100%;
	height: auto;
}

.before-image,
.after-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.after-image {
	z-index: 1;
}

.before-image-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	clip-path: inset(0 0 0 50%);
}

.before-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slider-handle {
	position: absolute;
	top: 0;
	left: 50%;
	width: 4px;
	height: 100%;
	transform: translateX(-50%);
	z-index: 3;
	cursor: ew-resize;
}

.slider-line {
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	background: var(--gold);
	transform: translateX(-50%);
	box-shadow: 0 0 10px rgba(199, 162, 74, 0.6);
}

.slider-button {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	background: var(--gold);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	transition: all 0.2s ease;
}

.slider-button:hover {
	background: var(--gold-2);
	transform: translate(-50%, -50%) scale(1.1);
}

.slider-button svg {
	color: var(--black);
	width: 20px;
	height: 20px;
}

.comparison-labels {
	display: none; /* replaced by dynamic slider labels */
}

.label-before,
.label-after { display: none; }

/* Dynamic slider-following labels */
.slider-label {
	position: absolute;
	bottom: 10px;
	transform: translateX(-50%);
	padding: 6px 10px;
	background: rgba(0,0,0,0.6);
	border: 1px solid rgba(242, 217, 139, 0.28);
	color: #e6e9ee;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	pointer-events: none;
	z-index: 4;
	white-space: nowrap; /* prevent shrinking */
}

.slider-label-left { left: calc(50% - 12px); }
.slider-label-right { left: calc(50% + 12px); }

@media (max-width: 768px) {
	.slider-button {
		width: 38px;
		height: 38px;
	}
	
	.slider-button svg {
		width: 18px;
		height: 18px;
	}

	.slider-label { font-size: 11px; padding: 4px 8px; }
}

