/* ============================================================
   10-features.css — features capability matrix
   Module: <section id="features">
   8-card grid, dark navy background to break up the page rhythm
   between Portfolio (white) and About (white).
   ============================================================ */

#features {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #082840 0%, #0F3B5F 100%);
  color: var(--c-white);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#features .section-head .eyebrow { color: var(--c-yellow); }
#features .section-head h2 { color: var(--c-white); }
#features .section-head p { color: rgba(255, 255, 255, 0.78); }

.features-tag-inline {
  display: inline-block;
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: var(--c-yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
}

/* ---- Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}

/* ---- Card ---- */
.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.feature-card-icon {
  width: 44px; height: 44px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.30);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--c-yellow);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.01em;
  margin: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 22px;
  position: relative;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(21, 97, 45, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3,8 6.5,11.5 13,5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- "Born to Build" delivered tag ---- */
.feature-tag {
  align-self: flex-start;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: var(--c-yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-top: auto;
}
.feature-tag::before {
  content: "✓ Delivered: ";
  color: rgba(255, 215, 0, 0.7);
  font-weight: 600;
}

/* ---- Bottom CTA strip ---- */
.features-cta {
  margin-top: var(--s-7);
  padding: var(--s-5);
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.20);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.features-cta p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}
.features-cta strong {
  color: var(--c-white);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .features-cta { flex-direction: column; text-align: center; }
  .features-cta .btn { width: 100%; justify-content: center; }
}
