/* ===== DeltaSync — Deep Tech / Research ===== */
/* Duotone: dark slate → teal | Fraunces + Space Grotesk | Dashboard hero */

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

:root {
	--bg: #0b1120;
	--bg-surface: #111827;
	--bg-card: #1a2332;
	--bg-elevated: #1e293b;
	--text: #e2e8f0;
	--text-muted: #94a3b8;
	--text-dim: #64748b;
	--teal: #2dd4bf;
	--teal-bright: #5eead4;
	--teal-deep: #14b8a6;
	--teal-dark: #0d9488;
	--slate-border: #1e293b;
	--slate-border-light: #334155;
	--accent: #06b6d4;
	--gradient: linear-gradient(135deg, #2dd4bf, #06b6d4);
	--gradient-text: linear-gradient(135deg, #2dd4bf, #5eead4);
	--gradient-subtle: linear-gradient(135deg, rgba(45,212,191,0.12), rgba(6,182,212,0.08));
	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Space Grotesk', system-ui, sans-serif;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 4px 24px rgba(0,0,0,0.4);
	--shadow-glow: 0 0 40px rgba(45,212,191,0.15);
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
}

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

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

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

a:hover {
	color: var(--teal-bright);
}

code {
	font-family: 'Space Grotesk', monospace;
	background: rgba(45,212,191,0.1);
	color: var(--teal-bright);
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 0.88em;
	border: 1px solid rgba(45,212,191,0.15);
}

/* ===== Buttons ===== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	transition: all 0.25s;
	text-decoration: none;
}

.btn-primary {
	background: var(--gradient);
	color: #021a17;
	box-shadow: 0 2px 16px rgba(45,212,191,0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 24px rgba(45,212,191,0.45);
	color: #021a17;
}

.btn-secondary {
	background: transparent;
	color: var(--teal);
	border: 1.5px solid var(--teal-dark);
}

.btn-secondary:hover {
	background: rgba(45,212,191,0.08);
	border-color: var(--teal);
	color: var(--teal-bright);
}

.btn-outline {
	background: transparent;
	color: var(--teal);
	border: 1.5px solid var(--slate-border-light);
}

.btn-outline:hover {
	border-color: var(--teal);
	background: rgba(45,212,191,0.06);
	color: var(--teal-bright);
}

.btn-sm {
	padding: 10px 20px;
	font-size: 0.85rem;
}

.gradient-text {
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-badge {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--teal);
	border: 1px solid rgba(45,212,191,0.25);
	padding: 6px 16px;
	border-radius: 999px;
	margin-bottom: 20px;
	background: rgba(45,212,191,0.06);
}

.section-sub {
	color: var(--text-muted);
	max-width: 620px;
	margin: 0 auto 48px;
	font-size: 1.08rem;
	text-align: center;
}

/* ===== Nav ===== */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 16px 0;
	transition: all 0.3s;
	background: transparent;
}

.nav.scrolled {
	background: rgba(11,17,32,0.92);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--slate-border);
	padding: 10px 0;
}

.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--text);
	text-decoration: none;
}

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

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-links a {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--text-muted);
	transition: color 0.2s;
}

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

.nav-cta {
	background: var(--gradient);
	color: #021a17 !important;
	padding: 8px 20px;
	border-radius: var(--radius);
	font-weight: 600;
}

.nav-cta:hover {
	box-shadow: 0 2px 16px rgba(45,212,191,0.35);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--text-muted);
	border-radius: 2px;
	transition: 0.2s;
}

/* ===== Hero ===== */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 120px 24px 80px;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-grid-overlay {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(45,212,191,0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(45,212,191,0.04) 1px, transparent 1px);
	background-size: 60px 60px;
}

.hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	opacity: 0.25;
}

.hero-orb-1 {
	width: 500px;
	height: 500px;
	background: var(--teal-dark);
	top: -10%;
	right: -5%;
}

.hero-orb-2 {
	width: 400px;
	height: 400px;
	background: var(--accent);
	bottom: 5%;
	left: -8%;
	opacity: 0.15;
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.hero-badge {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--text-muted);
	margin-bottom: 24px;
	padding: 6px 16px;
	border: 1px solid var(--slate-border);
	border-radius: 999px;
	background: rgba(30,41,59,0.5);
}

