/* CSS Variables for theming - Apple-like design */
:root {
	--bg-primary: #ffffff;
	--bg-secondary: #f5f5f7;
	--bg-tertiary: #e8e8ed;
	--text-primary: #1d1d1f;
	--text-secondary: #86868b;
	--accent-primary: #007aff;
	--accent-secondary: #5856d6;
	--accent-hover: #0051d5;
	--border-color: #d2d2d7;
	--shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
	--bg-primary: #000000;
	--bg-secondary: #1d1d1f;
	--bg-tertiary: #2d2d2f;
	--text-primary: #f5f5f7;
	--text-secondary: #86868b;
	--accent-primary: #0a84ff;
	--accent-secondary: #5e5ce6;
	--accent-hover: #409cff;
	--border-color: #424245;
	--shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.7);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.8);
}

/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family:
		-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue",
		Arial, sans-serif;
	line-height: 1.47059;
	color: var(--text-primary);
	background-color: var(--bg-primary);
	transition: var(--transition);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--bg-primary);
	border-bottom: 1px solid var(--border-color);
	padding: 1rem 0;
	box-shadow: var(--shadow);
}

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

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

.logo-image {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.logo h1 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-primary);
	letter-spacing: -0.01em;
}

.header-controls {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.toggle-btn {
	background-color: var(--bg-secondary);
	border: none;
	border-radius: 980px;
	padding: 0.5rem 1rem;
	cursor: pointer;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-primary);
	font-size: 0.875rem;
	font-weight: 400;
}

.toggle-btn:hover {
	background-color: var(--bg-tertiary);
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: 0.75rem;
}

.header-nav a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.95rem;
}

.header-nav a:hover {
	color: var(--accent-primary);
}

.lang-option {
	opacity: 0.5;
	transition: var(--transition);
}

.lang-option.active {
	opacity: 1;
	color: var(--accent-primary);
	font-weight: 600;
}

.lang-divider {
	opacity: 0.3;
}

.theme-toggle {
	position: relative;
}

.icon-sun,
.icon-moon {
	transition: var(--transition);
}

[data-theme="dark"] .icon-sun {
	display: none;
}

[data-theme="light"] .icon-moon,
:root:not([data-theme]) .icon-moon {
	display: none;
}

/* Hero Section */
.hero {
	padding: 5rem 0 4rem;
	background-color: var(--bg-primary);
}

.hero-content {
	text-align: center;
	max-width: 980px;
	margin: 0 auto;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	line-height: 1.08349;
	letter-spacing: -0.015em;
}

.hero-subtitle {
	font-size: 1.375rem;
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	line-height: 1.381;
	font-weight: 400;
	letter-spacing: -0.01em;
}

.hero-cta {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.hero-support a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: var(--transition);
	font-size: 0.95rem;
}

.hero-support a:hover {
	color: var(--accent-primary);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 0.75rem 1.75rem;
	border-radius: 980px;
	font-weight: 400;
	text-decoration: none;
	transition: var(--transition);
	font-size: 1.0625rem;
	border: none;
	cursor: pointer;
	letter-spacing: -0.01em;
}

.btn-primary {
	background-color: var(--accent-primary);
	color: white;
}

.btn-primary:hover {
	background-color: var(--accent-hover);
}

.btn-secondary {
	background-color: var(--bg-secondary);
	color: var(--text-primary);
	border: 1px solid var(--border-color);
}

.btn-secondary:hover {
	background-color: var(--bg-tertiary);
}

.btn-coming-soon {
	background-color: transparent;
	color: var(--text-secondary);
	border: 1px solid var(--border-color);
	cursor: not-allowed;
	opacity: 0.6;
}

.btn-coming-soon:hover {
	background-color: transparent;
}

.btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.btn-text {
	display: inline-block;
}

.ui-icon {
	width: 44px;
	height: 44px;
	color: var(--text-primary);
}

.ui-icon--xl {
	width: 64px;
	height: 64px;
}

/* Sections */
.section {
	padding: 5rem 0;
}

.section:nth-child(even) {
	background-color: var(--bg-secondary);
}

.section-title {
	font-size: 2.5rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: 3.5rem;
	letter-spacing: -0.015em;
}

/* Highlight Section */
.highlight-section {
	background-color: var(--bg-secondary);
	padding: 5rem 0;
}

.highlight-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.highlight-card {
	background-color: var(--bg-primary);
	padding: 3rem 2.5rem;
	border-radius: 20px;
	text-align: center;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.highlight-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.highlight-icon {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	display: block;
}

.highlight-card h3 {
	font-size: 1.75rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--text-primary);
	letter-spacing: -0.015em;
}

.highlight-card p {
	font-size: 1.125rem;
	color: var(--text-secondary);
	line-height: 1.47059;
}

/* Features Grid */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.feature-card {
	background-color: var(--bg-primary);
	padding: 2.5rem;
	border-radius: 18px;
	box-shadow: var(--shadow);
	transition: var(--transition);
	border: 1px solid var(--border-color);
}

.feature-card:hover {
	box-shadow: var(--shadow-md);
}

.feature-icon {
	font-size: 2.75rem;
	margin-bottom: 1.25rem;
}

