/* ===== BASE STYLES ===== */
/* CSS Variables - Design System Tokens */
/* Include this file first on every page */

:root {
	/* Colors */
	--bg-primary: #0a0e17;
	--bg-secondary: #111827;
	--bg-card: #1a2332;
	--bg-card-hover: #1e2940;

	--accent-green: #00d68f;
	--accent-green-glow: rgba(0, 214, 143, 0.3);
	--accent-red: #ff3b5c;
	--accent-red-glow: rgba(255, 59, 92, 0.3);
	--accent-gold: #ffc107;
	--accent-blue: #00b8ff;
	--accent-purple: #a855f7;

	--text-primary: #ffffff;
	--text-secondary: #94a3b8;
	--text-muted: #64748b;

	--border-color: #2d3a4f;

	/* Gradients */
	--gradient-hero: linear-gradient(
		135deg,
		#0a0e17 0%,
		#1a2332 50%,
		#0f172a 100%
	);
	--gradient-card: linear-gradient(145deg, #1a2332 0%, #141c2e 100%);

	/* Shadows */
	--shadow-glow-green: 0 0 30px rgba(0, 214, 143, 0.2);
	--shadow-glow-blue: 0 0 30px rgba(0, 184, 255, 0.2);

	/* Border Radius */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
}

/* Reset */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family:
		"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
	min-height: 100vh;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

input,
textarea,
select {
	font-family: inherit;
}

/* Buttons */
.btn {
	padding: 12px 24px;
	border-radius: var(--radius-md);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent-green) 0%, #00b377 100%);
	color: var(--bg-primary);
	box-shadow: 0 4px 20px var(--accent-green-glow);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px var(--accent-green-glow);
}

.btn-secondary {
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-primary);
}

.btn-secondary:hover {
	border-color: var(--accent-green);
	background: rgba(0, 214, 143, 0.05);
}

.btn-lg {
	padding: 16px 32px;
	font-size: 16px;
}

/* Form Elements */
.form-input {
	width: 100%;
	padding: 14px 16px;
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	color: var(--text-primary);
	font-size: 15px;
	transition: all 0.2s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--accent-green);
	box-shadow: 0 0 0 3px var(--accent-green-glow);
}

.form-input::placeholder {
	color: var(--text-muted);
}

/* Utility Classes */
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
}

.text-center {
	text-align: center;
}

.text-green {
	color: var(--accent-green);
}

.text-gold {
	color: var(--accent-gold);
}

.text-blue {
	color: var(--accent-blue);
}

.mt-section {
	margin-top: 100px;
}

.mb-section {
	margin-bottom: 100px;
}

/* Backgrounds */
.bg-secondary {
	background: var(--bg-secondary);
}

.bg-card {
	background: var(--gradient-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
}
/* ===== HEADER COMPONENT ===== */
/* Shared header styles - included via components/header.html */

/* Header */
.header {
	background: rgba(10, 14, 23, 0.95);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border-color);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 0 24px;
}

.header-inner {
	max-width: 1400px;
	margin: 0 auto;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text-primary);
}

.logo-icon {
	width: 44px;
	height: 44px;
	background: linear-gradient(
		135deg,
		var(--accent-green) 0%,
		var(--accent-blue) 100%
	);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 18px;
	color: var(--bg-primary);
	box-shadow: var(--shadow-glow-green);
}

.logo-text {
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.5px;
}

.logo-text span {
	color: var(--accent-green);
}

.nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-link {
	padding: 10px 18px;
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
	border-radius: var(--radius-md);
	transition: all 0.2s ease;
}

.nav-link:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
	color: var(--accent-green);
	background: rgba(0, 214, 143, 0.1);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lang-selector {
	position: relative;
}

.lang-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	color: var(--text-primary);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.lang-btn:hover {
	border-color: var(--accent-green);
	box-shadow: var(--shadow-glow-green);
}

.lang-flag {
	font-size: 18px;
}

.lang-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 8px;
	min-width: 180px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s ease;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	z-index: 1001;
}

.lang-selector:hover .lang-dropdown,
.lang-dropdown.open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all 0.15s ease;
	font-size: 14px;
	color: var(--text-secondary);
}

.lang-option:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
}

.lang-option.active {
	background: rgba(0, 214, 143, 0.1);
	color: var(--accent-green);
}

/* Mobile menu */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: var(--text-primary);
	cursor: pointer;
	padding: 8px;
}

.mobile-nav {
	display: none;
	position: fixed;
	top: 72px;
	left: 0;
	right: 0;
	height: calc(100vh - 72px);
	background: var(--bg-primary);
	padding: 24px;
	flex-direction: column;
	gap: 8px;
	z-index: 999;
	overflow-y: auto;
	box-sizing: border-box;
}

