/* ===== Chronicle — Command Audit & Compliance Platform ===== */
/* Enterprise B2B | Cool Neutrals + Amber Accent */

:root {
	--slate-900: #0f172a;
	--slate-800: #1e293b;
	--slate-700: #334155;
	--slate-600: #475569;
	--slate-500: #64748b;
	--slate-400: #94a3b8;
	--slate-300: #cbd5e1;
	--slate-200: #e2e8f0;
	--slate-100: #f1f5f9;
	--slate-50: #f8fafc;
	--amber: #f59e0b;
	--amber-light: #fbbf24;
	--amber-dark: #d97706;
	--amber-dim: rgba(245, 158, 11, 0.12);
	--steel: #3b5998;
	--green: #22c55e;
	--red: #ef4444;
	--blue: #3b82f6;
	--bg: var(--slate-900);
	--bg-card: var(--slate-800);
	--bg-card-hover: var(--slate-700);
	--text: var(--slate-100);
	--text-muted: var(--slate-400);
	--border: var(--slate-700);
	--radius: 10px;
	--radius-lg: 16px;
	--radius-sm: 6px;
	--font: 'Plus Jakarta Sans', system-ui, sans-serif;
	--mono: 'IBM Plex Mono', 'Menlo', monospace;
	--max-w: 1200px;
	--transition: 0.25s ease;
}

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

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

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

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

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

a:hover {
	color: var(--amber-light);
}

code {
	font-family: var(--mono);
	font-size: 0.85em;
	background: var(--amber-dim);
	color: var(--amber);
	padding: 2px 6px;
	border-radius: var(--radius-sm);
}

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

.btn-primary {
	background: var(--amber);
	color: var(--slate-900);
}

.btn-primary:hover {
	background: var(--amber-light);
	color: var(--slate-900);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

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

.btn-outline:hover {
	border-color: var(--amber);
	color: var(--amber);
}

.btn-small {
	padding: 6px 14px;
	font-size: 0.8rem;
	border-radius: var(--radius-sm);
	background: var(--slate-700);
	color: var(--slate-200);
	border: none;
	cursor: pointer;
}

.btn-small:hover {
	background: var(--slate-600);
}

/* ===== Section helpers ===== */
.section-header {
	text-align: center;
	margin-bottom: 56px;
}

.section-header h2 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	margin-bottom: 12px;
	letter-spacing: -0.02em;
}

.section-header p {
	color: var(--text-muted);
	max-width: 600px;
	margin: 0 auto;
	font-size: 1.05rem;
}

.section-tag {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--amber);
	background: var(--amber-dim);
	padding: 4px 12px;
	border-radius: 100px;
	margin-bottom: 16px;
}

/* ===== Nav ===== */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border);
	padding: 0 0;
}

.nav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--text);
	letter-spacing: -0.01em;
}

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

.nav-logo-icon {
	flex-shrink: 0;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
}

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

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

.nav-cta {
	background: var(--amber);
	color: var(--slate-900) !important;
	padding: 8px 20px;
	border-radius: var(--radius);
	font-weight: 600;
}

.nav-cta:hover {
	background: var(--amber-light) !important;
}

.nav-mobile-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text);
	font-size: 1.5rem;
	cursor: pointer;
}

/* ===== Hero ===== */
.hero {
	padding: 140px 0 80px;
	position: relative;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--green);
	background: rgba(34, 197, 94, 0.08);
	padding: 6px 16px;
	border-radius: 100px;
	margin-bottom: 24px;
	border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green);
	animation: pulse-dot 2s infinite;
}

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

.hero h1 {
	font-size: clamp(2.4rem, 5.5vw, 3.6rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 20px;
}

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

.hero-sub {
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 520px;
	margin-bottom: 32px;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	gap: 14px;
	margin-bottom: 40px;
}

.hero-trust-strip {
	display: flex;
	align-items: center;
	gap: 16px;
}

.trust-label {
	font-size: 0.75rem;
	color: var(--slate-500);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}

.trust-logos {
	display: flex;
	gap: 20px;
}

.trust-logos span {
	font-size: 0.85rem;
	color: var(--slate-500);
	font-weight: 600;
}

/* ===== Hero Timeline ===== */
.hero-timeline {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--border);
	font-family: var(--mono);
	font-size: 0.8rem;
}

