:root {
	--bg: #0a0a0f;
	--bg-alt: #100f1a;
	--surface: #151422;
	--surface-hover: #1c1a2e;
	--text: #e8e6f0;
	--text-secondary: #9d99b0;
	--text-muted: #6b6580;
	--border: #2a2740;
	--border-light: #1e1c30;
	--violet: #a855f7;
	--violet-light: #c084fc;
	--violet-dark: #7c3aed;
	--purple: #8b5cf6;
	--purple-light: #a78bfa;
	--purple-dark: #6d28d9;
	--neon: #d946ef;
	--neon-dim: rgba(217, 70, 239, 0.15);
	--glow: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);
	--glow-strong: 0 0 30px rgba(168, 85, 247, 0.5), 0 0 80px rgba(168, 85, 247, 0.2);
	--radius: 12px;
	--radius-sm: 8px;
	--radius-lg: 20px;
	--shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
	--font: 'Space Grotesk', system-ui, sans-serif;
	--mono: 'JetBrains Mono', 'Fira Code', monospace;
	--transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

a {
	color: inherit;
	text-decoration: none;
}

code {
	font-family: var(--mono);
	font-size: 0.85em;
	background: rgba(168, 85, 247, 0.12);
	padding: 2px 8px;
	border-radius: 4px;
	color: var(--violet-light);
	border: 1px solid rgba(168, 85, 247, 0.15);
}

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

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

.modal {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 48px;
	max-width: 420px;
	text-align: center;
	box-shadow: var(--glow-strong);
}

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

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

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

.modal p {
	color: var(--text-secondary);
}

/* --- Nav --- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 16px 0;
	transition: all var(--transition);
}

.nav.scrolled {
	background: rgba(10, 10, 15, 0.9);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border);
	padding: 10px 0;
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.2rem;
}

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

.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 0.9rem;
}

.nav-links a:not(.btn) {
	color: var(--text-secondary);
	transition: color var(--transition);
}

.nav-links a:not(.btn):hover {
	color: var(--violet-light);
}

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

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

/* --- Mobile Nav --- */
.mobile-nav {
	position: fixed;
	top: 60px;
	left: 0;
	right: 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	padding: 16px 24px;
	display: none;
	flex-direction: column;
	gap: 12px;
	z-index: 99;
	transform: translateY(-10px);
	opacity: 0;
	transition: all var(--transition);
}

.mobile-nav.open {
	transform: translateY(0);
	opacity: 1;
}

/* --- 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;
	transition: all var(--transition);
	border: none;
	text-decoration: none;
}

.btn-primary {
	background: linear-gradient(135deg, var(--violet-dark), var(--neon));
	color: #fff;
	box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
	box-shadow: var(--glow-strong);
	transform: translateY(-2px);
}

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

.btn-ghost:hover {
	border-color: var(--violet);
	color: var(--violet-light);
}

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

.btn-full {
	width: 100%;
}

.btn-copy {
	margin-top: 16px;
}

/* --- Glow Text --- */
.glow-text {
	background: linear-gradient(135deg, var(--violet-light), var(--neon), var(--purple-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* --- Section Badges --- */
.section-badge {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--violet-light);
	background: rgba(168, 85, 247, 0.1);
	border: 1px solid rgba(168, 85, 247, 0.2);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}

.section-sub {
	color: var(--text-secondary);
	font-size: 1.1rem;
	max-width: 640px;
	margin: 0 auto 48px;
}

/* === HERO === */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 120px 0 40px;
	text-align: center;
	overflow: hidden;
}

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

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

.hero-content {
	position: relative;
	z-index: 1;
}

.hero-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--text-secondary);
	background: rgba(168, 85, 247, 0.08);
	border: 1px solid rgba(168, 85, 247, 0.15);
	margin-bottom: 24px;
}

.hero-badge a {
	color: var(--violet-light);
	font-weight: 600;
}

