/* ═══════════════════════════════════════════
   FEATURES GRID — SolarVisionX Modern Layout
   Aesthetic: Clean Glassmorphism / Responsive 3-Column Grid
═══════════════════════════════════════════ */

.features {
  padding: var(--sp-16) 0 var(--sp-20);
  background: var(--bg-canvas);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.features .container {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-12);
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-xlight);
  border: 1px solid var(--brand-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-3);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

/* ── Features Grid (Modern Responsive Auto-Fit) ── */
.nexus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 640px) {
  .nexus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nexus-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Feature Card ── */
.feat-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-light);
  box-shadow: 0 20px 40px -15px var(--brand-glow), var(--shadow-md);
  background: var(--bg-card-hover);
}

.feat-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Icon Wrap ── */
.feat-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--brand-glow-sm);
}

.feat-card__icon-wrap--amber { 
  background: var(--brand-xlight); 
  color: var(--brand-dark); 
  border: 1px solid var(--brand-light); 
}

.feat-card__icon-wrap--green { 
  background: rgba(34, 197, 94, 0.12); 
  color: #16A34A; 
  border: 1px solid rgba(34, 197, 94, 0.25); 
}

.feat-card__icon-wrap--blue { 
  background: rgba(59, 130, 246, 0.12); 
  color: #2563EB; 
  border: 1px solid rgba(59, 130, 246, 0.25); 
}

.feat-card__icon-wrap--red { 
  background: rgba(239, 68, 68, 0.12); 
  color: #DC2626; 
  border: 1px solid rgba(239, 68, 68, 0.2); 
}

/* ── Card Text ── */
.feat-card__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.45rem 0;
  line-height: 1.3;
}

.feat-card__body {
  font-size: 0.92rem;
  color: var(--ink-500);
  line-height: 1.6;
  margin: 0;
}
