/* ══════════════════════════════════════
   FEATURES
   ══════════════════════════════════════ */

.features {
  background: white;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child {
  margin-bottom: 0;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}

.feature-heading {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--navy-dk);
  margin-bottom: 14px;
  line-height: 1.25;
}

.feature-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.feature-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8l3 3 6-6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feature-visual {
  background: var(--off);
  border-radius: 14px;
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(39, 76, 120, 0.06) 0%,
    transparent 70%
  );
}

/* ── Billing visual (inside a feature-visual block) ── */
.invoice-preview {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  font-size: 0.75rem;
}
.invoice-top {
  background: var(--navy);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.invoice-top-title {
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
}
.invoice-top-badge {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
}
.invoice-row {
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text);
}
.invoice-row:last-child {
  border-bottom: none;
}
.invoice-row-label {
  color: var(--muted);
}
.invoice-row-total {
  font-weight: 600;
  color: var(--navy);
}
.invoice-payment {
  background: #f0fdf4;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
}
.payment-method {
  color: #15803d;
  font-weight: 500;
}

/* ── Session tracker visual (inside a feature-visual block) ── */
.session-tracker {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 16px;
}
.session-patient {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.session-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.session-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.session-case {
  font-size: 0.72rem;
  color: var(--muted);
}
.session-bar-wrap {
  margin-bottom: 10px;
}
.session-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.session-bar-label span {
  color: var(--navy);
  font-weight: 600;
}
.session-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.session-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  border-radius: 3px;
}
.session-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.session-pill {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}
