/* ==========================================================================
   Workshop Showcase — main stylesheet
   Dark tech aesthetic · glass morphism · neon accent
   ========================================================================== */

:root {
	--bg: #0a0a0f;
	--bg-alt: #0e0e16;
	--surface: rgba(255, 255, 255, 0.04);
	--surface-strong: rgba(255, 255, 255, 0.07);
	--border-glass: rgba(255, 255, 255, 0.1);
	--text: #e8e8ef;
	--text-dim: #9a9aab;
	--accent: #6c5ce7;
	--accent-2: #00d4ff;
	--font-display: "Space Grotesk", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
	--radius: 18px;
	--max-w: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

a { color: var(--accent-2); text-decoration: none; }

img { max-width: 100%; height: auto; }

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

/* ---------- Glass morphism ---------- */

.glass-card {
	background: var(--surface);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
	transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
	transform: translateY(-4px);
	border-color: rgba(108, 92, 231, 0.45);
	box-shadow: 0 12px 40px rgba(108, 92, 231, 0.18);
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 28px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	box-shadow: 0 0 24px rgba(108, 92, 231, 0.45);
}

.btn-primary:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 0 42px rgba(0, 212, 255, 0.5);
}

.btn-primary .btn-arrow { transition: transform 0.25s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
	background: var(--surface);
	border: 1px solid var(--border-glass);
	color: var(--text);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ---------- Header ---------- */

.glass-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(10, 10, 15, 0.6);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border-glass);
}

.nav-inner {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--text);
}

.brand-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	box-shadow: 0 0 12px var(--accent-2);
	display: inline-block;
}

.nav-menu { display: flex; gap: 28px; list-style: none; }
.nav-menu a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.2s; }
.nav-menu a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background:
		radial-gradient(ellipse 80% 55% at 50% -10%, rgba(108, 92, 231, 0.18), transparent),
		radial-gradient(ellipse 60% 45% at 80% 100%, rgba(0, 212, 255, 0.07), transparent),
		var(--bg);
	overflow: hidden;
}

.hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-glow {
	position: absolute;
	width: 540px;
	height: 540px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(108, 92, 231, 0.16), transparent 65%);
	filter: blur(50px);
	pointer-events: none;
	animation: pulse 7s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.7; }
	50% { transform: scale(1.15); opacity: 1; }
}

.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 120px 24px 80px; }

.hero-eyebrow {
	display: inline-block;
	padding: 7px 18px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border-glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-2);
	margin-bottom: 28px;
}

.hero-title {
	font-size: clamp(3rem, 9vw, 6rem);
	letter-spacing: -0.02em;
	margin-bottom: 24px;
}

.gradient-text {
	background: linear-gradient(120deg, #fff 20%, var(--accent-2) 55%, var(--accent) 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-sub {
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	color: var(--text-dim);
	max-width: 600px;
	margin: 0 auto 40px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	height: 40px;
	border: 1.5px solid var(--border-glass);
	border-radius: 14px;
	z-index: 2;
}

.scroll-hint span {
	position: absolute;
	top: 7px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--accent-2);
	animation: scrollhint 1.8s ease-in-out infinite;
}

@keyframes scrollhint {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(14px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-2);
	text-align: center;
	margin-bottom: 14px;
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	text-align: center;
	margin-bottom: 18px;
}

.section-sub {
	color: var(--text-dim);
	text-align: center;
	max-width: 560px;
	margin: 0 auto 56px;
}

/* ---------- About me ---------- */

.about-grid {
	display: grid;
	grid-template-columns: 0.85fr 1fr;
	gap: 64px;
	align-items: center;
}

.about-photo-wrap { position: relative; }

.about-photo {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-photo:hover { transform: none; }

.about-photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.about-photo-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: var(--text-dim);
	text-align: center;
	padding: 24px;
}

.about-photo-placeholder svg { width: 72px; height: 72px; opacity: 0.4; }
.about-photo-placeholder span { font-family: var(--font-display); font-size: 1rem; }
.about-photo-placeholder small { font-size: 0.72rem; opacity: 0.6; }

