/* ═══════════════════════════════════════════════════
   PROFITBOUNTY — LEARN.CSS
   ═══════════════════════════════════════════════════ */

:root {
	--neon:      #00fff6;
	--neon-dim:  rgba(0,255,246,0.3);
	--bg-deep:   #020d14;
	--bg-mid:    #041826;
	--text:      #c8f0ee;
	--gold:      #ffd166;
}

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

html, body {
	width: 100%; min-height: 100%;
	background: var(--bg-deep);
	color: var(--text);
	font-family: 'Rajdhani', sans-serif;
	overflow-x: hidden;
}

/* ── Scanlines & canvas ──────────────────────────── */
.scanlines {
	position: fixed; inset: 0; z-index: 9990; pointer-events: none;
	background: repeating-linear-gradient(to bottom, transparent, transparent 2px, rgba(0,0,0,0.07) 2px, rgba(0,0,0,0.07) 4px);
	animation: scanMove 10s linear infinite;
}
@keyframes scanMove { 0%{background-position:0 0} 100%{background-position:0 100vh} }
#grid-canvas { position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none; width: 100%; }

/* ── HUD corners ─────────────────────────────────── */
.hud-corner { position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 10; }
.hud-corner::before, .hud-corner::after { content:''; position:absolute; background:var(--neon); box-shadow:0 0 6px var(--neon); }
.hud-corner::before { width:100%; height:2px; top:0; left:0; }
.hud-corner::after  { width:2px; height:100%; top:0; left:0; }
.hud-tl { top:90px; left:24px; }
.hud-tr { top:90px; right:24px; transform:scaleX(-1); }
.hud-bl { bottom:40px; left:24px; transform:scaleY(-1); }
.hud-br { bottom:40px; right:24px; transform:scale(-1); }

/* ── Header ──────────────────────────────────────── */
#header {
	width: 100%; height: 72px;
	position: fixed; top: 0; left: 0; z-index: 100;
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 40px;
	background: linear-gradient(180deg, rgba(2,13,20,0.95) 0%, transparent 100%);
	border-bottom: 1px solid rgba(0,255,246,0.12);
}
.header-logo {
	display: flex; align-items: center; gap: 9px;
	font-family: 'Orbitron', monospace; font-size: 18px; font-weight: 900;
	color: var(--neon); letter-spacing: 3px;
	text-decoration: none;
	position: relative;
}
.header-logo:visited { color: var(--neon); }

.logo-mark {
	display: flex; align-items: center; justify-content: center;
	color: var(--neon);
	filter: drop-shadow(0 0 6px var(--neon));
	animation: logoMarkSpin 8s linear infinite, logoMarkPulse 3s ease-in-out infinite;
	transform-origin: center;
}
@keyframes logoMarkSpin { 0%,85%{transform:rotateY(0deg)} 92%{transform:rotateY(180deg)} 100%{transform:rotateY(360deg)} }
@keyframes logoMarkPulse { 0%,100%{filter:drop-shadow(0 0 6px var(--neon))} 50%{filter:drop-shadow(0 0 12px var(--neon)) drop-shadow(0 0 20px rgba(0,255,246,0.4))} }

.logo-text {
	position: relative;
	text-shadow: 0 0 12px var(--neon);
	animation: logoFlicker 6s ease-in-out infinite;
	overflow: hidden;
}
.logo-text::after {
	content: ''; position: absolute; top: 0; left: -120%;
	width: 60%; height: 100%;
	background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
	transform: skewX(-15deg);
}
.header-logo:hover .logo-text::after { animation: logoSweep 0.9s ease; }
@keyframes logoSweep { from{left:-120%} to{left:160%} }

