/* ===== Panoptik — Design Tokens ===== */
:root {
	--bg: #111318;
	--bg-card: #181b22;
	--bg-elevated: #1e222b;
	--bg-surface: #252a35;
	--cyan: #06B6D4;
	--cyan-dim: rgba(6, 182, 212, 0.15);
	--cyan-glow: rgba(6, 182, 212, 0.25);
	--cyan-bright: #22d3ee;
	--text: #e4e8f0;
	--text-dim: #8b95a8;
	--text-muted: #5b6478;
	--border: #2a2f3d;
	--green: #22c55e;
	--yellow: #eab308;
	--red: #ef4444;
	--font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--mono: 'IBM Plex Mono', 'Menlo', monospace;
	--radius: 8px;
	--radius-lg: 12px;
	--max-w: 1200px;
}

/* ===== Reset ===== */
*, *::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(--cyan);
	text-decoration: none;
	transition: color 0.2s;
}

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

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

/* ===== 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;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}

.btn-primary {
	background: var(--cyan);
	color: var(--bg);
}

.btn-primary:hover {
	background: var(--cyan-bright);
	color: var(--bg);
	box-shadow: 0 0 24px var(--cyan-glow);
}

.btn-ghost {
	background: transparent;
	color: var(--cyan);
	border: 1px solid var(--border);
}

.btn-ghost:hover {
	border-color: var(--cyan);
	background: var(--cyan-dim);
	color: var(--cyan-bright);
}

.btn-outline {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
}

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

/* ===== Nav ===== */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(17, 19, 24, 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: 700;
	font-size: 1.15rem;
	color: var(--text);
	text-decoration: none;
}

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

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

.nav-links a {
	color: var(--text-dim);
	font-size: 0.875rem;
	font-weight: 500;
	padding: 6px 14px;
	border-radius: var(--radius);
	transition: all 0.2s;
}

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

.nav-cta {
	background: var(--cyan) !important;
	color: var(--bg) !important;
	font-weight: 600 !important;
}

.nav-cta:hover {
	background: var(--cyan-bright) !important;
}

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

.nav-mobile-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: all 0.3s;
}

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

.hero-grid-bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--border) 1px, transparent 1px),
		linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 60px 60px;
	opacity: 0.3;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
}

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

.hero-badge {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--cyan);
	background: var(--cyan-dim);
	padding: 4px 14px;
	border-radius: 20px;
	margin-bottom: 20px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.hero-badge a {
	color: var(--cyan);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hero h1 {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 20px;
	color: var(--text);
}

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

.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.hero-trust {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.trust-badge {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--text-muted);
	border: 1px solid var(--border);
	padding: 4px 10px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ===== Dashboard Cards ===== */
.dash-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

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

.dash-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.dash-dot.red { background: var(--red); }
.dash-dot.yellow { background: var(--yellow); }
.dash-dot.green { background: var(--green); }

.dash-title {
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-left: 8px;
}

.dash-live-indicator {
	margin-left: auto;
	font-family: var(--mono);
	font-size: 0.7rem;
	color: var(--green);
	animation: pulse-live 2s infinite;
}

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

.dash-body {
	padding: 16px;
}

.dash-stat-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}

.dash-stat {
	text-align: center;
	padding: 12px 8px;
	background: var(--bg-elevated);
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.dash-stat-val {
	display: block;
	font-family: var(--mono);
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--cyan);
}

.dash-stat-label {
	font-size: 0.7rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.dash-table-header {
	display: grid;
	grid-template-columns: 80px 50px 30px 50px 1fr;
	gap: 8px;
	padding: 6px 8px;
	font-family: var(--mono);
	font-size: 0.65rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 1px solid var(--border);
}

.dash-table-header.wide-header {
	grid-template-columns: 80px 50px 60px 30px 50px 70px 70px 60px 1fr;
}

.dash-row {
	display: grid;
	grid-template-columns: 80px 50px 30px 50px 1fr;
	gap: 8px;
	padding: 5px 8px;
	font-family: var(--mono);
	font-size: 0.72rem;
	color: var(--text-dim);
	border-bottom: 1px solid rgba(42, 47, 61, 0.4);
	transition: background 0.15s;
}

.dash-row:hover {
	background: var(--cyan-dim);
}

.dash-row.wide-row {
	grid-template-columns: 80px 50px 60px 30px 50px 70px 70px 60px 1fr;
}

.dash-row span:first-child {
	color: var(--cyan);
}

/* ===== Stats ===== */
.stats {
	padding: 60px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

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

.stat-number {
	display: block;
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--cyan);
	font-family: var(--mono);
	letter-spacing: -0.03em;
}

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

/* ===== Section Headers ===== */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}

.section-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--cyan);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 12px;
}

