/* ==========================================================================
   CyberPortfolio — main stylesheet
   Developed by codecraftsman.dev
   ========================================================================== */

:root {
	--bg: #040704;
	--bg-2: #060a07;
	--panel: #0a100b;
	--panel-2: #0d150e;
	--line: rgba(74, 222, 128, 0.12);
	--line-soft: rgba(74, 222, 128, 0.07);
	--green: #22c55e;
	--green-bright: #4ade80;
	--green-neon: #00e87b;
	--green-dim: rgba(34, 197, 94, 0.55);
	--text: #eaf3eb;
	--muted: #95a899;
	--dim: #5f7163;
	--font-display: 'Space Grotesk', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-mono: 'JetBrains Mono', monospace;
	--radius: 14px;
	--header-h: 72px;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(34, 197, 94, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #060906; }
::-webkit-scrollbar-thumb { background: #16301d; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #1f4a2a; }

.mono { font-family: var(--font-mono); }

.container {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.section { position: relative; padding: 110px 0; }

/* --------------------------------------------------------------------------
   Boot screen
   -------------------------------------------------------------------------- */
.boot-screen {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #030503;
	transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.boot-screen.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.boot-inner { width: min(320px, 80vw); text-align: center; }

.boot-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.18em;
	font-size: 18px;
	margin-bottom: 26px;
}

.boot-dot,
.brand-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 12px var(--green), 0 0 28px rgba(34, 197, 94, 0.5);
	animation: pulseDot 1.6s ease-in-out infinite;
}

.boot-line {
	height: 2px;
	background: rgba(74, 222, 128, 0.12);
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: 14px;
}

.boot-progress {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--green), var(--green-neon));
	box-shadow: 0 0 12px var(--green);
}

.boot-status { font-size: 11px; color: var(--dim); letter-spacing: 0.08em; }

/* --------------------------------------------------------------------------
   Custom cursor + scroll progress
   -------------------------------------------------------------------------- */
.cursor-dot,
.cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 150;
	pointer-events: none;
	border-radius: 50%;
	opacity: 0;
}

.cursor-dot {
	width: 6px;
	height: 6px;
	background: var(--green-bright);
	box-shadow: 0 0 10px var(--green);
}

.cursor-ring {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(74, 222, 128, 0.45);
	transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
		border-color 0.25s, background 0.25s;
}

.cursor-ring.is-hover {
	width: 56px;
	height: 56px;
	border-color: rgba(74, 222, 128, 0.9);
	background: rgba(34, 197, 94, 0.08);
}

@media (hover: none), (pointer: coarse) {
	.cursor-dot, .cursor-ring { display: none; }
}

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	width: 100%;
	z-index: 120;
	background: linear-gradient(90deg, var(--green), var(--green-neon));
	box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
	border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
	background: rgba(4, 8, 5, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom-color: var(--line-soft);
}

/* keep brand + close toggle above the open mobile overlay */
body.nav-open .site-header {
	z-index: 120;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom-color: transparent;
}

.header-inner {
	width: min(1320px, calc(100% - 48px));
	margin-inline: auto;
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 28px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: 0.16em;
}

.site-nav { margin-inline: auto; }

.nav-menu { display: flex; gap: 6px; }

.nav-menu a,
.nav-link {
	position: relative;
	display: inline-block;
	padding: 8px 14px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.3s;
}

.nav-menu a::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--green);
	box-shadow: 0 0 8px var(--green);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.35s var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a.is-active { color: var(--text); }
.nav-menu a:hover::after,
.nav-menu a.is-active::after { transform: scaleX(1); }

/* Buttons */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	padding: 12px 22px;
	border-radius: 8px;
	overflow: hidden;
	transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
	will-change: transform;
}

.btn-lg { padding: 16px 28px; font-size: 12px; }

.btn-primary {
	background: var(--green);
	color: #04140a;
	box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.4), 0 8px 30px rgba(34, 197, 94, 0.25);
}

.btn-primary::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.7s var(--ease-out);
}

.btn-primary:hover::before { transform: translateX(120%); }

.btn-primary:hover {
	background: var(--green-bright);
	box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.7), 0 10px 44px rgba(34, 197, 94, 0.45);
}

.btn-ghost {
	color: var(--text);
	border: 1px solid rgba(74, 222, 128, 0.25);
	background: rgba(34, 197, 94, 0.04);
}

.btn-ghost:hover {
	border-color: rgba(74, 222, 128, 0.7);
	background: rgba(34, 197, 94, 0.1);
	box-shadow: 0 0 24px rgba(34, 197, 94, 0.18);
}

.btn-connect { flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	z-index: 130;
}

.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--green-bright);
	border-radius: 2px;
	transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 80px 36px 48px;
	background: rgba(3, 6, 4, 0.96);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}

body.nav-open .mobile-nav { opacity: 1; visibility: visible; }

