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

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

body {
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #e2e8f0;
	background: #0f172a;
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

ul {
	list-style: none;
}

img {
	max-width: 100%;
}

code {
	font-family: 'IBM Plex Mono', monospace;
	background: rgba(148, 163, 184, 0.12);
	padding: 0.15em 0.4em;
	border-radius: 4px;
	font-size: 0.85em;
	color: #94a3b8;
}

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

.section {
	padding: 100px 0;
}

.section-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #64748b;
	margin-bottom: 12px;
}

.section-title {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 16px;
	color: #f1f5f9;
}

.section-subtitle {
	font-size: 1.05rem;
	color: #94a3b8;
	max-width: 640px;
	margin: 0 auto 48px;
}

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

.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: #f1f5f9;
	letter-spacing: -0.01em;
}

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

.nav-links a {
	font-size: 0.875rem;
	font-weight: 500;
	color: #94a3b8;
	transition: color 0.2s;
}

.nav-links a:hover {
	color: #f1f5f9;
}

.nav-cta {
	background: #e2e8f0;
	color: #0f172a !important;
	padding: 8px 20px;
	border-radius: 6px;
	font-weight: 600;
	transition: background 0.2s;
}

.nav-cta:hover {
	background: #f8fafc;
}

.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: #94a3b8;
	border-radius: 2px;
	transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
	position: relative;
	padding: 160px 0 100px;
	text-align: center;
	overflow: hidden;
}

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

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

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

.trust-bar-inline {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.trust-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	background: rgba(148, 163, 184, 0.06);
	border: 1px solid rgba(148, 163, 184, 0.12);
	border-radius: 100px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #64748b;
}

.hero-eyebrow {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #64748b;
	margin-bottom: 20px;
}

.hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 24px;
	color: #f1f5f9;
}

.hero-desc {
	font-size: 1.1rem;
	color: #94a3b8;
	max-width: 680px;
	margin: 0 auto 36px;
	line-height: 1.75;
}

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

.btn-primary {
	display: inline-flex;
	align-items: center;
	padding: 14px 32px;
	background: #e2e8f0;
	color: #0f172a;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 8px;
	transition: all 0.2s;
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	background: #f8fafc;
	transform: translateY(-1px);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	padding: 14px 32px;
	background: transparent;
	color: #94a3b8;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 8px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	transition: all 0.2s;
}

.btn-secondary:hover {
	border-color: rgba(148, 163, 184, 0.4);
	color: #e2e8f0;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: rgba(148, 163, 184, 0.08);
	border-radius: 12px;
	overflow: hidden;
	max-width: 720px;
	margin: 0 auto 56px;
}

.hero-stat {
	padding: 24px;
	background: rgba(15, 23, 42, 0.9);
	text-align: center;
}

.hero-stat-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #f1f5f9;
	font-family: 'IBM Plex Mono', monospace;
}

.hero-stat-label {
	font-size: 0.75rem;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
}

/* ===== Terminal ===== */
.terminal {
	background: #1e293b;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.1);
	overflow: hidden;
	text-align: left;
	max-width: 760px;
	margin: 0 auto;
}

.terminal.compact {
	max-width: 100%;
}

.terminal-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	background: rgba(30, 41, 59, 0.6);
	border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

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

