/* ============================================
   Cadence — Autonomous Task Orchestration
   Enterprise B2B / Navy-Slate + Green Accent
   IBM Plex Sans + IBM Plex Mono
   ============================================ */

:root {
	/* Colors */
	--navy: #0F172A;
	--navy-800: #1E293B;
	--navy-700: #334155;
	--slate-600: #475569;
	--slate-500: #64748B;
	--slate-400: #94A3B8;
	--slate-300: #CBD5E1;
	--slate-200: #E2E8F0;
	--slate-100: #F1F5F9;
	--slate-50: #F8FAFC;
	--green: #22C55E;
	--green-dark: #16A34A;
	--green-light: #4ADE80;
	--green-glow: rgba(34, 197, 94, 0.15);
	--blue: #3B82F6;
	--purple: #A855F7;
	--amber: #F59E0B;
	--red: #EF4444;
	--white: #FFFFFF;
	--text: #F1F5F9;
	--text-muted: #94A3B8;
	--bg: #0F172A;
	--bg-card: #1E293B;
	--bg-card-hover: #253449;
	--border: #334155;

	/* Typography */
	--font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-mono: 'IBM Plex Mono', 'Fira Code', monospace;

	/* Spacing */
	--section-pad: clamp(4rem, 8vw, 7rem);
	--container-max: 1200px;

	/* Transitions */
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}

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

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

img {
	max-width: 100%;
}

code {
	font-family: var(--font-mono);
	font-size: 0.85em;
	background: rgba(34, 197, 94, 0.1);
	color: var(--green);
	padding: 0.15em 0.4em;
	border-radius: 4px;
}

/* ---- Buttons ---- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: all 0.25s var(--ease);
	text-decoration: none;
	white-space: nowrap;
}

.btn-primary {
	background: var(--green);
	color: var(--navy);
}

.btn-primary:hover {
	background: var(--green-light);
	color: var(--navy);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

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

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

.btn-outline-light {
	background: transparent;
	color: var(--white);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
}

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

.btn-sm {
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
}

.btn-lg {
	padding: 0.9rem 2rem;
	font-size: 1rem;
}

.btn-block {
	width: 100%;
}

/* ---- Section Defaults ---- */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3.5rem;
}

.section-tag {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--green);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.75rem;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgba(34, 197, 94, 0.3);
	border-radius: 20px;
	background: var(--green-glow);
}

.section-header h2 {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}

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

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

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

.modal-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 2.5rem;
	max-width: 420px;
	width: 90%;
	text-align: center;
	position: relative;
	transform: translateY(20px);
	transition: transform 0.3s var(--ease);
}

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

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

.modal-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.modal-card h3 {
	font-size: 1.4rem;
	margin-bottom: 0.75rem;
}

.modal-card p {
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

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

/* ---- Navigation ---- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	transition: background 0.3s var(--ease);
}

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

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

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

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

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

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

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

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

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

.mobile-menu {
	display: none;
	position: fixed;
	top: 64px;
	left: 0;
	right: 0;
	background: var(--navy-800);
	border-bottom: 1px solid var(--border);
	padding: 1.5rem;
	flex-direction: column;
	gap: 1rem;
	z-index: 999;
	transform: translateY(-100%);
	opacity: 0;
	transition: all 0.3s var(--ease);
}

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

.mobile-menu a {
	color: var(--text-muted);
	font-size: 1rem;
	font-weight: 500;
	padding: 0.5rem 0;
}

/* ---- Hero ---- */
.hero {
	padding: calc(64px + 4rem) 0 var(--section-pad);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

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

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-muted);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 0.35rem 1rem;
	margin-bottom: 1.5rem;
}

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

.hero-badge-link {
	color: var(--green);
	font-weight: 600;
}

.hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 1.5rem;
}

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

.hero-actions {
	display: flex;
	gap: 1rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.hero-proof {
	display: flex;
	gap: 2.5rem;
}

.hero-stat {
	display: flex;
	flex-direction: column;
}

.hero-stat-num {
	font-family: var(--font-mono);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--green);
}

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