.logo-accent { color: #fff; text-shadow: 0 0 10px #fff, 0 0 18px var(--neon); }

.logo-bracket { opacity: 0.5; }
@keyframes logoFlicker { 0%,94%,100%{opacity:1} 95%{opacity:.4} 97%{opacity:1} 98%{opacity:.2} }

.headerNavigation ul { display: flex; align-items: center; gap: 8px; list-style: none; }
.headerNavigation a {
	position: relative; font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700;
	letter-spacing: 3px; color: rgba(0,255,246,0.7); text-decoration: none;
	padding: 8px 18px; transition: color 0.2s; display: inline-block;
}
.headerNavigation a::before {
	content: ''; position: absolute; inset: 0;
	border: 1px solid rgba(0,255,246,0.25);
	clip-path: polygon(8px 0%,100% 0%,100% calc(100% - 8px),calc(100% - 8px) 100%,0% 100%,0% 8px);
	transition: border-color .2s, box-shadow .2s;
}
.headerNavigation a:hover { color: var(--neon); }
.headerNavigation a:hover::before { border-color: var(--neon); box-shadow: 0 0 12px var(--neon-dim); }
#signup {
	color: var(--bg-deep) !important; background: var(--neon);
	box-shadow: 0 0 18px var(--neon-dim);
	animation: signupPulse 3s ease-in-out infinite;
}
#signup::before { border-color: transparent !important; }
#signup:hover { background: #fff; box-shadow: 0 0 30px var(--neon); }
@keyframes signupPulse { 0%,100%{box-shadow:0 0 18px var(--neon-dim)} 50%{box-shadow:0 0 32px var(--neon),0 0 60px var(--neon-dim)} }

