/* ==========================================================================
   CyFun Tool - Home / Landing Page Styles
   ========================================================================== */

/* --- Hero Section --- */
.hero {
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* --- Variant A: Full Banner with Shield Visual --- */
.hero--banner {
  background: linear-gradient(135deg, #111111 0%, #1a2e0a 50%, #0d2606 100%);
  color: #ffffff;
  padding: var(--space-3xl) var(--space-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero--banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(51, 153, 17, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero--banner::after {
  content: '';
  position: absolute;
  right: 60px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(51, 153, 17, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  flex: 1;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-md);
  color: #ffffff;
}

.hero__title span {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.hero__visual {
  flex-shrink: 0;
  z-index: 1;
  opacity: 0.9;
}

.hero__shield {
  width: 180px;
  height: 200px;
  position: relative;
}

.hero__shield svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(51, 153, 17, 0.3));
}

/* --- Variant B: Stats Strip --- */
.hero--stats {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-2xl);
}

.hero--stats .hero__title {
  color: var(--color-dark);
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
}

.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* --- Variant C: Steps / Process Flow --- */
.hero--steps {
  background: linear-gradient(135deg, #fafffe 0%, #f0f9ee 100%);
  border: 1px solid var(--color-primary-border);
  padding: var(--space-xl) var(--space-2xl);
}

.hero--steps .hero__title {
  color: var(--color-dark);
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.hero__steps-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-sm);
}

.hero__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 180px;
}

.hero__step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  margin-bottom: var(--space-sm);
}

.hero__step-title {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
  color: var(--color-dark);
}

.hero__step-desc {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.hero__step-arrow {
  color: var(--color-primary);
  margin-top: 12px;
  flex-shrink: 0;
  opacity: 0.5;
}

/* --- Variant D: Combined (Banner + Stats + Steps) --- */
.hero--combined {
  background: linear-gradient(135deg, #111111 0%, #1a2e0a 60%, #0d2606 100%);
  color: #ffffff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero--combined::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(51, 153, 17, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__combined-top {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  padding: var(--space-3xl) var(--space-3xl) var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero--combined .hero__subtitle {
  margin-bottom: 0;
}

.hero__combined-stats {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-lg) var(--space-3xl);
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.hero__combined-stat {
  text-align: center;
  flex: 1;
}

.hero__combined-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.hero__combined-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.hero__combined-bottom {
  display: flex;
  gap: var(--space-3xl);
  padding: var(--space-xl) var(--space-3xl);
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
  justify-content: center;
}

.hero__combined-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  max-width: 200px;
  text-align: center;
}

.hero__combined-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.hero__combined-step-text {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.hero__combined-step-text strong {
  color: #ffffff;
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 2px;
}

/* --- Hero Combined Actions --- */
.hero__combined-actions {
  padding: var(--space-md) var(--space-3xl) var(--space-lg);
  text-align: center;
  position: relative;
  z-index: 1;
}

.btn--nis2-scope {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn--nis2-scope:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

/* --- Variant Selector (temp, for user to choose) --- */
.hero-selector {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.hero-selector__btn {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.hero-selector__btn:hover {
  background: var(--color-bg);
}

.hero-selector__btn.active {
  background: var(--color-primary);
  color: #ffffff;
}