/* Clock Visualization */
.hero-visual {
	display: flex;
	justify-content: center;
	position: relative;
}

.clock-container {
	position: relative;
	width: 100%;
	max-width: 360px;
}

.clock-svg {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.1));
}

.clock-label {
	position: absolute;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 500;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	white-space: nowrap;
}

.clock-label-hourly {
	top: 2%;
	right: 10%;
	color: var(--green);
	background: var(--green-glow);
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.clock-label-daily {
	bottom: 20%;
	right: 0%;
	color: var(--blue);
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.clock-label-weekly {
	bottom: 20%;
	left: 0%;
	color: var(--purple);
	background: rgba(168, 85, 247, 0.1);
	border: 1px solid rgba(168, 85, 247, 0.3);
}

.task-arc {
	stroke-dasharray: 200;
	stroke-dashoffset: 200;
	animation: drawArc 2s var(--ease) forwards;
}

.arc-hourly { animation-delay: 0.3s; }
.arc-daily { animation-delay: 0.8s; }
.arc-weekly { animation-delay: 1.3s; }

.pulse-dot {
	animation: pulseDot 2s infinite;
}

.pulse-dot:nth-child(2) { animation-delay: 0.4s; }
.pulse-dot:nth-child(3) { animation-delay: 0.8s; }

/* ---- Trust Bar ---- */
.trust-bar {
	padding: 2rem 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--navy-800);
}

.trust-badges {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
}

.trust-badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-muted);
}

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

/* ---- Stats ---- */
.stats {
	padding: var(--section-pad) 0;
}

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

.stat-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	transition: border-color 0.3s var(--ease);
}

.stat-card:hover {
	border-color: var(--green);
}

.stat-number {
	font-family: var(--font-mono);
	font-size: 3rem;
	font-weight: 700;
	color: var(--green);
	display: inline;
}

.stat-suffix {
	font-family: var(--font-mono);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--green);
}

.stat-label {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-top: 0.5rem;
	line-height: 1.5;
}

/* ---- Features ---- */
.features {
	padding: var(--section-pad) 0;
	background: var(--navy-800);
}

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

.feature-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2rem;
	transition: all 0.3s var(--ease);
}

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

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

.feature-card h3 {
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.feature-card p {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1rem;
}

.feature-flag {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--green);
	background: var(--green-glow);
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ---- Schedule Visualizer ---- */
.visualizer {
	padding: var(--section-pad) 0;
}

.timeline-container {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 2rem;
	overflow: hidden;
}

.timeline-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.timeline-legend {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-family: var(--font-mono);
	color: var(--text-muted);
}

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

.timeline-track {
	position: relative;
	background: var(--navy);
	border-radius: 8px;
	padding: 1rem 1.5rem 0.75rem;
	margin-bottom: 1.5rem;
}

.timeline-hours {
	display: flex;
	justify-content: space-between;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--slate-500);
	margin-bottom: 0.75rem;
}

.timeline-bars {
	display: flex;
	gap: 2px;
	height: 60px;
	align-items: flex-end;
}

.timeline-bar {
	flex: 1;
	border-radius: 2px 2px 0 0;
	min-height: 4px;
	transition: height 0.5s var(--ease);
	position: relative;
}

.timeline-bar:hover {
	opacity: 0.8;
}

.timeline-cursor {
	position: absolute;
	top: 0;
	left: 0;
	width: 2px;
	height: 100%;
	background: var(--green);
	box-shadow: 0 0 8px var(--green);
	transition: left 0.5s linear;
	opacity: 0.7;
}

.timeline-stats {
	display: flex;
	gap: 3rem;
}

.tl-stat {
	display: flex;
	flex-direction: column;
}

.tl-stat-num {
	font-family: var(--font-mono);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--green);
}

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

/* ---- How It Works ---- */
.how-it-works {
	padding: var(--section-pad) 0;
	background: var(--navy-800);
}

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

.step-card {
	padding: 2rem;
	border-radius: 12px;
	background: var(--bg);
	border: 1px solid var(--border);
	transition: border-color 0.3s var(--ease);
}

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