.terminal-dot.red { background: #475569; }
.terminal-dot.yellow { background: #475569; }
.terminal-dot.green { background: #475569; }

.terminal-title {
	font-size: 0.75rem;
	color: #475569;
	margin-left: 8px;
	font-family: 'IBM Plex Mono', monospace;
}

.terminal-body {
	padding: 20px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.82rem;
	line-height: 1.8;
}

.term-line {
	white-space: nowrap;
	overflow: hidden;
}

.prompt {
	color: #64748b;
}

.command {
	color: #e2e8f0;
}

.term-line.output {
	color: #94a3b8;
}

.term-line.delayed {
	opacity: 0;
	animation: termFadeIn 0.3s ease forwards;
}
.term-line.delayed.d1 { animation-delay: 0.8s; }
.term-line.delayed.d2 { animation-delay: 1.2s; }
.term-line.delayed.d3 { animation-delay: 1.6s; }
.term-line.delayed.d4 { animation-delay: 2.0s; }
.term-line.delayed.d5 { animation-delay: 2.4s; }

@keyframes termFadeIn {
	to { opacity: 1; }
}

/* ===== Features ===== */
.features {
	background: #0f172a;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1px;
	background: rgba(148, 163, 184, 0.06);
	border-radius: 12px;
	overflow: hidden;
	margin-top: 48px;
}

.feature-card {
	padding: 32px;
	background: #1e293b;
	transition: background 0.2s;
}

.feature-card:hover {
	background: #263248;
}

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

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

.feature-flag {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.7rem;
	font-weight: 500;
	color: #64748b;
	background: rgba(148, 163, 184, 0.08);
	padding: 2px 8px;
	border-radius: 4px;
	vertical-align: middle;
}

.feature-card p {
	font-size: 0.9rem;
	color: #94a3b8;
	line-height: 1.65;
}

/* ===== How It Works ===== */
.how-it-works {
	background: #1e293b;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	margin-top: 48px;
}

.step-card {
	padding: 32px;
	background: #0f172a;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.06);
}

.step-number {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 2rem;
	font-weight: 700;
	color: rgba(148, 163, 184, 0.15);
	margin-bottom: 16px;
}

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

.step-card p {
	font-size: 0.9rem;
	color: #94a3b8;
	line-height: 1.65;
}

/* ===== Comparison ===== */
.comparison {
	background: #0f172a;
}

.comparison-table-wrap {
	overflow-x: auto;
	margin-top: 48px;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.08);
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	min-width: 600px;
}

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

.comparison-table thead th {
	background: #1e293b;
	font-weight: 600;
	color: #94a3b8;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.comparison-table tbody td {
	background: rgba(15, 23, 42, 0.8);
	color: #94a3b8;
}

.comparison-table .highlight {
	background: rgba(148, 163, 184, 0.06);
	color: #f1f5f9;
	font-weight: 600;
}

.comparison-table thead th.highlight {
	background: rgba(148, 163, 184, 0.1);
	color: #f1f5f9;
}

/* ===== Pricing ===== */
.pricing {
	background: #1e293b;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1px;
	background: rgba(148, 163, 184, 0.06);
	border-radius: 12px;
	overflow: hidden;
	margin-top: 48px;
}

.pricing-card {
	padding: 36px 28px;
	background: #0f172a;
	display: flex;
	flex-direction: column;
	position: relative;
}

.pricing-card.featured {
	background: #162032;
}

.pricing-popular {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 6px 0;
	background: #e2e8f0;
	color: #0f172a;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-align: center;
}

.pricing-card.featured {
	padding-top: 56px;
}

.pricing-tier {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #64748b;
	margin-bottom: 12px;
}

.pricing-price {
	font-size: 2.2rem;
	font-weight: 700;
	color: #f1f5f9;
	font-family: 'IBM Plex Mono', monospace;
	margin-bottom: 12px;
}

.pricing-price span {
	font-size: 0.9rem;
	font-weight: 400;
	color: #64748b;
}

.pricing-desc {
	font-size: 0.85rem;
	color: #94a3b8;
	margin-bottom: 24px;
	line-height: 1.6;
}

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

.pricing-features li {
	font-size: 0.85rem;
	color: #94a3b8;
	padding: 6px 0;
	padding-left: 20px;
	position: relative;
}

.pricing-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #64748b;
	font-size: 0.75rem;
}

.btn-pricing {
	display: block;
	text-align: center;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.875rem;
	background: rgba(148, 163, 184, 0.08);
	color: #e2e8f0;
	border: 1px solid rgba(148, 163, 184, 0.12);
	transition: all 0.2s;
	cursor: pointer;
}

.btn-pricing:hover {
	background: rgba(148, 163, 184, 0.15);
	border-color: rgba(148, 163, 184, 0.25);
}

.btn-pricing.featured {
	background: #e2e8f0;
	color: #0f172a;
	border-color: #e2e8f0;
}

.btn-pricing.featured:hover {
	background: #f8fafc;
}

/* ===== Security ===== */
.security {
	background: #0f172a;
}

.security-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	margin-top: 48px;
}

