/* ============================================
   OmniAds Landing Page — Dark Premium Theme
   ============================================ */

:root {
	--bg: #0a0a1a;
	--bg-card: rgba(255,255,255,0.04);
	--bg-card-hover: rgba(255,255,255,0.08);
	--surface: #12122a;
	--border: rgba(255,255,255,0.08);
	--text: #e2e8f0;
	--text-muted: #94a3b8;
	--accent: #818cf8;
	--accent-bright: #a78bfa;
	--gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
	--gradient-text: linear-gradient(135deg, #818cf8, #c084fc);
	--glow: rgba(99,102,241,0.15);
	--radius: 16px;
	--radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

/* --- Language Toggle --- */
.lang-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--text-muted);
	padding: 6px 14px;
	border-radius: 20px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	transition: all 0.3s;
	backdrop-filter: blur(10px);
}
.lang-toggle:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* --- Navigation --- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 900;
	padding: 16px 0;
	transition: all 0.4s;
}
.nav.scrolled {
	background: rgba(10,10,26,0.85);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	padding: 10px 0;
}
.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.nav-logo {
	font-size: 22px;
	font-weight: 800;
	color: white;
	letter-spacing: -0.5px;
}
.logo-icon {
	color: var(--accent);
	margin-right: 2px;
}
.logo-accent {
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
}
.nav-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s;
}
.nav-links a:hover { color: white; }
.nav-cta {
	background: var(--gradient) !important;
	color: white !important;
	padding: 8px 20px;
	border-radius: 8px;
	font-weight: 600 !important;
}
.nav-burger {
	display: none;
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
}

/* --- Hero --- */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 120px 24px 80px;
	position: relative;
	overflow: hidden;
	gap: 60px;
	max-width: 1200px;
	margin: 0 auto;
}
.hero-glow {
	position: absolute;
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
	pointer-events: none;
}
.hero-content {
	flex: 1;
	max-width: 600px;
	z-index: 1;
}
.hero-badge {
	display: inline-block;
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 24px;
	letter-spacing: 0.5px;
}
.hero h1 {
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 24px;
	color: white;
	letter-spacing: -1px;
}
.hero-gradient {
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.hero-sub {
	font-size: 17px;
	color: var(--text-muted);
	margin-bottom: 32px;
	line-height: 1.7;
	max-width: 500px;
}
.hero-buttons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
.hero-platforms {
	margin-top: 40px;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.hero-platforms span {
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 12px;
	color: var(--text-muted);
	font-weight: 500;
}
.hero-visual {
	flex: 1;
	max-width: 500px;
	z-index: 1;
}

/* Mock Dashboard */
.mock-dashboard {
	background: var(--surface);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	overflow: hidden;
	box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}
.mock-header {
	display: flex;
	gap: 6px;
	padding: 12px 16px;
	background: rgba(255,255,255,0.03);
	border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #eab308; }
.mock-dot.green { background: #22c55e; }
.mock-body {
	display: flex;
	min-height: 260px;
}
.mock-sidebar {
	width: 60px;
	background: rgba(255,255,255,0.02);
	border-right: 1px solid var(--border);
	padding: 16px 8px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mock-menu {
	height: 8px;
	border-radius: 4px;
	background: rgba(255,255,255,0.06);
}
.mock-menu.active {
	background: var(--accent);
}
.mock-content {
	flex: 1;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.mock-card {
	background: var(--bg-card);
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	padding: 14px;
	display: flex;
	gap: 12px;
	align-items: center;
}
.glow-card {
	border-color: rgba(129,140,248,0.3);
	box-shadow: 0 0 20px var(--glow);
}
.mock-img {
	width: 42px;
	height: 42px;
	border-radius: 8px;
	background: var(--gradient);
	flex-shrink: 0;
	opacity: 0.7;
}
.mock-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mock-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); }
.mock-line.w80 { width: 80%; }
.mock-line.w70 { width: 70%; }
.mock-line.w60 { width: 60%; }
.mock-line.w50 { width: 50%; }
.mock-line.w90 { width: 90%; }
.mock-line.w40 { width: 40%; }
.mock-badge-ok {
	background: #22c55e;
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s;
	cursor: pointer;
	border: none;
}
.btn-primary {
	background: var(--gradient);
	color: white;
	box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
	box-shadow: 0 8px 30px rgba(99,102,241,0.5);
	transform: translateY(-2px);
}
.btn-ghost {
	background: transparent;
	color: var(--text-muted);
	border: 1px solid var(--border);
}
.btn-ghost:hover {
	border-color: var(--accent);
	color: white;
}
.btn-outline {
	background: transparent;
	color: var(--accent);
	border: 1px solid var(--accent);
}
.btn-outline:hover {
	background: rgba(129,140,248,0.1);
}
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* --- Stats --- */
.stats {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 50px 24px;
	background: var(--surface);
}
.stats-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}
.stat { opacity: 0; transform: translateY(20px); transition: all 0.6s; }
.stat.visible { opacity: 1; transform: none; }
.stat-num {
	display: block;
	font-size: 36px;
	font-weight: 900;
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.stat-label {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 6px;
	display: block;
}

/* --- Sections Common --- */
.section-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.features, .how, .plans {
	padding: 100px 0;
}
.features h2, .how h2, .plans h2, .cta h2 {
	text-align: center;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	color: white;
	margin-bottom: 14px;
	letter-spacing: -0.5px;
}
.section-sub {
	text-align: center;
	color: var(--text-muted);
	font-size: 16px;
	margin-bottom: 56px;
	max-width: 550px;
	margin-left: auto;
	margin-right: auto;
}

/* --- Features Grid --- */
.features { background: var(--bg); }
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px 28px;
	transition: all 0.4s;
	opacity: 0;
	transform: translateY(30px);
}
.feature-card.visible { opacity: 1; transform: none; }
.feature-card:hover {
	background: var(--bg-card-hover);
	border-color: rgba(129,140,248,0.2);
	transform: translateY(-4px);
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.feature-icon {
	font-size: 32px;
	margin-bottom: 18px;
}
.feature-card h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
	color: white;
}
.feature-card p {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.6;
}

/* --- How It Works --- */
.how { background: var(--surface); }
.steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	max-width: 900px;
	margin: 0 auto;
}
.step {
	text-align: center;
	flex: 1;
	padding: 0 20px;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s;
}
.step.visible { opacity: 1; transform: none; }
.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--gradient);
	color: white;
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 20px;
	box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.step h3 {
	font-size: 17px;
	font-weight: 700;
	color: white;
	margin-bottom: 10px;
}
.step p {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.6;
}
.step-line {
	width: 60px;
	height: 2px;
	background: var(--border);
	margin-top: 28px;
	flex-shrink: 0;
}

/* --- Plans --- */
.plans { background: var(--bg); }
.plans-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	max-width: 800px;
	margin: 0 auto;
}
.plan-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 40px 32px;
	position: relative;
	transition: all 0.4s;
	opacity: 0;
	transform: translateY(30px);
}
.plan-card.visible { opacity: 1; transform: none; }
.plan-card.featured {
	border-color: var(--accent);
	background: rgba(99,102,241,0.06);
	box-shadow: 0 0 40px var(--glow);
}
.plan-tag {
	font-size: 22px;
	font-weight: 800;
	color: white;
	margin-bottom: 8px;
}
.plan-popular {
	display: inline-block;
	background: var(--gradient);
	color: white;
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}
.plan-desc {
	color: var(--text-muted);
	font-size: 14px;
	margin-bottom: 24px;
	line-height: 1.6;
}
.plan-card ul {
	list-style: none;
	margin-bottom: 28px;
}
.plan-card li {
	padding: 8px 0;
	font-size: 14px;
	color: var(--text);
	border-bottom: 1px solid var(--border);
}
.plan-card li::before {
	content: '✓ ';
	color: var(--accent);
	font-weight: 700;
}
.plan-card .btn { width: 100%; text-align: center; }

