/* /public_html/assets/styles.css */

:root {
	--bg: #ffffff;
	--bg-alt: #f8fafc;
	--bg-dark: #0f172a;
	--bg-dark-2: #1e293b;
	--text: #0f172a;
	--text-muted: #475569;
	--text-on-dark: #ffffff;
	--text-on-dark-muted: #94a3b8;
	--border: #e2e8f0;
	--border-dark: #334155;
	--accent: #3b82f6;
	--accent-hover: #2563eb;
	--max-width: 1200px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
	--shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* Navigace */
.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(15, 23, 42, 0.92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-logo img {
	height: 28px;
	width: auto;
	filter: brightness(0) invert(1);
}

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

.nav-links a {
	color: var(--text-on-dark-muted);
	font-weight: 500;
	font-size: 15px;
	transition: color 0.15s ease;
}

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

.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	background: var(--accent);
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.15s ease;
}

.nav-cta:hover {
	background: var(--accent-hover);
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}
}

/* Hero */
.hero {
	position: relative;
	background: radial-gradient(
			ellipse at top right,
			rgba(59, 130, 246, 0.18),
			transparent 55%
		),
		radial-gradient(
			ellipse at bottom left,
			rgba(59, 130, 246, 0.08),
			transparent 60%
		),
		linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
	color: var(--text-on-dark);
	overflow: hidden;
	padding: 96px 0 120px;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
	background-size: 32px 32px;
	pointer-events: none;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-inner {
	position: relative;
	max-width: 820px;
}

.hero h1 {
	font-size: clamp(2.25rem, 4.8vw, 4rem);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 20px;
}

.hero h1 .accent {
	background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.hero p.lead {
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	color: var(--text-on-dark-muted);
	max-width: 640px;
	margin-bottom: 36px;
}

.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}

.btn-primary {
	background: var(--accent);
	color: #fff;
}

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

.btn-secondary {
	background: transparent;
	color: var(--text-on-dark);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 600px) {
	.hero {
		padding: 72px 0 80px;
	}
}

/* Sekce - obecné */
.section {
	padding: 96px 0;
}

.section-alt {
	background: var(--bg-alt);
}

.section-dark {
	background: var(--bg-dark);
	color: var(--text-on-dark);
}

.section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 64px;
}

.section-eyebrow {
	display: inline-block;
	color: var(--accent);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.section h2 {
	font-size: clamp(1.875rem, 3vw, 2.5rem);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin-bottom: 14px;
}

.section-head p {
	color: var(--text-muted);
	font-size: 1.0625rem;
}

.section-dark .section-head p {
	color: var(--text-on-dark-muted);
}

/* Aplikace - grid */
.apps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.app-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(59, 130, 246, 0.3);
}

.app-card-icon {
	width: 88px;
	height: 88px;
	border-radius: 20px;
	box-shadow: var(--shadow-md);
	margin-bottom: 22px;
}

.app-card h3 {
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}

.app-card p {
	color: var(--text-muted);
	font-size: 0.9875rem;
	line-height: 1.55;
	margin-bottom: 20px;
	flex-grow: 1;
}

.app-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--accent);
	font-weight: 600;
	font-size: 14px;
	margin-top: auto;
}

.app-card-link svg {
	transition: transform 0.15s ease;
}

.app-card:hover .app-card-link svg {
	transform: translateX(3px);
}

/* Co děláme */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.service-card {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
	border-color: rgba(59, 130, 246, 0.4);
	transform: translateY(-2px);
}

.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(59, 130, 246, 0.1);
	color: var(--accent);
	margin-bottom: 18px;
}

.service-icon svg {
	width: 22px;
	height: 22px;
}

.service-card h3 {
	font-size: 1.0625rem;
	font-weight: 600;
	margin-bottom: 8px;
	letter-spacing: -0.005em;
}

.service-card p {
	color: var(--text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* O nás (tmavý split) */
.about-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.stat {
	padding: 28px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
}

.stat .stat-value {
	display: block;
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-on-dark);
	margin-bottom: 4px;
}

.stat .stat-label {
	color: var(--text-on-dark-muted);
	font-size: 0.9375rem;
}

.about-text h2 {
	color: var(--text-on-dark);
}

.about-text p {
	color: var(--text-on-dark-muted);
	font-size: 1.0625rem;
	margin-bottom: 16px;
}

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

/* CTA sekce - Otevřen spolupráci */
.section-cta {
	background:
		radial-gradient(
			ellipse at top left,
			rgba(59, 130, 246, 0.25),
			transparent 60%
		),
		radial-gradient(
			ellipse at bottom right,
			rgba(59, 130, 246, 0.15),
			transparent 60%
		),
		linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
	color: var(--text-on-dark);
	position: relative;
	overflow: hidden;
}

.section-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(
		circle at 1px 1px,
		rgba(255, 255, 255, 0.05) 1px,
		transparent 0
	);
	background-size: 32px 32px;
	pointer-events: none;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.cta-inner {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.section-cta h2 {
	color: var(--text-on-dark);
	margin-bottom: 16px;
}

.section-cta p {
	color: var(--text-on-dark-muted);
	font-size: 1.0625rem;
	margin-bottom: 32px;
}

.section-cta .btn-primary {
	font-size: 16px;
	padding: 16px 28px;
}

/* Kontakt */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.contact-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}

.contact-card .service-icon {
	margin-bottom: 16px;
}

.contact-card h3 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--text-muted);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-size: 12px;
}

.contact-card p {
	color: var(--text);
	font-size: 0.9875rem;
	line-height: 1.7;
}

.contact-card a {
	color: var(--accent);
	font-weight: 500;
}

.contact-card a:hover {
	text-decoration: underline;
}

/* Footer */
.footer {
	background: var(--bg-dark);
	color: var(--text-on-dark-muted);
	padding: 36px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 14px;
}

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

.footer img {
	height: 22px;
	filter: brightness(0) invert(1);
	opacity: 0.7;
}

/* Mobile úpravy */
@media (max-width: 600px) {
	body {
		font-size: 16px;
	}
	.section {
		padding: 72px 0;
	}
	.section-head {
		margin-bottom: 48px;
	}
	.app-card,
	.service-card,
	.contact-card {
		padding: 24px;
	}
}