/* ── Hero ────────────────────────────────────────── */
#learn-hero {
	position: relative; z-index: 1;
	min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	padding: 140px 24px 80px;
	background:
		radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0,70,80,.22) 0%, transparent 70%),
		linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 60%, var(--bg-deep) 100%);
	overflow: hidden;
}
.hero-content {
	max-width: 760px; text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.status-bar {
	display: flex; align-items: center; gap: 10px;
	font-family: 'Orbitron', monospace; font-size: 10px; font-weight: 700;
	letter-spacing: 3px; color: rgba(0,255,246,0.5);
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #00ff88; box-shadow: 0 0 8px #00ff88; animation: statusBlink 1.5s ease-in-out infinite; }
@keyframes statusBlink { 0%,100%{opacity:1} 50%{opacity:.2} }

.learn-h1 {
	font-family: 'Orbitron', monospace; font-weight: 900;
	font-size: clamp(36px, 7vw, 64px); letter-spacing: 4px; line-height: 1.15;
	color: #fff; text-shadow: 0 0 30px rgba(255,255,255,.15);
}
.accent-text {
	color: var(--neon);
	text-shadow: 0 0 20px var(--neon), 0 0 60px rgba(0,255,246,.4);
}
.hero-sub {
	font-size: clamp(15px, 2vw, 18px); font-weight: 400; line-height: 1.7;
	color: rgba(200,240,238,.75); max-width: 600px;
}

.hero-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.ghost-btn {
	font-family: 'Orbitron', monospace; font-size: 10px; font-weight: 700;
	letter-spacing: 2px; color: rgba(0,255,246,0.5); text-decoration: none;
	border-bottom: 1px solid rgba(0,255,246,0.2);
	padding-bottom: 4px; transition: color .2s, border-color .2s;
}
.ghost-btn:hover { color: var(--neon); border-color: var(--neon); }

.hero-stats {
	display: flex; align-items: center; gap: 28px;
	margin-top: 28px; padding: 20px 36px;
	border: 1px solid rgba(0,255,246,0.12);
	background: rgba(0,255,246,0.02);
	clip-path: polygon(14px 0%,100% 0%,100% calc(100% - 14px),calc(100% - 14px) 100%,0% 100%,0% 14px);
}
.stat-block { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-number {
	font-family: 'Orbitron', monospace; font-size: 26px; font-weight: 900;
	color: var(--neon); text-shadow: 0 0 14px rgba(0,255,246,.4);
}
.stat-label {
	font-family: 'Orbitron', monospace; font-size: 8px; font-weight: 700;
	letter-spacing: 2px; color: rgba(0,255,246,0.4);
}
.stat-divider { width: 1px; height: 32px; background: rgba(0,255,246,0.15); }

/* ── Neon button (shared with index) ─────────────── */
.neon_btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	text-decoration: none; overflow: hidden;
}
.btn-glitch-text {
	font-family: 'Orbitron', monospace; font-size: clamp(13px, 2vw, 16px); font-weight: 700;
	letter-spacing: 4px; color: var(--neon); padding: 16px 38px; position: relative; z-index: 2;
	border: 2px solid var(--neon);
	clip-path: polygon(14px 0%,100% 0%,calc(100% - 14px) 100%,0% 100%);
	text-shadow: 0 0 10px var(--neon), 0 0 30px rgba(0,255,246,.5);
	box-shadow: 0 0 20px var(--neon-dim), inset 0 0 20px rgba(0,255,246,.05);
	transition: background .15s, color .15s, box-shadow .15s;
	animation: btnPulse 3s ease-in-out infinite;
}
@keyframes btnPulse { 0%,100%{box-shadow:0 0 20px var(--neon-dim),inset 0 0 20px rgba(0,255,246,.05)} 50%{box-shadow:0 0 40px var(--neon),0 0 80px var(--neon-dim),inset 0 0 30px rgba(0,255,246,.1)} }
.neon_btn:hover .btn-glitch-text { background: var(--neon); color: var(--bg-deep); text-shadow: none; box-shadow: 0 0 60px var(--neon), 0 0 120px var(--neon-dim); }
.btn-particles { position: absolute; inset: 0; pointer-events: none; }
.btn-particles i { position: absolute; width: 3px; height: 3px; background: var(--neon); border-radius: 50%; opacity: 0; }
.neon_btn:hover .btn-particles i { animation: spark .6s ease-out forwards; }
.btn-particles i:nth-child(1){top:0;left:20%;animation-delay:0s} .btn-particles i:nth-child(2){top:0;right:20%;animation-delay:.05s}
.btn-particles i:nth-child(3){bottom:0;left:30%;animation-delay:.1s} .btn-particles i:nth-child(4){bottom:0;right:30%;animation-delay:.08s}
.btn-particles i:nth-child(5){top:50%;left:0;animation-delay:.04s} .btn-particles i:nth-child(6){top:50%;right:0;animation-delay:.12s}
@keyframes spark { 0%{opacity:1;transform:scale(1)} 100%{opacity:0;transform:scale(3) translateY(-8px)} }

/* ── Shared section layout ───────────────────────── */
.section-inner {
	max-width: 1100px; margin: 0 auto; padding: 100px 32px;
}
.section-inner.fade-target {
	opacity: 0; transform: translateY(30px);
	transition: opacity .8s ease, transform .8s ease;
}
.section-inner.fade-target.in-view { opacity: 1; transform: translateY(0); }

.section-tag {
	display: block; font-family: 'Orbitron', monospace; font-size: 10px; font-weight: 700;
	letter-spacing: 4px; color: rgba(0,255,246,0.4); margin-bottom: 14px;
}
.section-h2 {
	font-family: 'Orbitron', monospace; font-weight: 900;
	font-size: clamp(24px, 3.5vw, 38px); letter-spacing: 1px; line-height: 1.3;
	color: #fff; margin-bottom: 24px; max-width: 760px;
}
.section-body {
	font-size: 16px; font-weight: 400; line-height: 1.8;
	color: rgba(200,240,238,.7); max-width: 680px; margin-bottom: 18px;
}

/* ── Problem section ─────────────────────────────── */
#problem-section { position: relative; z-index: 1; background: var(--bg-deep); border-top: 1px solid rgba(0,255,246,0.06); }

/* ── How it works ─────────────────────────────────── */
#how-it-works {
	position: relative; z-index: 1;
	background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
	border-top: 1px solid rgba(0,255,246,0.06);
}
.steps-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px;
}
.step-card {
	position: relative;
	background: rgba(2,18,28,.6); border: 1px solid rgba(0,255,246,0.12);
	clip-path: polygon(16px 0%,100% 0%,100% calc(100% - 16px),calc(100% - 16px) 100%,0% 100%,0% 16px);
	padding: 28px; backdrop-filter: blur(10px);
	transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s;
}
.step-card.fade-target { opacity: 0; transform: translateY(20px); }
.step-card.fade-target.in-view { opacity: 1; transform: translateY(0); }
.step-card:hover { border-color: rgba(0,255,246,0.4); box-shadow: 0 0 30px rgba(0,255,246,.08); }
.step-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step-number {
	font-family: 'Orbitron', monospace; font-size: 22px; font-weight: 900;
	color: var(--neon); text-shadow: 0 0 14px rgba(0,255,246,.4);
}
.step-trace { flex: 1; height: 1px; background: linear-gradient(90deg, var(--neon-dim), transparent); }
.step-title {
	font-family: 'Orbitron', monospace; font-size: 16px; font-weight: 700;
	letter-spacing: 1px; color: #fff; margin-bottom: 12px;
}
.step-desc { font-size: 14.5px; line-height: 1.7; color: rgba(200,240,238,.65); }