.mobile-nav.open {
	display: flex;
	flex-direction: column;
}

.mobile-nav .nav-link {
	padding: 16px;
	font-size: 18px;
	display: block;
	width: 100%;
	text-align: left;
	border-bottom: 1px solid var(--border-color);
}

.mobile-auth {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--border-color);
	margin-top: 24px;
}

.mobile-auth .btn {
	justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
	.nav {
		display: none;
	}

	.header-actions .lang-selector,
	.header-actions .btn {
		display: none;
	}

	.mobile-menu-btn {
		display: block;
	}

	.header {
		padding: 0 16px;
	}

	/* Mobile Language Selector */
	.mobile-lang-selector {
		display: block;
		margin: 16px 0;
		padding: 16px 0;
		border-top: 1px solid var(--border-color);
		border-bottom: 1px solid var(--border-color);
	}

	.mobile-lang .lang-btn {
		width: 100%;
		justify-content: space-between;
		padding: 14px 16px;
	}

	.mobile-lang .lang-dropdown {
		position: relative;
		top: auto;
		right: auto;
		opacity: 1;
		visibility: visible;
		display: none;
		margin-top: 8px;
		box-shadow: none;
		border: 1px solid var(--border-color);
		max-height: 250px;
		overflow-y: auto;
	}

	.mobile-lang .lang-dropdown.open {
		display: block;
	}

	.mobile-lang .lang-option {
		padding: 12px 14px;
	}
}
/* ===== FOOTER COMPONENT ===== */
/* Payment Methods Section */
.payment-methods {
	padding: 20px 0;
	background: var(--bg-primary);
	border-top: 1px solid var(--border-color);
}

.payment-inner {
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

.payment-title {
	font-size: 12px;
	font-weight: 500;
	color: var(--text-secondary);
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.payment-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
}

.payment-logo {
	height: 24px;
	width: auto;
	max-width: 80px;
	object-fit: contain;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.payment-logo:hover {
	opacity: 1;
}

@media (max-width: 768px) {
	.payment-methods {
		padding: 16px 0;
	}

	.payment-logos {
		gap: 6px;
		padding: 0 12px;
	}

	.payment-logo {
		height: 20px;
		max-width: 60px;
	}
}

@media (max-width: 480px) {
	.payment-logos {
		gap: 4px;
	}

	.payment-logo {
		height: 18px;
		max-width: 50px;
	}
}

/* Shared footer styles */

/* Footer */
.footer {
	background: var(--bg-secondary);
	border-top: 1px solid var(--border-color);
	padding: 60px 24px 30px;
}

.footer-inner {
	max-width: 1400px;
	margin: 0 auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 48px;
	margin-bottom: 48px;
}

.footer-brand {
	max-width: 300px;
}

.footer-brand .logo {
	margin-bottom: 16px;
}

.footer-brand p {
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.7;
}

.footer-col h4 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 20px;
	color: var(--text-primary);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--accent-green);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 30px;
	border-top: 1px solid var(--border-color);
}

.footer-copy {
	color: var(--text-muted);
	font-size: 13px;
}

.footer-social {
	display: flex;
	gap: 12px;
}

.social-link {
	width: 40px;
	height: 40px;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.2s ease;
}

.social-link:hover {
	border-color: var(--accent-green);
	color: var(--accent-green);
}

/* Responsive */
@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.footer {
		padding: 40px 24px 24px;
	}
}

/* ========== FAQ PAGE STYLES ========== */

/* Page Hero */
.page-hero {
	padding: 140px 24px 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.page-hero .hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.page-hero .hero-gradient {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse at 50% 0%,
		rgba(0, 214, 143, 0.15) 0%,
		transparent 50%
	);
}

.page-hero .hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(45, 58, 79, 0.3) 1px, transparent 1px),
		linear-gradient(90deg, rgba(45, 58, 79, 0.3) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.page-hero .hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.hero-badge {
	display: inline-block;
	padding: 8px 16px;
	background: rgba(0, 214, 143, 0.1);
	border: 1px solid rgba(0, 214, 143, 0.3);
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--accent-green);
	margin-bottom: 24px;
}

.page-hero h1 {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 16px;
	background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.page-hero p {
	font-size: 1.25rem;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto;
}

/* Page Content */
.page-content {
	padding: 110px 24px 100px;
}

.content-wrapper {
	max-width: 1000px;
	margin: 0 auto;
}

/* FAQ TOC */
.faq-toc {
	margin-bottom: 60px;
}

.faq-toc h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 24px;
	text-align: center;
}

.toc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
}

.toc-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 24px 16px;
	background: var(--gradient-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: all 0.3s ease;
}