.about-photo-ring {
	position: absolute;
	inset: -14px;
	border-radius: calc(var(--radius) + 14px);
	border: 1px solid rgba(0, 212, 255, 0.25);
	box-shadow: 0 0 40px rgba(108, 92, 231, 0.15);
	pointer-events: none;
	animation: pulse 6s ease-in-out infinite;
}

.about-eyebrow, .about-title { text-align: left; }
.about-title { margin-bottom: 22px; }

.about-tagline {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	color: var(--text);
	margin-bottom: 20px;
	line-height: 1.45;
}

.about-body { color: var(--text-dim); margin-bottom: 32px; max-width: 520px; }

/* ---------- Scroll journey ---------- */

.journey {
	/* Tall scroll track: sticky stage pins while the line draws. */
	height: 320vh;
	position: relative;
}

.journey-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: 90px 24px 40px;
}

.journey-header { text-align: center; margin-bottom: 24px; }

.journey-stage {
	position: relative;
	width: 100%;
	max-width: var(--max-w);
	margin: 0 auto;
	flex: 1;
	min-height: 0;
	max-height: 62vh;
}

.journey-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.journey-node {
	position: absolute;
	left: var(--nx);
	top: var(--ny);
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.journey-node.is-active { opacity: 1; }

.journey-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-2), var(--accent));
	box-shadow: 0 0 16px var(--accent-2), 0 0 36px rgba(108, 92, 231, 0.5);
	transform: scale(0.3);
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-node.is-active .journey-dot { transform: scale(1); }

.journey-label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: center;
	background: var(--surface-strong);
	border: 1px solid var(--border-glass);
	border-radius: 12px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	padding: 10px 16px;
	max-width: 200px;
	font-size: 0.78rem;
	color: var(--text-dim);
	transform: translateY(8px);
	transition: transform 0.45s ease;
}

.journey-node.is-active .journey-label { transform: translateY(0); }

.journey-label strong {
	font-family: var(--font-display);
	font-size: 0.9rem;
	color: var(--text);
}

.journey-done {
	position: absolute;
	left: 50%;
	bottom: -8px;
	transform: translate(-50%, 10px);
	font-family: var(--font-display);
	font-size: 1.05rem;
	color: var(--accent-2);
	opacity: 0;
	transition: opacity 0.6s ease, transform 0.6s ease;
	white-space: nowrap;
}

.journey-done.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Connected grids (offerings + testimonials) ---------- */

.connected-grid { position: relative; }

.grid-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
	overflow: visible;
}

.grid-lines line {
	stroke: url(#ws-line-grad);
	stroke-width: 1;
	opacity: 0.35;
	stroke-dasharray: 6 8;
	animation: dashflow 14s linear infinite;
}

@keyframes dashflow {
	to { stroke-dashoffset: -280; }
}

/* ---------- Stats + testimonials ---------- */

.stats-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 64px;
}

.stat { padding: 30px 20px; text-align: center; }

