/**
 * Hero Section Styles — WP SOC Theme
 * A full-screen, two-column hero for an enterprise security operations
 * company. Dark, restrained, high-whitespace; the signature element is
 * the cinematic command-center illustration on the right — a single
 * large curved monitor wall with soft volumetric light and a floor
 * reflection, not a dashboard of UI widgets.
 *
 * Tokens are scoped to .wp-soc-hero so the theme's global styles are
 * never overridden by accident.
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

.wp-soc-hero {
	--wp-soc-bg: #050505;
	--wp-soc-card: #111111;
	--wp-soc-border: #242424;
	--wp-soc-primary: #00D084;
	--wp-soc-primary-rgb: 0, 208, 132;
	--wp-soc-text: #F5F5F5;
	--wp-soc-text-soft: #9CA3AF;
	--wp-soc-font-head: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--wp-soc-font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

	position: relative;
	isolation: isolate;
	min-height: 56vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--wp-soc-bg);
	color: var(--wp-soc-text);
	font-family: var(--wp-soc-font-body);
}

.wp-soc-hero *,
.wp-soc-hero *::before,
.wp-soc-hero *::after {
	box-sizing: border-box;
}

/* ---------------------------------------------------------------- *
 * Background: near-invisible grid + very slow ambient glow
 * ---------------------------------------------------------------- */

.wp-soc-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.wp-soc-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000 40%, transparent 90%);
}

.wp-soc-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(110px);
	opacity: 0.24;
	will-change: transform;
	animation: wp-soc-drift 34s ease-in-out infinite;
}

.wp-soc-hero__glow--a {
	width: 640px;
	height: 640px;
	top: -220px;
	left: -160px;
	background: radial-gradient(circle, rgba(var(--wp-soc-primary-rgb), 0.20), transparent 70%);
}

.wp-soc-hero__glow--b {
	width: 560px;
	height: 560px;
	bottom: -280px;
	right: -140px;
	background: radial-gradient(circle, rgba(var(--wp-soc-primary-rgb), 0.10), transparent 70%);
	animation-duration: 40s;
	animation-delay: -12s;
}

@keyframes wp-soc-drift {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(15px, -10px) scale(1.03); }
}

/* ---------------------------------------------------------------- *
 * Layout
 * ---------------------------------------------------------------- */

.wp-soc-hero__container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 22px 48px 24px;
	display: grid;
	grid-template-columns: 68fr 32fr;
	align-items: center;
	gap: 56px;
}

/* ---------------------------------------------------------------- *
 * Left column — message
 * ---------------------------------------------------------------- */

.wp-soc-hero__content {
	max-width: 680px;
}

.wp-soc-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border: 1px solid var(--wp-soc-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.02);
	color: var(--wp-soc-text-soft);
	font-family: var(--wp-soc-font-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(10px);
}

.wp-soc-hero__badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp-soc-primary);
	box-shadow: 0 0 0 0 rgba(var(--wp-soc-primary-rgb), 0.6);
	animation: wp-soc-pulse-dot 2.4s ease-out infinite;
}

@keyframes wp-soc-pulse-dot {
	0%   { box-shadow: 0 0 0 0 rgba(var(--wp-soc-primary-rgb), 0.55); }
	70%  { box-shadow: 0 0 0 8px rgba(var(--wp-soc-primary-rgb), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--wp-soc-primary-rgb), 0); }
}

/* Headline: the dominant element on the page. Large, tight, high-hierarchy. */
.wp-soc-hero__headline {
	margin: 24px 0 0;
	max-width: 560px;
	font-family: var(--wp-soc-font-head);
	font-weight: 700;
	font-size: clamp(2.625rem, 1.98vw + 3.06rem, 4.95rem); /* ~10% smaller on desktop; mobile floor/override unchanged */
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--wp-soc-text);
	opacity: 0;
	transform: translateY(14px);
}

.wp-soc-hero__accent {
	color: var(--wp-soc-primary);
}

