/* ===========================================
   features.css — Warm Aura Design System
   Bento cards: outlined style (border+transparent bg, light shadow)
   =========================================== */

/* ========= HERO SPLIT ========= */
.f-hero {
  padding: calc(68px + var(--space-3xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.f-hero::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(196,84,75,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.f-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.f-hero-left .page-breadcrumb {
  margin-bottom: var(--space-lg);
}

.f-hero-left .section-title {
  max-width: 520px;
}

.f-hero-left .section-description {
  margin-bottom: var(--space-lg);
}

.f-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Right column — metrics stack */
.f-hero-right {
  display: flex;
  justify-content: center;
}

.f-hero-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 300px;
}

.f-metric-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}

.f-metric-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.f-metric-value {
  font-size: 30px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  min-width: 54px;
  text-align: center;
}

.f-metric-value i {
  -webkit-text-fill-color: initial;
  color: var(--primary);
  font-size: 22px;
}

.f-metric-label {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ========= DOMAIN GROUPS ========= */
.f-domains {
  padding-bottom: var(--space-2xl);
}

.f-domains-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.f-domain-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.f-domain-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.f-domain-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.f-domain-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
  max-width: 480px;
}

/* Domain grids */
.f-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.f-domain-grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

.f-domain-grid-single {
  grid-template-columns: 1fr;
  max-width: 400px;
}

/* Feature cards */
.f-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}

.f-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.f-card-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 17px;
  flex-shrink: 0;
  margin-bottom: var(--space-sm);
  transition: background 0.3s ease, transform 0.3s ease;
}

.f-card:hover .f-card-icon {
  background: rgba(196,84,75,0.15);
  transform: scale(1.05);
}

.f-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.f-card-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.f-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

.f-tag {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.f-tag-cat {
  color: var(--text-tertiary);
  border: 1px solid var(--border-strong);
  background: transparent;
}

/* ========= FEATURED HIGHLIGHTS ========= */
.f-highlights {
  padding: var(--space-2xl) 0;
  background: var(--bg-soft);
}

.f-highlights-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.f-highlights-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.f-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-md);
}

.f-highlight-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.f-highlight-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.f-highlight-card-primary {
  grid-column: span 1;
}

.f-highlight-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.f-highlight-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 22px;
  margin-bottom: var(--space-sm);
}

.f-highlight-card h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.f-highlight-card p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========= CTA ========= */
.f-cta {
  padding: var(--space-2xl) 0 var(--space-3xl);
  text-align: center;
}

.f-cta-body {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.f-cta h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.f-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.f-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .f-highlights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .f-domain-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .f-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  .f-hero-left .section-title {
    max-width: 100%;
  }
  .f-hero-left .section-description {
    max-width: 100%;
    margin: 0 auto var(--space-lg);
  }
  .f-hero-actions {
    justify-content: center;
  }
  .f-hero-metrics {
    max-width: 100%;
  }
  .f-metric-card {
    justify-content: center;
  }
  .f-hero {
    padding-top: calc(68px + var(--space-2xl));
    padding-bottom: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .f-domain-grid,
  .f-domain-grid-3col {
    grid-template-columns: 1fr;
  }
  .f-domain-grid-single {
    max-width: 100%;
  }
  .f-highlights-grid {
    grid-template-columns: 1fr;
  }
  .f-highlight-card-primary {
    grid-column: span 1;
  }
  .f-highlights {
    padding: var(--space-xl) 0;
  }
  .f-cta {
    padding: var(--space-xl) 0 var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .f-hero-title {
    font-size: 28px;
  }
  .f-metric-value {
    font-size: 24px;
    min-width: 44px;
  }
  .f-card {
    padding: var(--space-sm);
  }
  .f-domain-header {
    flex-wrap: wrap;
  }
}
