/* Theme */
:root {
	--bg: #0b0e1a;
	--bg-elev: #0f1222;
	--card: rgba(255, 255, 255, 0.04);
	--border: rgba(255, 255, 255, 0.08);
	--text: #e6e9f5;
	--muted: #a0a6c0;
	--primary: #1effbd;
	--primary-600: #17c899;
	--accent: #1effbd;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--text);
	background:
		radial-gradient(900px 540px at 95% -10%, rgba(30,255,189,0.08), transparent 60%),
		var(--bg);
	line-height: 1.65;
	letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; position: relative; }
.section__header { text-align: center; margin-bottom: 36px; }
.section__header h2 { font-family: "Space Grotesk", Manrope, system-ui; font-size: 40px; letter-spacing: -0.02em; margin: 0 0 8px; }
.section__header p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 22px; }

/* Header */
.site-header { position: sticky; top: 0; backdrop-filter: saturate(140%) blur(8px); background: linear-gradient(180deg, rgba(11,14,26,0.85), rgba(11,14,26,0.55)); border-bottom: 1px solid var(--border); z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand img { filter: drop-shadow(0 2px 10px rgba(30, 255, 189, 0.35)); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn--sm { padding: 10px 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; border-radius: 2px; }

/* Hero */
.hero { padding: 86px 0 44px; position: relative; overflow: clip; }
.hero__content { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: center; }
.hero__text h1 { font-family: "Space Grotesk", Manrope, system-ui; font-size: 56px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; }
.hero__text p { color: var(--muted); margin: 0 0 18px; max-width: 60ch; }
.hero__ctas { display: flex; gap: 12px; margin: 12px 0 8px; }
.hero__badges { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero__visual { display: flex; justify-content: center; }
.hero__bg { position: absolute; inset: -20% -10% auto -10%; height: 60%; background:
	radial-gradient(420px 260px at 85% 30%, rgba(30,255,189,.22), transparent 65%),
	radial-gradient(360px 220px at 95% 10%, rgba(30,255,189,.12), transparent 65%),
	linear-gradient(180deg, rgba(255,255,255,0.06), transparent 40%);
	filter: blur(30px) saturate(120%);
	pointer-events: none;
	z-index: -1;
	-webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,0.2) 20%, #000 45%, #000 100%);
	mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,0.2) 20%, #000 45%, #000 100%);
}

/* Cards & Glass */
.card { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.glass { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }

/* Terminal mock */
.terminal { width: 100%; max-width: 540px; }
.term__header { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-bottom: 1px solid var(--border); color: var(--muted); }
.term__header .dot { width: 10px; height: 10px; border-radius: 999px; background: linear-gradient(180deg, #ff5f56, #ff3a30); box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset; }
.term__header .dot + .dot { background: linear-gradient(180deg, #ffbd2e, #ff9f0a); }
.term__header .dot + .dot + .dot { background: linear-gradient(180deg, #27c93f, #21b052); }
.term__header .title { margin-left: auto; font-size: 13px; }
.term__body { margin: 0; padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 14px; color: #d3ffee; }

/* Features */
.features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features__grid .card h3 { margin: 0 0 8px; font-size: 18px; }
.features__grid .card p { margin: 0; color: var(--muted); }

/* Work */
.work__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work__card .tags { display: flex; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.work__card .tags li { padding: 4px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; }

/* Process */
.process { counter-reset: step; display: grid; gap: 14px; }
.process li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px; align-items: start; border: 1px dashed var(--border); border-radius: 12px; }
.process li span { display: grid; place-items: center; width: 32px; height: 32px; background: linear-gradient(180deg, #2b3250, #1a1f36); border: 1px solid var(--border); border-radius: 999px; color: var(--primary); font-weight: 800; }
.process li h3 { margin: 0 0 4px; font-size: 18px; }
.process li p { margin: 0; color: var(--muted); }

/* Pricing */
.pricing__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.price h3 { margin: 0 0 8px; }
.price__value { font-size: 24px; font-weight: 800; margin: 4px 0 10px; background: linear-gradient(90deg, var(--text), rgba(30,255,189,0.8)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); }
.price--featured { outline: 2px solid rgba(30, 255, 189, 0.35); background: linear-gradient(180deg, rgba(30,255,189,.10), rgba(255,255,255,0.03)); }
.pricing__note { text-align: center; color: var(--muted); margin-top: 14px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 8px 0 0; }

/* Form */
.form { max-width: 860px; margin: 0 auto; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
label { display: grid; gap: 6px; font-weight: 700; }
input, textarea, select { background: #0f1428; border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(30, 255, 189, 0.45); border-color: rgba(30, 255, 189, 0.35); }
.checkbox { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: center; font-weight: 600; color: var(--muted); }
.checkbox input { width: 16px; height: 16px; }
.form__agree { align-items: center; margin-top: 10px; }
.form__agree .btn { justify-self: end; }
.form__status { color: var(--accent); font-weight: 700; margin: 10px 0 0; min-height: 1.2em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 800; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); transition: transform .12s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(180deg, var(--primary), var(--primary-600)); border-color: rgba(255,255,255,0.18); box-shadow: 0 10px 30px rgba(30, 255, 189, 0.3); }
.btn--ghost { background: transparent; }
.btn--sm { padding: 8px 12px; border-radius: 10px; }
.accent { color: var(--primary); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent); }
.footer__inner { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; }
.footer__links { display: flex; gap: 16px; }
.footer__links a { color: var(--primary); font-weight: 700; text-decoration: none; }
.footer__links a:hover { color: #b8ffe9; }
.footer__legal { color: var(--muted); margin: 0; text-align: right; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
	.hero__content { grid-template-columns: 1fr; }
	.hero__badges { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.nav-links { position: fixed; inset: 64px 16px auto 16px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: none; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
	.nav-links.is-open { display: flex; }
	.nav-toggle { display: inline-flex; }
	.section { padding: 72px 0; }
	.section__header h2 { font-size: 32px; }
	.features__grid, .work__grid, .pricing__grid, .form__row { grid-template-columns: 1fr; }
	.footer__inner { grid-template-columns: 1fr; }
	.footer__legal { text-align: left; }
} 

/* Modal */
.modal { position: fixed; inset: 0; display: none; z-index: 100; }
.modal.is-open { display: grid; place-items: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11,14,26,0.8); backdrop-filter: blur(4px) saturate(120%); }
.modal__dialog { position: relative; width: min(920px, 92vw); max-height: 86vh; overflow: auto; }
.modal__close { position: absolute; top: 10px; right: 10px; padding: 6px 10px; background: transparent; border: 1px solid var(--border); color: var(--text); border-radius: 8px; cursor: pointer; }

/* Portfolio */
.portfolio__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 860px) {
	.portfolio__grid { grid-template-columns: 1fr; }
} 