/* Nexus Website - Hero snippet styles */

/* ─── CSS VARIABLES ─── */
:root {
  --red: #e02040;
  --crimson: #c01030;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.12);
}

/* ─── HERO ─── */
.s_nexus_hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 60px 100px;
  background: radial-gradient(ellipse 80% 80% at 60% 50%, #2a0f80 0%, #0d0730 60%);
}

.s_nexus_hero .orb-1 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  width: 600px;
  height: 600px;
  background: #4b20d0;
  top: -100px;
  right: -100px;
  animation: s_nexus_drift 8s ease-in-out infinite alternate;
}

.s_nexus_hero .orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  width: 400px;
  height: 400px;
  background: var(--red);
  bottom: -150px;
  right: 200px;
  animation: s_nexus_drift 8s ease-in-out infinite alternate;
  animation-delay: -3s;
  opacity: 0.15;
}

@keyframes s_nexus_drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, -30px) scale(1.08);
  }
}

.s_nexus_hero_content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding-right: 20px;
}

.s_nexus_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-family:'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
  opacity: 0;
  animation: s_nexus_fadeUp 0.8s 0.2s forwards;
}

.s_nexus_eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--red);
}

.s_nexus_hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: s_nexus_fadeUp 0.9s 0.35s forwards;
}

.s_nexus_accent {
  color: var(--red);
}

.s_nexus_subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 48px;
  opacity: 0;
  animation: s_nexus_fadeUp 0.9s 0.5s forwards;
}

.s_nexus_hero_actions {
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: s_nexus_fadeUp 0.9s 0.65s forwards;
}

.s_nexus_btn_primary {
  font-family: 'DM Sans', sans-serif;
  background: var(--red);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 30px rgba(224, 32, 64, 0.3);
}

.s_nexus_btn_primary:hover {
  background: var(--crimson);
  color:var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(224, 32, 64, 0.45);
}

.s_nexus_btn_ghost {
 background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 400;
    border: 1px solid var(--border);
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, background 0.2s;
}

.s_nexus_btn_ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05) !important;
}

/* ─── HERO STATS ─── */
.s_nexus_hero_stats {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  opacity: 0;
  animation: s_nexus_fadeLeft 1s 0.9s forwards;
}

.s_nexus_stat_card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 140px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.s_nexus_stat_card:hover {
  transform: translateX(-6px);
  background: rgba(255, 255, 255, 0.1);
}

.s_nexus_stat_num {
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.s_nexus_stat_label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
  letter-spacing: 0.5px;
}

@keyframes s_nexus_fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes s_nexus_fadeLeft {
  from {
    opacity: 0;
    transform: translate(18px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