.hero h1 {
	font-size: clamp(2.8rem, 6vw, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}

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

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

.hero-stats {
	display: flex;
	gap: 48px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-stat {
	text-align: center;
}

.hero-stat-num {
	display: block;
	font-size: 1.8rem;
	font-weight: 700;
	font-family: var(--mono);
	color: var(--violet-light);
}

.hero-stat-label {
	display: block;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 2px;
}

/* --- Terminal --- */
.hero-terminal-wrap {
	position: relative;
	z-index: 1;
	margin-top: 48px;
}

.terminal {
	background: #0d0c14;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--glow);
	text-align: left;
}

.terminal-sm {
	box-shadow: none;
}

.terminal-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: rgba(21, 20, 34, 0.8);
	border-bottom: 1px solid var(--border);
}

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

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

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

.terminal-body {
	padding: 20px;
	font-family: var(--mono);
	font-size: 0.85rem;
	line-height: 1.8;
	min-height: 120px;
	max-height: 300px;
	overflow-y: auto;
}

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

.term-prompt {
	color: var(--violet);
	user-select: none;
	margin-right: 8px;
}

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

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

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

.term-comment {
	color: var(--text-muted);
}

.term-section {
	color: var(--neon);
	font-weight: 700;
}

.term-record {
	color: var(--violet-light);
}

.term-value {
	color: var(--purple-light);
}

.term-ttl {
	color: var(--text-muted);
}

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

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

.feature-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
	text-align: left;
	transition: all var(--transition);
	opacity: 0;
	transform: translateY(20px);
}

.feature-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.feature-card:hover {
	border-color: var(--violet-dark);
	box-shadow: var(--glow);
	transform: translateY(-4px);
}

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

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

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

/* === RECORD EXPLORER === */
.record-explorer {
	padding: 120px 0;
	text-align: center;
}

.explorer-tabs {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.explorer-tab {
	padding: 8px 20px;
	border-radius: var(--radius-sm);
	font-family: var(--mono);
	font-size: 0.9rem;
	font-weight: 600;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text-secondary);
	cursor: pointer;
	transition: all var(--transition);
}

.explorer-tab:hover {
	border-color: var(--violet);
	color: var(--violet-light);
}

.explorer-tab.active {
	background: linear-gradient(135deg, var(--violet-dark), var(--purple));
	color: #fff;
	border-color: transparent;
	box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.explorer-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	text-align: left;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 32px;
}

.explorer-content h3 {
	font-size: 1.3rem;
	margin-bottom: 12px;
}

.explorer-content p {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 16px;
}

.explorer-content .record-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
}

.record-meta-item {
	display: flex;
	gap: 12px;
	font-size: 0.85rem;
}

.record-meta-label {
	color: var(--text-muted);
	min-width: 80px;
}

.record-meta-value {
	color: var(--violet-light);
	font-family: var(--mono);
}

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

.waterfall-viz {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin-bottom: 48px;
}

.waterfall-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease;
}

.waterfall-step.visible {
	opacity: 1;
	transform: translateY(0);
}

.waterfall-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 16px 32px;
	border-radius: var(--radius);
	border: 2px solid var(--border);
	background: var(--surface);
	min-width: 200px;
	transition: all 0.3s ease;
}

.waterfall-node.root {
	border-color: var(--text-muted);
}

.waterfall-node.tld {
	border-color: var(--purple-dark);
}

.waterfall-node.auth {
	border-color: var(--violet);
}

.waterfall-node.answer {
	border-color: var(--neon);
	box-shadow: 0 0 20px rgba(217, 70, 239, 0.3);
}

.waterfall-step.visible .waterfall-node.answer {
	box-shadow: var(--glow-strong);
}

.waterfall-label {
	font-weight: 700;
	font-size: 0.95rem;
}

.waterfall-server {
	font-family: var(--mono);
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 4px;
}

.waterfall-line {
	width: 2px;
	height: 32px;
	background: linear-gradient(180deg, var(--violet), transparent);
	position: relative;
}

.waterfall-step.visible .waterfall-line {
	animation: lineGrow 0.5s ease forwards;
}

@keyframes lineGrow {
	from { height: 0; }
	to { height: 32px; }
}

/* Timing bars */
.waterfall-timing {
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.timing-bar {
	display: flex;
	align-items: center;
	gap: 16px;
}

.timing-label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	min-width: 100px;
	text-align: right;
}

.timing-fill {
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--violet-dark), var(--violet));
	width: 0;
	transition: width 1s ease;
}

.timing-fill.total {
	background: linear-gradient(90deg, var(--violet), var(--neon));
}

.timing-ms {
	font-family: var(--mono);
	font-size: 0.8rem;
	color: var(--violet-light);
	min-width: 50px;
}

/* === QUERY BUILDER === */
.query-builder {
	padding: 120px 0;
	text-align: center;
}

.builder-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	text-align: left;
}

.builder-controls {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.builder-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.builder-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.builder-input,
.builder-select {
	padding: 12px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: var(--mono);
	font-size: 0.9rem;
	transition: border-color var(--transition);
}

.builder-input:focus,
.builder-select:focus {
	outline: none;
	border-color: var(--violet);
	box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.builder-select {
	appearance: none;
	cursor: pointer;
}

.builder-select-wrap {
	position: relative;
}

.builder-select-wrap::after {
	content: '▾';
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
	pointer-events: none;
}

.builder-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.flag-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--radius-sm);
	background: var(--surface);
	border: 1px solid var(--border);
	cursor: pointer;
	font-family: var(--mono);
	font-size: 0.8rem;
	color: var(--text-secondary);
	transition: all var(--transition);
	user-select: none;
}

