/* ============ VoltraSoft — dark refined theme ============ */
:root {
	--bg: #070a12;
	--bg-alt: #0b101d;
	--surface: rgba(255, 255, 255, 0.04);
	--border: rgba(255, 255, 255, 0.09);
	--text: #e6ebf4;
	--text-dim: #9aa7bd;
	--cyan: #22d3ee;
	--violet: #8b5cf6;
	--grad: linear-gradient(120deg, #22d3ee, #8b5cf6);
	--radius: 18px;
	--font-head: "Space Grotesk", sans-serif;
	--font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.grad {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 14px;
}

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-title {
	font-family: var(--font-head);
	font-size: clamp(30px, 4.4vw, 48px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin-bottom: 18px;
}

.section-sub { color: var(--text-dim); max-width: 560px; font-size: 17px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Nav ---------- */
.nav {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
	border-bottom: 1px solid transparent;
}
.nav.scrolled {
	background: rgba(7, 10, 18, 0.78);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-head);
	font-size: 21px; font-weight: 700;
	letter-spacing: -0.01em;
}
.brand em { font-style: normal; color: var(--cyan); }
.brand-mark { width: 30px; height: 30px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
	font-size: 15px; font-weight: 500; color: var(--text-dim);
	transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
	padding: 9px 20px;
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--text) !important;
	background: var(--surface);
	transition: border-color .2s ease, background .2s ease;
}
.nav-cta:hover { border-color: var(--cyan); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none; border: 0; cursor: pointer;
	padding: 8px;
}
.nav-toggle span {
	width: 24px; height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(7,10,18,.55) 0%, rgba(7,10,18,.78) 55%, var(--bg) 100%),
		radial-gradient(60% 50% at 70% 30%, rgba(139,92,246,.18), transparent 70%);
}
.hero-glow {
	position: absolute; border-radius: 50%;
	filter: blur(90px); opacity: .35;
	pointer-events: none;
}
.hero-glow--a { width: 420px; height: 420px; background: #0ea5b7; top: -120px; right: 8%; }
.hero-glow--b { width: 380px; height: 380px; background: #7c3aed; bottom: -140px; left: 4%; }

.hero-content { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 90px; }
.hero-eyebrow {
	display: inline-block;
	font-size: 13px; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--cyan);
	border: 1px solid rgba(34,211,238,.35);
	background: rgba(34,211,238,.08);
	border-radius: 999px;
	padding: 8px 18px;
	margin-bottom: 26px;
}
.hero h1 {
	font-family: var(--font-head);
	font-size: clamp(38px, 6.4vw, 72px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
	max-width: 800px;
}
.hero-sub {
	margin-top: 24px;
	font-size: 18px;
	color: var(--text-dim);
	max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-body);
	font-size: 15px; font-weight: 600;
	padding: 14px 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
	background: var(--grad);
	color: #06101a;
	box-shadow: 0 8px 30px rgba(34,211,238,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(139,92,246,.35); }
.btn-ghost {
	background: var(--surface);
	border-color: var(--border);
	color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

.hero-stats {
	display: flex; gap: 56px;
	margin-top: 64px;
	flex-wrap: wrap;
}
.stat strong {
	display: block;
	font-family: var(--font-head);
	font-size: 34px; font-weight: 700;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.stat strong::after { content: "+"; }
.stat:last-child strong::after { content: "%"; }
.stat span { font-size: 13.5px; color: var(--text-dim); }

.hero-scroll {
	position: absolute; bottom: 28px; left: 50%;
	transform: translateX(-50%);
	width: 26px; height: 42px;
	border: 2px solid rgba(255,255,255,.3);
	border-radius: 14px;
	z-index: 2;
}
.hero-scroll span {
	position: absolute; top: 8px; left: 50%;
	width: 4px; height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--cyan);
	animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(14px); opacity: 0; }
	100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
	overflow: hidden;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--bg-alt);
	padding: 18px 0;
}
.marquee-track {
	display: flex; gap: 48px;
	width: max-content;
	animation: marquee 34s linear infinite;
}
.marquee-track span {
	font-family: var(--font-head);
	font-size: 15px; font-weight: 600;
	letter-spacing: .06em;
	color: var(--text-dim);
	white-space: nowrap;
}
.marquee-track span::after {
	content: "·";
	margin-left: 48px;
	color: var(--cyan);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 56px;
}
.service-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(34,211,238,.4);
	box-shadow: 0 24px 48px rgba(0,0,0,.4);
}
.service-img { height: 200px; overflow: hidden; }
.service-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 28px; }
.service-icon {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: rgba(34,211,238,.1);
	border: 1px solid rgba(34,211,238,.25);
	color: var(--cyan);
	margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-body h3 {
	font-family: var(--font-head);
	font-size: 21px; font-weight: 600;
	margin-bottom: 10px;
}
.service-body > p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 18px; }
.service-body ul li {
	position: relative;
	font-size: 14px;
	color: var(--text);
	padding: 7px 0 7px 24px;
	border-top: 1px solid rgba(255,255,255,.05);
}
.service-body ul li::before {
	content: "";
	position: absolute; left: 2px; top: 14px;
	width: 10px; height: 10px;
	border-radius: 3px;
	background: var(--grad);
}