.wp-soc-hero__description {
	margin: 17px 0 0;
	max-width: 460px;
	font-size: 1.15rem;
	line-height: 1.7;
	letter-spacing: -0.005em;
	color: var(--wp-soc-text-soft);
	opacity: 0;
	transform: translateY(14px);
}

.wp-soc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 15px;
	opacity: 0;
	transform: translateY(14px);
}

.wp-soc-hero__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 54px;
	padding: 0 30px;
	border-radius: 10px;
	font-family: var(--wp-soc-font-body);
	font-size: 0.98rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
		background-color 0.3s ease,
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

.wp-soc-hero__btn--primary {
	background: var(--wp-soc-primary);
	color: #06110c;
	border: 1px solid var(--wp-soc-primary);
	box-shadow: 0 0 0 0 rgba(var(--wp-soc-primary-rgb), 0.0), 0 18px 36px -18px rgba(var(--wp-soc-primary-rgb), 0.55);
}

.wp-soc-hero__btn--primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 26px 2px rgba(var(--wp-soc-primary-rgb), 0.35), 0 22px 40px -16px rgba(var(--wp-soc-primary-rgb), 0.6);
}

.wp-soc-hero__btn--primary:active {
	transform: translateY(-1px);
}

.wp-soc-hero__btn--secondary {
	background: transparent;
	color: var(--wp-soc-text);
	border: 1px solid var(--wp-soc-border);
}

.wp-soc-hero__btn--secondary:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.03);
}

.wp-soc-hero__btn-arrow {
	width: 15px;
	height: 9px;
	flex-shrink: 0;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-soc-hero__btn--secondary:hover .wp-soc-hero__btn-arrow {
	transform: translateX(5px);
}

.wp-soc-hero__btn:focus-visible {
	outline: 2px solid var(--wp-soc-primary);
	outline-offset: 3px;
}

/* Trust indicators as premium pill badges */
.wp-soc-hero__trust {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
	padding: 15px 0 0;
	border-top: 1px solid var(--wp-soc-border);
	opacity: 0;
	transform: translateY(14px);
}

.wp-soc-hero__trust-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--wp-soc-border);
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--wp-soc-text-soft);
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.wp-soc-hero__trust-item:hover {
	border-color: rgba(var(--wp-soc-primary-rgb), 0.4);
	background: rgba(var(--wp-soc-primary-rgb), 0.06);
	color: var(--wp-soc-text);
}

.wp-soc-hero__trust-icon {
	width: 13px;
	height: 13px;
	color: var(--wp-soc-primary);
	flex-shrink: 0;
}

