@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
	--accent: #7505E6;
	--accent-soft: rgba(117, 5, 230, 0.08);
	--bg: #fff;
	--surface: #f7f7f8;
	--text: #111;
	--text-secondary: #555;
	--text-muted: #999;
	--border: #ebebeb;
	--border-dashed: #bbb;
	--radius: 12px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', sans-serif;
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

.btn-primary:focus-visible {
	outline-offset: 4px;
}

.wrap {
	width: min(1080px, calc(100% - 64px));
	margin: 0 auto;
}

/* ── Scroll animations ─────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ── Nav ─────────────────────────────────── */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}

.nav-inner {
	width: min(1080px, calc(100% - 64px));
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
}

.nav-logo {
	display: flex;
	align-items: center;
}

.nav-logo img {
	height: 48px;
	width: auto;
}

.nav-links {
	display: flex;
	gap: 32px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-secondary);
}

.nav-links a {
	transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
	color: var(--text);
}

.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 9px 18px;
	transition: background 0.15s, border-color 0.15s;
}

.nav-cta:hover {
	background: var(--surface);
	border-color: #ccc;
}

.nav-cta svg {
	width: 14px;
	height: 14px;
}

/* Mobile Nav */
.nav-mobile-btn {
	display: none;
	background: none;
	border: none;
	color: var(--text);
	cursor: pointer;
	padding: 4px;
}

.nav-mobile-btn svg {
	width: 24px;
	height: 24px;
}

.nav-mobile-menu {
	display: none;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-top: 1px solid var(--border);
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	padding: 24px 32px;
	gap: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s, transform 0.3s;
	pointer-events: none;
}

.nav-mobile-menu.open {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.nav-mobile-menu .mobile-link {
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
}

.nav-mobile-menu .mobile-cta {
	margin-top: 16px;
	width: 100%;
	text-align: center;
}

/* ── Subpage breadcrumb / back link ──────── */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-secondary);
	margin-bottom: 32px;
	transition: color 0.15s;
}

.back-link:hover {
	color: var(--text);
}

.back-link svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s;
}

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

/* ── Hero ────────────────────────────────── */
.hero {
	padding: 72px 0 56px;
	border-bottom: 1px solid var(--border);
}

.hero-top {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: start;
	gap: 40px;
}

.hero-headline {
	font-size: clamp(40px, 10vw, 96px);
	font-weight: 800;
	line-height: 0.93;
	letter-spacing: -0.04em;
	color: var(--text);
}

.hero-headline .accent {
	color: var(--accent);
}

.hero-side {
	max-width: 280px;
	padding-top: 10px;
	text-align: right;
}

.hero-side p {
	font-size: 18px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--text-secondary);
}

.hero-tagline {
	margin-top: 40px;
	max-width: 600px;
}

.hero-tagline p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-muted);
}

.hero-bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: 36px;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

@property --glow-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

.btn-primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	min-height: 48px;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
	z-index: 1;
	font-family: inherit;
}

.btn-primary::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: -1.5px;
	border-radius: 999px;
	background: conic-gradient(from var(--glow-angle),
			transparent 0%,
			#7505E6 15%,
			#c084fc 25%,
			transparent 40%,
			transparent 50%,
			#38bdf8 65%,
			#7505E6 75%,
			transparent 90%);
	filter: blur(1px) brightness(1.3);
	opacity: 0;
	animation: spin-glow 3s linear infinite, initial-glow 2s linear forwards;
	transition: opacity 0.4s ease, filter 0.4s ease;
}

.btn-primary::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 1px;
	border-radius: 999px;
	background: var(--text);
	transition: background 0.2s ease;
}

@keyframes spin-glow {
	0% { --glow-angle: 0deg; }
	40% { --glow-angle: 90deg; }
	50% { --glow-angle: 270deg; }
	100% { --glow-angle: 360deg; }
}

@keyframes initial-glow {
	0%, 10% { opacity: 0; }
	20%, 75% { opacity: 1; }
	100% { opacity: 0; }
}

.btn-primary:hover::before {
	opacity: 1 !important;
	filter: blur(2px) brightness(1.5);
}

.btn-primary:hover::after {
	background: #151515;
}

.btn-primary:hover {
	transform: translateY(-2px);
}

.btn-text {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-secondary);
	transition: color 0.15s;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

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