/* ---------- Steps ---------- */
.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 56px;
	counter-reset: step;
}
.step {
	position: relative;
	padding: 30px 26px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.step::after {
	content: "";
	position: absolute; top: 0; left: 26px; right: 26px;
	height: 2px;
	background: var(--grad);
	border-radius: 2px;
	opacity: .7;
}
.step-num {
	font-family: var(--font-head);
	font-size: 15px; font-weight: 700;
	color: var(--cyan);
	letter-spacing: .1em;
}
.step h3 {
	font-family: var(--font-head);
	font-size: 19px;
	margin: 12px 0 10px;
}
.step p { font-size: 14px; color: var(--text-dim); }

/* ---------- Split (tehnologii) ---------- */
.split {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 64px;
	align-items: center;
}
.chips {
	display: flex; flex-wrap: wrap; gap: 10px;
	margin-top: 30px;
}
.chips span {
	font-size: 13.5px; font-weight: 500;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text-dim);
	transition: border-color .2s ease, color .2s ease;
}
.chips span:hover { border-color: var(--cyan); color: var(--text); }

.split-media { position: relative; }
.split-media img {
	border-radius: var(--radius);
	border: 1px solid var(--border);
	aspect-ratio: 4/5;
	object-fit: cover;
	width: 100%;
}
.split-media-card {
	position: absolute;
	left: -28px; bottom: 34px;
	padding: 18px 24px;
	border-radius: 14px;
	background: rgba(11,16,29,.85);
	border: 1px solid var(--border);
	backdrop-filter: blur(12px);
	box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.split-media-card strong {
	display: block;
	font-family: var(--font-head);
	font-size: 17px;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.split-media-card span { font-size: 13px; color: var(--text-dim); }

/* ---------- Features ---------- */
.features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 56px;
}
.feature {
	padding: 30px 26px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: transform .3s ease, border-color .3s ease;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(139,92,246,.45); }
.feature-icon {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: rgba(139,92,246,.12);
	border: 1px solid rgba(139,92,246,.3);
	color: var(--violet);
	margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 10px; }
.feature p { font-size: 14px; color: var(--text-dim); }

/* ---------- Banner ---------- */
.banner {
	position: relative;
	padding: 130px 0;
	overflow: hidden;
	text-align: center;
}
.banner > img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.banner-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(7,10,18,.92), rgba(7,10,18,.75)),
		radial-gradient(50% 60% at 50% 50%, rgba(34,211,238,.12), transparent 70%);
}
.banner-content { position: relative; z-index: 2; }
.banner-content h2 {
	font-family: var(--font-head);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	letter-spacing: -0.02em;
	max-width: 640px;
	margin: 0 auto 16px;
}
.banner-content p { color: var(--text-dim); font-size: 17px; margin-bottom: 34px; }

/* ---------- Contact ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: start;
}
.contact-lines { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.contact-line {
	display: flex; align-items: center; gap: 14px;
	font-size: 15px; color: var(--text);
}
.contact-line svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; }
a.contact-line:hover { color: var(--cyan); }

.contact-form {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 36px;
	display: flex; flex-direction: column; gap: 18px;
}
.contact-form label {
	display: flex; flex-direction: column; gap: 8px;
	font-size: 13.5px; font-weight: 600;
	color: var(--text-dim);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--text);
	background: rgba(7,10,18,.6);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 12px 16px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
	resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(34,211,238,.14);
}
.contact-form select option { background: var(--bg-alt); }
.form-note { font-size: 12.5px; color: var(--text-dim); text-align: center; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-status { font-size: 14px; min-height: 20px; text-align: center; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #f87171; }
.contact-form button:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- Footer ---------- */
.footer {
	border-top: 1px solid var(--border);
	padding: 40px 0;
	background: var(--bg-alt);
}
.footer-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: 14px; color: var(--text-dim); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.services { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
	.steps, .features { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 44px; }
	.split-media-card { left: 18px; }
	.contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
	.section { padding: 80px 0; }
	.nav-toggle { display: flex; }
	.nav-links {
		position: fixed;
		top: 72px; left: 0; right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		background: rgba(7,10,18,.97);
		backdrop-filter: blur(16px);
		border-bottom: 1px solid var(--border);
		padding: 12px 24px 24px;
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: opacity .25s ease, transform .25s ease;
	}
	.nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
	.nav-links a { padding: 14px 0; width: 100%; }
	.nav-cta { margin-top: 10px; }
	.steps, .features { grid-template-columns: 1fr; }
	.hero-stats { gap: 32px; }
	.contact-form { padding: 26px; }
}