/* Entrance stagger, driven by a single class toggled in JS */
.wp-soc-hero.is-ready .wp-soc-hero__badge,
.wp-soc-hero.is-ready .wp-soc-hero__headline,
.wp-soc-hero.is-ready .wp-soc-hero__description,
.wp-soc-hero.is-ready .wp-soc-hero__actions,
.wp-soc-hero.is-ready .wp-soc-hero__trust {
	animation: wp-soc-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wp-soc-hero.is-ready .wp-soc-hero__badge       { animation-delay: 0.05s; }
.wp-soc-hero.is-ready .wp-soc-hero__headline    { animation-delay: 0.15s; }
.wp-soc-hero.is-ready .wp-soc-hero__description { animation-delay: 0.30s; }
.wp-soc-hero.is-ready .wp-soc-hero__actions     { animation-delay: 0.42s; }
.wp-soc-hero.is-ready .wp-soc-hero__trust       { animation-delay: 0.52s; }

@keyframes wp-soc-rise {
	to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------- *
 * Right column — cinematic command-center scene
 * ---------------------------------------------------------------- */

.wp-soc-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 369px;
}

.wp-soc-scene {
	position: relative;
	width: 100%;
	max-width: 369px;
	height: 100%;
	perspective: 1600px;
	opacity: 0;
	transform: scale(0.85);
}

.wp-soc-hero.is-ready .wp-soc-scene {
	animation: wp-soc-scene-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 0.2s;
}

@keyframes wp-soc-scene-in {
	to { opacity: 1; transform: scale(0.88); }
}

/* Rotation layer: the parallax drift lives here so it never competes
   with the entrance scale/opacity animation above for the transform
   property. */
.wp-soc-scene__inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	will-change: transform;
	transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Volumetric light beams spilling from the wall — cinematic key light */
.wp-soc-scene__beams {
	position: absolute;
	top: 0;
	left: 50%;
	width: 356px;
	height: 288px;
	margin-left: -178px;
	overflow: hidden;
	pointer-events: none;
}

.wp-soc-beam {
	position: absolute;
	top: -41px;
	left: 50%;
	width: 178px;
	height: 315px;
	background: linear-gradient(180deg, rgba(var(--wp-soc-primary-rgb), 0.11), transparent 75%);
	filter: blur(24px);
	opacity: 0.32;
	animation: wp-soc-beam-sway 16s ease-in-out infinite;
}

.wp-soc-beam--1 {
	margin-left: -205px;
	transform: rotate(-8deg);
}

.wp-soc-beam--2 {
	margin-left: -14px;
	transform: rotate(6deg);
	animation-delay: -8s;
	opacity: 0.22;
}

@keyframes wp-soc-beam-sway {
	0%, 100% { transform: rotate(-8deg) translateX(0); }
	50%      { transform: rotate(-6.5deg) translateX(6px); }
}

/* Monitor wall — one dominant curved display, with two slim wraparound edges */
.wp-soc-scene__wall {
	position: absolute;
	top: 36px;
	left: 50%;
	width: 322px;
	height: 144px;
	margin-left: -161px;
	display: flex;
	justify-content: center;
	gap: 2px;
	transform-style: preserve-3d;
}

.wp-soc-wall {
	position: relative;
	flex: 1 1 0;
	height: 100%;
	background:
		radial-gradient(120% 140% at 50% 0%, rgba(var(--wp-soc-primary-rgb), 0.16), transparent 60%),
		linear-gradient(155deg, #0d1211 0%, #101010 55%, #090909 100%);
	box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.65);
	overflow: hidden;
	transition: transform 0.8s ease;
}

.wp-soc-wall::before {
	/* Slow-moving glass sheen — the "soft reflection" across the wall */
	content: '';
	position: absolute;
	top: -40%;
	left: -60%;
	width: 60%;
	height: 220%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.045) 45%, transparent 60%);
	transform: rotate(12deg);
	animation: wp-soc-sheen 14s ease-in-out infinite;
}

.wp-soc-wall::after {
	/* Faint horizontal scan, reads as an active display without being a UI widget */
	content: '';
	position: absolute;
	inset: 12% 8%;
	background: repeating-linear-gradient(
		180deg,
		rgba(var(--wp-soc-primary-rgb), 0.05) 0px,
		rgba(var(--wp-soc-primary-rgb), 0.05) 1px,
		transparent 1px,
		transparent 5px
	);
	opacity: 0.34;
	mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 90%);
}

@keyframes wp-soc-sheen {
	0%, 100% { transform: translateX(0) rotate(12deg); }
	50%      { transform: translateX(60%) rotate(12deg); }
}

.wp-soc-wall--left {
	flex: 0 0 22%;
	border-radius: 14px 4px 4px 14px;
	transform: rotateY(18deg) translateZ(-16px);
}

.wp-soc-wall--center {
	flex: 1 1 auto;
	border-radius: 8px;
	transform: rotateY(0deg) translateZ(6px);
	box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.58), 0 30px 60px -24px rgba(var(--wp-soc-primary-rgb), 0.19);
}

.wp-soc-wall--right {
	flex: 0 0 22%;
	border-radius: 4px 14px 14px 4px;
	transform: rotateY(-18deg) translateZ(-16px);
}