/* --- CTA --- */
.cta {
	padding: 100px 0;
	text-align: center;
	position: relative;
	background: var(--surface);
	overflow: hidden;
}
.cta-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 600px;
	height: 400px;
	background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
	pointer-events: none;
}
.cta h2 { position: relative; z-index: 1; }
.cta p {
	position: relative;
	z-index: 1;
	color: var(--text-muted);
	font-size: 16px;
	margin-bottom: 32px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
.cta .btn { position: relative; z-index: 1; }

/* --- Footer --- */
.footer {
	padding: 50px 0 30px;
	border-top: 1px solid var(--border);
	background: var(--bg);
}
.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}
.footer-logo {
	font-size: 20px;
	font-weight: 800;
	color: white;
	margin-bottom: 10px;
}
.footer p {
	color: var(--text-muted);
	font-size: 13px;
	margin-bottom: 16px;
}
.footer-links {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-bottom: 24px;
}
.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
	color: rgba(148,163,184,0.5);
	font-size: 12px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
	.hero { flex-direction: column; padding-top: 100px; gap: 40px; }
	.hero-content { max-width: 100%; text-align: center; }
	.hero-sub { max-width: 100%; }
	.hero-buttons { justify-content: center; }
	.hero-platforms { justify-content: center; }
	.hero-visual { max-width: 100%; }

	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-inner { grid-template-columns: repeat(2, 1fr); }
	
	.steps { flex-direction: column; align-items: center; }
	.step-line { width: 2px; height: 40px; }
	
	.plans-grid { grid-template-columns: 1fr; max-width: 450px; }

	.nav-links { 
		display: none;
		position: absolute;
		top: 60px;
		left: 0;
		right: 0;
		background: rgba(10,10,26,0.95);
		backdrop-filter: blur(20px);
		flex-direction: column;
		padding: 24px;
		gap: 16px;
		border-bottom: 1px solid var(--border);
	}
	.nav-links.open { display: flex; }
	.nav-burger { display: block; }
	.lang-toggle { right: 60px; }
}

@media (max-width: 600px) {
	.features-grid { grid-template-columns: 1fr; }
	.stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.stat-num { font-size: 28px; }
	.feature-card { padding: 24px 20px; }
	.plan-card { padding: 28px 20px; }
}