.btn-text .arrow {
	transition: transform 0.2s;
	display: inline-block;
}

.btn-text:hover .arrow {
	transform: translateX(3px);
}

.hero-scroll {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: #aaa;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero-scroll svg {
	width: 18px;
	height: 18px;
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(5px); }
}

/* ── Section base ────────────────────────── */
.section {
	padding: 80px 0 96px;
	border-bottom: 1px solid var(--border);
}

.section.surface {
	background: var(--surface);
}

.section-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 16px;
}

.section h2 {
	font-size: clamp(36px, 5vw, 54px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.04em;
	margin-bottom: 56px;
	color: var(--text);
}

.sc-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 64px;
}

.sc-header h2 {
	margin-bottom: 16px;
}

.sc-header p {
	font-size: 18px;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* ── Bento section (with optional iframe) ──── */
.bento {
	padding: 80px 0 96px;
	border-bottom: 1px solid var(--border);
}

.bento-flex {
	display: flex;
	gap: 64px;
	align-items: flex-start;
}

.bento-content {
	flex: 1;
}

.bento-visual {
	flex: 0 0 320px;
	position: sticky;
	top: 120px;
}

.bento-visual iframe {
	width: 360px;
	max-width: 100%;
	height: 680px;
	max-height: calc(100vh - 64px);
	border: none;
	background: transparent;
}

/* ── Bento grid ──────────────────────────── */
.bento-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: auto;
	gap: 16px;
}

/* ── Plus card ───────────────────────────── */
.plus-card {
	position: relative;
	border: 1px dashed var(--border-dashed);
	border-radius: var(--radius);
	padding: 32px 28px;
	background: var(--bg);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 180px;
	transition: all 0.3s ease;
}

.plus-card:hover {
	border-color: rgba(117, 5, 230, 0.3);
	box-shadow: 0 12px 40px rgba(117, 5, 230, 0.08);
	transform: translateY(-2px);
}

.plus-card .corner {
	position: absolute;
	width: 24px;
	height: 24px;
	color: var(--text);
}

.plus-card .corner-tl { top: -12px; left: -12px; }
.plus-card .corner-tr { top: -12px; right: -12px; }
.plus-card .corner-bl { bottom: -12px; left: -12px; }
.plus-card .corner-br { bottom: -12px; right: -12px; }

.plus-card .card-number {
	font-size: 12px;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 16px;
	font-variant-numeric: tabular-nums;
}

.plus-card h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--text);
	margin-bottom: 12px;
}

.plus-card p {
	font-size: 14px;
	line-height: 1.7;
	color: #666;
}

/* Grid spans */
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.row-2 { grid-row: span 2; }

/* ── Project cards (showcase) ────────────── */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.project-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 40px 36px;
	overflow: hidden;
	min-height: 360px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
	border-color: rgba(117, 5, 230, 0.25);
}

.project-card.coming-soon {
	background: var(--surface);
	border-style: dashed;
	border-color: #d4d4d8;
}

.project-card.coming-soon:hover {
	border-color: rgba(117, 5, 230, 0.3);
}

.project-card-glow {
	position: absolute;
	top: -40%;
	right: -20%;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(117, 5, 230, 0.18) 0%, transparent 70%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.project-card:hover .project-card-glow {
	opacity: 1;
}

.project-card-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
}

.project-card-name {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(117, 5, 230, 0.08);
	color: var(--accent);
}

.badge.live {
	background: rgba(16, 185, 129, 0.1);
	color: #059669;
}

.badge.live::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.badge.soon {
	background: rgba(245, 158, 11, 0.1);
	color: #b45309;
}

.project-card h3 {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--text);
	margin-bottom: 16px;
}

.project-card p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin-bottom: 24px;
}

.project-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.tag {
	font-size: 12px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-secondary);
	border: 1px solid var(--border);
}

.project-card-foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.project-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	transition: color 0.15s;
}

.project-card-cta .arrow {
	transition: transform 0.2s;
}

.project-card-cta:hover {
	color: var(--accent);
}

.project-card-cta:hover .arrow {
	transform: translateX(4px);
}

.project-card.coming-soon .project-card-cta {
	color: var(--text-muted);
}

/* ── Contact / Form ──────────────────────── */
.contact-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

.contact-copy h2 {
	margin-bottom: 24px;
}

