/* === Reset & Custom Properties === */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg-primary: #0a0e1a;
	--bg-secondary: #0f1424;
	--bg-card: #141929;
	--bg-card-hover: #1a2035;
	--bg-elevated: #1e2440;
	--border: #1e2a45;
	--border-bright: #263050;
	--text-primary: #e8ecf4;
	--text-secondary: #8b95b0;
	--text-muted: #5a6580;
	--accent-blue: #00d4ff;
	--accent-teal: #00ffc8;
	--accent-glow: rgba(0, 212, 255, 0.15);
	--accent-teal-glow: rgba(0, 255, 200, 0.12);
	--gradient-main: linear-gradient(135deg, #00d4ff 0%, #00ffc8 100%);
	--gradient-subtle: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(0,255,200,0.06) 100%);
	--font-body: 'DM Sans', system-ui, sans-serif;
	--font-mono: 'IBM Plex Mono', 'SF Mono', monospace;
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-xl: 24px;
}

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

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

a {
	color: var(--accent-blue);
	text-decoration: none;
	transition: color 0.2s;
}

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

code {
	font-family: var(--font-mono);
	background: rgba(0, 212, 255, 0.1);
	color: var(--accent-teal);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.85em;
}

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

/* === Buttons === */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 10px 22px;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.btn-primary {
	background: var(--gradient-main);
	color: #0a0e1a;
}

.btn-primary:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	box-shadow: 0 4px 20px var(--accent-glow);
	color: #0a0e1a;
}

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

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

.btn-lg {
	padding: 14px 32px;
	font-size: 1rem;
}

.btn-full {
	width: 100%;
}

/* === Navigation === */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(10, 14, 26, 0.85);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border);
	transition: background 0.3s;
}

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

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

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

.nav-links {
	display: flex;
	gap: 28px;
}

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

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

.nav-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

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

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

.mobile-menu {
	display: none;
	position: fixed;
	top: 64px;
	left: 0;
	right: 0;
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--border);
	z-index: 99;
	padding: 20px 24px;
	flex-direction: column;
	gap: 16px;
}

.mobile-menu.active {
	display: flex;
}

.mobile-link {
	color: var(--text-secondary);
	font-size: 1rem;
	font-weight: 500;
	padding: 8px 0;
}

.mobile-cta {
	margin-top: 8px;
}

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

.hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

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

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
}

.hero-glow-1 {
	width: 600px;
	height: 600px;
	background: rgba(0, 212, 255, 0.08);
	top: -200px;
	right: -100px;
}

.hero-glow-2 {
	width: 500px;
	height: 500px;
	background: rgba(0, 255, 200, 0.06);
	bottom: -150px;
	left: -100px;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
}

.hero-badge {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--accent-teal);
	background: rgba(0, 255, 200, 0.08);
	border: 1px solid rgba(0, 255, 200, 0.15);
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 24px;
	letter-spacing: 0.04em;
}

.hero-title {
	font-size: clamp(2.4rem, 5.5vw, 4rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #fff 0%, #c4d0e8 50%, var(--accent-blue) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

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

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

.hero-cards {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-stat-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 20px 28px;
	min-width: 220px;
	text-align: left;
}

.hero-stat-value {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--accent-blue);
	margin-bottom: 8px;
	letter-spacing: 0.06em;
}

.hero-stat-bar {
	height: 6px;
	background: var(--bg-elevated);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 8px;
}

.hero-stat-bar span {
	display: block;
	height: 100%;
	background: var(--gradient-main);
	border-radius: 3px;
	transition: width 1.5s ease;
}

.hero-stat-bar.swap span {
	background: linear-gradient(135deg, #ff6b6b, #ffa94d);
}

.hero-stat-label {
	font-size: 0.78rem;
	color: var(--text-muted);
}

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

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

.stat-number {
	font-family: var(--font-mono);
	font-size: 2rem;
	font-weight: 700;
	background: var(--gradient-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 4px;
}

.stat-desc {
	font-size: 0.88rem;
	color: var(--text-secondary);
}

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

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

.trust-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-secondary);
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 8px 18px;
	border-radius: var(--radius-sm);
}

.trust-icon {
	font-size: 1rem;
}

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

.section-badge {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent-teal);
	margin-bottom: 12px;
}