.mobile-nav-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(74, 222, 128, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(74, 222, 128, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.mobile-nav-links { position: relative; display: flex; flex-direction: column; gap: 4px; }

.mobile-link {
	display: flex;
	align-items: baseline;
	gap: 16px;
	font-family: var(--font-display);
	font-size: clamp(26px, 6vw, 38px);
	font-weight: 600;
	padding: 10px 0;
	color: var(--text);
	opacity: 0;
	transform: translateY(24px);
	transition: color 0.3s;
}

body.nav-open .mobile-link { animation: mobileLinkIn 0.6s var(--ease-out) forwards; }
body.nav-open .mobile-link:nth-child(1) { animation-delay: 0.08s; }
body.nav-open .mobile-link:nth-child(2) { animation-delay: 0.14s; }
body.nav-open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
body.nav-open .mobile-link:nth-child(4) { animation-delay: 0.26s; }
body.nav-open .mobile-link:nth-child(5) { animation-delay: 0.32s; }
body.nav-open .mobile-link:nth-child(6) { animation-delay: 0.38s; }

@keyframes mobileLinkIn { to { opacity: 1; transform: translateY(0); } }

.mobile-link:hover { color: var(--green-bright); }
.mobile-link-no { font-size: 12px; color: var(--green); letter-spacing: 0.2em; }
.mobile-nav-meta { position: relative; z-index: 2; margin-top: 40px; font-size: 12px; color: var(--dim); letter-spacing: 0.1em; }

.mobile-nav-links { z-index: 2; }

/* Portrait blended on the right of the mobile menu */
.mobile-nav-photo {
	position: absolute;
	right: max(-30px, -5vw);
	bottom: 0;
	width: min(60vw, 360px);
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	transform: translateX(48px);
	transition: opacity 0.7s var(--ease-out) 0.18s, transform 0.9s var(--ease-out) 0.18s;
}

body.nav-open .mobile-nav-photo { opacity: 1; transform: translateX(0); }

.mobile-nav-photo img {
	position: relative;
	z-index: 1;
	width: 100%;
	filter: grayscale(0.18) brightness(0.94) contrast(1.04)
		drop-shadow(0 0 34px rgba(34, 197, 94, 0.18));
	mask-image: linear-gradient(180deg, #000 0%, #000 70%, rgba(0, 0, 0, 0.55) 88%, transparent 100%);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, rgba(0, 0, 0, 0.55) 88%, transparent 100%);
}

.mobile-photo-glow {
	position: absolute;
	left: 50%;
	top: 26%;
	width: 110%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(34, 197, 94, 0.2), transparent 62%);
	filter: blur(26px);
}

.mobile-photo-ring {
	position: absolute;
	left: 50%;
	top: 24%;
	width: 78%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border: 1px dashed rgba(74, 222, 128, 0.3);
	border-radius: 50%;
	animation: spinSlow 30s linear infinite;
}

.mobile-photo-scan {
	position: absolute;
	left: 4%;
	right: 4%;
	height: 13%;
	z-index: 2;
	background: linear-gradient(180deg, transparent, rgba(74, 222, 128, 0.16) 48%, rgba(74, 222, 128, 0.28) 50%, rgba(74, 222, 128, 0.16) 52%, transparent);
	mix-blend-mode: screen;
	animation: photoScan 4.6s ease-in-out infinite;
}

@keyframes photoScan {
	0%, 100% { top: 6%; opacity: 0; }
	12%, 88% { opacity: 1; }
	50% { top: 72%; }
}

@media (max-height: 560px) {
	.mobile-nav-photo { width: min(44vw, 250px); opacity: 0.85; }
}

/* --------------------------------------------------------------------------
   Shared section pieces
   -------------------------------------------------------------------------- */
.section-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: 0.32em;
	color: var(--green-bright);
	margin-bottom: 18px;
}

.section-label::before {
	content: '';
	width: 22px;
	height: 1px;
	background: var(--green);
	box-shadow: 0 0 8px var(--green);
}

.section-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(32px, 4.6vw, 52px);
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.section-title .line { display: block; }
.accent { color: var(--green-bright); text-shadow: 0 0 30px rgba(34, 197, 94, 0.35); }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	margin-bottom: 56px;
}

.section-sub { max-width: 340px; color: var(--muted); font-size: 14.5px; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--green-bright);
	transition: color 0.3s, gap 0.3s var(--ease-out);
}

.link-arrow:hover { color: var(--green-neon); gap: 13px; }
.link-arrow svg { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: rotate(45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 40px) 0 60px;
	overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
	position: absolute;
	inset: -2% -2% -2% 30%;
	background-image:
		linear-gradient(rgba(74, 222, 128, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(74, 222, 128, 0.05) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 70%);
}

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
}

.hero-glow-1 {
	width: 560px;
	height: 560px;
	right: 4%;
	top: 16%;
	background: radial-gradient(circle, rgba(34, 197, 94, 0.16), transparent 65%);
}

.hero-glow-2 {
	width: 420px;
	height: 420px;
	left: -8%;
	bottom: -12%;
	background: radial-gradient(circle, rgba(34, 197, 94, 0.08), transparent 65%);
}