.hero-badge a {
	color: var(--teal);
}

.hero h1 {
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 6vw, 4.4rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 24px;
	letter-spacing: -0.02em;
}

.hero-sub {
	font-size: 1.15rem;
	color: var(--text-muted);
	max-width: 640px;
	margin: 0 auto 36px;
	line-height: 1.7;
}

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

/* ===== Hero Dashboard ===== */
.hero-dashboard {
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-align: left;
	box-shadow: var(--shadow), var(--shadow-glow);
	max-width: 780px;
	margin: 0 auto;
}

.dash-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	background: var(--bg-elevated);
	border-bottom: 1px solid var(--slate-border);
	font-size: 0.82rem;
	color: var(--text-muted);
}

.dash-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--teal);
	animation: pulse-dot 2s infinite;
}

.dash-dot.live {
	box-shadow: 0 0 8px var(--teal);
}

@keyframes pulse-dot {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

.dash-title {
	flex: 1;
	font-weight: 600;
	color: var(--text);
}

.dash-time {
	font-family: 'Space Grotesk', monospace;
	color: var(--teal);
	font-weight: 600;
}

.dash-metrics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--slate-border);
}

.dash-metric {
	padding: 20px;
	background: var(--bg-card);
}

.dash-metric-value {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 4px;
}

.dash-metric-label {
	font-size: 0.75rem;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}

.dash-metric-bar {
	height: 4px;
	background: var(--slate-border);
	border-radius: 2px;
	overflow: hidden;
}

.dash-bar-fill {
	height: 100%;
	background: var(--teal);
	border-radius: 2px;
	transition: width 0.8s ease;
}

.dash-bar-fill.accent {
	background: var(--accent);
}

/* ===== Features ===== */
.features {
	padding: 120px 0;
	text-align: center;
}

.features h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 16px;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 16px;
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	text-align: left;
	transition: all 0.3s;
}

.feature-card:hover {
	border-color: rgba(45,212,191,0.3);
	transform: translateY(-4px);
	box-shadow: var(--shadow-glow);
}

.feature-icon {
	font-size: 1.6rem;
	margin-bottom: 16px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(45,212,191,0.08);
	border-radius: 10px;
	border: 1px solid rgba(45,212,191,0.12);
}

.feature-card h3 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--text);
}

.feature-card p {
	font-size: 0.92rem;
	color: var(--text-muted);
	line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
	padding: 100px 0;
	text-align: center;
	background: var(--bg-surface);
	border-top: 1px solid var(--slate-border);
	border-bottom: 1px solid var(--slate-border);
}

.how-it-works h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 56px;
}

.steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.step {
	flex: 1;
	min-width: 220px;
	max-width: 300px;
	text-align: left;
	padding: 32px 24px;
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
}

.step-num {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 800;
	color: var(--teal);
	opacity: 0.6;
	margin-bottom: 12px;
}

.step h3 {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.step p {
	font-size: 0.92rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.step-arrow {
	font-size: 1.8rem;
	color: var(--teal-dark);
	margin-top: 60px;
}

/* ===== Demo Terminal ===== */
.demo {
	padding: 100px 0;
	text-align: center;
}

.demo h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 16px;
}

.demo-terminal {
	max-width: 780px;
	margin: 0 auto;
	background: #0a0e1a;
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-align: left;
	box-shadow: var(--shadow);
}

.term-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: var(--bg-elevated);
	border-bottom: 1px solid var(--slate-border);
}

.term-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.term-dot.red { background: #ef4444; }
.term-dot.yellow { background: #eab308; }
.term-dot.green { background: #22c55e; }

.term-title {
	flex: 1;
	text-align: center;
	font-size: 0.78rem;
	color: var(--text-dim);
}

.term-body {
	padding: 20px;
	font-family: 'Space Grotesk', monospace;
	font-size: 0.82rem;
	line-height: 1.8;
	max-height: 380px;
	overflow-y: auto;
}

.term-line {
	white-space: pre-wrap;
	word-break: break-all;
}

.prompt {
	color: var(--teal);
	font-weight: 700;
}

.cmd {
	color: var(--text);
}

.term-line.output {
	color: var(--text-dim);
}

.cursor {
	color: var(--teal);
	animation: blink 1s step-end infinite;
}

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

/* ===== Delta Explainer ===== */
.delta-explainer {
	padding: 100px 0;
	text-align: center;
	background: var(--bg-surface);
	border-top: 1px solid var(--slate-border);
	border-bottom: 1px solid var(--slate-border);
}

.delta-explainer h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 16px;
}

.explainer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 24px;
	margin-top: 16px;
}

.explainer-step {
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	padding: 32px 24px;
	text-align: left;
}

.explainer-num {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--teal);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(45,212,191,0.1);
	border-radius: 8px;
	margin-bottom: 16px;
}