.step-num {
	font-family: var(--font-mono);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--green);
	opacity: 0.3;
	margin-bottom: 1rem;
}

.step-card h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

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

/* ---- Architecture Diagram ---- */
.architecture {
	padding: var(--section-pad) 0;
}

.arch-diagram {
	max-width: 800px;
	margin: 0 auto;
}

.arch-root {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.arch-node {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 1.25rem;
	border-radius: 8px;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	font-weight: 500;
	border: 1px solid var(--border);
	background: var(--bg-card);
	position: relative;
	transition: all 0.3s var(--ease);
}

.arch-node:hover {
	border-color: var(--green);
}

.arch-node-root {
	font-size: 1rem;
	font-weight: 700;
	border-color: var(--green);
	background: var(--green-glow);
	color: var(--green);
}

.arch-tag {
	font-size: 0.65rem;
	color: var(--text-muted);
	font-weight: 400;
}

.arch-branches {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	width: 100%;
}

.arch-branch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.arch-connector {
	width: 1px;
	height: 24px;
	background: var(--border);
}

.arch-intervals {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 1rem;
}

.arch-interval {
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 500;
}

.arch-hourly {
	background: rgba(34, 197, 94, 0.1);
	color: var(--green);
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.arch-daily {
	background: rgba(59, 130, 246, 0.1);
	color: var(--blue);
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.arch-weekly {
	background: rgba(168, 85, 247, 0.1);
	color: var(--purple);
	border: 1px solid rgba(168, 85, 247, 0.3);
}

.arch-monthly {
	background: rgba(245, 158, 11, 0.1);
	color: var(--amber);
	border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ---- Terminal Demo ---- */
.demo {
	padding: var(--section-pad) 0;
	background: var(--navy-800);
}

.terminal {
	max-width: 800px;
	margin: 0 auto;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.terminal-bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: var(--navy-700);
	padding: 0.75rem 1rem;
}

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

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

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #22C55E; }

.terminal-title {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-muted);
}

.terminal-body {
	background: var(--navy);
	padding: 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	line-height: 1.8;
	overflow-x: auto;
}

.term-line {
	display: flex;
	gap: 0.5rem;
	align-items: baseline;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.term-prompt {
	color: var(--green);
	font-weight: 600;
	user-select: none;
}

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

.term-comment {
	color: var(--slate-500);
	font-style: italic;
	margin-left: 1rem;
}

.term-output {
	color: var(--slate-400);
}

.term-highlight {
	color: var(--green-light);
}

.term-spacer {
	height: 0.5rem;
}

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

/* ---- Comparison ---- */
.comparison {
	padding: var(--section-pad) 0;
}

.comparison-table-wrap {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid var(--border);
}

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

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

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

.comparison-table thead th.comp-us {
	color: var(--green);
}

.comparison-table tbody tr:hover {
	background: var(--bg-card);
}

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

.comp-us {
	color: var(--green);
	font-weight: 600;
}

/* ---- Testimonials ---- */
.testimonials {
	padding: var(--section-pad) 0;
	background: var(--navy-800);
}

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

.testimonial-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2rem;
	transition: border-color 0.3s var(--ease);
}

.testimonial-card:hover {
	border-color: var(--green);
}

.testimonial-stars {
	color: var(--amber);
	font-size: 0.9rem;
	margin-bottom: 1rem;
	letter-spacing: 2px;
}

.testimonial-card blockquote {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.testimonial-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--white);
}

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

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

/* ---- Pricing ---- */
.pricing {
	padding: var(--section-pad) 0;
}

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

.pricing-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 2rem;
	position: relative;
	transition: all 0.3s var(--ease);
}

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

.pricing-card-popular {
	border-color: var(--green);
	box-shadow: 0 0 0 1px var(--green), 0 12px 40px rgba(34, 197, 94, 0.15);
}

.pricing-popular-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--green);
	color: var(--navy);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.25rem 1rem;
	border-radius: 12px;
	white-space: nowrap;
}