.hero-scanline {
	position: absolute;
	left: 0;
	right: 0;
	top: -10%;
	height: 22%;
	background: linear-gradient(180deg, transparent, rgba(74, 222, 128, 0.035), transparent);
	animation: scanDrift 9s linear infinite;
}

@keyframes scanDrift {
	0% { transform: translateY(-40vh); }
	100% { transform: translateY(140vh); }
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 40px;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 10.5px;
	letter-spacing: 0.26em;
	color: var(--green-bright);
	margin-bottom: 22px;
}

.eyebrow-tick {
	width: 7px;
	height: 7px;
	background: var(--green);
	box-shadow: 0 0 10px var(--green);
	animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.78); }
}

.hero-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(40px, 5.5vw, 70px);
	line-height: 1.02;
	letter-spacing: -0.015em;
	margin-bottom: 28px;
	cursor: default;
}

.hero-title-line { display: block; overflow: hidden; }

.hero-caret {
	display: inline-block;
	width: 0.55em;
	height: 0.09em;
	margin-left: 0.06em;
	background: var(--green-bright);
	box-shadow: 0 0 14px var(--green);
	vertical-align: baseline;
	animation: caretBlink 1.1s steps(1) infinite;
}

@keyframes caretBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }

/* Glitch hover on the hero title */
[data-glitch]:hover .hero-title-line { animation: glitchShift 0.45s steps(2) 2; }

@keyframes glitchShift {
	0% { transform: translate(0); text-shadow: none; }
	25% { transform: translate(-2px, 1px); text-shadow: 2px 0 rgba(0, 232, 123, 0.8), -2px 0 rgba(255, 60, 90, 0.55); }
	50% { transform: translate(2px, -1px); text-shadow: -2px 0 rgba(0, 232, 123, 0.8), 2px 0 rgba(80, 120, 255, 0.5); }
	75% { transform: translate(-1px, -1px); text-shadow: 1px 0 rgba(0, 232, 123, 0.8); }
	100% { transform: translate(0); text-shadow: none; }
}

.hero-desc { max-width: 380px; color: var(--muted); font-size: 15.5px; margin-bottom: 34px; }
.hero-desc p + p { margin-top: 10px; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 58px; }

.hero-scroll {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 10px;
	letter-spacing: 0.26em;
	color: var(--dim);
}

.scroll-mouse {
	display: inline-flex;
	justify-content: center;
	width: 22px;
	height: 36px;
	border: 1.5px solid rgba(74, 222, 128, 0.4);
	border-radius: 12px;
	padding-top: 6px;
}

.scroll-wheel {
	width: 3px;
	height: 7px;
	border-radius: 3px;
	background: var(--green-bright);
	animation: wheelDrop 1.8s var(--ease-out) infinite;
}

@keyframes wheelDrop {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(11px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

/* Hero visual / globe */
.hero-visual { position: relative; min-height: 520px; }

.globe-wrap {
	position: relative;
	width: 100%;
	height: clamp(440px, 56vw, 620px);
	max-height: 78vh;
}

.globe-canvas { position: absolute; inset: 0; cursor: grab; }
.globe-canvas:active { cursor: grabbing; }
.globe-canvas canvas { width: 100% !important; height: 100% !important; }

.globe-pedestal {
	position: absolute;
	left: 50%;
	bottom: 2%;
	width: 78%;
	height: 120px;
	transform: translateX(-50%);
	pointer-events: none;
}

.pedestal-ring {
	position: absolute;
	left: 50%;
	top: 50%;
	border: 1px solid rgba(74, 222, 128, 0.18);
	border-radius: 50%;
	transform: translate(-50%, -50%) rotateX(76deg);
}

.pedestal-ring-1 { width: 100%; height: 110px; animation: ringPulse 4s ease-in-out infinite; }
.pedestal-ring-2 { width: 72%; height: 80px; border-color: rgba(74, 222, 128, 0.3); animation: ringPulse 4s ease-in-out 1s infinite; }

@keyframes ringPulse {
	0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
	50% { box-shadow: 0 0 34px rgba(34, 197, 94, 0.25); }
}

.pedestal-glow {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64%;
	height: 70px;
	transform: translate(-50%, -50%);
	background: radial-gradient(ellipse, rgba(34, 197, 94, 0.22), transparent 70%);
	filter: blur(12px);
}

/* HUD chips */
.hud-chip {
	position: absolute;
	z-index: 4;
	min-width: 158px;
	max-width: 190px;
	padding: 12px 14px;
	background: rgba(7, 13, 9, 0.78);
	border: 1px solid var(--line);
	border-radius: 10px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
	transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.hud-chip:hover {
	border-color: rgba(74, 222, 128, 0.5);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 26px rgba(34, 197, 94, 0.2);
}

.hud-chip-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	letter-spacing: 0.22em;
	color: var(--green-bright);
	margin-bottom: 6px;
	font-family: var(--font-mono);
}

.hud-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 1px solid rgba(74, 222, 128, 0.4);
	border-radius: 5px;
	color: var(--green-bright);
	background: rgba(34, 197, 94, 0.08);
}

.hud-chip p { font-size: 12px; line-height: 1.45; color: var(--muted); }

.hud-monitor { top: 4%; right: 2%; }
.hud-analyze { top: 38%; left: -4%; }
.hud-respond { bottom: 16%; right: 0; }

/* --------------------------------------------------------------------------
   Arsenal
   -------------------------------------------------------------------------- */
.arsenal { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%); }