.contact-copy p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin-bottom: 16px;
}

.contact-meta {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.contact-meta-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 14px;
	color: var(--text-secondary);
}

.contact-meta-item strong {
	display: block;
	color: var(--text);
	font-weight: 600;
	margin-bottom: 2px;
}

.contact-meta-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-soft);
	color: var(--accent);
	border-radius: 10px;
}

.contact-meta-icon svg {
	width: 18px;
	height: 18px;
}

.contact-form {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-field label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
	font-family: inherit;
	font-size: 15px;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 13px 14px;
	transition: border-color 0.15s, box-shadow 0.15s;
	width: 100%;
}

.form-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5l5 5 5-5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	cursor: pointer;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(117, 5, 230, 0.1);
}

.form-textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.5;
}

.form-submit {
	align-self: flex-start;
	margin-top: 4px;
}

.form-success {
	display: none;
	padding: 14px 16px;
	background: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.25);
	border-radius: 10px;
	color: #047857;
	font-size: 14px;
	font-weight: 500;
}

.form-success.visible {
	display: block;
}

.form-note {
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.5;
}

/* ── Footer ──────────────────────────────── */
.footer {
	padding: 48px 0 32px;
	background: var(--bg);
}

.footer-inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--border);
}

.footer-brand img {
	height: 36px;
	margin-bottom: 14px;
}

.footer-brand p {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.5;
	max-width: 280px;
}

.footer-col h5 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-secondary);
	margin-bottom: 14px;
}

.footer-col a {
	display: block;
	font-size: 13px;
	color: var(--text);
	margin-bottom: 8px;
	transition: color 0.15s;
}

.footer-col a:hover {
	color: var(--accent);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 24px;
	font-size: 12px;
	color: var(--text-muted);
}

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

.footer-bottom-links a {
	color: var(--text-muted);
	transition: color 0.15s;
}

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

/* ── Sticky Cards (kept for compatibility on subpages) ─── */
.sticky-features {
	padding: 96px 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}

.sc-cards {
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding-bottom: 48px;
	position: relative;
}

.sc-card {
	position: sticky;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 32px;
	padding: 56px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
	align-items: center;
	transition: transform 0.4s ease, filter 0.4s ease;
}

.sc-card:nth-child(1) { top: 100px; z-index: 10; }
.sc-card:nth-child(2) { top: 130px; z-index: 20; }
.sc-card:nth-child(3) { top: 160px; z-index: 30; }
.sc-card:nth-child(4) { top: 190px; z-index: 40; }

.sc-content h3 {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin-bottom: 20px;
	color: var(--text);
}

.sc-content p {
	font-size: 16px;
	color: var(--text-secondary);
	line-height: 1.7;
}

.sc-image img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

/* ── Roadmap ─────────────────────────────── */
.roadmap {
	padding: 80px 0 96px;
	border-bottom: 1px solid var(--border);
}

.timeline {
	margin-top: 56px;
	position: relative;
	max-width: 800px;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 24px;
	bottom: 24px;
	left: 20px;
	width: 2px;
	background: var(--border);
	z-index: 0;
}

.timeline-item {
	position: relative;
	padding-left: 64px;
	padding-bottom: 48px;
}

.timeline-item:last-child {
	padding-bottom: 0;
}

.timeline-dot {
	position: absolute;
	top: 32px;
	left: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--bg);
	border: 2px solid var(--border);
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	box-shadow: 0 0 0 6px var(--bg);
	transition: border-color 0.3s, color 0.3s;
}

.timeline-item:hover .timeline-dot {
	border-color: var(--accent);
	color: var(--accent);
}

.timeline-content.plus-card {
	min-height: auto;
}

.timeline-content h3 {
	margin-bottom: 12px;
	font-size: 22px;
}

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

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

.timeline-link svg {
	width: 12px;
	height: 12px;
}

/* ── Coming soon / placeholder pages ─────── */
.placeholder-hero {
	padding: 120px 0 96px;
	text-align: center;
}

.placeholder-hero h1 {
	font-size: clamp(40px, 8vw, 80px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	margin-bottom: 24px;
}

.placeholder-hero h1 .accent {
	color: var(--accent);
}

.placeholder-hero p {
	max-width: 600px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-secondary);
}