.pricing-tier {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pricing-amount {
	margin-bottom: 0.5rem;
}

.pricing-currency {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text);
	vertical-align: top;
}

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

.pricing-custom {
	font-size: 2rem;
}

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

.pricing-desc {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
	line-height: 1.5;
}

.pricing-features {
	list-style: none;
	margin-bottom: 2rem;
}

.pricing-features li {
	font-size: 0.9rem;
	padding: 0.4rem 0;
	padding-left: 1.5rem;
	position: relative;
	color: var(--text);
}

.pricing-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--green);
	font-weight: 700;
}

.pricing-features .pricing-disabled {
	color: var(--slate-500);
	text-decoration: line-through;
}

.pricing-features .pricing-disabled::before {
	content: '—';
	color: var(--slate-500);
}

.pricing-card-enterprise {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34, 197, 94, 0.05) 100%);
}

/* ---- FAQ ---- */
.faq {
	padding: var(--section-pad) 0;
	background: var(--navy-800);
}

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

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

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: none;
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1.05rem;
	font-weight: 600;
	padding: 1.25rem 0;
	cursor: pointer;
	text-align: left;
	gap: 1rem;
	transition: color 0.2s var(--ease);
}

.faq-question:hover {
	color: var(--green);
}

.faq-chevron {
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--text-muted);
	transition: transform 0.3s var(--ease);
	flex-shrink: 0;
}

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

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

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

.faq-answer p {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.7;
	padding-bottom: 1.25rem;
}

/* ---- CTA ---- */
.cta {
	padding: var(--section-pad) 0;
}

.cta-inner {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
	padding: 4rem 2rem;
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
	border: 1px solid rgba(34, 197, 94, 0.2);
	border-radius: 24px;
}

.cta-inner h2 {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}

.cta-inner p {
	color: var(--text-muted);
	font-size: 1.1rem;
	line-height: 1.7;
	margin-bottom: 2rem;
}

.cta-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---- Portfolio Banner ---- */
.portfolio-banner {
	padding: 3rem 0;
	border-top: 1px solid var(--border);
	background: var(--navy-800);
}

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

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

.portfolio-scroll {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1rem;
	font-size: 0.85rem;
}

.portfolio-scroll a {
	color: var(--text-muted);
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	transition: all 0.2s var(--ease);
}

.portfolio-scroll a:hover {
	color: var(--green);
	background: var(--green-glow);
}

.portfolio-current {
	color: var(--green);
	font-weight: 700;
	padding: 0.25rem 0.5rem;
	background: var(--green-glow);
	border-radius: 4px;
}

/* ---- Footer ---- */
.footer {
	padding: 4rem 0 2rem;
	border-top: 1px solid var(--border);
}

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

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

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

.footer-brand p {
	color: var(--text-muted);
	font-size: 0.9rem;
	line-height: 1.6;
	max-width: 280px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.footer-col h4 {
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text);
	margin-bottom: 0.5rem;
}

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

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

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

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

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

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

@keyframes drawArc {
	to { stroke-dashoffset: 0; }
}

@keyframes pulseDot {
	0%, 100% { r: 4; opacity: 1; }
	50% { r: 6; opacity: 0.5; }
}

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

[data-animate] {
	opacity: 0;
	transform: translateY(24px);
}

[data-animate].visible {
	animation: fadeInUp 0.6s var(--ease) forwards;
}

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

	.hero-visual {
		order: -1;
	}

	.clock-container {
		max-width: 280px;
	}

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

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

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

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

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

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

	.nav-toggle {
		display: flex;
	}

	.mobile-menu {
		display: flex;
	}

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

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

	.pricing-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.hero-proof {
		flex-wrap: wrap;
		gap: 1.5rem;
	}

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

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

	.comparison-table th,
	.comparison-table td {
		padding: 0.75rem;
	}

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

	.arch-branches {
		grid-template-columns: 1fr;
	}

	.timeline-stats {
		flex-wrap: wrap;
		gap: 1.5rem;
	}
}

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