.arsenal-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 40px;
	align-items: stretch;
}

.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
	gap: 14px;
	align-content: start;
}

.tool-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	cursor: default;
	will-change: transform;
}

.tool-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1;
	max-width: 96px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: linear-gradient(160deg, var(--panel) 0%, #070c08 100%);
	color: #cfe0d2;
	transition: border-color 0.35s, color 0.35s, box-shadow 0.35s, background 0.35s;
	position: relative;
	overflow: hidden;
}

.tool-icon::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 120%, rgba(34, 197, 94, 0.28), transparent 60%);
	opacity: 0;
	transition: opacity 0.35s;
}

.tool-card:hover .tool-icon {
	border-color: rgba(74, 222, 128, 0.55);
	color: var(--green-bright);
	box-shadow: 0 0 26px rgba(34, 197, 94, 0.22), inset 0 0 18px rgba(34, 197, 94, 0.08);
}

.tool-card:hover .tool-icon::after { opacity: 1; }

.tool-name {
	font-size: 12px;
	color: var(--muted);
	transition: color 0.3s;
}

.tool-card:hover .tool-name { color: var(--text); }

/* Terminal panel */
.terminal-panel {
	position: relative;
	padding: 26px 24px 22px;
	background: rgba(6, 11, 7, 0.85);
	border: 1px solid var(--line-soft);
	border-radius: 4px;
	min-height: 250px;
	display: flex;
	flex-direction: column;
}

.corner {
	position: absolute;
	width: 14px;
	height: 14px;
	border-color: var(--green);
	border-style: solid;
	border-width: 0;
}

.corner-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.corner-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.corner-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.corner-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.terminal-output {
	font-size: 12.5px;
	line-height: 2;
	color: var(--green-bright);
	min-height: 130px;
	white-space: pre-wrap;
	word-break: break-word;
}

.terminal-output .t-dim { color: var(--dim); }
.terminal-output .t-white { color: var(--text); }

.terminal-caret {
	display: inline-block;
	width: 8px;
	height: 14px;
	background: var(--green-bright);
	box-shadow: 0 0 8px var(--green);
	vertical-align: -2px;
	animation: caretBlink 0.9s steps(1) infinite;
}

.terminal-finger {
	position: absolute;
	right: 22px;
	top: 30px;
	color: rgba(74, 222, 128, 0.8);
	opacity: 0.85;
}

.fp { stroke-dasharray: 130; stroke-dashoffset: 0; animation: fpFlow 5s ease-in-out infinite; }
.terminal-finger .fp:nth-child(2n) { animation-delay: 0.6s; }

@keyframes fpFlow {
	0%, 100% { opacity: 0.9; }
	50% { opacity: 0.35; }
}

.fp-scan { opacity: 0.9; animation: fpScan 2.6s ease-in-out infinite; filter: drop-shadow(0 0 6px var(--green)); }

@keyframes fpScan {
	0%, 100% { transform: translateY(-26px); }
	50% { transform: translateY(34px); }
}

.terminal-meta {
	margin-top: auto;
	display: flex;
	gap: 5px;
	justify-content: flex-end;
}

.terminal-meta span {
	width: 16px;
	height: 3px;
	background: rgba(74, 222, 128, 0.5);
	animation: metaBlink 1.4s ease-in-out infinite;
}

.terminal-meta span:nth-child(2) { animation-delay: 0.3s; }
.terminal-meta span:nth-child(3) { animation-delay: 0.6s; }

@keyframes metaBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* --------------------------------------------------------------------------
   Labs
   -------------------------------------------------------------------------- */
.labs-head { align-items: flex-end; }

.labs-body {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 36px;
	align-items: center;
}

