/* === Hero Section === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-20) 0 var(--space-16);
}

.hero--full {
  min-height: 100vh;
}

.hero--sm {
  min-height: auto;
  padding: var(--space-16) 0 var(--space-12);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-secondary-rgb), 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

/* === Grid pattern overlay === */
.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero--center .hero__content {
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: var(--fs-6xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero--center .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero--center .hero__actions {
  justify-content: center;
}

/* === Hero with side image === */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__visual {
  position: relative;
}

/* === Floating elements === */
.hero__float {
  position: absolute;
  padding: var(--space-3) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: floatCard 6s ease-in-out infinite;
}

.hero__float--1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.hero__float--2 {
  bottom: 20%;
  left: -20px;
  animation-delay: -2s;
}

.hero__float--3 {
  bottom: 5%;
  right: 10%;
  animation-delay: -4s;
}

/* === Page Hero (subpages) === */
.page-hero {
  padding: var(--space-16) 0 var(--space-12);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero .hero__grid-pattern {
  opacity: 0.5;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.page-hero__breadcrumb a {
  color: var(--text-secondary);
}

.page-hero__breadcrumb a:hover {
  color: var(--accent-primary);
}

.page-hero__breadcrumb span {
  color: var(--accent-primary);
}