.tl-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.tl-dot.green {
	background: var(--green);
	box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.tl-title {
	color: var(--text-muted);
}

.tl-status {
	margin-left: auto;
	color: var(--green);
	font-weight: 500;
}

.timeline-entries {
	max-height: 360px;
	overflow-y: auto;
}

.tl-entry {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 20px;
	font-family: var(--mono);
	font-size: 0.78rem;
	border-bottom: 1px solid rgba(51, 65, 85, 0.4);
	transition: background var(--transition);
}

.tl-entry:hover {
	background: rgba(245, 158, 11, 0.04);
}

.tl-entry.highlight {
	background: rgba(245, 158, 11, 0.06);
	border-left: 2px solid var(--amber);
}

.tl-num {
	color: var(--slate-500);
	min-width: 40px;
}

.tl-cmd {
	color: var(--slate-200);
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tl-time {
	color: var(--slate-500);
	font-size: 0.72rem;
	white-space: nowrap;
}

.tl-tag {
	font-size: 0.65rem;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: var(--amber-dim);
	color: var(--amber);
}

.tl-tag.warn {
	background: rgba(239, 68, 68, 0.1);
	color: var(--red);
}

.timeline-footer {
	display: flex;
	justify-content: space-between;
	padding: 10px 20px;
	border-top: 1px solid var(--border);
	font-family: var(--mono);
	font-size: 0.72rem;
	color: var(--slate-500);
}

/* ===== Trust Bar ===== */
.trust-bar {
	padding: 32px 0;
	border-bottom: 1px solid var(--border);
}

.trust-badges {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.trust-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--slate-400);
	font-size: 0.85rem;
	font-weight: 600;
}

.badge-icon {
	font-size: 1.1rem;
}

/* ===== Stats ===== */
.stats {
	padding: 72px 0;
}

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

.stat-card {
	text-align: center;
	padding: 32px 16px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.stat-number {
	display: block;
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--amber);
	letter-spacing: -0.03em;
	margin-bottom: 4px;
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-weight: 500;
}

/* ===== Features ===== */
.features {
	padding: 96px 0;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
	transition: all var(--transition);
	position: relative;
}

.feature-card:hover {
	border-color: var(--amber);
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
}

.feature-icon {
	font-size: 1.6rem;
	margin-bottom: 14px;
}

.feature-card h3 {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.feature-card p {
	font-size: 0.85rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 14px;
}

.feature-flag {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.72rem;
	background: var(--slate-700);
	color: var(--slate-300);
	padding: 3px 8px;
	border-radius: 4px;
}

/* ===== How It Works ===== */
.how-it-works {
	padding: 96px 0;
	background: var(--slate-800);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

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

.step-card {
	position: relative;
	padding: 0 8px;
}

.step-num {
	font-family: var(--mono);
	font-size: 3rem;
	font-weight: 700;
	color: var(--amber);
	opacity: 0.25;
	line-height: 1;
	margin-bottom: 12px;
}

.step-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.step-card p {
	font-size: 0.88rem;
	color: var(--text-muted);
	line-height: 1.65;
}

/* ===== Interactive Timeline ===== */
.interactive-timeline {
	padding: 96px 0;
}

.timeline-explorer {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.te-toolbar {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border);
	flex-wrap: wrap;
}

.te-search {
	position: relative;
	flex: 1;
	min-width: 200px;
}

.te-search input {
	width: 100%;
	padding: 8px 12px 8px 36px;
	background: var(--slate-700);
	border: 1px solid var(--slate-600);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: var(--mono);
	font-size: 0.82rem;
	outline: none;
}

.te-search input:focus {
	border-color: var(--amber);
}

.te-search-icon {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.85rem;
}

.te-filters {
	display: flex;
	gap: 6px;
}

.te-filter {
	padding: 6px 14px;
	font-size: 0.78rem;
	font-weight: 600;
	border-radius: 100px;
	border: 1px solid var(--slate-600);
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	font-family: var(--font);
	transition: all var(--transition);
}

.te-filter.active,
.te-filter:hover {
	background: var(--amber-dim);
	border-color: var(--amber);
	color: var(--amber);
}

.te-log {
	max-height: 420px;
	overflow-y: auto;
	font-family: var(--mono);
	font-size: 0.8rem;
}

.te-log .te-row {
	display: flex;
	align-items: center;
	padding: 8px 20px;
	gap: 14px;
	border-bottom: 1px solid rgba(51, 65, 85, 0.3);
	transition: background var(--transition);
	cursor: default;
}

.te-log .te-row:hover {
	background: rgba(245, 158, 11, 0.04);
}

.te-log .te-row.redacted {
	opacity: 0.5;
}

.te-log .te-row.redacted .te-row-cmd {
	text-decoration: line-through;
}

.te-row-num {
	color: var(--slate-500);
	min-width: 44px;
	text-align: right;
}

.te-row-cmd {
	flex: 1;
	color: var(--slate-200);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.te-row-tag {
	font-size: 0.65rem;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 600;
	text-transform: uppercase;
}

.te-row-tag.persist {
	background: rgba(59, 130, 246, 0.12);
	color: var(--blue);
}

.te-row-tag.redact {
	background: rgba(245, 158, 11, 0.12);
	color: var(--amber);
}

.te-row-tag.replay {
	background: rgba(34, 197, 94, 0.12);
	color: var(--green);
}

.te-row-tag.purge {
	background: rgba(239, 68, 68, 0.12);
	color: var(--red);
}

.te-row-time {
	color: var(--slate-500);
	font-size: 0.72rem;
	white-space: nowrap;
	min-width: 60px;
	text-align: right;
}

.te-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 20px;
	border-top: 1px solid var(--border);
	font-size: 0.78rem;
	color: var(--slate-500);
}

/* ===== Configurator ===== */
.configurator {
	padding: 96px 0;
	background: var(--slate-800);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.config-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.config-panel {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.config-group label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 8px;
}

.config-hint {
	font-weight: 400;
	color: var(--text-muted);
	font-size: 0.78rem;
}

.config-group input[type="range"] {
	width: 100%;
	accent-color: var(--amber);
	cursor: pointer;
}

.config-value {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.85rem;
	color: var(--amber);
	margin-top: 4px;
	font-weight: 600;
}

.config-group input[type="text"] {
	width: 100%;
	padding: 10px 14px;
	background: var(--slate-700);
	border: 1px solid var(--slate-600);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: var(--mono);
	font-size: 0.85rem;
	outline: none;
}

.config-group input[type="text"]:focus {
	border-color: var(--amber);
}

.config-toggles {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.toggle-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.88rem;
	color: var(--text-muted);
	cursor: pointer;
}

.toggle-label input {
	display: none;
}

.toggle-switch {
	width: 36px;
	height: 20px;
	background: var(--slate-600);
	border-radius: 10px;
	position: relative;
	transition: background var(--transition);
	flex-shrink: 0;
}

.toggle-switch::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	background: var(--slate-300);
	border-radius: 50%;
	transition: transform var(--transition);
}

.toggle-label input:checked + .toggle-switch {
	background: var(--amber);
}

.toggle-label input:checked + .toggle-switch::after {
	transform: translateX(16px);
	background: var(--slate-900);
}

.config-preview {
	background: var(--slate-900);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.config-preview-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	font-family: var(--mono);
	font-size: 0.78rem;
	color: var(--text-muted);
}

.config-code {
	padding: 20px;
	font-family: var(--mono);
	font-size: 0.82rem;
	line-height: 1.8;
	color: var(--slate-200);
	overflow-x: auto;
	white-space: pre;
	min-height: 260px;
}

/* ===== Dashboard ===== */
.dashboard {
	padding: 96px 0;
}

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

.dash-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
}

.dash-card h4 {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-weight: 600;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.dash-wide {
	grid-column: span 3;
}

.dash-chart {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 120px;
	padding-top: 8px;
}

.dash-chart .chart-bar {
	flex: 1;
	background: var(--amber);
	border-radius: 3px 3px 0 0;
	min-width: 8px;
	transition: opacity var(--transition);
	position: relative;
}

.dash-chart .chart-bar:hover {
	opacity: 0.8;
}

/* Donut */
.dash-donut {
	position: relative;
	width: 120px;
	margin: 0 auto;
}

.donut-svg {
	width: 120px;
	height: 120px;
	transform: rotate(-90deg);
}

.donut-progress {
	transition: stroke-dasharray 1s ease;
}

.donut-label {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.donut-pct {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--amber);
}

.donut-sub {
	font-size: 0.72rem;
	color: var(--text-muted);
}

/* Activity */
.dash-activity {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.activity-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.act-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}

.act-dot.green { background: var(--green); }
.act-dot.amber { background: var(--amber); }
.act-dot.blue { background: var(--blue); }
.act-dot.red { background: var(--red); }

.act-time {
	margin-left: auto;
	font-family: var(--mono);
	font-size: 0.72rem;
	color: var(--slate-500);
}

/* Bars */
.dash-bars {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bar-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bar-label {
	font-family: var(--mono);
	font-size: 0.78rem;
	color: var(--slate-300);
	min-width: 120px;
}

.bar-track {
	flex: 1;
	height: 8px;
	background: var(--slate-700);
	border-radius: 4px;
	overflow: hidden;
}

.bar-fill {
	height: 100%;
	background: var(--amber);
	border-radius: 4px;
	transition: width 1.5s ease;
}

.bar-val {
	font-family: var(--mono);
	font-size: 0.78rem;
	color: var(--text-muted);
	min-width: 50px;
	text-align: right;
}

/* ===== Demo Terminal ===== */
.demo {
	padding: 96px 0;
	background: var(--slate-800);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.demo-terminal {
	max-width: 780px;
	margin: 0 auto;
	background: var(--slate-900);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

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

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

.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #febc2e; }
.term-dot.green { background: #28c840; }

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

.term-body {
	padding: 20px;
	font-family: var(--mono);
	font-size: 0.82rem;
	line-height: 1.7;
}

.term-line {
	color: var(--slate-200);
	margin-bottom: 2px;
}

.term-prompt {
	color: var(--amber);
	margin-right: 8px;
	font-weight: 600;
}

.term-output {
	color: var(--slate-400);
	white-space: pre;
	margin-bottom: 8px;
}

.term-cursor {
	display: inline-block;
	width: 8px;
	height: 16px;
	background: var(--amber);
	animation: blink-cursor 1s step-end infinite;
	vertical-align: text-bottom;
}

@keyframes blink-cursor {
	0%, 50% { opacity: 1; }
	51%, 100% { opacity: 0; }
}

/* ===== Pricing ===== */
.pricing {
	padding: 96px 0;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: start;
}

.price-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px 24px;
	position: relative;
	transition: all var(--transition);
}

.price-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.price-card.featured {
	border-color: var(--amber);
	box-shadow: 0 0 0 1px var(--amber);
}

.price-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--amber);
	color: var(--slate-900);
	font-size: 0.72rem;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 100px;
	white-space: nowrap;
}

.price-tier {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.price-amount {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--amber);
	margin-bottom: 4px;
}

.price-amount span {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-muted);
}

.price-desc {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-bottom: 24px;
}

.price-features {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 28px;
}

.price-features li {
	font-size: 0.82rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.check {
	color: var(--green);
	font-weight: 700;
}

.cross {
	color: var(--slate-600);
	font-weight: 700;
}

.price-btn {
	width: 100%;
	text-align: center;
}

/* ===== Testimonials ===== */
.testimonials {
	padding: 96px 0;
	background: var(--slate-800);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

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

.testimonial-card {
	background: var(--slate-900);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}

.test-quote {
	font-size: 0.92rem;
	color: var(--slate-300);
	line-height: 1.7;
	margin-bottom: 20px;
	font-style: italic;
}

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

.test-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--amber-dim);
	color: var(--amber);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.82rem;
}

.test-name {
	font-weight: 600;
	font-size: 0.88rem;
}

.test-title {
	font-size: 0.78rem;
	color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
	padding: 96px 0;
}

.faq-list {
	max-width: 720px;
	margin: 0 auto;
}

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

.faq-item summary {
	padding: 20px 0;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: color var(--transition);
}

.faq-item summary:hover {
	color: var(--amber);
}

.faq-item summary::after {
	content: '+';
	font-size: 1.4rem;
	font-weight: 300;
	color: var(--slate-500);
	transition: transform var(--transition);
}

.faq-item[open] summary::after {
	transform: rotate(45deg);
	color: var(--amber);
}

.faq-item p {
	padding-bottom: 20px;
	color: var(--text-muted);
	font-size: 0.92rem;
	line-height: 1.7;
}

/* ===== Manifesto ===== */
.manifesto {
	padding: 96px 0;
	background: var(--slate-800);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.manifesto-content {
	max-width: 720px;
	margin: 0 auto;
}

.manifesto-content h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	margin-bottom: 24px;
	letter-spacing: -0.02em;
}

.manifesto-content p {
	font-size: 1.02rem;
	color: var(--slate-300);
	line-height: 1.8;
	margin-bottom: 20px;
}

/* ===== Portfolio Banner ===== */
.portfolio-banner {
	padding: 56px 0;
	background: var(--slate-900);
	border-top: 1px solid var(--amber);
	border-bottom: 1px solid var(--border);
}

.portfolio-banner h3 {
	text-align: center;
	font-size: 1.1rem;
	margin-bottom: 24px;
	color: var(--text-muted);
}

.portfolio-banner h3 a {
	color: var(--amber);
}

.portfolio-scroll {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
	font-size: 0.82rem;
}

.portfolio-scroll a {
	color: var(--slate-400);
	transition: color var(--transition);
}

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

.portfolio-current {
	color: var(--amber);
	font-weight: 700;
}

/* ===== Footer ===== */
.footer {
	padding: 64px 0 32px;
	border-top: 1px solid var(--border);
}

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

.footer-logo {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 12px;
	display: block;
}

.footer-brand p {
	font-size: 0.85rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 8px;
}

.footer-backed {
	font-size: 0.82rem;
}

.footer-col h4 {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-muted);
	margin-bottom: 14px;
}

.footer-col ul {
	list-style: none;
}

.footer-col li {
	margin-bottom: 8px;
}

.footer-col a {
	color: var(--slate-400);
	font-size: 0.85rem;
	transition: color var(--transition);
}

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

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	font-size: 0.78rem;
	color: var(--slate-500);
}

/* ===== Modal ===== */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(6px);
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.modal-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 40px;
	max-width: 400px;
	width: 90%;
	text-align: center;
	position: relative;
}

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