.section-header h2 {
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 12px;
	line-height: 1.2;
}

.section-header p {
	color: var(--text-secondary);
	font-size: 1rem;
}

/* === Features === */
.features {
	padding: 100px 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-md);
	padding: 28px 24px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--gradient-main);
	opacity: 0;
	transition: opacity 0.3s;
}

.feature-card:hover {
	border-color: var(--border-bright);
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
	opacity: 1;
}

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

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

.feature-card p {
	font-size: 0.85rem;
	color: var(--text-secondary);
	line-height: 1.55;
	margin-bottom: 12px;
}

.feature-flag {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--accent-blue);
	opacity: 0.7;
}

/* === How It Works === */
.how-it-works {
	padding: 100px 0;
	background: var(--bg-secondary);
}

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

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

.step-num {
	font-family: var(--font-mono);
	font-size: 2.4rem;
	font-weight: 700;
	background: var(--gradient-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 16px;
	line-height: 1;
}

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

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

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

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

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

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

.comparison-table th {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-secondary);
	background: var(--bg-secondary);
}

.comparison-table th.highlight {
	color: var(--accent-teal);
	background: rgba(0, 255, 200, 0.05);
}

.comparison-table td:first-child {
	text-align: left;
	font-weight: 500;
}

.comparison-table td.highlight {
	color: var(--accent-teal);
	font-weight: 700;
	background: rgba(0, 255, 200, 0.03);
}

/* === Demo / Terminal === */
.demo {
	padding: 100px 0;
	background: var(--bg-secondary);
}

.terminal {
	background: #0c0c0c;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.terminal-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: #1a1a1a;
	border-bottom: 1px solid #2a2a2a;
}

.terminal-dots {
	display: flex;
	gap: 8px;
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.terminal-title {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: #666;
}

.terminal-body {
	padding: 20px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	line-height: 1.6;
	overflow-x: auto;
	white-space: pre;
	color: #c8c8c8;
}

.t-header {
	color: #00d4ff;
}

.t-colhead {
	color: #ffbd2e;
	font-weight: 600;
}

.t-running {
	color: #00ffc8;
	font-weight: 600;
}

.t-row {
	color: #b0b8c8;
}

.demo-controls {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 24px;
	flex-wrap: wrap;
}

.demo-btn {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	padding: 8px 18px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--text-secondary);
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all 0.2s;
}

.demo-btn.active {
	border-color: var(--accent-blue);
	color: var(--accent-blue);
	background: rgba(0, 212, 255, 0.08);
}

.demo-btn:hover {
	border-color: var(--accent-blue);
	color: var(--accent-blue);
}

/* === Activity Feed === */
.activity-feed {
	padding: 80px 0;
}

.feed-container {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
	max-height: 320px;
}

.feed-list {
	padding: 8px 0;
}

.feed-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	border-bottom: 1px solid var(--border);
	font-size: 0.85rem;
	opacity: 0;
	animation: feedIn 0.5s ease forwards;
}

.feed-item:nth-child(1) { animation-delay: 0s; }
.feed-item:nth-child(2) { animation-delay: 0.1s; }
.feed-item:nth-child(3) { animation-delay: 0.2s; }
.feed-item:nth-child(4) { animation-delay: 0.3s; }
.feed-item:nth-child(5) { animation-delay: 0.4s; }
.feed-item:nth-child(6) { animation-delay: 0.5s; }

@keyframes feedIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.feed-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-teal);
	flex-shrink: 0;
	animation: pulse 2s ease infinite;
}

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

.feed-text {
	flex: 1;
	color: var(--text-secondary);
}

.feed-time {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--text-muted);
	flex-shrink: 0;
}

/* === Pricing === */
.pricing {
	padding: 100px 0;
	background: var(--bg-secondary);
}