.labs-radar {
	position: relative;
	width: 230px;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.radar-rings, .radar-rings span:not(.radar-sweep):not(.radar-blip) {
	position: absolute;
	border-radius: 50%;
}

.radar-rings { inset: 0; }

.radar-rings > span:nth-child(1) { inset: 0; border: 1px solid rgba(74, 222, 128, 0.16); }
.radar-rings > span:nth-child(2) { inset: 13%; border: 1px dashed rgba(74, 222, 128, 0.28); animation: spinSlow 26s linear infinite; }
.radar-rings > span:nth-child(3) { inset: 27%; border: 1px solid rgba(74, 222, 128, 0.2); }

@keyframes spinSlow { to { transform: rotate(360deg); } }

.radar-sweep {
	position: absolute;
	inset: 2%;
	border-radius: 50%;
	background: conic-gradient(from 0deg, rgba(34, 197, 94, 0.3), transparent 18%);
	animation: spinSlow 4.5s linear infinite;
	mask-image: radial-gradient(circle, transparent 28%, #000 30%);
	-webkit-mask-image: radial-gradient(circle, transparent 28%, #000 30%);
}

.radar-blip {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green-neon);
	box-shadow: 0 0 10px var(--green-neon);
	animation: blipPing 3s ease-out infinite;
}

.radar-blip-1 { top: 24%; right: 30%; }
.radar-blip-2 { bottom: 30%; left: 26%; animation-delay: 1.4s; }

@keyframes blipPing {
	0% { box-shadow: 0 0 0 0 rgba(0, 232, 123, 0.5); }
	70% { box-shadow: 0 0 0 14px rgba(0, 232, 123, 0); }
	100% { box-shadow: 0 0 0 0 rgba(0, 232, 123, 0); }
}

.radar-label {
	position: relative;
	z-index: 2;
	text-align: center;
	font-size: 10.5px;
	letter-spacing: 0.22em;
	color: var(--text);
	line-height: 1.8;
	max-width: 110px;
	transition: color 0.3s, text-shadow 0.3s;
}

.radar-label:hover { color: var(--green-bright); text-shadow: 0 0 18px rgba(34, 197, 94, 0.6); }

.labs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
	gap: 16px;
}

.lab-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px 22px;
	min-height: 250px;
	background: linear-gradient(165deg, var(--panel) 0%, #060b07 100%);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
	will-change: transform;
	--mx: 50%;
	--my: 50%;
}

.lab-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(380px circle at var(--mx) var(--my), rgba(34, 197, 94, 0.1), transparent 45%);
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}

.lab-card:hover::before { opacity: 1; }

.lab-card:hover {
	border-color: rgba(74, 222, 128, 0.4);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 197, 94, 0.12);
}

.lab-card h3 {
	font-family: var(--font-display);
	font-size: 18.5px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 12px;
	max-width: 180px;
}

.tag {
	align-self: flex-start;
	font-size: 9.5px;
	letter-spacing: 0.18em;
	color: var(--green-bright);
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(74, 222, 128, 0.3);
	border-radius: 4px;
	padding: 4px 9px;
	margin-bottom: 16px;
}

.lab-card p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

.card-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 10.5px;
	letter-spacing: 0.2em;
	color: var(--text);
	transition: color 0.3s, gap 0.3s var(--ease-out);
}

.card-link:hover { color: var(--green-bright); gap: 12px; }

.card-scan {
	position: absolute;
	left: 0;
	right: 0;
	top: -20%;
	height: 30%;
	background: linear-gradient(180deg, transparent, rgba(74, 222, 128, 0.06), transparent);
	transform: translateY(-120%);
	transition: transform 0.9s var(--ease-out);
	pointer-events: none;
}

.lab-card:hover .card-scan { transform: translateY(440%); }

/* --------------------------------------------------------------------------
   SentinelOS — featured project
   -------------------------------------------------------------------------- */
.sentinel { overflow: hidden; }

.sentinel-bg {
	position: absolute;
	right: -14%;
	top: 10%;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(34, 197, 94, 0.09), transparent 62%);
	filter: blur(80px);
	pointer-events: none;
}

.sentinel-body {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 52px;
	align-items: center;
}

.sentinel-status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 10.5px;
	letter-spacing: 0.22em;
	color: var(--green-bright);
	margin-bottom: 20px;
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--green-neon);
	box-shadow: 0 0 10px var(--green-neon);
	animation: pulseDot 1.4s ease-in-out infinite;
}

.sentinel-ver {
	margin-left: 6px;
	font-size: 9.5px;
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 3px 8px;
	letter-spacing: 0.18em;
}

.sentinel-desc { max-width: 420px; color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }

.sentinel-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.sentinel-feats li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: var(--text);
	transition: transform 0.3s var(--ease-out), color 0.3s;
}

.sentinel-feats li:hover { transform: translateX(6px); color: var(--green-bright); }

.feat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	color: var(--green-bright);
	border: 1px solid rgba(74, 222, 128, 0.3);
	border-radius: 7px;
	background: rgba(34, 197, 94, 0.07);
}

.sentinel-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* OS window mockup */
.sentinel-window {
	position: relative;
	background: rgba(6, 11, 7, 0.9);
	border: 1px solid var(--line-soft);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	transition: border-color 0.35s, box-shadow 0.35s;
	will-change: transform;
}

.sentinel-window:hover {
	border-color: rgba(74, 222, 128, 0.35);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 197, 94, 0.12);
}

.sw-titlebar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line-soft);
	background: rgba(10, 16, 11, 0.8);
}