.modal-icon {
	font-size: 2.5rem;
	margin-bottom: 12px;
}

.modal-card h3 {
	font-size: 1.3rem;
	margin-bottom: 8px;
}

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

.modal-dismiss {
	min-width: 120px;
}

/* ===== Scroll Animations ===== */
.fade-in {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

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

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

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

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

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

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

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

	.dash-wide {
		grid-column: span 2;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		background: var(--slate-900);
		flex-direction: column;
		padding: 24px;
		gap: 16px;
		border-bottom: 1px solid var(--border);
	}

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

	.nav-mobile-toggle {
		display: block;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.features-grid,
	.steps-grid,
	.pricing-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

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

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

	.dash-wide {
		grid-column: span 1;
	}

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

	.hero-actions {
		flex-direction: column;
	}

	.hero-trust-strip {
		flex-direction: column;
		align-items: flex-start;
	}

	.te-toolbar {
		flex-direction: column;
	}

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

	.bar-label {
		min-width: 80px;
		font-size: 0.7rem;
	}
}

/* ===== 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 #3b82f6;
	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: #3b82f6;
	color: #fff;
	border: 1px solid #3b82f6;
}

/* 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: #ff6600 !important;
	border-color: #ff6600 !important;
	opacity: 1 !important;
}

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

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