:root {
	--bg: #ffffff;
	--bg-alt: #f6faff; /* light blue tint */
	--surface: #ffffff;
	--text: #0f172a; /* slate-900 */
	--muted: #475569; /* slate-600 */
	--primary: #2563eb; /* blue-600 */
	--primary-strong: #1d4ed8; /* blue-700 */
	--accent: #60a5fa; /* sky-400 */
	--card: #ffffff;
	--border: #e6eef7; /* blue-gray-200 */
	--header-bg: linear-gradient(180deg, #0b1229 0%, #0a1024 100%);
	--radius: 14px;
	--shadow-1: 0 10px 30px rgba(15, 23, 42, 0.08);
	--shadow-2: 0 24px 60px rgba(15, 23, 42, 0.12);
	--space: 20px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

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

/* Header */
.site-header {
	position: sticky;
	top: 0;
	background: var(--header-bg);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid rgba(255,255,255,0.06);
	z-index: 1000;
}
.site-header.scrolled { box-shadow: var(--shadow-1); }
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 700; letter-spacing: .2px; margin-left: -30px; transition: transform .3s ease; flex-shrink: 0; }
.brand:hover { transform: translateX(2px); }
.site-header .brand, .site-header .nav a { color: #ffffff; }
.site-header .nav a:hover { color: #ffffff; }
.site-header .nav-toggle { color: #ffffff; border-color: rgba(255,255,255,0.25); }
.brand-logo { height: 44px; width: auto; display: block; border-radius: 0; background: transparent; box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25); transition: transform .3s ease, box-shadow .3s ease; }
.brand:hover .brand-logo { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4); }
.brand-mark { font-size: 22px; }
.brand-name { letter-spacing: 0.3px; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--text); text-decoration: none; opacity: 0.9; position: relative; padding: 8px 8px; border-radius: 10px; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--primary)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; border-radius: 2px; }
.nav a:hover::after { transform: scaleX(1); }

/* Active menu item */
.nav a.active { color: #ffffff; background: rgba(255,255,255,0.12); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.nav a.active::after { display: none; }
.nav a.btn { padding: 10px 14px; border-radius: var(--radius); }

/* Header outline buttons (but keep primary filled) */
.site-header .nav .btn:not(.btn-primary) { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.3); box-shadow: none; }
.site-header .nav .btn:not(.btn-primary):hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

/* Header nav: selected item is filled blue, others are outline */
.site-header .nav .btn-primary { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%); border-color: var(--primary-strong); color: #ffffff; font-weight: 700; box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3); }
.site-header .nav .btn-primary:hover { filter: brightness(1.05); }

.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 6px; }

.btn { display: inline-block; padding: 11px 18px; border: 1px solid var(--border); color: var(--text); text-decoration: none; border-radius: var(--radius); background: #ffffff; transition: all .2s ease; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%); border-color: var(--primary-strong); color: #ffffff; font-weight: 700; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn-block { display: block; text-align: center; width: 100%; }

/* Hero */
.hero { padding: 120px 0 70px; position: relative; background: radial-gradient(1200px 420px at 50% -220px, rgba(96, 165, 250, 0.18) 0%, rgba(96, 165, 250, 0) 60%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background:
		radial-gradient(840px 420px at 30% 0%, rgba(147, 197, 253, .20) 0%, rgba(147, 197, 253, 0) 62%),
		radial-gradient(960px 520px at 70% 10%, rgba(37, 99, 235, .12) 0%, rgba(37, 99, 235, 0) 64%);
	opacity: 1; pointer-events: none; }
.hero-inner { text-align: center; }
.hero h1 { margin: 0 0 12px; font-size: clamp(34px, 6vw, 56px); line-height: 1.12; letter-spacing: .2px; color: var(--text); }
.hero p { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 920px; margin: 8px auto 0; }
.cta-row { display: flex; gap: 12px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 30px; margin: 0 0 22px; position: relative; }
.section h2::after { content: ""; display: block; width: 56px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--primary)); border-radius: 3px; margin-top: 10px; }

.grid { display: grid; gap: 20px; }
.features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.features article { padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.98)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-1); }

.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.98)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card .price { font-weight: 800; font-size: 22px; }
.card.highlight { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.18), var(--shadow-2); }

.list { margin: 0; padding-left: 18px; }
.note { color: var(--muted); font-size: 14px; }

.portfolio { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.placeholder { height: 160px; border-radius: 12px; background: #eff6ff; border: 1px dashed var(--border); display: grid; place-items: center; color: var(--muted); }

/* Portfolio cards */
.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.portfolio-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.portfolio-card .media { display: block; border-bottom: 1px solid var(--border); overflow: hidden; }
.portfolio-card .media img { width: 100%; height: 200px; object-fit: cover; display: block; background: #eff6ff; transition: transform .35s ease; }
.portfolio-card:hover .media img { transform: scale(1.03); }
.portfolio-card .meta { padding: 16px 18px 6px; }
.portfolio-card h3 { margin: 0 0 6px; font-size: 18px; }
.portfolio-card .muted { color: var(--muted); margin: 0 0 12px; }
.portfolio-card .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.portfolio-card .chip { padding: 4px 10px; border-radius: 999px; font-size: 12px; line-height: 1; color: var(--primary-strong); background: #eff6ff; border: 1px solid #dbeafe; }
.portfolio-card .actions { padding: 0 18px 16px; }
.portfolio-card a { text-decoration: none; }

.contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
label { display: grid; gap: 6px; font-weight: 600; }
input, textarea { width: 100%; padding: 12px 13px; border-radius: 10px; border: 1px solid var(--border); background: #ffffff; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(74, 168, 255, 0.18); }
form.card { gap: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; background: #ffffff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 860px) {
	.nav { position: absolute; top: 72px; right: 0; background: #0b1229; border-left: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 14px; display: none; flex-direction: column; min-width: 220px; }
	.nav.open { display: flex; }
	.nav-toggle { display: inline-block; }
	.contact-grid { grid-template-columns: 1fr; }
}

/* Accessibility improvements */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}


