/* ============================================
   RCC - Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-900);
  padding-top: 72px;
}

/* Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

[data-theme="dark"] .hero__bg-img {
  opacity: 0.15;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 31, 168, 0.92) 0%,
    rgba(10, 12, 80, 0.85) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

/* Geometric Accent */
.hero__accent {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.12) 0%, transparent 70%);
  z-index: 1;
}

.hero__accent-2 {
  position: absolute;
  left: 40%;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(240, 165, 0, 0.15);
  border-radius: 50%;
  z-index: 1;
  animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

/* Diagonal bar */
.hero__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-primary);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--rcc-yellow);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero__eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rcc-yellow);
  font-weight: 600;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero__title span {
  color: var(--rcc-yellow);
  display: block;
}

.hero__title .word-outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

/* Stats bar */
.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s ease 0.6s both;
  flex-wrap: wrap;
}

.hero__stat-item {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero__stat-number span {
  color: var(--rcc-yellow);
}

.hero__stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Side Image */
.hero__side {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.3);
}

.hero__side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 31, 168, 0.95) 0%, transparent 100%);
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
  animation: fadeIn 1s ease 1s both;
}

.hero__scroll-text {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__side { display: none; }
  .hero__title { font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .hero__stats { gap: 24px; }
}

@media (max-width: 600px) {
  .hero__actions { flex-direction: column; }
  .hero__stats { gap: 20px; }
  .hero__stat-number { font-size: 2rem; }
}