.stat-num {
	display: block;
	font-family: var(--font-display);
	font-size: 2.6rem;
	font-weight: 700;
	background: linear-gradient(120deg, var(--accent-2), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stat-label { color: var(--text-dim); font-size: 0.85rem; letter-spacing: 0.04em; }

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

.testimonial { padding: 32px 28px; position: relative; z-index: 1; }
.testimonial p { color: var(--text); font-size: 0.95rem; margin-bottom: 22px; }

.testimonial footer { display: flex; align-items: center; gap: 12px; }
.testimonial cite { font-style: normal; color: var(--text-dim); font-size: 0.85rem; }

.avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 600;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	flex-shrink: 0;
}

/* ---------- Sign-up ---------- */

.form-card { padding: 24px; }

.signup-embed { width: 100%; min-height: 480px; }
.signup-embed iframe { width: 100%; border: 0; border-radius: calc(var(--radius) - 8px); }

/* ---------- Footer ---------- */

.site-footer {
	border-top: 1px solid var(--border-glass);
	padding: 56px 24px;
	text-align: center;
	background: var(--bg-alt);
}

.footer-brand {
	font-family: var(--font-display);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.footer-tagline { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 16px; }
.footer-copy { color: var(--text-dim); font-size: 0.78rem; opacity: 0.7; }

/* ---------- Generic content pages ---------- */

.content-page { padding-top: 160px; }
.content-card { padding: 48px 40px; }
.entry-title { margin-bottom: 24px; }
.entry-content p { margin-bottom: 1.2em; color: var(--text-dim); }

/* ---------- Hero rotating words ---------- */

.hero-rotator { display: inline; }

.rotator-words {
	display: inline-block;
	position: relative;
	min-width: 9ch;
	height: 1.45em;
	vertical-align: bottom;
	text-align: left;
	overflow: hidden;
	margin: 0 0.25ch;
}

.rotator-word {
	position: absolute;
	left: 0;
	bottom: 0;
	white-space: nowrap;
	font-weight: 500;
	background: linear-gradient(120deg, var(--accent-2), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.rotator-word.is-entering { transform: translateY(110%); opacity: 0; }
.rotator-word.is-current { transform: translateY(0); opacity: 1; }
.rotator-word.is-leaving { transform: translateY(-110%); opacity: 0; }

/* ---------- Marquee ticker ---------- */

.marquee {
	overflow: hidden;
	border-top: 1px solid var(--border-glass);
	border-bottom: 1px solid var(--border-glass);
	background: var(--bg-alt);
	padding: 18px 0;
}

.marquee-track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	will-change: transform;
	animation: marquee 28s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 36px;
	padding-right: 36px;
	font-family: var(--font-display);
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	color: var(--text-dim);
	white-space: nowrap;
}

.marquee-group i {
	font-style: normal;
	font-size: 0.6rem;
	color: var(--accent-2);
	text-shadow: 0 0 10px var(--accent-2);
}

@keyframes marquee {
	to { transform: translateX(-50%); }
}

/* ---------- Terminal demo ---------- */

.terminal { padding: 0; overflow: hidden; }
.terminal:hover { transform: none; }

.terminal-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--border-glass);
	background: rgba(255, 255, 255, 0.03);
}

.terminal-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.td-red { background: #ff5f57; }
.td-yellow { background: #febc2e; }
.td-green { background: #28c840; }

.terminal-title {
	margin-left: 10px;
	font-size: 0.75rem;
	color: var(--text-dim);
	font-family: var(--font-display);
	letter-spacing: 0.06em;
}

.terminal-body {
	padding: 26px 24px 30px;
	min-height: 240px;
	font-family: "SF Mono", "Fira Code", Menlo, Consolas, monospace;
	font-size: 0.88rem;
	line-height: 1.9;
}

.terminal-line { margin: 0; }
.terminal-line.is-you { color: var(--accent-2); }
.terminal-line.is-ai { color: var(--text); }

.terminal-cursor {
	display: inline-block;
	width: 9px;
	height: 1.1em;
	background: var(--accent-2);
	vertical-align: text-bottom;
	animation: blink 1s steps(1) infinite;
	box-shadow: 0 0 8px var(--accent-2);
}

@keyframes blink {
	50% { opacity: 0; }
}

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }

.faq-item { padding: 0; overflow: hidden; }
.faq-item:hover { transform: none; }

.faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 26px;
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 500;
	color: var(--text);
	transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { color: var(--accent-2); }

.faq-icon {
	position: relative;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
	content: "";
	position: absolute;
	background: var(--accent-2);
	border-radius: 2px;
	transition: transform 0.35s ease;
}

.faq-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }

.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item[open] summary { color: var(--accent-2); }

.faq-answer { padding: 0 26px 24px; }
.faq-answer p { color: var(--text-dim); font-size: 0.95rem; }

.faq-item[open] .faq-answer { animation: faqopen 0.4s ease; }

@keyframes faqopen {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Background orbs ---------- */

.bg-orbs {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.35;
	animation: orbdrift 26s ease-in-out infinite alternate;
}

.orb-1 { width: 420px; height: 420px; top: 12%; left: -8%; background: radial-gradient(circle, rgba(108, 92, 231, 0.4), transparent 70%); }
.orb-2 { width: 360px; height: 360px; top: 45%; right: -10%; background: radial-gradient(circle, rgba(0, 212, 255, 0.28), transparent 70%); animation-duration: 32s; animation-delay: -8s; }
.orb-3 { width: 300px; height: 300px; bottom: 8%; left: 22%; background: radial-gradient(circle, rgba(108, 92, 231, 0.3), transparent 70%); animation-duration: 38s; animation-delay: -16s; }
.orb-4 { width: 260px; height: 260px; top: 70%; left: 55%; background: radial-gradient(circle, rgba(0, 212, 255, 0.22), transparent 70%); animation-duration: 29s; animation-delay: -22s; }

@keyframes orbdrift {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(60px, -50px) scale(1.12); }
	100% { transform: translate(-50px, 45px) scale(0.95); }
}

main, .site-header, .site-footer { position: relative; z-index: 2; }

/* ---------- Countdown ---------- */

.countdown-section { overflow: hidden; }

.countdown-aurora {
	position: absolute;
	inset: -40% -20%;
	background:
		radial-gradient(ellipse 45% 35% at 30% 50%, rgba(108, 92, 231, 0.16), transparent),
		radial-gradient(ellipse 45% 35% at 70% 50%, rgba(0, 212, 255, 0.1), transparent);
	animation: aurora 12s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes aurora {
	from { transform: rotate(-2deg) scale(1); }
	to { transform: rotate(2deg) scale(1.08); }
}

.countdown {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 12px 0 36px;
}

.count-unit {
	padding: 26px 12px 18px;
	min-width: 118px;
	text-align: center;
	border-color: rgba(0, 212, 255, 0.18);
}

.count-unit:hover { transform: none; }

.count-flip { overflow: hidden; }

.count-num {
	display: inline-block;
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 6vw, 3.6rem);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(180deg, #fff 30%, var(--accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 0 36px rgba(0, 212, 255, 0.3);
}

.count-num.tick { animation: numtick 0.5s cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes numtick {
	0% { transform: translateY(-60%); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

.count-label {
	display: block;
	margin-top: 6px;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-dim);
}

.count-sep {
	font-family: var(--font-display);
	font-size: 2rem;
	color: var(--accent-2);
	opacity: 0.6;
	animation: blink 2s steps(1) infinite;
}

.countdown-live {
	text-align: center;
	font-family: var(--font-display);
	font-size: 1.4rem;
	color: var(--accent-2);
	margin-bottom: 36px;
	text-shadow: 0 0 24px rgba(0, 212, 255, 0.5);
}

.countdown-cta { text-align: center; }

/* ---------- Process flow ---------- */

.flow { position: relative; margin-top: 36px; }

.flow-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
	overflow: visible;
}

.flow-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding-top: 36px;
	text-align: center;
}

.flow-node {
	width: 76px;
	height: 76px;
	margin: 0 auto 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-2);
	border-color: rgba(0, 212, 255, 0.3);
	box-shadow: 0 0 24px rgba(0, 212, 255, 0.12);
	animation: nodebreathe 3.4s ease-in-out infinite;
}

.flow-step:nth-child(2) .flow-node { animation-delay: 0.85s; }
.flow-step:nth-child(3) .flow-node { animation-delay: 1.7s; }
.flow-step:nth-child(4) .flow-node { animation-delay: 2.55s; }

@keyframes nodebreathe {
	0%, 100% { box-shadow: 0 0 18px rgba(0, 212, 255, 0.1); transform: scale(1); }
	50% { box-shadow: 0 0 38px rgba(0, 212, 255, 0.35); transform: scale(1.06); }
}

.flow-node:hover { transform: scale(1.1); }
.flow-node svg { width: 30px; height: 30px; }

.flow-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow-step p { color: var(--text-dim); font-size: 0.84rem; max-width: 200px; margin: 0 auto; }

/* ---------- Sticky CTA ---------- */

.sticky-cta {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	color: #fff;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	box-shadow: 0 8px 32px rgba(108, 92, 231, 0.5);
	opacity: 0;
	transform: translateY(80px);
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
	pointer-events: none;
}

.sticky-cta.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.sticky-cta:hover { box-shadow: 0 8px 44px rgba(0, 212, 255, 0.6); }

.sticky-cta-pulse {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 2px solid rgba(0, 212, 255, 0.6);
	animation: ctapulse 2s ease-out infinite;
}

@keyframes ctapulse {
	0% { transform: scale(1); opacity: 1; }
	100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Tip bubbles ---------- */

.bubble-zone {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 80;
	overflow: hidden;
}

.tip-bubble {
	position: absolute;
	bottom: -60px;
	max-width: 240px;
	padding: 12px 20px;
	border-radius: 20px 20px 20px 4px;
	background: var(--surface-strong);
	border: 1px solid rgba(0, 212, 255, 0.25);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(108, 92, 231, 0.15);
	font-family: var(--font-display);
	font-size: 0.85rem;
	color: var(--text);
	animation: bubblefloat 6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.tip-bubble.is-leaving { opacity: 0; transition: opacity 0.7s ease; }

@keyframes bubblefloat {
	0% { transform: translateY(0) rotate(-2deg); opacity: 0; }
	10% { opacity: 1; }
	100% { transform: translateY(-46vh) rotate(2deg); opacity: 0.85; }
}

/* ---------- Cursor glow ---------- */

.cursor-glow {
	position: fixed;
	top: 0;
	left: 0;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(108, 92, 231, 0.07), transparent 65%);
	pointer-events: none;
	z-index: 1;
}

/* ---------- Scroll reveal ---------- */

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero-glow, .scroll-hint span, .grid-lines line,
	.marquee-track, .terminal-cursor, .about-photo-ring,
	.orb, .countdown-aurora, .count-sep, .flow-node,
	.sticky-cta-pulse, .tip-bubble { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.testimonials-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-row { grid-template-columns: repeat(3, 1fr); }
	.about-grid { grid-template-columns: 1fr; gap: 40px; }
	.about-photo { max-width: 380px; margin: 0 auto; }
	.about-photo-wrap { display: flex; justify-content: center; }
	.about-eyebrow, .about-title { text-align: center; }
	.about-text { text-align: center; }
	.about-body { margin-left: auto; margin-right: auto; }
	.journey-label { max-width: 150px; font-size: 0.7rem; padding: 8px 12px; }
	.journey-label strong { font-size: 0.8rem; }
	.flow-svg { display: none; }
	.flow-steps { grid-template-columns: repeat(2, 1fr); padding-top: 0; }
}

@media (max-width: 640px) {
	.section { padding: 80px 0; }
	.testimonials-grid,
	.stats-row { grid-template-columns: 1fr; }
	.nav-menu { display: none; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.signup-embed { min-height: 420px; }
	.grid-lines { display: none; }
	.journey { height: 380vh; }
	.countdown { flex-wrap: wrap; gap: 10px; }
	.count-sep { display: none; }
	.count-unit { min-width: calc(50% - 10px); padding: 18px 8px 14px; }
	.flow-svg { display: none; }
	.flow-steps { grid-template-columns: 1fr; gap: 36px; padding-top: 0; }
	.sticky-cta { left: 14px; bottom: 14px; padding: 13px 24px; font-size: 0.85rem; }
	.tip-bubble { max-width: 180px; font-size: 0.75rem; }
	.orb { filter: blur(50px); opacity: 0.25; }
	.journey-label { max-width: 120px; font-size: 0.64rem; }
	.journey-dot { width: 12px; height: 12px; }
	.journey-done { font-size: 0.9rem; }
}