.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-lg);
	padding: 32px 24px;
	position: relative;
}

.price-card.featured {
	border-color: var(--accent-blue);
	box-shadow: 0 0 40px var(--accent-glow);
}

.price-popular {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: var(--gradient-main);
	color: #0a0e1a;
	padding: 4px 14px;
	border-radius: 12px;
}

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

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

.currency {
	font-size: 1.4rem;
	vertical-align: top;
	color: var(--text-secondary);
}

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

.price-desc {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-bottom: 20px;
}

.price-features {
	list-style: none;
	margin-bottom: 24px;
}

.price-features li {
	font-size: 0.82rem;
	color: var(--text-secondary);
	padding: 6px 0;
	padding-left: 18px;
	position: relative;
}

.price-features li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--accent-teal);
	font-size: 0.78rem;
}

/* === Testimonials === */
.testimonials {
	padding: 100px 0;
}

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

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

.testimonial-stars {
	color: #ffbd2e;
	font-size: 0.9rem;
	margin-bottom: 14px;
}

.testimonial-card p {
	font-size: 0.92rem;
	color: var(--text-secondary);
	line-height: 1.6;
	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-main);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 700;
	color: #0a0e1a;
	flex-shrink: 0;
}

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

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

/* === FAQ === */
.faq {
	padding: 100px 0;
	background: var(--bg-secondary);
}

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

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

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 0;
	background: none;
	border: none;
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
}

.faq-chevron {
	color: var(--text-muted);
	font-size: 0.9rem;
	transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
	max-height: 300px;
}

.faq-answer p {
	padding-bottom: 20px;
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.65;
}

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

.waitlist-inner {
	text-align: center;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 60px 40px;
}

.waitlist-inner h2 {
	font-size: 1.8rem;
	margin-bottom: 12px;
}

.waitlist-inner p {
	color: var(--text-secondary);
	margin-bottom: 28px;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

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

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

.waitlist-input:focus {
	border-color: var(--accent-blue);
}

.waitlist-input::placeholder {
	color: var(--text-muted);
}

/* === Portfolio Banner === */
.portfolio-banner {
	padding: 48px 0;
	background: linear-gradient(135deg, #0c1022 0%, #111830 100%);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	text-align: center;
}

.portfolio-banner h3 {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 20px;
	font-weight: 500;
}

.portfolio-banner h3 a {
	color: var(--accent-blue);
	font-weight: 600;
}

.portfolio-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	justify-content: center;
	max-width: 900px;
	margin: 0 auto;
}

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

.portfolio-links a:hover {
	color: var(--accent-teal);
}

.current-brand {
	font-size: 0.82rem;
	color: var(--accent-teal);
	font-weight: 700;
}

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

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

.footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--text-primary);
	margin-bottom: 12px;
}

.footer-desc {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-bottom: 12px;
}

.footer-backed {
	font-size: 0.82rem;
	color: var(--text-muted);
}

.footer-backed a {
	color: var(--accent-blue);
}

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

.footer-col a {
	display: block;
	font-size: 0.88rem;
	color: var(--text-secondary);
	padding: 4px 0;
}

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

.footer-bottom {
	border-top: 1px solid var(--border);
	padding-top: 24px;
	text-align: center;
}

.footer-bottom p {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* === Modal === */
.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.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;
	transform: scale(0.95);
	transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
	transform: scale(1);
}

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

.modal-close:hover {
	color: var(--text-primary);
}

.modal-icon {
	font-size: 2.4rem;
	margin-bottom: 12px;
	background: var(--gradient-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

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

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

.modal-btn {
	min-width: 140px;
}

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

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

/* === Responsive === */
@media (max-width: 1024px) {
	.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,
	.nav-actions {
		display: none;
	}

	.nav-hamburger {
		display: flex;
	}

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

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

	.hero-stat-card {
		width: 100%;
		max-width: 320px;
	}

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

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

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

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

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

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

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

	.terminal-body {
		font-size: 0.65rem;
	}
}

/* ===== 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: #fff !important;
	border-color: #fff !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%}