/* Faint global monitoring overlay — a projection floating in front of the wall */
.wp-soc-scene__globe {
	position: absolute;
	top: 133px;
	left: 50%;
	width: 180px;
	height: 180px;
	margin-left: -90px;
	opacity: 0.78;
	animation: wp-soc-float 11s ease-in-out infinite;
}

@keyframes wp-soc-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-5px); }
}

.wp-soc-globe-svg {
	width: 100%;
	height: 100%;
}

.wp-soc-globe__outline {
	fill: none;
	stroke: rgba(255, 255, 255, 0.14);
	stroke-width: 1;
}

.wp-soc-globe__grid {
	fill: none;
	stroke: rgba(255, 255, 255, 0.08);
	stroke-width: 1;
}

.wp-soc-arc {
	stroke: var(--wp-soc-primary);
	stroke-width: 1.2;
	stroke-linecap: round;
	opacity: 0.28;
	stroke-dasharray: 6 10;
	animation: wp-soc-arc-flow 3.5s linear infinite;
}

.wp-soc-arc:nth-of-type(2) { animation-delay: -1.1s; }
.wp-soc-arc:nth-of-type(3) { animation-delay: -2.3s; }

@keyframes wp-soc-arc-flow {
	to { stroke-dashoffset: -130; }
}

.wp-soc-node circle:first-child {
	fill: var(--wp-soc-primary);
}

.wp-soc-node__ring {
	fill: none;
	stroke: var(--wp-soc-primary);
	stroke-width: 1;
	opacity: 0;
	transform-origin: center;
	transform-box: fill-box;
	animation: wp-soc-node-ping 3s ease-out infinite;
	animation-delay: var(--node-delay, 0s);
}

@keyframes wp-soc-node-ping {
	0%   { opacity: 0.45; transform: scale(0.3); }
	80%  { opacity: 0; transform: scale(1.35); }
	100% { opacity: 0; transform: scale(1.35); }
}

/* Foreground analyst desks, rim-lit against the wall glow */
.wp-soc-scene__desks {
	position: absolute;
	bottom: 20px;
	left: 50%;
	width: 383px;
	margin-left: -192px;
	z-index: 2;
}

.wp-soc-desks-svg {
	width: 100%;
	height: auto;
	display: block;
}

.wp-soc-desks__shadow {
	fill: rgba(0, 0, 0, 0.6);
}

.wp-soc-analyst__desk {
	fill: #0a0a0a;
	stroke: var(--wp-soc-border);
	stroke-width: 1;
}

.wp-soc-analyst__monitor {
	fill: #080d0b;
	stroke: rgba(var(--wp-soc-primary-rgb), 0.52);
	stroke-width: 1;
}

.wp-soc-analyst__head,
.wp-soc-analyst__body {
	fill: #070707;
	stroke: rgba(var(--wp-soc-primary-rgb), 0.22);
	stroke-width: 1;
}

/* Soft mirrored floor reflection beneath the desks */
.wp-soc-scene__reflection {
	position: absolute;
	bottom: -32px;
	left: 50%;
	width: 288px;
	height: 61px;
	margin-left: -144px;
	background: radial-gradient(50% 100% at 50% 0%, rgba(var(--wp-soc-primary-rgb), 0.09), transparent 75%);
	filter: blur(14px);
	opacity: 0.4;
	transform: scaleY(-1);
	pointer-events: none;
}

/* Vignette to seat the scene into the dark background */
.wp-soc-scene__vignette {
	position: absolute;
	inset: -27px;
	background: radial-gradient(ellipse at 50% 55%, transparent 40%, var(--wp-soc-bg) 92%);
	pointer-events: none;
}

/* ---------------------------------------------------------------- *
 * Scroll indicator — bottom center, minimal, animated
 * ---------------------------------------------------------------- */

.wp-soc-hero__scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 36px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-left: -20px;
	border-radius: 50%;
	opacity: 0;
	text-decoration: none;
	transition: border-color 0.3s ease, background-color 0.3s ease;
}

