/* ===== Reset & Base ===== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg-dark: #0a0e17;
	--bg-card: rgba(12, 20, 36, 0.85);
	--accent: #00f0ff;
	--accent-dim: #00a8b5;
	--accent-glow: rgba(0, 240, 255, 0.4);
	--text-primary: #e8f4ff;
	--text-secondary: #8ba3b8;
	--danger: #ff4d6a;
	--success: #00e676;
	--font-display: "Orbitron", sans-serif;
	--font-body: "Roboto", sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background: var(--bg-dark);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

/* ===== Language Toggle ===== */
.lang-toggle {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 1000;
	background: rgba(0, 20, 40, 0.85);
	border: 1px solid var(--accent);
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 500;
	padding: 10px 18px;
	border-radius: 4px;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: all 0.3s ease;
	box-shadow: 0 0 15px var(--accent-glow);
}

.lang-toggle:hover {
	background: var(--accent);
	color: var(--bg-dark);
	box-shadow: 0 0 25px var(--accent-glow);
}

/* ===== Hero Section ===== */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	overflow: hidden;
}

/* Full-width background image */
.hero-bg {
	position: absolute;
	inset: 0;
	background-image: url("hero-bg.jpg");
	background-size: cover;
	background-position: center 40%;
	background-repeat: no-repeat;
	z-index: 0;
}

/* Dark overlay for text readability */
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(5, 10, 20, 0.55) 0%,
		rgba(5, 10, 20, 0.35) 40%,
		rgba(5, 10, 20, 0.65) 75%,
		rgba(10, 14, 23, 0.92) 100%
	);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 1100px;
	padding: 40px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* Hero Text — foreground on the image */
.hero-text {
	text-align: center;
	max-width: 900px;
	padding: 32px 28px;
}

.hero-text h1 {
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 5vw, 2.7rem);
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 18px;
	color: #ffffff;
	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.8),
		0 0 40px rgba(0, 240, 255, 0.35);
	line-height: 1.25;
}

.hero-subtitle {
	font-size: clamp(1rem, 2.4vw, 1.25rem);
	color: rgba(220, 235, 250, 0.92);
	font-weight: 300;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
	line-height: 1.5;
}

/* Scroll indicator */
.scroll-indicator {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: rgba(200, 220, 240, 0.85);
	font-size: 0.8rem;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
	cursor: pointer;
	padding: 12px 20px;
	user-select: none;
	transition:
		color 0.25s ease,
		transform 0.25s ease;
}

.scroll-indicator:hover {
	color: var(--accent);
}

.scroll-indicator:hover .arrow {
	border-color: var(--accent);
}

.arrow {
	width: 18px;
	height: 18px;
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(45deg);
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%,
	100% {
		transform: rotate(45deg) translateY(0);
	}
	50% {
		transform: rotate(45deg) translateY(8px);
	}
}

/* ===== Sections ===== */
.section {
	padding: 80px 20px;
	position: relative;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	text-align: center;
	margin-bottom: 48px;
	color: var(--text-primary);
	position: relative;
}

.section-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	margin: 16px auto 0;
}

/* Tasks */
.tasks {
	background: linear-gradient(180deg, var(--bg-dark) 0%, #0c1525 100%);
}

.tasks-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.task-card {
	background: var(--bg-card);
	border: 1px solid rgba(0, 240, 255, 0.12);
	border-radius: 8px;
	padding: 28px 24px;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.task-card:hover {
	border-color: rgba(0, 240, 255, 0.4);
	box-shadow: 0 0 30px rgba(0, 100, 150, 0.2);
	transform: translateY(-4px);
}

.task-icon {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 16px;
	opacity: 0.8;
}

.task-card h3 {
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 12px;
	color: var(--text-primary);
}

.task-card p {
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.65;
}

/* Company */
.company {
	background: #0c1525;
}

.company-content {
	max-width: 900px;
	margin: 0 auto;
}

.company-lead {
	text-align: center;
	font-size: 1.15rem;
	color: var(--text-secondary);
	margin-bottom: 48px;
	line-height: 1.7;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 32px;
}

.feature {
	text-align: center;
	padding: 24px;
}

.feature h4 {
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--accent);
	margin-bottom: 12px;
	letter-spacing: 0.5px;
}

.feature p {
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.65;
}

/* Contacts */
.contacts {
	background: linear-gradient(180deg, #0c1525 0%, var(--bg-dark) 100%);
	padding-bottom: 100px;
}

.contact-card {
	max-width: 500px;
	margin: 0 auto;
	text-align: center;
	background: var(--bg-card);
	border: 1px solid rgba(0, 240, 255, 0.2);
	border-radius: 12px;
	padding: 40px 32px;
	box-shadow: 0 0 40px rgba(0, 80, 120, 0.15);
}

.contact-card p {
	color: var(--text-secondary);
	margin-bottom: 24px;
	font-size: 1.05rem;
}

.email-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-size: 1.2rem;
	color: var(--accent);
	text-decoration: none;
	padding: 14px 28px;
	border: 1px solid var(--accent);
	border-radius: 6px;
	transition: all 0.3s ease;
	background: rgba(0, 240, 255, 0.05);
}

.email-link:hover {
	background: var(--accent);
	color: var(--bg-dark);
	box-shadow: 0 0 25px var(--accent-glow);
}

.email-icon {
	font-size: 1.4rem;
}

/* Footer */
.footer {
	background: #060a12;
	padding: 24px 20px;
	text-align: center;
	border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.footer p {
	font-size: 0.85rem;
	color: var(--text-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.lang-toggle {
		top: 16px;
		right: 16px;
		padding: 8px 14px;
		font-size: 0.8rem;
	}

	.hero-text {
		padding: 24px 18px;
		margin: 0 8px;
	}

	.section {
		padding: 60px 16px;
	}
}

@media (max-width: 480px) {
	.hero-text h1 {
		font-size: 1.5rem;
	}
}