.explainer-step h3 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.explainer-step p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 20px;
}

.explainer-visual {
	padding: 16px;
	background: rgba(11,17,32,0.6);
	border-radius: var(--radius);
	border: 1px solid var(--slate-border);
}

.block-row {
	display: flex;
	gap: 6px;
}

.block {
	flex: 1;
	padding: 10px 8px;
	text-align: center;
	font-size: 0.72rem;
	font-weight: 600;
	border-radius: 4px;
	color: var(--bg);
}

.b1 { background: var(--teal); }
.b2 { background: var(--teal-deep); }
.b3 { background: var(--teal-dark); }
.b4 { background: var(--accent); }

.block-label {
	font-size: 0.72rem;
	color: var(--text-dim);
	margin-top: 10px;
	text-align: center;
}

.rolling-window {
	padding: 8px 0;
}

.window-track {
	height: 24px;
	background: var(--slate-border);
	border-radius: 4px;
	position: relative;
	overflow: hidden;
}

.window-slider {
	position: absolute;
	top: 2px;
	left: 0;
	width: 30%;
	height: 20px;
	background: var(--gradient);
	border-radius: 3px;
	animation: slide-window 3s ease-in-out infinite;
}

@keyframes slide-window {
	0% { left: 0; }
	50% { left: 70%; }
	100% { left: 0; }
}

.delta-output {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.delta-ref,
.delta-lit {
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 700;
}

.delta-ref {
	background: rgba(45,212,191,0.15);
	color: var(--teal);
	border: 1px solid rgba(45,212,191,0.3);
}

.delta-lit {
	background: rgba(239,68,68,0.12);
	color: #f87171;
	border: 1px solid rgba(239,68,68,0.25);
}

/* ===== Dashboard ===== */
.dashboard {
	padding: 100px 0;
	text-align: center;
}

.dashboard h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 16px;
}

.dashboard-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 20px;
}

.dash-panel {
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	padding: 24px;
	text-align: left;
}

.dash-panel.wide {
	grid-column: 1;
	grid-row: 1 / 3;
}

.dash-panel h3 {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--text-muted);
}

.transfer-log {
	font-family: 'Space Grotesk', monospace;
	font-size: 0.78rem;
	color: var(--text-dim);
	line-height: 2;
	max-height: 280px;
	overflow-y: auto;
}

.transfer-log .log-entry {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	border-bottom: 1px solid rgba(30,41,59,0.5);
}

.log-entry .log-status {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}

.log-status.ok { background: var(--teal); }
.log-status.skip { background: var(--text-dim); }
.log-status.del { background: #ef4444; }

.log-entry .log-path {
	flex: 1;
	color: var(--text-muted);
}

.log-entry .log-size {
	color: var(--text-dim);
	font-size: 0.72rem;
}

.mini-chart {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 100px;
}

.chart-bar {
	flex: 1;
	background: rgba(45,212,191,0.2);
	border-radius: 3px 3px 0 0;
	transition: all 0.3s;
}

.chart-bar.active {
	background: var(--teal);
}

.error-ring {
	position: relative;
	width: 120px;
	height: 120px;
	margin: 0 auto;
}

.error-ring svg {
	width: 100%;
	height: 100%;
}

.ring-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--teal);
}

/* ===== Stats ===== */
.stats {
	padding: 80px 0;
	background: var(--bg-surface);
	border-top: 1px solid var(--slate-border);
	border-bottom: 1px solid var(--slate-border);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.stat-value {
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 800;
	color: var(--text);
	line-height: 1;
}

.stat-unit {
	font-size: 1.4rem;
	color: var(--teal);
	font-weight: 600;
	margin-top: 4px;
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-dim);
	margin-top: 8px;
}