.section-header h2 {
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
	line-height: 1.2;
}

.section-header p {
	font-size: 1.05rem;
	color: var(--text-dim);
	line-height: 1.7;
}

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

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

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

.feature-card:hover {
	border-color: rgba(6, 182, 212, 0.3);
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(6, 182, 212, 0.08);
}

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

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

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

.feature-flag {
	font-family: var(--mono);
	font-size: 0.7rem;
	color: var(--cyan);
	background: var(--cyan-dim);
	padding: 3px 8px;
	border-radius: 4px;
}

/* ===== Dashboard Section ===== */
.dashboard-section {
	padding: 100px 0;
	background: var(--bg-card);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.dashboard-live {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dash-controls {
	display: flex;
	gap: 8px;
}

.dash-filter {
	font-family: var(--mono);
	font-size: 0.8rem;
	padding: 6px 16px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text-dim);
	cursor: pointer;
	transition: all 0.2s;
}

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

.dash-full {
	width: 100%;
}

.dashboard-sidebar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.sidebar-card {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
}

.sidebar-card h4 {
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 16px;
	color: var(--text);
}

.socket-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--mono);
	font-size: 0.72rem;
	padding: 6px 0;
	border-bottom: 1px solid rgba(42, 47, 61, 0.4);
	color: var(--text-dim);
}

.socket-item .socket-state {
	font-size: 0.65rem;
	padding: 2px 6px;
	border-radius: 3px;
	font-weight: 600;
}

.socket-state.listen {
	color: var(--green);
	background: rgba(34, 197, 94, 0.12);
}

.socket-state.established {
	color: var(--cyan);
	background: var(--cyan-dim);
}

.socket-state.time-wait {
	color: var(--yellow);
	background: rgba(234, 179, 8, 0.12);
}

/* ===== Chart ===== */
.fd-chart {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.chart-bar {
	display: flex;
	align-items: center;
	gap: 10px;
}

.chart-bar::after {
	content: '';
	flex: 1;
	height: 8px;
	background: var(--cyan-dim);
	border-radius: 4px;
	position: relative;
	overflow: hidden;
}

.chart-bar::before {
	content: '';
	position: absolute;
}

.chart-label {
	font-family: var(--mono);
	font-size: 0.7rem;
	color: var(--text-muted);
	width: 36px;
	flex-shrink: 0;
}

.chart-val {
	font-family: var(--mono);
	font-size: 0.7rem;
	color: var(--cyan);
	width: 36px;
	text-align: right;
	flex-shrink: 0;
}

.chart-bar {
	position: relative;
}

.chart-fill {
	height: 8px;
	background: var(--cyan);
	border-radius: 4px;
	transition: width 1s ease;
}

/* ===== How It Works ===== */
.how-it-works {
	padding: 100px 0;
}

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

.step-card {
	padding: 32px 24px;
	border-left: 2px solid var(--border);
	transition: border-color 0.3s;
}

.step-card:hover {
	border-left-color: var(--cyan);
}

.step-number {
	font-family: var(--mono);
	font-size: 2rem;
	font-weight: 700;
	color: var(--cyan);
	opacity: 0.4;
	display: block;
	margin-bottom: 16px;
}

.step-card:hover .step-number {
	opacity: 1;
}

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

.step-card p {
	font-size: 0.9rem;
	color: var(--text-dim);
	line-height: 1.6;
}

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

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

.terminal {
	background: #0d0f14;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.terminal-header {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 10px 14px;
	background: var(--bg-elevated);
	border-bottom: 1px solid var(--border);
}

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

.term-dot.red { background: var(--red); }
.term-dot.yellow { background: var(--yellow); }
.term-dot.green { background: var(--green); }

.term-title {
	font-family: var(--mono);
	font-size: 0.72rem;
	color: var(--text-muted);
	margin-left: 8px;
}

.terminal-body {
	padding: 16px;
	font-family: var(--mono);
	font-size: 0.72rem;
	line-height: 1.7;
	color: var(--text-dim);
	overflow-x: auto;
	white-space: pre;
}

.terminal-body .prompt {
	color: var(--cyan);
	font-weight: 600;
}

.terminal-body .comment {
	color: var(--text-muted);
	font-style: italic;
}

/* ===== Comparison ===== */
.comparison {
	padding: 100px 0;
}

.comparison-table-wrap {
	overflow-x: auto;
}

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

.comparison-table th,
.comparison-table td {
	padding: 14px 20px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.comparison-table th {
	font-weight: 600;
	color: var(--text-muted);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

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

.comparison-table .highlight {
	color: var(--cyan);
	font-weight: 500;
	background: var(--cyan-dim);
}

.comparison-table th.highlight {
	color: var(--cyan);
}

/* ===== Testimonials ===== */
.testimonials {
	padding: 100px 0;
	background: var(--bg-card);
	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 {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px;
}

.testimonial-body p {
	font-size: 0.95rem;
	color: var(--text-dim);
	line-height: 1.7;
	margin-bottom: 20px;
	font-style: italic;
}

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

.author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cyan-dim);
	color: var(--cyan);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--mono);
	font-weight: 600;
	font-size: 0.8rem;
	flex-shrink: 0;
}

.testimonial-author strong {
	display: block;
	font-size: 0.85rem;
}

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

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

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

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

.pricing-card.featured {
	border-color: var(--cyan);
	box-shadow: 0 0 36px rgba(6, 182, 212, 0.1);
}

.pricing-popular {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: var(--cyan);
	color: var(--bg);
	padding: 4px 14px;
	border-radius: 20px;
}

.pricing-header {
	margin-bottom: 24px;
}

.pricing-header h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.price {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--text);
	font-family: var(--mono);
}