/* ── Why section ──────────────────────────────────── */
#why-section { position: relative; z-index: 1; background: var(--bg-deep); border-top: 1px solid rgba(0,255,246,0.06); }
.why-inner {
	display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center;
}
.benefit-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.benefit-list li {
	display: flex; align-items: center; gap: 12px;
	font-size: 15px; color: rgba(200,240,238,.8);
}
.benefit-icon { color: var(--neon); font-size: 12px; text-shadow: 0 0 8px var(--neon); flex-shrink: 0; }

.why-visual { display: flex; align-items: center; justify-content: center; }
.orbit-mini { position: relative; width: 280px; height: 280px; }
.orbit-mini-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid rgba(0,255,246,0.18); transform: translate(-50%,-50%); }
.r1 { width: 160px; height: 160px; animation: ringSpin 14s linear infinite; }
.r2 { width: 260px; height: 260px; border-style: dashed; border-color: rgba(0,255,246,0.1); animation: ringSpin 26s linear infinite reverse; }
@keyframes ringSpin { from{transform:translate(-50%,-50%) rotate(0)} to{transform:translate(-50%,-50%) rotate(360deg)} }
.orbit-mini-core {
	position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
	border-radius: 50%; background: var(--neon); box-shadow: 0 0 20px var(--neon), 0 0 50px var(--neon);
	animation: corePulse 2.2s ease-in-out infinite;
}
@keyframes corePulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.5)} }
.orbit-mini-dot { position: absolute; top: 50%; left: 50%; border-radius: 50%; }
.d1 { width: 7px; height: 7px; background: var(--neon); box-shadow: 0 0 10px var(--neon); margin: -3.5px 0 0 -3.5px; animation: orbitMini1 14s linear infinite; }
.d2 { width: 5px; height: 5px; background: var(--gold); box-shadow: 0 0 8px var(--gold); margin: -2.5px 0 0 -2.5px; animation: orbitMini2 26s linear infinite reverse; }
@keyframes orbitMini1 { from{transform:rotate(0) translateX(80px) rotate(0)} to{transform:rotate(360deg) translateX(80px) rotate(-360deg)} }
@keyframes orbitMini2 { from{transform:rotate(60deg) translateX(130px) rotate(-60deg)} to{transform:rotate(420deg) translateX(130px) rotate(-420deg)} }

/* ── Final CTA ────────────────────────────────────── */
#final-cta {
	position: relative; z-index: 1;
	padding: 120px 24px 140px;
	display: flex; align-items: center; justify-content: center;
	background:
		radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0,70,80,.2) 0%, transparent 70%),
		linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
	border-top: 1px solid rgba(0,255,246,0.08);
	text-align: center;
	overflow: hidden;
}
.final-cta-content { max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-h2 {
	font-family: 'Orbitron', monospace; font-weight: 900;
	font-size: clamp(28px, 4.5vw, 44px); line-height: 1.3; color: #fff;
}
.final-sub { font-size: 16px; line-height: 1.7; color: rgba(200,240,238,.7); max-width: 480px; }
.final-btn { margin-top: 12px; }
.final-footnote { font-size: 12px; color: rgba(0,255,246,0.35); letter-spacing: 1px; margin-top: 4px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
	.steps-grid { grid-template-columns: 1fr; }
	.why-inner { grid-template-columns: 1fr; text-align: center; }
	.why-text .section-tag, .why-text .section-h2 { text-align: center; }
	.benefit-list { align-items: center; }
	.benefit-list li { text-align: left; }
	.why-visual { margin-top: 20px; }
}

@media (max-width: 600px) {
	#header { padding: 0 16px; }
	.header-logo { font-size: 14px; }
	.headerNavigation a { font-size: 9px; padding: 6px 10px; letter-spacing: 1px; }
	.hud-corner { display: none; }
	.hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
	.stat-divider { width: 60%; height: 1px; }
	.section-inner { padding: 70px 20px; }
	.orbit-mini { width: 200px; height: 200px; }
	.r1 { width: 110px; height: 110px; }
	.r2 { width: 190px; height: 190px; }
}