.toc-card:hover {
	border-color: var(--accent-green);
	transform: translateY(-4px);
	box-shadow: var(--shadow-glow-green);
}

.toc-icon {
	font-size: 2rem;
}

.toc-card span:last-child {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-primary);
	text-align: center;
}

/* FAQ Sections */
.faq-section {
	margin-bottom: 60px;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 32px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--border-color);
}

.section-icon {
	font-size: 1.5rem;
}

/* FAQ Items */
.faq-item {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	margin-bottom: 16px;
	transition: border-color 0.3s ease;
	overflow: hidden;
}

.faq-item:hover {
	border-color: rgba(0, 214, 143, 0.5);
}

.faq-item h3 {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0;
	padding: 24px;
	color: var(--accent-green);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	transition: color 0.3s ease;
}

.faq-item h3:hover {
	color: var(--accent-green-light);
}

.faq-item h3::after {
	content: "+";
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--accent-green);
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.faq-item.open h3::after {
	transform: rotate(45deg);
}

.faq-item.open h3 {
	color: var(--accent-green-light);
	border-bottom: 1px solid var(--border-color);
}

.faq-item p {
	font-size: 1rem;
	color: var(--text-secondary);
	line-height: 1.7;
	padding: 0 24px;
	max-height: 0;
	overflow: hidden;
	transition:
		max-height 0.3s ease,
		padding 0.3s ease;
}

.faq-item.open p {
	max-height: 500px;
	padding: 24px;
}

/* FAQ CTA */
.faq-cta {
	text-align: center;
	padding: 48px;
	background: var(--gradient-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-xl);
	margin-top: 60px;
}

.faq-cta h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.faq-cta > p {
	color: var(--text-secondary);
	margin-bottom: 24px;
}

.cta-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-buttons .btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.page-hero {
		padding: 120px 16px 60px;
	}

	.page-hero h1 {
		font-size: 2rem;
	}

	.page-hero p {
		font-size: 1rem;
	}

	.page-content {
		padding: 110px 16px 60px;
	}

	.toc-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.toc-card {
		padding: 16px 8px;
	}

	.toc-icon {
		font-size: 1.5rem;
	}

	.toc-card span:last-child {
		font-size: 0.75rem;
	}

	.section-title {
		font-size: 1.25rem;
	}

	.faq-item {
		/* padding handled by h3 and p */
	}

	.faq-item h3 {
		font-size: 1rem;
		padding: 16px 20px;
	}

	.faq-cta {
		padding: 32px 20px;
	}

	.cta-buttons {
		flex-direction: column;
	}
}

/* ===== FAQ MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
	.faq-toc {
		padding: 24px 16px;
	}

	.faq-toc h3 {
		font-size: 1.25rem;
		margin-bottom: 20px;
	}

	.toc-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.toc-card {
		padding: 16px 12px;
		flex-direction: column;
		text-align: center;
		gap: 8px;
	}

	.toc-icon {
		font-size: 1.75rem;
	}

	.toc-card span:last-child {
		font-size: 0.8rem;
	}

	.faq-section {
		padding: 32px 16px;
	}

	.section-title {
		font-size: 1.25rem;
		margin-bottom: 24px;
	}

	.section-icon {
		font-size: 1.5rem;
		margin-right: 12px;
	}

	.faq-item {
		margin-bottom: 16px;
	}

	.faq-item h3 {
		font-size: 0.95rem;
		line-height: 1.4;
		padding: 16px;
	}

	.faq-item p {
		font-size: 0.9rem;
		line-height: 1.6;
	}

	.faq-cta {
		padding: 32px 20px;
		margin: 24px 16px;
		border-radius: 16px;
	}

	.faq-cta h2 {
		font-size: 1.5rem;
		margin-bottom: 12px;
	}

	.faq-cta p {
		font-size: 0.95rem;
	}

	.cta-buttons {
		flex-direction: column;
		gap: 12px;
		margin-top: 24px;
	}

	.cta-buttons .btn {
		width: 100%;
		justify-content: center;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.contact-card {
		padding: 24px 16px;
	}
}

@media (max-width: 480px) {
	.page-hero {
		padding: 120px 16px 60px;
	}

	.page-hero h1 {
		font-size: 1.75rem;
	}

	.page-hero p {
		font-size: 0.95rem;
	}

	.hero-badge {
		font-size: 0.8rem;
		padding: 6px 12px;
	}

	.toc-grid {
		grid-template-columns: 1fr;
	}

	.faq-section {
		padding: 24px 16px;
	}

	.section-title {
		font-size: 1.125rem;
	}

	.faq-item h3 {
		font-size: 0.9rem;
		padding: 14px 16px;
	}

	.faq-item p {
		font-size: 0.85rem;
	}
}