.sw-dots { display: inline-flex; gap: 6px; }
.sw-dots i { width: 10px; height: 10px; border-radius: 50%; }
.sw-dots i:nth-child(1) { background: #ff5f56; }
.sw-dots i:nth-child(2) { background: #ffbd2e; }
.sw-dots i:nth-child(3) { background: #27c93f; }

.sw-title { font-size: 10.5px; color: var(--dim); letter-spacing: 0.14em; }

.sw-live {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 9px;
	letter-spacing: 0.22em;
	color: var(--green-neon);
}

.sw-body {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 22px;
	padding: 22px;
}

.sw-stats { display: flex; flex-direction: column; gap: 16px; }

.sw-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px;
	border: 1px solid var(--line-soft);
	border-radius: 8px;
	background: rgba(10, 16, 11, 0.55);
}

.sw-stat-label { font-size: 8.5px; letter-spacing: 0.2em; color: var(--dim); }
.sw-stat-value { font-size: 17px; font-weight: 700; color: var(--text); }
.sw-stat-value.sw-low { color: var(--green-bright); }

.sw-stat-bar {
	position: relative;
	height: 3px;
	border-radius: 3px;
	background: rgba(74, 222, 128, 0.12);
	overflow: hidden;
}

.sw-stat-bar i {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--w, 50%);
	border-radius: 3px;
	background: linear-gradient(90deg, var(--green), var(--green-neon));
	box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
	animation: barBreathe 3s ease-in-out infinite;
	transform-origin: 0 50%;
}

@keyframes barBreathe {
	0%, 100% { transform: scaleX(1); opacity: 1; }
	50% { transform: scaleX(0.92); opacity: 0.75; }
}

.sw-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.sw-eq {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	height: 110px;
	padding: 14px 12px 0;
	border: 1px solid var(--line-soft);
	border-radius: 8px;
	background:
		linear-gradient(rgba(74, 222, 128, 0.05) 1px, transparent 1px) 0 0 / 100% 22px,
		rgba(10, 16, 11, 0.55);
	overflow: hidden;
}

.sw-eq i {
	flex: 1;
	height: 30%;
	border-radius: 3px 3px 0 0;
	background: linear-gradient(180deg, var(--green-neon), rgba(34, 197, 94, 0.25));
	transform-origin: bottom;
	animation: eqBounce 1.5s ease-in-out infinite alternate;
	opacity: 0.85;
}

.sw-eq i:nth-child(2n)  { animation-delay: 0.12s; height: 55%; }
.sw-eq i:nth-child(3n)  { animation-delay: 0.26s; height: 72%; }
.sw-eq i:nth-child(4n)  { animation-delay: 0.4s; height: 44%; }
.sw-eq i:nth-child(5n)  { animation-delay: 0.55s; height: 86%; }
.sw-eq i:nth-child(7n)  { animation-delay: 0.7s; height: 62%; }

@keyframes eqBounce {
	0% { transform: scaleY(0.35); }
	100% { transform: scaleY(1); }
}

.sw-logs { display: flex; flex-direction: column; gap: 7px; }

.sw-logs span {
	font-size: 11px;
	color: var(--green-bright);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	animation: logCycle 7s ease-in-out infinite;
}

.sw-logs span:nth-child(1) { animation-delay: 0s; }
.sw-logs span:nth-child(2) { animation-delay: 0.9s; color: var(--muted); }
.sw-logs span:nth-child(3) { animation-delay: 1.8s; color: var(--muted); }
.sw-logs span:nth-child(4) { animation-delay: 2.7s; }

@keyframes logCycle {
	0%, 100% { opacity: 0.3; }
	18%, 60% { opacity: 1; }
}

.sw-scan {
	position: absolute;
	left: 0;
	right: 0;
	height: 26%;
	background: linear-gradient(180deg, transparent, rgba(74, 222, 128, 0.05) 48%, rgba(74, 222, 128, 0.1) 50%, rgba(74, 222, 128, 0.05) 52%, transparent);
	pointer-events: none;
	animation: swScan 5.5s ease-in-out infinite;
}

@keyframes swScan {
	0%, 100% { top: -26%; opacity: 0; }
	10%, 90% { opacity: 1; }
	50% { top: 100%; }
}

/* --------------------------------------------------------------------------
   Certifications
   -------------------------------------------------------------------------- */
.certs { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%); overflow: hidden; }

.certs-terrain {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56%;
	max-width: 760px;
	height: 320px;
	color: rgba(74, 222, 128, 0.16);
	pointer-events: none;
}

.certs-terrain svg { width: 100%; height: 100%; }

.certs-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
	gap: 56px;
	align-items: start;
}

.certs-card {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 36px;
	padding: 38px 36px;
	background: linear-gradient(160deg, rgba(10, 16, 11, 0.92) 0%, rgba(6, 10, 7, 0.92) 100%);
	border: 1px solid var(--line-soft);
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
	transition: border-color 0.35s, box-shadow 0.35s;
	will-change: transform;
}

.certs-card:hover {
	border-color: rgba(74, 222, 128, 0.3);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 44px rgba(34, 197, 94, 0.1);
}

.google-g {
	display: inline-flex;
	margin-bottom: 22px;
	filter: drop-shadow(0 6px 22px rgba(66, 133, 244, 0.25));
}

.certs-card-title {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 16px;
}

.certs-issuer { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }

.badge-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 9px;
	letter-spacing: 0.18em;
	color: var(--green-bright);
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(74, 222, 128, 0.35);
	border-radius: 4px;
	padding: 4px 8px;
	animation: verifiedGlow 2.6s ease-in-out infinite;
}

@keyframes verifiedGlow {
	0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
	50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.35); }
}

.certs-list { display: flex; flex-direction: column; }

.cert-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 17px 14px;
	border-radius: 10px;
	transition: background 0.3s, transform 0.3s var(--ease-out);
}

.cert-row + .cert-row { border-top: 1px solid var(--line-soft); }

.cert-row:hover { background: rgba(34, 197, 94, 0.05); transform: translateX(6px); }

.cert-row-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	color: var(--green-bright);
	border: 1px solid rgba(74, 222, 128, 0.25);
	border-radius: 50%;
	background: rgba(34, 197, 94, 0.06);
	transition: box-shadow 0.3s, border-color 0.3s;
}

.cert-row:hover .cert-row-icon {
	border-color: rgba(74, 222, 128, 0.6);
	box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
}

.cert-row-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cert-row-body strong { font-size: 14px; font-weight: 600; color: var(--text); }
.cert-row-body em { font-style: normal; font-size: 12px; color: var(--dim); }

.cert-row-year { margin-left: auto; font-size: 11px; color: var(--dim); letter-spacing: 0.12em; }

.certs-foot { display: flex; justify-content: flex-end; margin-top: 34px; position: relative; }

/* --------------------------------------------------------------------------
   Mindset
   -------------------------------------------------------------------------- */
.mindset-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
	gap: 56px;
	align-items: center;
}

.mindset-items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	padding: 40px 28px;
	background: linear-gradient(160deg, rgba(10, 16, 11, 0.7), rgba(6, 10, 7, 0.7));
	border: 1px solid var(--line-soft);
	border-radius: 18px;
}

.mind-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 12px 6px;
	will-change: transform;
}

.mind-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 12px;
	color: var(--green-bright);
	border: 1px solid rgba(74, 222, 128, 0.3);
	border-radius: 50%;
	background: rgba(34, 197, 94, 0.05);
	transition: box-shadow 0.35s, border-color 0.35s, color 0.35s;
}

.mind-icon::before {
	content: '';
	position: absolute;
	inset: -7px;
	border: 1px dashed rgba(74, 222, 128, 0.22);
	border-radius: 50%;
	transition: transform 0.6s var(--ease-out), border-color 0.35s;
}

.mind-item:hover .mind-icon {
	border-color: rgba(74, 222, 128, 0.7);
	box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
	color: var(--green-neon);
}

.mind-item:hover .mind-icon::before {
	transform: rotate(120deg);
	border-color: rgba(74, 222, 128, 0.5);
}

.mind-item strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.mind-item span:not(.mind-icon) { font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { padding-bottom: 70px; }

.contact-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 48px;
	padding: 64px 60px;
	background:
		radial-gradient(640px circle at 88% 50%, rgba(34, 197, 94, 0.08), transparent 55%),
		linear-gradient(160deg, #0a110b 0%, #060a07 100%);
	border: 1px solid var(--line-soft);
	border-radius: 24px;
	overflow: hidden;
}

.contact-left p { max-width: 360px; color: var(--muted); font-size: 15px; margin: 20px 0 30px; }

.contact-list {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-self: center;
}

.contact-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	transition: background 0.3s, transform 0.3s var(--ease-out);
}

.contact-row:hover { background: rgba(34, 197, 94, 0.05); transform: translateX(6px); }

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	color: var(--green-bright);
	border: 1px solid rgba(74, 222, 128, 0.25);
	border-radius: 9px;
	background: rgba(34, 197, 94, 0.06);
	transition: box-shadow 0.3s, border-color 0.3s;
}

.contact-row:hover .contact-icon {
	border-color: rgba(74, 222, 128, 0.6);
	box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
}

.contact-body { display: flex; flex-direction: column; min-width: 0; }
.contact-body strong { font-size: 13.5px; font-weight: 600; }
.contact-body a, .contact-body em { font-style: normal; font-size: 12.5px; color: var(--dim); transition: color 0.3s; }
.contact-body a:hover { color: var(--green-bright); }

.contact-radar {
	position: absolute;
	right: -40px;
	top: 50%;
	transform: translateY(-50%);
	width: 320px;
	height: 320px;
	pointer-events: none;
	opacity: 0.85;
}

.world-dots {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-image: radial-gradient(rgba(74, 222, 128, 0.35) 1px, transparent 1.4px);
	background-size: 12px 12px;
	mask-image: radial-gradient(circle, #000 0%, transparent 68%);
	-webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
	opacity: 0.35;
}

.radar-pulse {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid var(--green-neon);
	transform: translate(-50%, -50%);
	animation: radarPulse 3.2s ease-out infinite;
}

.radar-pulse-2 { animation-delay: 1.6s; }

@keyframes radarPulse {
	0% { width: 14px; height: 14px; opacity: 1; }
	100% { width: 220px; height: 220px; opacity: 0; }
}

.radar-core {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--green-neon);
	box-shadow: 0 0 18px var(--green-neon), 0 0 50px rgba(0, 232, 123, 0.5);
	transform: translate(-50%, -50%);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 38px 0; }