/* ===== Comparison ===== */
.comparison {
	padding: 100px 0;
	text-align: center;
}

.comparison h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 16px;
}

.comparison-table-wrap {
	overflow-x: auto;
	margin-top: 16px;
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--slate-border);
}

.comparison-table th {
	background: var(--bg-card);
	color: var(--text-muted);
	font-weight: 600;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.comparison-table td {
	color: var(--text-muted);
}

.highlight-col {
	background: rgba(45,212,191,0.06) !important;
	color: var(--teal-bright) !important;
	font-weight: 600;
}

/* ===== Configurator ===== */
.configurator {
	padding: 100px 0;
	text-align: center;
	background: var(--bg-surface);
	border-top: 1px solid var(--slate-border);
	border-bottom: 1px solid var(--slate-border);
}

.configurator h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 16px;
}

.config-panel {
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	padding: 36px;
	text-align: left;
	max-width: 800px;
	margin: 0 auto;
}

.config-group {
	margin-bottom: 24px;
}

.config-group label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.config-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.config-btn {
	padding: 8px 18px;
	border: 1px solid var(--slate-border-light);
	border-radius: var(--radius);
	background: transparent;
	color: var(--text-muted);
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.config-btn:hover {
	border-color: var(--teal);
	color: var(--teal);
}

.config-btn.active {
	background: rgba(45,212,191,0.12);
	border-color: var(--teal);
	color: var(--teal);
}

.config-checkboxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.config-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: var(--text-muted);
	cursor: pointer;
}

.config-check input[type="checkbox"] {
	accent-color: var(--teal);
	width: 16px;
	height: 16px;
}

.config-output {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--slate-border);
}

.config-output h3 {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-muted);
	margin-bottom: 14px;
}

.config-cmd {
	background: #0a0e1a;
	border: 1px solid var(--slate-border);
	border-radius: var(--radius);
	padding: 16px 20px;
	margin-bottom: 16px;
	overflow-x: auto;
}

.config-cmd code {
	background: none;
	border: none;
	color: var(--teal-bright);
	font-size: 0.88rem;
	white-space: nowrap;
}

/* ===== Pricing ===== */
.pricing {
	padding: 100px 0;
	text-align: center;
}

.pricing h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 16px;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 16px;
}

.pricing-card {
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	padding: 36px 28px;
	text-align: left;
	position: relative;
	transition: all 0.3s;
}

.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.pricing-card.popular {
	border-color: var(--teal);
	box-shadow: var(--shadow-glow);
}

.pricing-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--gradient);
	color: #021a17;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 4px 16px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.pricing-name {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.pricing-price {
	font-family: var(--font-display);
	font-size: 2.4rem;
	font-weight: 800;
	margin-bottom: 8px;
}

.pricing-price span {
	font-size: 0.9rem;
	color: var(--text-dim);
	font-weight: 400;
}

.pricing-desc {
	font-size: 0.9rem;
	color: var(--text-dim);
	margin-bottom: 24px;
}

.pricing-features {
	list-style: none;
	margin-bottom: 28px;
}

.pricing-features li {
	font-size: 0.88rem;
	color: var(--text-muted);
	padding: 6px 0;
	border-bottom: 1px solid rgba(30,41,59,0.4);
}

.pricing-features li:last-child {
	border-bottom: none;
}

/* ===== Testimonials ===== */
.testimonials {
	padding: 100px 0;
	text-align: center;
	background: var(--bg-surface);
	border-top: 1px solid var(--slate-border);
	border-bottom: 1px solid var(--slate-border);
}

.testimonials h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 48px;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.testimonial-card {
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	padding: 28px;
	text-align: left;
}

.testimonial-stars {
	color: var(--teal);
	margin-bottom: 16px;
	font-size: 0.95rem;
	letter-spacing: 2px;
}

.testimonial-card p {
	font-size: 0.92rem;
	color: var(--text-muted);
	line-height: 1.65;
	margin-bottom: 20px;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.testimonial-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gradient);
	color: #021a17;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.8rem;
}

.testimonial-author strong {
	display: block;
	font-size: 0.88rem;
	color: var(--text);
}