.placeholder-hero .badge {
	margin-bottom: 24px;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 960px) {
	.bento-flex {
		flex-direction: column;
		gap: 48px;
	}

	.bento-visual {
		flex: none;
		width: 100%;
		display: flex;
		justify-content: center;
		position: static;
	}

	.contact-wrap {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-inner {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: span 2;
	}
}

@media (max-width: 840px) {
	.bento-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.span-3 { grid-column: span 1; }
	.span-4 { grid-column: span 2; }
	.span-2 { grid-column: span 1; }
	.span-6 { grid-column: span 2; }
	.row-2 { grid-row: span 1; }

	.projects-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.wrap,
	.nav-inner {
		width: calc(100% - 40px);
	}

	.hero {
		padding: 48px 0 40px;
	}

	.section,
	.bento {
		padding: 48px 0 64px;
	}

	.section h2,
	.bento h2 {
		margin-bottom: 40px;
	}

	.hero-top {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.hero-headline {
		font-size: clamp(48px, 13.5vw, 72px);
	}

	.hero-side {
		text-align: left;
		max-width: 100%;
	}

	.hero-side p {
		font-size: 15px;
	}

	.hero-tagline {
		margin-top: 24px;
	}

	.hero-tagline p {
		font-size: 14px;
	}

	.hero-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.hero-actions {
		flex-wrap: wrap;
		gap: 16px;
	}

	.hero-scroll {
		margin-top: 32px;
		align-items: flex-start;
	}

	.nav-links,
	.nav-cta {
		display: none;
	}

	.nav-mobile-btn {
		display: block;
	}

	.nav-mobile-menu {
		display: flex;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-brand {
		grid-column: span 1;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.bento-grid {
		grid-template-columns: 1fr;
	}

	.span-3,
	.span-2,
	.span-4,
	.span-6 {
		grid-column: span 1;
	}

	.plus-card {
		min-height: auto;
		padding: 24px 20px;
	}

	.project-card {
		padding: 32px 24px;
		min-height: auto;
	}

	.project-card h3 {
		font-size: 26px;
	}

	.contact-form {
		padding: 28px 22px;
	}

	.contact-form .form-row {
		grid-template-columns: 1fr;
	}

	.sticky-features {
		padding: 64px 0;
	}

	.sc-card {
		grid-template-columns: 1fr;
		padding: 32px 24px;
		gap: 32px;
		border-radius: 24px;
	}

	.sc-card:nth-child(n) {
		top: 80px;
	}

	.sc-content h3 {
		font-size: 24px;
		margin-bottom: 12px;
	}
}

/* ═══════════════════════════════════════════════════════
   PER-PROJECT THEMING
   ═══════════════════════════════════════════════════════ */
[data-theme="cv-ai"] {
	--accent: #10b981;
	--accent-soft: rgba(16, 185, 129, 0.08);
}

[data-theme="cv-ai"] .badge.live::before {
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* ═══════════════════════════════════════════════════════
   NAV DROPDOWN (projects menu)
   ═══════════════════════════════════════════════════════ */
.nav-dropdown {
	position: relative;
	display: inline-block;
}

.nav-dropdown-trigger {
	background: none;
	border: none;
	font: inherit;
	color: var(--text-secondary);
	padding: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: color 0.15s;
}

.nav-dropdown-trigger .chevron {
	width: 11px;
	height: 11px;
	transition: transform 0.2s ease;
}

.nav-dropdown[data-open="true"] .nav-dropdown-trigger,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
	color: var(--text);
}

.nav-dropdown[data-open="true"] .chevron,
.nav-dropdown:hover .chevron {
	transform: rotate(180deg);
}

.nav-dropdown-panel {
	position: absolute;
	top: calc(100% + 16px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	width: 380px;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
	padding: 8px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 60;
}

.nav-dropdown[data-open="true"] .nav-dropdown-panel,
.nav-dropdown:hover .nav-dropdown-panel {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.nav-dropdown-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 14px;
	border-radius: 12px;
	transition: background 0.15s;
	text-align: left;
}

.nav-dropdown-item:hover {
	background: var(--surface);
}

.nav-dropdown-item-marker {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	background: rgba(117, 5, 230, 0.1);
	color: #7505E6;
}

.nav-dropdown-item-marker.emerald {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}

.nav-dropdown-item-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.nav-dropdown-item-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	flex-wrap: wrap;
}

.nav-dropdown-item-status {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 999px;
	white-space: nowrap;
}

.nav-dropdown-item-status.live {
	background: rgba(16, 185, 129, 0.12);
	color: #059669;
}

.nav-dropdown-item-status.soon {
	background: rgba(245, 158, 11, 0.12);
	color: #b45309;
}

.nav-dropdown-item-desc {
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.4;
}

.nav-dropdown-divider {
	height: 1px;
	background: var(--border);
	margin: 4px 8px;
}

.nav-dropdown-footer {
	padding: 10px 14px 8px;
	font-size: 11px;
	color: var(--text-muted);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-dropdown-footer a {
	color: var(--accent);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: gap 0.2s;
}

.nav-dropdown-footer a:hover {
	gap: 8px;
}

/* Mobile menu: project subsection */
.mobile-section-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-top: 8px;
}

.mobile-project-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.mobile-project-link .nav-dropdown-item-marker {
	width: 32px;
	height: 32px;
	font-size: 12px;
}

.mobile-project-link-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mobile-project-link-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}

.mobile-project-link-desc {
	font-size: 12px;
	color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   HERO-PROJECT (variant for project pages)
   ═══════════════════════════════════════════════════════ */
.hero-project {
	position: relative;
	padding: 40px 0 80px;
	overflow: hidden;
}

.hero-project::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 900px 600px at 85% -10%, var(--accent-soft) 0%, transparent 60%),
		radial-gradient(ellipse 600px 500px at 10% 80%, var(--accent-soft) 0%, transparent 55%);
	pointer-events: none;
	z-index: 0;
}

.hero-project .wrap {
	position: relative;
	z-index: 1;
}

.hero-project-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 56px;
	align-items: center;
	margin-top: 24px;
}

.hero-project-copy {
	max-width: 600px;
}

.project-meta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
	padding: 8px 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	flex-wrap: wrap;
}

