 :root {
	--bg:        #030509;
	--surface:   #080d14;
	--border:    rgba(56, 189, 248, 0.12);
	--cyan:      #38bdf8;
	--cyan-dim:  rgba(56, 189, 248, 0.18);
	--cyan-glow: rgba(56, 189, 248, 0.55);
	--teal:      #2dd4bf;
	--violet:    #818cf8;
	--text:      #e2e8f0;
	--muted:     #64748b;
	--mono:      'DM Mono', monospace;
	--display:   'Syne', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--display);
	min-height: 100vh;
	overflow-x: hidden;
	cursor: none;
}

/* ── Custom cursor ── */
#cursor {
	position: fixed; top: 0; left: 0;
	width: 10px; height: 10px;
	background: var(--cyan);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	transition: transform .15s ease, opacity .2s;
	mix-blend-mode: screen;
}
#cursor-ring {
	position: fixed; top: 0; left: 0;
	width: 36px; height: 36px;
	border: 1px solid var(--cyan);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9998;
	transition: transform .35s cubic-bezier(.17,.67,.38,1.2), opacity .3s;
	opacity: .5;
}

/* ── Grid overlay ── */
body::before {
	content: '';
	position: fixed; inset: 0;
	background-image:
		linear-gradient(rgba(56,189,248,.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(56,189,248,.03) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
	z-index: 0;
}

/* ── Ambient glow blobs ── */
.blob {
	position: fixed;
	border-radius: 50%;
	filter: blur(120px);
	pointer-events: none;
	z-index: 0;
	animation: drift 18s ease-in-out infinite alternate;
}
.blob-1 { width: 600px; height: 600px; background: rgba(56,189,248,.08); top: -200px; left: -200px; animation-delay: 0s; }
.blob-2 { width: 500px; height: 500px; background: rgba(45,212,191,.06); bottom: -150px; right: -150px; animation-delay: -6s; }
.blob-3 { width: 400px; height: 400px; background: rgba(129,140,248,.05); top: 40%; left: 50%; transform: translateX(-50%); animation-delay: -12s; }

@keyframes drift {
	from { transform: translate(0, 0) scale(1); }
	to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ── Layout ── */
.page {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 24px;
	text-align: center;
}

/* ── Nav ── */
nav {
	position: fixed; top: 0; left: 0; right: 0;
	display: flex; align-items: center; justify-content: space-between;
	padding: 22px 48px;
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(16px);
	background: rgba(3,5,9,.6);
	z-index: 100;
}
.logo {
	font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em;
	color: var(--text);
}
.logo span { color: var(--cyan); }
.nav-badge {
	font-family: var(--mono);
	font-size: .7rem;
	color: var(--cyan);
	border: 1px solid var(--border);
	background: var(--cyan-dim);
	padding: 4px 12px;
	border-radius: 999px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* ── Hero ── */
.eyebrow {
	font-family: var(--mono);
	font-size: .72rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 28px;
	opacity: 0;
	animation: fadeUp .8s .2s ease forwards;
}

h1 {
	font-size: clamp(3rem, 8vw, 7.5rem);
	font-weight: 800;
	line-height: .95;
	letter-spacing: -.04em;
	margin-bottom: 32px;
	opacity: 0;
	animation: fadeUp .9s .4s ease forwards;
}
h1 .line-accent { color: var(--cyan); display: block; }
h1 .line-muted  { color: var(--muted); display: block; font-weight: 400; }

.subtitle {
	max-width: 540px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--muted);
	margin-bottom: 56px;
	opacity: 0;
	animation: fadeUp .9s .6s ease forwards;
}

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Capability pills ── */
.pills {
	display: flex; gap: 12px; flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 64px;
	opacity: 0;
	animation: fadeUp .9s .75s ease forwards;
}
.pill {
	display: flex; align-items: center; gap: 8px;
	border: 1px solid var(--border);
	background: linear-gradient(135deg, rgba(56,189,248,.06), rgba(45,212,191,.04));
	padding: 10px 20px;
	border-radius: 999px;
	font-family: var(--mono);
	font-size: .78rem;
	color: var(--text);
	letter-spacing: .04em;
	transition: border-color .25s, background .25s;
	cursor: none;
}
.pill:hover {
	border-color: var(--cyan);
	background: var(--cyan-dim);
}
.pill-dot {
	width: 7px; height: 7px;
	border-radius: 50%;
}
.dot-tts   { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.dot-stt   { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.dot-clone { background: var(--violet); box-shadow: 0 0 6px var(--violet); }

/* ── Waveform visualiser ── */
.waveform-wrap {
	width: min(680px, 100%);
	height: 80px;
	margin-bottom: 64px;
	position: relative;
	opacity: 0;
	animation: fadeUp .9s .9s ease forwards;
}
canvas#wave { width: 100%; height: 100%; }

/* ── Countdown ── */
.countdown {
	display: flex; gap: 24px;
	margin-bottom: 64px;
	opacity: 0;
	animation: fadeUp .9s 1s ease forwards;
}
.count-block {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.count-num {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--text);
	font-variant-numeric: tabular-nums;
	min-width: 3ch;
	text-align: center;
}
.count-label {
	font-family: var(--mono);
	font-size: .65rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.count-sep {
	font-size: 2.5rem;
	font-weight: 300;
	color: var(--muted);
	align-self: flex-start;
	padding-top: 4px;
	opacity: .4;
}

/* ── Email form ── */
.form-wrap {
	display: flex; gap: 0;
	width: min(500px, 100%);
	margin-bottom: 80px;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--surface);
	transition: border-color .25s;
	opacity: 0;
	animation: fadeUp .9s 1.1s ease forwards;
}
.form-wrap:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.12); }
.form-wrap input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: var(--text);
	font-family: var(--mono);
	font-size: .85rem;
	padding: 14px 20px;
}
.form-wrap input::placeholder { color: var(--muted); }
.form-wrap button {
	background: var(--cyan);
	color: #030509;
	border: none;
	cursor: none;
	padding: 14px 24px;
	font-family: var(--display);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .04em;
	transition: background .2s, transform .15s;
	white-space: nowrap;
}
.form-wrap button:hover { background: #7dd3fc; }
.form-wrap button:active { transform: scale(.97); }

/* ── Feature cards ── */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
	width: min(880px, 100%);
	opacity: 0;
	animation: fadeUp .9s 1.25s ease forwards;
}
.card {
	border: 1px solid var(--border);
	background: var(--surface);
	border-radius: 16px;
	padding: 28px 24px;
	text-align: left;
	transition: border-color .25s, transform .25s;
	cursor: none;
	position: relative;
	overflow: hidden;
}
.card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 30%, rgba(56,189,248,.07), transparent 70%);
	opacity: 0;
	transition: opacity .3s;
}
.card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-icon {
	width: 40px; height: 40px;
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px;
	font-size: 1.2rem;
}
.icon-tts   { background: rgba(56,189,248,.12); }
.icon-stt   { background: rgba(45,212,191,.12); }
.icon-clone { background: rgba(129,140,248,.12); }
.card h3 {
	font-size: .95rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em;
}
.card p {
	font-family: var(--mono);
	font-size: .75rem;
	line-height: 1.65;
	color: var(--muted);
}
.card-tag {
	position: absolute; top: 16px; right: 16px;
	font-family: var(--mono);
	font-size: .6rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--cyan);
	opacity: .6;
}

/* ── Footer ── */
footer {
	position: relative; z-index: 1;
	text-align: center;
	padding: 32px 24px;
	border-top: 1px solid var(--border);
	font-family: var(--mono);
	font-size: .72rem;
	color: var(--muted);
	letter-spacing: .06em;
}
footer a { color: var(--cyan); text-decoration: none; }

/* ── Scanline effect overlay ── */
body::after {
	content: '';
	position: fixed; inset: 0;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 2px,
		rgba(0,0,0,.04) 2px,
		rgba(0,0,0,.04) 4px
	);
	pointer-events: none;
	z-index: 999;
}

/* ── Notify success ── */
.notify-msg {
	display: none;
	font-family: var(--mono);
	font-size: .8rem;
	color: var(--teal);
	margin-top: -48px;
	margin-bottom: 48px;
	letter-spacing: .06em;
}