.feature-card h4 {
	font-size: 1.375rem;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
	font-weight: 600;
	letter-spacing: -0.01em;
}

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

/* How it Works */
.steps {
	max-width: 700px;
	margin: 0 auto;
}

.step {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
	align-items: flex-start;
}

.step:last-child {
	margin-bottom: 0;
}

.step-number {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	background-color: var(--accent-primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 600;
}

.step-content h4 {
	font-size: 1.375rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.step-content p {
	color: var(--text-secondary);
	line-height: 1.47059;
	font-size: 1.0625rem;
}

/* Screenshots */
.screenshot-controls {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.tabs {
	display: inline-flex;
	gap: 0.5rem;
	background: var(--bg-secondary);
	padding: 0.25rem;
	border-radius: 999px;
	border: 1px solid var(--border-color);
}

.tab {
	border: 0;
	background: transparent;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	cursor: pointer;
	color: var(--text-secondary);
}

.tab.active {
	background: var(--bg-primary);
	color: var(--text-primary);
	box-shadow: var(--shadow);
}

.screenshot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.screenshot-grid img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: var(--shadow);
	border: 1px solid var(--border-color);
	background: #000;
}

/* Pricing */
.pricing-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.pricing-card {
	background-color: var(--bg-primary);
	padding: 2.5rem;
	border-radius: 18px;
	box-shadow: var(--shadow);
	text-align: center;
	position: relative;
	transition: var(--transition);
	border: 1px solid var(--border-color);
}

.pricing-card:hover {
	box-shadow: var(--shadow-md);
}

.pricing-card-featured {
	border: 2px solid var(--accent-primary);
	background-color: var(--bg-primary);
}

.pricing-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--accent-primary);
	color: white;
	padding: 0.35rem 1rem;
	border-radius: 980px;
	font-size: 0.8125rem;
	font-weight: 500;
}

.pricing-amount {
	font-size: 3.5rem;
	font-weight: 600;
	color: var(--accent-primary);
	margin-bottom: 1rem;
	letter-spacing: -0.015em;
}

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

.pricing-card h4 {
	font-size: 1.375rem;
	margin-bottom: 1rem;
	color: var(--text-primary);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.pricing-card p {
	color: var(--text-secondary);
	line-height: 1.47059;
	font-size: 1.0625rem;
}

.pricing-note {
	text-align: center;
	color: var(--text-secondary);
	font-size: 0.9rem;
	max-width: 700px;
	margin: 0 auto;
}

/* Privacy */
.privacy-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.privacy-item {
	padding: 1.5rem;
}

.privacy-item h4 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

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

/* Use Cases */
.use-cases-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.use-case-card {
	background-color: var(--bg-primary);
	padding: 2.5rem;
	border-radius: 18px;
	box-shadow: var(--shadow);
	text-align: center;
	transition: var(--transition);
	border: 1px solid var(--border-color);
}

.use-case-card:hover {
	box-shadow: var(--shadow-md);
}

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

.use-case-card h4 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.use-case-card p {
	color: var(--text-secondary);
}

/* FAQ */
.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background-color: var(--bg-primary);
	padding: 2rem;
	border-radius: 18px;
	margin-bottom: 1.5rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--border-color);
}

.faq-item h4 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.faq-item p {
	color: var(--text-secondary);
	line-height: 1.47059;
	font-size: 1.0625rem;
}

/* CTA Section */
.cta {
	text-align: center;
}

.cta-text {
	font-size: 1.25rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

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

/* Footer */
.footer {
	background-color: var(--bg-secondary);
	padding: 2rem 0;
	text-align: center;
	color: var(--text-secondary);
	border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero {
		padding: 3rem 0 2rem;
	}

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

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

	.section {
		padding: 3.5rem 0;
	}

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

	.highlight-grid,
	.features-grid,
	.pricing-cards,
	.privacy-grid,
	.use-cases-grid {
		grid-template-columns: 1fr;
	}

	.highlight-section {
		padding: 3.5rem 0;
	}

	.highlight-card {
		padding: 2.5rem 2rem;
	}

	.logo-image {
		width: 32px;
		height: 32px;
	}

	.logo h1 {
		font-size: 1.3125rem;
	}

	.hero-cta {
		flex-direction: column;
		align-items: stretch;
	}

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

	.step {
		flex-direction: column;
		text-align: center;
	}

	.step-number {
		margin: 0 auto;
	}

	.header-controls {
		gap: 0.5rem;
	}

	.toggle-btn {
		padding: 0.4rem 0.8rem;
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}

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

	.section {
		padding: 3rem 0;
	}

	.section-title {
		font-size: 1.75rem;
	}

	.highlight-section {
		padding: 3rem 0;
	}

	.highlight-card {
		padding: 2rem 1.5rem;
	}

	.highlight-icon {
		font-size: 3.5rem;
	}

	.highlight-card h3 {
		font-size: 1.5rem;
	}

	.feature-card,
	.pricing-card,
	.use-case-card,
	.faq-item {
		padding: 1.75rem;
	}
}

/* Smooth transitions */
* {
	transition:
		background-color 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease;
}