.security-badge-card {
	padding: 32px;
	background: #1e293b;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.06);
	text-align: center;
}

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

.security-badge-card h4 {
	font-size: 1rem;
	font-weight: 600;
	color: #f1f5f9;
	margin-bottom: 8px;
}

.security-badge-card p {
	font-size: 0.85rem;
	color: #94a3b8;
	line-height: 1.6;
}

/* ===== Integrations ===== */
.integrations {
	background: #1e293b;
	padding: 64px 0;
}

.integrations-strip {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 36px;
}

.integration-item {
	padding: 12px 24px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(148, 163, 184, 0.08);
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #64748b;
	font-family: 'IBM Plex Mono', monospace;
}

/* ===== Testimonials ===== */
.testimonials {
	background: #0f172a;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 48px;
}

.testimonial-card {
	padding: 32px;
	background: #1e293b;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.06);
}

.testimonial-stars {
	color: #fbbf24;
	font-size: 0.85rem;
	margin-bottom: 16px;
	letter-spacing: 2px;
}

.testimonial-card blockquote {
	font-size: 0.9rem;
	color: #cbd5e1;
	line-height: 1.7;
	margin-bottom: 24px;
	font-style: normal;
}

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

.testimonial-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(148, 163, 184, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: #64748b;
	font-family: 'IBM Plex Mono', monospace;
}

.testimonial-name {
	font-size: 0.85rem;
	font-weight: 600;
	color: #f1f5f9;
}

.testimonial-role {
	font-size: 0.75rem;
	color: #64748b;
}

/* ===== Demo ===== */
.demo {
	background: #1e293b;
}

.demo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 24px;
	margin-top: 48px;
}

.demo-card {
	background: #0f172a;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.06);
	overflow: hidden;
}

.demo-card h4 {
	padding: 16px 20px 0;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
}

.demo-card .terminal {
	border: none;
	border-radius: 0;
	background: transparent;
}

.demo-card .terminal-header {
	background: transparent;
	border-bottom: 1px solid rgba(148, 163, 184, 0.04);
}

/* ===== FAQ ===== */
.faq {
	background: #0f172a;
}

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

.faq-item {
	border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.faq-question {
	width: 100%;
	text-align: left;
	padding: 20px 0;
	background: none;
	border: none;
	color: #f1f5f9;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	font-family: 'IBM Plex Sans', sans-serif;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: color 0.2s;
}

.faq-question:hover {
	color: #cbd5e1;
}

.faq-question::after {
	content: "+";
	font-size: 1.3rem;
	font-weight: 400;
	color: #475569;
	transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
	transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
	max-height: 400px;
	padding-bottom: 20px;
}

.faq-answer p {
	font-size: 0.9rem;
	color: #94a3b8;
	line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
	background: #1e293b;
}

.cta-inner {
	text-align: center;
	padding: 64px 40px;
	background: #0f172a;
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.08);
}

.cta-inner h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
	color: #f1f5f9;
	margin-bottom: 12px;
}

.cta-inner p {
	font-size: 1rem;
	color: #94a3b8;
	margin-bottom: 28px;
}

.cta-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
	background: #0f172a;
	border-top: 1px solid rgba(148, 163, 184, 0.06);
	padding: 64px 0 32px;
}

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

.footer-brand p {
	font-size: 0.85rem;
	color: #64748b;
	margin-top: 12px;
	max-width: 280px;
}

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

.footer-links-grid h4 {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #64748b;
	margin-bottom: 16px;
}

