/*
  Component — Feature Cards (推薦功能)
  ─────────────────────────────────────
  Three elegant cards, each with a circular radial-gradient
  glow anchored to the bottom-right corner.
  Accent colour is set per-card via --card-glow (background colour)
  and --card-icon-bg (icon tray colour).
*/

.feature-cards {
  padding: var(--space-4) 0 var(--space-6);
}

/* ── Section header ─────────────────────────────── */
.feature-cards__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.feature-cards__title {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

/* ── Card list ──────────────────────────────────── */
.feature-cards__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ── Card ───────────────────────────────────────── */
.feature-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);

  /* White surface + circular glow at bottom-right */
  background:
    radial-gradient(
      circle at 94% 88%,
      var(--card-glow, rgba(10, 120, 209, 0.20)),
      transparent 56%
    ),
    var(--color-surface);

  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);

  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.12s, transform 0.12s;
}

.feature-card:active {
  opacity: 0.80;
  transform: scale(0.985);
}

/* ── Icon tray ──────────────────────────────────── */
.feature-card__icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--card-icon-bg, rgba(10, 120, 209, 0.10));
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ── Body ────────────────────────────────────────── */
.feature-card__body {
  flex: 1;
  min-width: 0;
}

.feature-card__name {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: 3px;
}

.feature-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-tertiary);
  line-height: 1.4;
}

/* ── Chevron ─────────────────────────────────────── */
.feature-card__arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.32;
}
