/* ============================================================
   Hero Section — Modern Redesign
   ============================================================ */

.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
	scroll-snap-align: start;
	color: var(--color-white);
}

/* ==============================
   Background
   ============================== */

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse at 50% 40%, rgba(255, 120, 50, 0.07) 0%, transparent 55%),
		radial-gradient(ellipse at 75% 30%, rgba(255, 94, 20, 0.18) 0%, transparent 50%),
		radial-gradient(ellipse at 20% 70%, rgba(100, 140, 255, 0.12) 0%, transparent 50%),
		linear-gradient(165deg, #0c0c1a 0%, #141430 30%, #1e1e38 60%, #0a0a16 100%);
}

#hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	opacity: 0.65;
}

.hero-bg-gradient {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero-bg-grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
	background-size: 40px 40px, 40px 40px, 160px 160px, 160px 160px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
	mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

/* Gold grid glow — follows cursor via CSS vars */
.hero-grid-glow {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 185, 30, 0.35) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 185, 30, 0.35) 1px, transparent 1px),
		linear-gradient(rgba(255, 185, 30, 0.18) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 185, 30, 0.18) 1px, transparent 1px);
	background-size: 40px 40px, 40px 40px, 160px 160px, 160px 160px;
	-webkit-mask-image: radial-gradient(circle 0px at var(--mx, 0) var(--my, 0), black 30%, transparent 70%);
	mask-image: radial-gradient(circle 0px at var(--mx, 0) var(--my, 0), black 30%, transparent 70%);
	will-change: mask-image, -webkit-mask-image;
}

.hero-grid-glow.reveal-mask {
	-webkit-mask-image: radial-gradient(circle 200px at var(--mx, 0) var(--my, 0), black 30%, transparent 70%);
	mask-image: radial-gradient(circle 200px at var(--mx, 0) var(--my, 0), black 30%, transparent 70%);
}

/* On touch devices — hide gold grid completely */
@media (hover: none) and (pointer: coarse) {
	.hero-grid-glow {
		display: none;
	}
}

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	will-change: transform;
}

.hero-glow--1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(255, 94, 20, 0.12) 0%, transparent 70%);
	top: -200px;
	right: -150px;
	animation: hero-glow-float 8s ease-in-out infinite alternate;
}

.hero-glow--2 {
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(100, 140, 255, 0.08) 0%, transparent 70%);
	bottom: -100px;
	left: -100px;
	animation: hero-glow-float 10s ease-in-out infinite alternate-reverse;
}

@keyframes hero-glow-float {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(40px, -30px) scale(1.1); }
}

/* ==============================
   Container
   ============================== */

.hero-container {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 4;
	padding-top: var(--header-height);
	padding-bottom: 0;
	gap: 24px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	align-content: center;
}

/* ==============================
   Content Layout
   ============================== */

.hero-content {
	max-width: 820px;
	padding: 32px 0;
}

/* ==============================
   AI Supermind Orb (right side)
   ============================== */

.hero-orb {
	flex-shrink: 0;
	width: 520px;
	height: 740px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-right: 10px;
	opacity: 0;
	transform: translateX(30px) scale(0.95);
	animation: hero-orb-in 0.9s ease 0.9s forwards;
}

.hero-orb-svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}

@keyframes hero-orb-in {
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

/* ==============================
   Tags
   ============================== */

.hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px 7px 14px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 100px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: all 0.3s ease;
	cursor: default;
}

.hero-tag:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 94, 20, 0.35);
	color: #fff;
	transform: translateY(-1px);
}

.hero-tag-icon {
	flex-shrink: 0;
	color: var(--color-primary);
	opacity: 0.9;
}

/* ==============================
   Title
   ============================== */

.hero-title {
	font-family: var(--font-heading);
	font-size: 52px;
	font-weight: 700;
	line-height: 1.12;
	color: var(--color-white);
	margin-bottom: 0;
	letter-spacing: -0.02em;
}

.hero-title-accent {
	color: var(--color-primary);
	text-shadow: 0 0 40px rgba(255, 94, 20, 0.25);
	position: relative;
}

/* ==============================
   Divider
   ============================== */

.hero-divider {
	width: 60px;
	height: 3px;
	background: var(--color-primary);
	border-radius: 2px;
	margin: 22px 0;
	opacity: 0.7;
}

/* ==============================
   Subtitle
   ============================== */

.hero-subtitle {
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 32px;
	max-width: 580px;
	font-weight: 400;
}

/* ==============================
   CTA Group
   ============================== */

.hero-cta-group {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.hero-btn {
	padding: 16px 34px;
	font-size: 17px;
	gap: 10px;
}

.hero-btn svg {
	transition: transform 0.3s ease;
}

.hero-btn:hover svg {
	transform: translateX(4px);
}

.hero-expert {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.45);
	max-width: 240px;
}

.hero-expert svg {
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.3);
}

.hero-expert-highlight {
	color: #ffffff;
	font-weight: 600;
}

.hero-expert-muted {
	color: rgba(255, 255, 255, 0.45);
	font-size: 13px;
}

/* ==============================
   Stats Bar (bottom of hero)
   ============================== */

.hero-stats {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 4;
	padding: 16px 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-stats-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
}

.hero-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 40px 8px 0;
}

.hero-stat-number {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	color: var(--color-white);
	letter-spacing: -0.02em;
}

.hero-stat-label {
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: rgba(255, 255, 255, 0.45);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hero-stat-divider {
	width: 1px;
	height: 32px;
	background: rgba(255, 255, 255, 0.1);
	margin-right: 40px;
	flex-shrink: 0;
}

/* ==============================
   Scroll Indicator
   ============================== */

.hero-scroll-indicator {
	position: fixed;
	bottom: 40px;
	right: 40px;
	z-index: 3;
	color: rgba(255, 255, 255, 0.3);
	pointer-events: none;
	animation: scroll-indicator-fade 3s ease-in-out infinite;
}

@keyframes scroll-indicator-fade {
	0%, 100% { opacity: 0.3; }
	50% { opacity: 0.7; }
}

/* ==============================
   Reveal Animations (entry)
   ============================== */

.hero-tags .hero-tag {
	opacity: 0;
	transform: translateY(16px);
	animation: hero-fade-up 0.6s ease forwards;
}

.hero-tags .hero-tag:nth-child(1) { animation-delay: 0.1s; }
.hero-tags .hero-tag:nth-child(2) { animation-delay: 0.2s; }
.hero-tags .hero-tag:nth-child(3) { animation-delay: 0.3s; }

.hero-title {
	opacity: 0;
	transform: translateY(20px);
	animation: hero-fade-up 0.7s ease 0.25s forwards;
}

.hero-divider {
	opacity: 0;
	transform: scaleX(0);
	animation: hero-scale-x 0.6s ease 0.5s forwards;
}

.hero-subtitle {
	opacity: 0;
	transform: translateY(16px);
	animation: hero-fade-up 0.6s ease 0.55s forwards;
}

.hero-cta-group {
	opacity: 0;
	transform: translateY(16px);
	animation: hero-fade-up 0.6s ease 0.7s forwards;
}

.hero-stats {
	opacity: 0;
	animation: hero-fade-in 0.8s ease 0.9s forwards;
}

@keyframes hero-fade-up {
	to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-in {
	to { opacity: 1; }
}

@keyframes hero-scale-x {
	to { opacity: 0.7; transform: scaleX(1); }
}