.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.16em;
	font-size: 15px;
	margin-bottom: 6px;
}

.footer-copy { font-size: 10.5px; color: var(--dim); letter-spacing: 0.06em; }

.footer-credit { font-size: 10.5px; color: var(--dim); letter-spacing: 0.06em; margin-top: 2px; }
.footer-credit a { color: var(--green-bright); transition: color 0.3s, text-shadow 0.3s; }
.footer-credit a:hover { color: var(--green-neon); text-shadow: 0 0 14px rgba(0, 232, 123, 0.6); }

.footer-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 22px; }

.footer-nav a {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.3s;
}

.footer-nav a:hover { color: var(--green-bright); }

.back-to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--green-bright);
	background: rgba(34, 197, 94, 0.05);
	transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.back-to-top:hover {
	border-color: rgba(74, 222, 128, 0.6);
	background: rgba(34, 197, 94, 0.12);
	box-shadow: 0 0 22px rgba(34, 197, 94, 0.3);
}

/* --------------------------------------------------------------------------
   Generic (non-landing) content
   -------------------------------------------------------------------------- */
.generic-main { padding: calc(var(--header-h) + 60px) 0 80px; min-height: 70vh; }
.generic-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.generic-body { color: var(--muted); max-width: 760px; }
.generic-body a { color: var(--green-bright); }
.generic-body p { margin-bottom: 16px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.hud-analyze { left: 0; }
	.contact-radar { right: -90px; opacity: 0.5; }
}

@media (max-width: 1100px) {
	.nav-menu a { padding: 8px 9px; font-size: 10px; letter-spacing: 0.13em; }
	.nav-menu a::after { left: 9px; right: 9px; }
}

@media (max-width: 1020px) {
	.section { padding: 84px 0; }

	.sentinel-body { grid-template-columns: 1fr; gap: 40px; }
	.sentinel-desc { max-width: 540px; }

	.hero-inner { grid-template-columns: 1fr; gap: 8px; }
	.hero { min-height: 0; padding-top: calc(var(--header-h) + 60px); }
	.hero-visual { order: 2; }
	.hero-desc { max-width: 480px; }
	.globe-wrap { height: clamp(380px, 62vw, 540px); max-width: 640px; margin-inline: auto; }

	.arsenal-body { grid-template-columns: 1fr; }
	.terminal-panel { min-height: 220px; }

	.labs-body { grid-template-columns: 1fr; }
	.labs-radar { margin-inline: auto; }

	.certs-grid { grid-template-columns: 1fr; gap: 36px; }
	.certs-terrain { width: 100%; opacity: 0.5; }

	.mindset-grid { grid-template-columns: 1fr; gap: 36px; }

	.contact-card { grid-template-columns: 1fr; padding: 48px 40px; }
	.contact-radar { display: none; }
}

@media (max-width: 860px) {
	.site-nav, .btn-connect { display: none; }
	.nav-toggle { display: flex; margin-left: auto; }

	.section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }

	.certs-card { grid-template-columns: 1fr; gap: 12px; padding: 30px 26px; }
	.mindset-items { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
}

@media (max-width: 640px) {
	.container { width: calc(100% - 36px); }

	.hero-title { font-size: clamp(38px, 11.5vw, 54px); }
	.hero-actions .btn-lg { padding: 14px 20px; font-size: 11px; }

	.hud-chip { min-width: 130px; max-width: 150px; padding: 10px 11px; }
	.hud-chip p { font-size: 10.5px; }
	.hud-monitor { right: -2%; }
	.hud-analyze { left: -2%; }

	.tools-grid { grid-template-columns: repeat(4, 1fr); }
	.tool-icon { border-radius: 10px; }
	.tool-name { font-size: 10.5px; }

	.labs-grid { grid-template-columns: 1fr; }
	.lab-card { min-height: 0; }
	.lab-card h3 { max-width: none; }

	.sw-body { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
	.sw-stats { flex-direction: row; }
	.sw-stat { flex: 1; padding: 10px; }
	.sw-stat-value { font-size: 14px; }
	.sw-eq { height: 88px; }
	.sentinel-actions .btn-lg { padding: 14px 20px; font-size: 11px; }

	.contact-card { padding: 40px 24px; }
	.footer-inner { flex-direction: column; align-items: flex-start; }
	.footer-nav { margin-left: 0; }
	.back-to-top { position: absolute; right: 24px; }
	.site-footer { position: relative; }
}

@media (max-width: 400px) {
	.tools-grid { grid-template-columns: repeat(3, 1fr); }
	.mindset-items { grid-template-columns: 1fr 1fr; padding: 28px 14px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001s !important;
	}
	html { scroll-behavior: auto; }
	.boot-screen { display: none; }
}