.wp-soc-hero.is-ready .wp-soc-hero__scroll-cue {
	animation: wp-soc-rise 0.6s ease forwards;
	animation-delay: 0.85s;
}

.wp-soc-hero__scroll-cue:hover {
	background: rgba(255, 255, 255, 0.03);
}

.wp-soc-hero__scroll-cue:focus-visible {
	outline: 2px solid var(--wp-soc-primary);
	outline-offset: 3px;
}

.wp-soc-hero__scroll-cue-track {
	position: relative;
	display: block;
	width: 22px;
	height: 34px;
	border: 1px solid var(--wp-soc-border);
	border-radius: 999px;
}

.wp-soc-hero__scroll-cue-track span {
	position: absolute;
	top: 6px;
	left: 50%;
	width: 3px;
	height: 7px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--wp-soc-primary);
	animation: wp-soc-scroll-dot 2.2s ease-in-out infinite;
}

@keyframes wp-soc-scroll-dot {
	0%   { transform: translateY(0); opacity: 1; }
	60%  { transform: translateY(12px); opacity: 0; }
	61%  { transform: translateY(0); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

/* ---------------------------------------------------------------- *
 * Responsive
 * ---------------------------------------------------------------- */

@media (max-width: 1180px) {
	.wp-soc-hero__container {
		padding: 40px 40px 32px;
		gap: 32px;
	}

	.wp-soc-scene__wall {
		width: 288px;
		margin-left: -144px;
	}

	.wp-soc-scene__beams {
		width: 306px;
		margin-left: -153px;
	}
}

@media (max-width: 960px) {
	.wp-soc-hero {
		min-height: auto;
	}

	.wp-soc-hero__container {
		grid-template-columns: 1fr;
		padding: 128px 32px 64px;
		text-align: left;
	}

	.wp-soc-hero__content {
		max-width: 100%;
	}

	.wp-soc-hero__visual {
		height: 480px;
		margin-top: 56px;
	}

	.wp-soc-scene {
		max-width: 440px;
	}
}

@media (max-width: 640px) {
	.wp-soc-hero__container {
		padding: 112px 20px 56px;
	}

	.wp-soc-hero__headline {
		font-size: 2.625rem; /* exact 42px per spec */
		line-height: 1.1;
		letter-spacing: -0.02em;
	}

	.wp-soc-hero__description {
		font-size: 1.02rem;
	}

	.wp-soc-hero__actions {
		flex-direction: column;
	}

	.wp-soc-hero__btn {
		width: 100%;
	}

	.wp-soc-hero__trust {
		gap: 8px;
	}

	.wp-soc-hero__visual {
		height: 380px;
		margin-top: 40px;
	}

	.wp-soc-scene__wall {
		width: 300px;
		height: 150px;
		margin-left: -150px;
	}

	.wp-soc-scene__beams {
		width: 320px;
		margin-left: -160px;
		height: 320px;
	}

	.wp-soc-scene__globe {
		top: 130px;
		width: 240px;
		height: 240px;
		margin-left: -120px;
	}

	.wp-soc-scene__desks {
		width: 340px;
		margin-left: -170px;
		bottom: 18px;
	}

	.wp-soc-scene__reflection {
		width: 300px;
		margin-left: -150px;
	}

	.wp-soc-hero__scroll-cue {
		display: none;
	}
}

/* ---------------------------------------------------------------- *
 * Accessibility
 * ---------------------------------------------------------------- */

.wp-soc-hero a:focus-visible {
	outline: 2px solid var(--wp-soc-primary);
	outline-offset: 3px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.wp-soc-hero * {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.wp-soc-hero__badge,
	.wp-soc-hero__headline,
	.wp-soc-hero__description,
	.wp-soc-hero__actions,
	.wp-soc-hero__trust,
	.wp-soc-hero__scroll-cue {
		opacity: 1 !important;
		transform: none !important;
	}

	.wp-soc-scene {
		opacity: 1 !important;
		transform: scale(0.88) !important;
	}
}