:root {
	/* Apple-style Dark Mode Palette - Hardcoded */
	--bg-primary: #000000;
	--bg-secondary: #050505;
	--text-primary: #f5f5f7;
	--text-secondary: #86868b;
	--accent-gradient: linear-gradient(to right, #ffffff, #86868b);
	--glass-bg: rgba(255, 255, 255, 0.05);
	/* kept as variable for reuse but defined locally */
	--glass-border: rgba(255, 255, 255, 0.1);
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	background-color: #000000;
	/* Hardcoded */
	color: #f5f5f7;
	/* Hardcoded */
	-webkit-font-smoothing: antialiased;
	overflow-y: auto;
	height: auto;
}

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

/* Utilities */
.text-gradient {
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.glass {
	background: var(--glass-bg);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--glass-border);
}

.container {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	animation: fadeIn 0.8s ease-out forwards;
}

.scroll-hidden {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.6s ease-out,
		transform 0.6s ease-out;
}

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

.stagger-1 {
	transition-delay: 0.1s;
}

.stagger-2 {
	transition-delay: 0.2s;
}

.stagger-3 {
	transition-delay: 0.3s;
}

/* Navigation */
.nav-header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 50;
	padding-top: calc(1rem + env(safe-area-inset-top, 0px));
	padding-right: 0;
	padding-bottom: 1rem;
	padding-left: 0;
	transition: background 0.3s;
}

.nav-header.scrolled {
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--glass-border);
}

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

.brand {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: #f5f5f7;
	/* Hardcoded text-primary */
	text-decoration: none;
}

.nav-links {
	display: none;
	gap: 2rem;
}

.nav-links a {
	color: #86868b;
	/* Hardcoded text-secondary */
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
	color: #f5f5f7;
	/* Hardcoded text-primary */
}

.nav-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.btn {
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
}

.btn-link {
	color: #f5f5f7;
	/* Hardcoded text-primary */
}

.btn-link:hover {
	color: #86868b;
	/* Hardcoded text-secondary */
}

.btn-primary {
	background: #f5f5f7;
	/* Hardcoded text-primary */
	color: #000000;
	/* Hardcoded bg-primary */
}

.btn-primary:hover {
	background: #e5e5e5;
}

/* Hero Section */
/* Hero Section */
.hero {
	padding-top: 6rem;
	padding-bottom: 4rem;
	text-align: center;
}

.hero-title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	letter-spacing: -0.02em;
}

.hero-subtitle {
	font-size: 1.125rem;
	color: #86868b;
	/* Hardcoded text-secondary */
	max-width: 42rem;
	margin: 0 auto 3rem;
	line-height: 1.5;
	padding: 0 1rem;
}

.hero-ui-placeholder {
	position: relative;
	width: 100%;
	max-width: 56rem;
	height: 24rem;
	margin: 0 auto;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.ui-abstract {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
}

.ui-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: monospace;
	color: #86868b;
	/* Hardcoded text-secondary */
	font-size: 0.875rem;
}

.ui-bar {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 0.5rem;
	position: absolute;
}

/* Sections General */
.section-padding {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.section-title {
	font-size: 2.25rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 3rem;
}

.grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

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

/* Feature Cards */
.feature-card {
	padding: 2rem;
	border-radius: 1rem;
	transition: transform 0.3s;
}

.feature-card:hover {
	transform: scale(1.02);
}

.feature-icon {
	width: 24px;
	height: 24px;
	margin-bottom: 1rem;
	color: #86868b;
	/* Hardcoded text-secondary */
}

.card-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: #f5f5f7;
	/* Explicitly set */
}

.card-desc {
	color: #86868b;
	/* Hardcoded text-secondary */
	line-height: 1.5;
	margin: 0;
}

.terms-text {
	white-space: pre-wrap;
	font-family: var(--font-sans);
	color: #86868b;
	/* Hardcoded text-secondary */
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
}

/* How It Works */
.step-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1rem;
}

.step-number {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-bottom: 1.5rem;
	font-size: 1.2rem;
}

/* Use Cases */
.use-case-card {
	padding: 2rem;
	border-radius: 1rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
	border: 1px solid var(--glass-border);
}

/* FAQ */
.faq-section {
	padding-top: 5rem;
	padding-bottom: 5rem;
	min-height: 60vh;
}

.faq-list {
	max-width: 48rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.faq-item {
	border-radius: 0.75rem;
	overflow: hidden;
}

.faq-button {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	background: transparent;
	border: none;
	color: #f5f5f7;
	/* Hardcoded text-primary */
	font-size: 1.125rem;
	font-weight: 500;
	cursor: pointer;
	text-align: left;
	transition: background 0.2s;
}

.faq-button:hover {
	background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
	padding: 0 1.5rem 1.5rem;
	color: #86868b;
	/* Hardcoded text-secondary */
	line-height: 1.6;
	display: none;
}

.faq-item.open .faq-answer {
	display: block;
	animation: fadeIn 0.3s ease;
}

.chevron {
	transition: transform 0.3s;
}

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

/* Footer */
footer {
	padding: 4rem 0 2rem;
	border-top: 1px solid var(--glass-border);
	background: #050505;
	font-size: 0.875rem;
}

.footer-content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-links {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-links a {
	color: #86868b;
	/* Hardcoded text-secondary */
	text-decoration: none;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: #f5f5f7;
	/* Hardcoded text-primary */
}

.footer-bottom {
	text-align: center;
	color: #666;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

	.hero {
		padding-top: 8rem;
		padding-bottom: 5rem;
	}

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

	.hero-subtitle {
		font-size: 1.25rem;
	}

	.section-padding {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

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

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

	.col-span-2 {
		grid-column: span 2;
	}

	.footer-content {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

/* Responsive Grid Utility */
.grid-responsive {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Sticky Navigation for Sub-pages */
.nav-sticky {
	position: sticky;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

/* Mobile Navigation Styles */
.mobile-toggle {
	display: none;
	/* Hidden by default on desktop */
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 60;
}

.hamburger {
	width: 24px;
	height: 20px;
	position: relative;
	transform: rotate(0deg);
	transition: 0.5s ease-in-out;
}

.hamburger span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #f5f5f7;
	/* Hardcoded text-primary */
	border-radius: 9px;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
	top: 0px;
}

.hamburger span:nth-child(2) {
	top: 9px;
}

.hamburger span:nth-child(3) {
	top: 18px;
}

.hamburger.open span:nth-child(1) {
	top: 9px;
	transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
	opacity: 0;
	left: -60px;
}

.hamburger.open span:nth-child(3) {
	top: 9px;
	transform: rotate(-135deg);
}

.mobile-menu {
	position: fixed;
	top: 0;
	/* Cover the whole screen including header area */
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background: rgba(0, 0, 0, 0.95);
	/* High contrast dark background */
	backdrop-filter: blur(20px);
	z-index: 49;
	/* Just below header toggle */
	padding-top: calc(5rem + env(safe-area-inset-top, 0px));
	display: flex;
	justify-content: center;
}

.mobile-menu-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	text-align: center;
	width: 100%;
}

.mobile-links {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.mobile-links a {
	font-size: 1.5rem;
	font-weight: 600;
	color: #f5f5f7;
	/* Hardcoded text-primary */
	text-decoration: none;
}

.mobile-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 200px;
}

.mobile-btn {
	text-align: center;
	width: 100%;
}

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

	.mobile-toggle {
		display: block;
	}
}