.footer-links-grid a {
	display: block;
	font-size: 0.85rem;
	color: #94a3b8;
	padding: 4px 0;
	transition: color 0.2s;
}

.footer-links-grid a:hover {
	color: #f1f5f9;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid rgba(148, 163, 184, 0.06);
}

.footer-bottom p {
	font-size: 0.8rem;
	color: #475569;
}

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

.footer-legal a {
	font-size: 0.8rem;
	color: #475569;
	transition: color 0.2s;
}

.footer-legal a:hover {
	color: #94a3b8;
}

/* ===== Portfolio Banner ===== */
.portfolio-banner {
	background: #0f172a;
	border-top: 1px solid rgba(148, 163, 184, 0.06);
	padding: 40px 0;
	text-align: center;
}

.portfolio-label {
	font-size: 0.8rem;
	color: #64748b;
	margin-bottom: 20px;
}

.portfolio-label a {
	color: #94a3b8;
	text-decoration: underline;
	text-underline-offset: 2px;
}

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

.portfolio-commands a,
.portfolio-commands .current {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.7rem;
	padding: 4px 10px;
	border-radius: 4px;
	transition: all 0.2s;
}

.portfolio-commands a {
	color: #64748b;
	background: rgba(148, 163, 184, 0.05);
	border: 1px solid rgba(148, 163, 184, 0.08);
}

.portfolio-commands a:hover {
	color: #f1f5f9;
	background: rgba(148, 163, 184, 0.12);
	border-color: rgba(148, 163, 184, 0.2);
}

.portfolio-commands .current {
	color: #f1f5f9;
	background: rgba(226, 232, 240, 0.1);
	border: 1px solid rgba(226, 232, 240, 0.2);
	font-weight: 600;
}

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

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

.modal {
	background: #1e293b;
	border: 1px solid rgba(148, 163, 184, 0.1);
	border-radius: 16px;
	padding: 40px;
	max-width: 440px;
	width: 90%;
	position: relative;
	transform: translateY(20px);
	transition: transform 0.3s;
}

.modal-overlay.active .modal {
	transform: translateY(0);
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	color: #64748b;
	font-size: 1.5rem;
	cursor: pointer;
	transition: color 0.2s;
}

.modal-close:hover {
	color: #e2e8f0;
}

.modal h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: #f1f5f9;
	margin-bottom: 8px;
}

.modal p {
	font-size: 0.9rem;
	color: #94a3b8;
	margin-bottom: 24px;
	line-height: 1.6;
}

.modal-form {
	display: flex;
	gap: 10px;
}

.modal-input {
	flex: 1;
	padding: 12px 16px;
	background: #0f172a;
	border: 1px solid rgba(148, 163, 184, 0.12);
	border-radius: 8px;
	color: #e2e8f0;
	font-size: 0.9rem;
	font-family: 'IBM Plex Sans', sans-serif;
	outline: none;
	transition: border-color 0.2s;
}

.modal-input:focus {
	border-color: rgba(148, 163, 184, 0.3);
}

.modal-input::placeholder {
	color: #475569;
}

.modal-submit {
	padding: 12px 20px;
	font-size: 0.85rem;
	white-space: nowrap;
}

/* ===== 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);
}

.typing {
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
	border-right: 2px solid #64748b;
	animation: typing-cursor 0.7s step-end infinite;
	width: 0;
	animation: typing-expand 1.5s steps(50) forwards, typing-cursor 0.7s step-end infinite;
}

@keyframes typing-expand {
	from { width: 0; }
	to { width: 100%; }
}

@keyframes typing-cursor {
	50% { border-color: transparent; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #0f172a;
		border-bottom: 1px solid rgba(148, 163, 184, 0.08);
		padding: 24px;
		gap: 20px;
	}

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

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

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

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

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

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

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

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

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

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

	.comparison-table {
		font-size: 0.75rem;
	}

	.comparison-table th,
	.comparison-table td {
		padding: 10px 12px;
	}
}

/* ===== 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%}