.project-meta-num {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.project-meta-sep {
	color: var(--text-muted);
	font-size: 12px;
}

.project-meta-sector {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

.hero-project-title {
	font-size: clamp(36px, 5.5vw, 60px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--text);
	margin-bottom: 22px;
}

.hero-project-title .accent {
	color: var(--accent);
}

.hero-project-desc {
	font-size: 18px;
	line-height: 1.55;
	color: var(--text-secondary);
	margin-bottom: 32px;
}

.hero-project-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.hero-project-visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 480px;
}

.hero-project-visual iframe {
	width: 300px;
	height: 600px;
	border: none;
	background: transparent;
	max-width: 100%;
}

/* ═══════════════════════════════════════════════════════
   PROJECT QUICKFACTS STRIP
   ═══════════════════════════════════════════════════════ */
.project-quickfacts {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--bg);
}

.quickfacts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 32px 0;
}

.quickfact {
	padding: 0 28px;
	border-right: 1px solid var(--border);
}

.quickfact:first-child {
	padding-left: 0;
}

.quickfact:last-child {
	padding-right: 0;
	border-right: none;
}

.quickfact-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.quickfact-value {
	font-size: 17px;
	font-weight: 700;
	color: var(--text);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.quickfact-value .accent-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	margin-right: 8px;
	vertical-align: middle;
	box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ═══════════════════════════════════════════════════════
   FEATURE CARD (solid alternative to plus-card)
   ═══════════════════════════════════════════════════════ */
.feature-card {
	position: relative;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 32px 28px;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.feature-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
}

.feature-card-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
	font-weight: 800;
	font-size: 14px;
	margin-bottom: 22px;
	font-variant-numeric: tabular-nums;
}

.feature-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
	margin-bottom: 22px;
}

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

.feature-card h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--text);
	margin-bottom: 12px;
}

.feature-card p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--text-secondary);
}

.feature-card.featured {
	background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 100%);
	border-color: var(--accent);
}

.feature-card-stat {
	font-size: 48px;
	font-weight: 800;
	line-height: 1;
	color: var(--accent);
	letter-spacing: -0.03em;
	margin-bottom: 12px;
}

.feature-card-stat.small {
	font-size: 32px;
	color: var(--text);
}

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

.feature-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.feature-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* ═══════════════════════════════════════════════════════
   CV MOCKUP VISUAL (CV AI page)
   ═══════════════════════════════════════════════════════ */