.currency {
	font-size: 1.2rem;
	vertical-align: super;
	color: var(--text-dim);
}

.period {
	font-size: 0.9rem;
	color: var(--text-muted);
	font-weight: 400;
}

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

.pricing-features li {
	font-size: 0.85rem;
	color: var(--text-dim);
	padding: 6px 0;
	border-bottom: 1px solid rgba(42, 47, 61, 0.3);
}

.pricing-features li::before {
	content: '✓ ';
	color: var(--cyan);
	font-weight: 700;
}

.pricing-card .btn {
	width: 100%;
}

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

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

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

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

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

.faq-item summary::after {
	content: '+';
	font-size: 1.4rem;
	font-weight: 300;
	color: var(--text-muted);
	flex-shrink: 0;
	transition: transform 0.2s;
}

.faq-item[open] summary::after {
	content: '−';
	color: var(--cyan);
}

.faq-item p {
	padding: 0 0 20px;
	font-size: 0.9rem;
	color: var(--text-dim);
	line-height: 1.7;
}

/* ===== Waitlist ===== */
.waitlist {
	padding: 100px 0;
}

.waitlist-card {
	text-align: center;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 60px 40px;
	max-width: 640px;
	margin: 0 auto;
}

.waitlist-card h2 {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 12px;
	letter-spacing: -0.02em;
}

.waitlist-card > p {
	color: var(--text-dim);
	margin-bottom: 28px;
}

.waitlist-form {
	display: flex;
	gap: 10px;
	max-width: 440px;
	margin: 0 auto 16px;
}

.waitlist-form input {
	flex: 1;
	padding: 12px 16px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--bg-elevated);
	color: var(--text);
	font-family: var(--font);
	font-size: 0.9rem;
	outline: none;
	transition: border-color 0.2s;
}

.waitlist-form input:focus {
	border-color: var(--cyan);
}

.waitlist-note {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ===== Portfolio Banner ===== */
.portfolio-banner {
	padding: 50px 0;
	background: var(--bg-elevated);
	border-top: 1px solid var(--border);
	text-align: center;
}

.portfolio-banner h3 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dim);
	margin-bottom: 20px;
}

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

.portfolio-scroll {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 16px;
	font-size: 0.8rem;
	max-width: 1000px;
	margin: 0 auto;
}

.portfolio-scroll a {
	color: var(--text-muted);
	transition: color 0.2s;
}

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

.current-brand {
	color: var(--cyan);
	font-weight: 700;
}

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

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

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

.footer-mando {
	margin-top: 8px;
}

.footer-col h4 {
	font-size: 0.8rem;
	font-weight: 600;
	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 {
	font-size: 0.85rem;
	color: var(--text-dim);
	transition: color 0.2s;
}

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

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

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

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

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

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

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

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

.modal p {
	color: var(--text-dim);
	font-size: 0.9rem;
	margin-bottom: 20px;
}

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

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

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

	.hero-dashboard {
		display: none;
	}

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

	.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);
	}

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

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

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

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

	.hero {
		padding: 120px 0 60px;
	}

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

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

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

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

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

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

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

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

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

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

	.waitlist-form {
		flex-direction: column;
	}

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

	.dash-table-header.wide-header,
	.dash-row.wide-row {
		grid-template-columns: 60px 40px 50px 24px 40px 1fr;
	}

	.dash-table-header.wide-header span:nth-child(n+7),
	.dash-row.wide-row span:nth-child(n+7) {
		display: none;
	}
}

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

/* 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: #22c55e !important;
	color: #fff !important;
	border: 1px solid #22c55e !important;
	opacity: 1 !important;
}

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