.flag-toggle:has(input:checked) {
	border-color: var(--violet);
	color: var(--violet-light);
	background: rgba(168, 85, 247, 0.1);
}

.flag-toggle input {
	display: none;
}

.builder-output {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* === HOW IT WORKS === */
.how-it-works {
	padding: 120px 0;
	text-align: center;
}

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

.step-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 36px;
	text-align: left;
	opacity: 0;
	transform: translateY(20px);
}

.step-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.step-num {
	font-family: var(--mono);
	font-size: 2rem;
	font-weight: 700;
	color: var(--violet);
	margin-bottom: 16px;
	opacity: 0.6;
}

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

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

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

.modes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: left;
}

.mode-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
	opacity: 0;
	transform: translateY(20px);
	transition: all var(--transition);
}

.mode-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.mode-card:hover {
	border-color: var(--violet-dark);
	box-shadow: var(--glow);
}

.mode-card h3 {
	font-size: 1.05rem;
	margin-bottom: 10px;
}

.mode-card p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 16px;
}

.mode-card > code {
	display: block;
	padding: 10px 14px;
	font-size: 0.82rem;
	border-radius: var(--radius-sm);
}

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

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

.pricing-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 40px 32px;
	text-align: center;
	opacity: 0;
	transform: translateY(20px);
	transition: all var(--transition);
	position: relative;
}

.pricing-card.visible {
	opacity: 1;
	transform: translateY(0);
}

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

.pricing-popular {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 16px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: linear-gradient(135deg, var(--violet-dark), var(--neon));
	color: #fff;
}

.pricing-tier {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 8px;
}

.pricing-price {
	font-size: 3rem;
	font-weight: 700;
	font-family: var(--mono);
}

.pricing-period {
	color: var(--text-muted);
	font-size: 0.85rem;
	margin-bottom: 28px;
}

.pricing-features {
	list-style: none;
	padding: 0;
	margin-bottom: 28px;
	text-align: left;
}

.pricing-features li {
	padding: 8px 0;
	border-bottom: 1px solid var(--border-light);
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.pricing-features li::before {
	content: '✓';
	color: var(--violet);
	margin-right: 10px;
	font-weight: 700;
}

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

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

.testimonial-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
	text-align: left;
	opacity: 0;
	transform: translateY(20px);
}

.testimonial-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.testimonial-card p {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.7;
	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: linear-gradient(135deg, var(--violet-dark), var(--neon));
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.8rem;
	color: #fff;
	flex-shrink: 0;
}

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

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

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

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

.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin-bottom: 12px;
	overflow: hidden;
	background: var(--surface);
	opacity: 0;
	transform: translateY(15px);
}

.faq-item.visible {
	opacity: 1;
	transform: translateY(0);
}

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

.faq-item summary::-webkit-details-marker {
	display: none;
}

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

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

.faq-item[open] summary {
	color: var(--violet-light);
}

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

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

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

.footer-brand p {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-top: 12px;
}

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

.footer-col h4 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	margin-bottom: 4px;
}

.footer-col a {
	font-size: 0.9rem;
	color: var(--text-secondary);
	transition: color var(--transition);
}

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

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

.footer-bottom a {
	color: var(--violet-light);
}

.footer-links {
	display: flex;
	gap: 24px;
}

/* --- Portfolio Nav --- */
.portfolio-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 32px;
	padding: 20px 0 32px;
	font-size: 0.85rem;
}

.portfolio-nav a {
	color: var(--text-muted);
	transition: color var(--transition);
}

.portfolio-nav a:hover {
	color: var(--violet-light);
}

.portfolio-home {
	font-size: 1.3rem;
}

/* === SCROLL ANIMATIONS === */
[data-anim] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
	.features-grid,
	.modes-grid,
	.pricing-grid,
	.testimonials-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.explorer-panel {
		grid-template-columns: 1fr;
	}

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

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

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.nav-toggle {
		display: flex;
	}

	.mobile-nav {
		display: flex;
	}

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

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

	.hero-stats {
		gap: 24px;
	}

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

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

	.explorer-tabs {
		gap: 4px;
	}

	.explorer-tab {
		padding: 6px 12px;
		font-size: 0.8rem;
	}
}

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

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

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

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