/* ==================== LANDING PAGE STYLES ==================== */

/* CSS Variables */
:root {
	--primary-color: #7c5ce0;
	--primary-dark: #5a3db8;
	--primary-light: #9d85e9;
	--accent-color: #00d9ff;
	--bg-dark: #0a0a0f;
	--bg-darker: #050508;
	--bg-card: rgba(20, 20, 30, 0.8);
	--text-primary: #ffffff;
	--text-secondary: #a0a0b0;
	--text-muted: #6a6a7a;
	--border-color: rgba(124, 92, 224, 0.3);
	--gradient-primary: linear-gradient(135deg, #7c5ce0 0%, #00d9ff 100%);
	--gradient-bg: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
}

/* Reset & Base */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
	color: var(--text-primary);
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
}

/* Header & Navigation */
.landing-header {
	background: transparent;
	position: relative;
	overflow: hidden;
}

.landing-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(ellipse at 20% 20%, rgba(124, 92, 224, 0.15) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.landing-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 2rem;
	position: relative;
	z-index: 10;
}

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

.logo img {
	border-radius: 6px;
}

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

.nav-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.3s ease;
}

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

.nav-links .cta-btn {
	background: var(--gradient-primary);
	color: var(--text-primary);
	padding: 0.6rem 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-links .cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(124, 92, 224, 0.4);
}

/* Language Switcher */
.lang-switcher {
	position: relative;
}

.lang-switcher-btn {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-secondary);
	padding: 0.4rem 0.75rem;
	border-radius: 6px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.lang-switcher-btn:hover {
	border-color: var(--primary-light);
	color: var(--text-primary);
}

.lang-switcher-btn svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

.lang-switcher:hover .lang-switcher-btn svg {
	transform: rotate(180deg);
}

.lang-dropdown {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	min-width: 120px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 100;
	backdrop-filter: blur(10px);
}

.lang-switcher:hover .lang-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-dropdown a {
	display: block;
	padding: 0.6rem 1rem;
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.lang-dropdown a:hover {
	background: rgba(124, 92, 224, 0.15);
	color: var(--text-primary);
}

.lang-dropdown a.active {
	color: var(--primary-light);
	background: rgba(124, 92, 224, 0.1);
}

/* Hero Section */
.hero {
	text-align: center;
	padding: 6rem 2rem;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.hero h1 {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.25rem;
	color: var(--text-secondary);
	margin: 0 0 2rem;
	max-width: 650px;
	margin-left: auto;
	margin-right: auto;
}

.hero-features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
}

.hero-tag {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	padding: 0.5rem 1.25rem;
	border-radius: 50px;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.hero-cta {
	display: inline-block;
	background: var(--gradient-primary);
	color: var(--text-primary);
	padding: 1rem 2.5rem;
	border-radius: 10px;
	font-size: 1.1rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(124, 92, 224, 0.5);
}

.hero-note {
	margin-top: 1.25rem;
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* Landing Sections */
.landing-section {
	padding: 6rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.landing-section h2 {
	text-align: center;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin: 0 0 3rem;
	color: var(--text-primary);
}

/* Features Section */
.features-section {
	background: transparent;
	padding-top: 12rem;
}

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

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 2rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	border-color: var(--primary-light);
}

.feature-icon {
	width: 60px;
	height: 60px;
	background: var(--gradient-primary);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.feature-icon svg {
	color: var(--text-primary);
}

.feature-card h3 {
	font-size: 1.25rem;
	margin: 0 0 0.75rem;
	color: var(--text-primary);
}

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

/* How It Works Section */
.how-section {
	background: transparent;
}

.steps-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.step {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	flex: 1;
	min-width: 280px;
}

.step-number {
	width: 50px;
	height: 50px;
	background: var(--gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 auto 1.25rem;
	color: var(--text-primary);
}

.step h3 {
	font-size: 1.15rem;
	margin: 0 0 0.75rem;
	color: var(--text-primary);
}

.step p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.step-arrow {
	color: var(--primary-color);
}

.step-arrow svg {
	opacity: 0.5;
}

/* Use Cases Section */
.usecases-section {
	background: transparent;
}

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

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

.usecase:hover {
	border-color: var(--accent-color);
}

.usecase h3 {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
	color: var(--text-primary);
}

.usecase p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* Info Section */
.info-section {
	background: transparent;
}

.info-content {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 3rem;
	align-items: center;
}

.info-text p {
	color: var(--text-secondary);
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.8;
}

.info-text h3 {
	font-size: 1.25rem;
	margin: 2rem 0 1rem;
	color: var(--text-primary);
}

.info-text ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.info-text ul li {
	color: var(--text-secondary);
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
	font-size: 0.95rem;
}

.info-text ul li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--primary-color);
}

.info-text ul li strong {
	color: var(--text-primary);
}

.info-image {
	text-align: center;
}

.info-image img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.faq-section {
	background: transparent;
}

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

.faq-item {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 1.75rem;
}

.faq-item h3 {
	font-size: 1.05rem;
	margin: 0 0 0.75rem;
	color: var(--text-primary);
}

.faq-item p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.7;
}

/* CTA Section */
.cta-section {
	text-align: center;
	padding: 6rem 2rem;
	background: transparent;
}

.cta-section h2 {
	margin-bottom: 1rem;
}

.cta-section p {
	color: var(--text-secondary);
	font-size: 1.1rem;
	margin-bottom: 2rem;
}

/* Tool Section */
.tool-section {
	padding: 4rem 2rem 2rem;
	text-align: center;
	background: linear-gradient(180deg, rgba(124, 92, 224, 0.1) 0%, var(--bg-dark) 100%);
}

.tool-title {
	font-size: 2rem;
	color: var(--text-primary);
	margin: 0;
	padding-bottom: 1rem;
}

/* Footer */
.landing-footer {
	background: var(--bg-darker);
	border-top: 1px solid var(--border-color);
	padding: 4rem 2rem 2rem;
	margin-top: 0;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2rem;
	padding: 0 2rem;
}

@media (max-width: 900px) {
	.footer-content {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}
}

.footer-section h3 {
	font-size: 1rem;
	color: var(--text-primary);
	margin: 0 0 1rem;
}

.footer-section p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin: 0;
	line-height: 1.7;
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	color: var(--text-muted);
	font-size: 0.85rem;
	padding: 0.25rem 0;
}

.footer-section ul li a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: var(--primary-light);
}

.footer-bottom {
	max-width: 1200px;
	margin: 3rem auto 0;
	padding-top: 2rem;
	border-top: 1px solid rgba(124, 92, 224, 0.15);
	text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
	.landing-nav {
		flex-direction: column;
		gap: 1rem;
	}

	.nav-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}

	.hero {
		padding: 3rem 1.5rem 5rem;
	}

	.steps-container {
		flex-direction: column;
	}

	.step-arrow {
		transform: rotate(90deg);
	}

	.info-content {
		grid-template-columns: 1fr;
	}

	.info-image {
		order: -1;
	}

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

@media (max-width: 480px) {
	.features-grid {
		grid-template-columns: 1fr;
	}

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

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

/* Smooth scroll offset for fixed nav (if needed) */
#features, #how-it-works, #faq, #tool {
	scroll-margin-top: 2rem;
}