.cv-mockup-wrap {
	position: relative;
	width: 320px;
	max-width: 100%;
	margin: 0 auto;
}

.cv-mockup {
	position: relative;
	background: white;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.04);
	padding: 28px 24px;
	transform: rotate(-2deg);
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-height: 420px;
}

.cv-mockup-line {
	height: 8px;
	background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 100%);
	border-radius: 4px;
}

.cv-mockup-line.title {
	height: 16px;
	width: 65%;
	background: #111;
}

.cv-mockup-line.subtitle {
	height: 10px;
	width: 45%;
	background: var(--accent);
	margin-bottom: 6px;
}

.cv-mockup-line.short { width: 55%; }
.cv-mockup-line.medium { width: 78%; }
.cv-mockup-line.long { width: 92%; }

.cv-mockup-divider {
	height: 1px;
	background: #e5e7eb;
	margin: 8px 0 4px;
}

.cv-mockup-label {
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #94a3b8;
	margin: 6px 0 4px;
}

.cv-mockup-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 4px;
}

.cv-mockup-skill {
	height: 18px;
	background: #f1f5f9;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
}

.cv-mockup-skill.w1 { width: 38px; }
.cv-mockup-skill.w2 { width: 52px; }
.cv-mockup-skill.w3 { width: 64px; }

.cv-mockup-skill.match {
	background: var(--accent);
	border-color: var(--accent);
	position: relative;
}

.cv-mockup-skill.match::before {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 6px;
	background: var(--accent);
	opacity: 0.18;
	z-index: -1;
}

.cv-floating-tag {
	position: absolute;
	top: -16px;
	right: -20px;
	background: var(--accent);
	color: white;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 10px 16px;
	border-radius: 999px;
	box-shadow: 0 16px 32px rgba(16, 185, 129, 0.32);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	z-index: 2;
	animation: cv-tag-float 3s ease-in-out infinite;
	white-space: nowrap;
}

.cv-floating-tag svg {
	width: 13px;
	height: 13px;
}

@keyframes cv-tag-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

.cv-floating-doc {
	position: absolute;
	bottom: -20px;
	left: -28px;
	width: 90px;
	height: 60px;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
	transform: rotate(-8deg);
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	z-index: 1;
}

.cv-floating-doc::before {
	content: "OGŁOSZENIE";
	font-size: 7px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #94a3b8;
}

.cv-floating-doc-line {
	height: 4px;
	background: #e2e8f0;
	border-radius: 2px;
}

.cv-floating-doc-line.med { width: 70%; }
.cv-floating-doc-line.short { width: 55%; }

/* ═══════════════════════════════════════════════════════
   PROJECT PAGE: section heading variant
   ═══════════════════════════════════════════════════════ */
.section-head-left {
	max-width: 720px;
	margin-bottom: 56px;
}

.section-head-left h2 {
	margin-bottom: 16px;
}

.section-head-left p {
	font-size: 17px;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
	.hero-project-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero-project-visual {
		order: -1;
		min-height: auto;
	}

	.quickfacts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 16px;
	}

	.quickfact {
		border-right: none;
		padding: 0;
	}

	.quickfact:nth-child(odd) {
		border-right: 1px solid var(--border);
		padding-right: 16px;
	}

	.feature-grid,
	.feature-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.nav-dropdown-panel {
		left: auto;
		right: 0;
		transform: translateY(-6px);
		width: 320px;
	}

	.nav-dropdown[data-open="true"] .nav-dropdown-panel,
	.nav-dropdown:hover .nav-dropdown-panel {
		transform: translateY(0);
	}
}

@media (max-width: 640px) {
	.feature-grid,
	.feature-grid-2,
	.feature-grid-4 {
		grid-template-columns: 1fr;
	}

	.quickfacts-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 24px 0;
	}

	.quickfact {
		padding: 0 0 16px;
		border-right: none !important;
		border-bottom: 1px solid var(--border);
	}

	.quickfact:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.hero-project {
		padding: 32px 0 56px;
	}

	.hero-project-visual iframe {
		width: 260px;
		height: 520px;
	}

	.cv-mockup-wrap {
		width: 260px;
	}

	.cv-mockup {
		min-height: 360px;
		padding: 22px 20px;
	}

	.project-meta {
		gap: 8px;
		padding: 7px 12px;
	}
}