.testimonial-author span {
	font-size: 0.78rem;
	color: var(--text-dim);
}

/* ===== Changelog ===== */
.changelog {
	padding: 100px 0;
	text-align: center;
}

.changelog h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 48px;
}

.changelog-entries {
	max-width: 700px;
	margin: 0 auto;
}

.changelog-entry {
	display: flex;
	gap: 24px;
	text-align: left;
	padding: 28px 0;
	border-bottom: 1px solid var(--slate-border);
}

.changelog-version {
	font-family: var(--font-body);
	font-weight: 700;
	color: var(--teal);
	font-size: 0.88rem;
	white-space: nowrap;
	padding-top: 2px;
}

.changelog-content h3 {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.changelog-content p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 12px;
}

.changelog-tags {
	display: flex;
	gap: 8px;
}

.tag {
	font-size: 0.7rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tag-feature { background: rgba(45,212,191,0.12); color: var(--teal); }
.tag-perf { background: rgba(6,182,212,0.12); color: var(--accent); }
.tag-improvement { background: rgba(99,102,241,0.12); color: #818cf8; }
.tag-ga { background: rgba(34,197,94,0.12); color: #4ade80; }

/* ===== FAQ ===== */
.faq {
	padding: 100px 0;
	text-align: center;
	background: var(--bg-surface);
	border-top: 1px solid var(--slate-border);
	border-bottom: 1px solid var(--slate-border);
}

.faq h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 48px;
}

.faq-list {
	max-width: 700px;
	margin: 0 auto;
	text-align: left;
}

.faq-item {
	border-bottom: 1px solid var(--slate-border);
	padding: 20px 0;
}

.faq-item summary {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	color: var(--text);
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.faq-item summary::after {
	content: '+';
	font-size: 1.4rem;
	color: var(--teal);
	transition: transform 0.2s;
}

.faq-item[open] summary::after {
	content: '−';
}

.faq-item p {
	margin-top: 12px;
	font-size: 0.92rem;
	color: var(--text-muted);
	line-height: 1.7;
}

/* ===== Portfolio Banner ===== */
.portfolio-banner {
	padding: 60px 0;
	text-align: center;
	border-bottom: 1px solid var(--slate-border);
}

.portfolio-banner h2 {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 28px;
}

.portfolio-scroll {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.portfolio-scroll a {
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--text-dim);
	padding: 6px 14px;
	border: 1px solid var(--slate-border);
	border-radius: 999px;
	transition: all 0.2s;
}

.portfolio-scroll a:hover {
	color: var(--teal);
	border-color: var(--teal);
}

.portfolio-current {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--teal);
	padding: 6px 14px;
	border: 1px solid var(--teal);
	border-radius: 999px;
	background: rgba(45,212,191,0.08);
}

/* ===== Footer ===== */
.footer {
	padding: 80px 0 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}

.footer-brand p {
	font-size: 0.88rem;
	color: var(--text-dim);
	margin-top: 16px;
	line-height: 1.6;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-col h4 {
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--text);
}

.footer-col a {
	font-size: 0.85rem;
	color: var(--text-dim);
	transition: color 0.2s;
}

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

.footer-bottom {
	display: flex;
	justify-content: space-between;
	padding-top: 32px;
	border-top: 1px solid var(--slate-border);
	font-size: 0.82rem;
	color: var(--text-dim);
}

/* ===== Modal ===== */
.modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(0,0,0,0.7);
	backdrop-filter: blur(6px);
	align-items: center;
	justify-content: center;
}

.modal-overlay.active {
	display: flex;
}

.modal-card {
	background: var(--bg-card);
	border: 1px solid var(--slate-border);
	border-radius: var(--radius-lg);
	padding: 48px;
	max-width: 420px;
	text-align: center;
	position: relative;
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	color: var(--text-dim);
	font-size: 1.5rem;
	cursor: pointer;
}

.modal-icon {
	font-size: 2.4rem;
	margin-bottom: 16px;
}

.modal-card h3 {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.modal-card p {
	font-size: 0.92rem;
	color: var(--text-muted);
	margin-bottom: 24px;
}

/* ===== Animations ===== */
[data-animate] {
	opacity: 0;
	transform: translateY(24px);
	transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(11,17,32,0.98);
		backdrop-filter: blur(16px);
		flex-direction: column;
		padding: 24px;
		gap: 16px;
		border-bottom: 1px solid var(--slate-border);
	}

	.nav-links.open {
		display: flex;
	}

	.nav-toggle {
		display: flex;
	}

	.hero {
		padding: 100px 20px 60px;
	}

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

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

	.steps {
		flex-direction: column;
		align-items: center;
	}

	.step-arrow {
		transform: rotate(90deg);
		margin: 0;
	}

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

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

	.dash-panel.wide {
		grid-column: auto;
		grid-row: auto;
	}

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

	.config-checkboxes {
		grid-template-columns: 1fr;
	}

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

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

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

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

/* ===== Portfolio Pills (universal) ===== */
.portfolio-banner,
[class*="portfolio-banner"] {
	padding: 3rem 0;
	text-align: center;
}

.portfolio-banner .container,
[class*="portfolio-banner"] .container,
[class*="portfolio-banner"] [class*="portfolio-banner-inner"] {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.portfolio-scroll,
.portfolio-grid,
.portfolio-list,
.portfolio-links,
.portfolio-commands,
.portfolio-track,
.portfolio-banner-commands,
.portfolio-items,
.footer-commands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 1rem;
}

.portfolio-scroll a,
.portfolio-grid a,
.portfolio-list a,
.portfolio-links a,
.portfolio-commands a,
.portfolio-track a,
.portfolio-banner-commands a,
.portfolio-items a,
.footer-commands a {
	display: inline-block;
	padding: 6px 14px;
	font-size: .75rem;
	font-weight: 600;
	border-radius: 100px;
	border: 1px solid currentColor;
	opacity: .55;
	text-decoration: none;
	transition: opacity .2s ease, transform .15s ease;
	white-space: nowrap;
}

.portfolio-scroll a:hover,
.portfolio-grid a:hover,
.portfolio-list a:hover,
.portfolio-links a:hover,
.portfolio-commands a:hover,
.portfolio-track a:hover,
.portfolio-banner-commands a:hover,
.portfolio-items a:hover,
.footer-commands a:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.portfolio-current,
.portfolio-scroll .portfolio-current,
.portfolio-grid .portfolio-current,
.portfolio-list .portfolio-current,
.portfolio-banner-commands .portfolio-current,
span.portfolio-current,
[class*="portfolio"] span.current,
[class*="portfolio"] span[class*="current"] {
	display: inline-block;
	padding: 6px 14px;
	font-size: .75rem;
	font-weight: 700;
	border-radius: 100px;
	opacity: 1;
	white-space: nowrap;
}

.portfolio-label,
.portfolio-banner-label {
	font-size: .8125rem;
	opacity: .6;
	margin-bottom: .5rem;
}

.portfolio-label a,
.portfolio-banner-label a {
	border: none !important;
	padding: 0 !important;
	opacity: 1 !important;
	font-weight: 700 !important;
	border-radius: 0 !important;
}

.portfolio-current,
span.portfolio-current,
[class*="portfolio"] span.current,
[class*="portfolio"] span[class*="current"] {
	background: #06b6d4;
	color: #fff;
	border: 1px solid #06b6d4;
}

/* Dark theme pill overrides */
.portfolio-scroll a,
.portfolio-grid a,
.portfolio-list a,
.portfolio-links a,
.portfolio-commands a,
.portfolio-track a,
.portfolio-banner-commands a,
.portfolio-items a,
.footer-commands a {
	color: #ccc !important;
	border-color: #555 !important;
	opacity: .8 !important;
}
.portfolio-scroll a:hover,
.portfolio-grid a:hover,
.portfolio-list a:hover,
.portfolio-links a:hover,
.portfolio-commands a:hover,
.portfolio-track a:hover,
.portfolio-banner-commands a:hover,
.portfolio-items a:hover,
.footer-commands a:hover {
	color: #06b6d4 !important;
	border-color: #06b6d4 !important;
	opacity: 1 !important;
}

.portfolio-current,
span.portfolio-current {
	background: #06b6d4 !important;
	color: #fff !important;
	border: 1px solid #06b6d4 !important;
	opacity: 1 !important;
}

[class*="avatar"]{overflow:hidden}[class*="avatar"] img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}