/* ============================================================
   SchoolFMS — Features Page (features.css)
   ============================================================ */

/* ── Feature Sections ── */
.feat-section { padding: 90px 6%; background: var(--white); }
.feat-section.alt { background: var(--light); }
.feat-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.feat-inner.reverse { direction: rtl; }
.feat-inner.reverse > * { direction: ltr; }

.feat-title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin: 10px 0 16px; }
.feat-title em { font-style: italic; color: var(--blue); }
.feat-text > p { font-size: 0.93rem; color: var(--gray); line-height: 1.85; margin-bottom: 24px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-list li {
  font-size: 0.875rem; color: var(--gray);
  padding-left: 22px; position: relative;
}
.feat-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--green); font-weight: 700; font-size: 0.75rem;
}

/* Feature Visuals */
.feat-visual {
  border-radius: var(--radius-lg);
  padding: 32px;
}
.feat-visual.blue-bg   { background: linear-gradient(135deg, rgba(26,86,219,0.06), rgba(56,189,248,0.04)); border: 1px solid rgba(26,86,219,0.1); }
.feat-visual.green-bg  { background: linear-gradient(135deg, rgba(5,150,105,0.06), rgba(16,185,129,0.04)); border: 1px solid rgba(16,185,129,0.1); }
.feat-visual.gold-bg   { background: linear-gradient(135deg, rgba(217,119,6,0.06), rgba(245,158,11,0.04)); border: 1px solid rgba(245,158,11,0.1); }
.feat-visual.purple-bg { background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(167,139,250,0.04)); border: 1px solid rgba(124,58,237,0.1); }
.feat-visual.teal-bg   { background: linear-gradient(135deg, rgba(8,145,178,0.06), rgba(56,189,248,0.04)); border: 1px solid rgba(8,145,178,0.1); }

.fv-mock { background: var(--white); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); }
.fvm-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-bottom: 16px; }

/* Fee table mock */
.fvm-table { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.fvt-row { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 8px; padding: 8px 10px; border-radius: 7px; font-size: 0.75rem; align-items: center; }
.fvt-row.head { font-weight: 700; color: var(--gray-light); font-size: 0.68rem; text-transform: uppercase; }
.fvt-row:not(.head) { background: var(--light); color: var(--navy); }
.fvm-summary { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--gray); padding-top: 12px; border-top: 1px solid var(--border); }

/* Salary slip mock */
.fvm-slip { display: flex; flex-direction: column; gap: 0; }
.fvs-row { display: flex; justify-content: space-between; font-size: 0.78rem; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--navy); }
.fvs-row.deduct span:last-child { color: var(--red); }
.fvs-row.total { font-weight: 700; border: none; padding-top: 12px; }
.fvs-row.total span:last-child { color: var(--green); font-family: var(--font-display); font-size: 1rem; }

/* Expense bars mock */
.fvm-bars { display: flex; flex-direction: column; gap: 12px; }
.fvb-row { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; }
.fvb-row span:first-child { width: 80px; color: var(--gray); }
.fvb-row span:last-child { width: 72px; text-align: right; color: var(--navy); font-weight: 600; }
.fvb-track { flex: 1; height: 6px; background: var(--border); border-radius: 10px; overflow: hidden; }
.fvb-fill { height: 100%; border-radius: 10px; animation: barGrow 1s ease 0.3s both; }

/* Metrics mock */
.fvm-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.fvm-metric { text-align: center; background: var(--light); border-radius: var(--radius-sm); padding: 14px; }
.fvm-m-val { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.fvm-m-lbl { font-size: 0.66rem; color: var(--gray); margin-top: 4px; }

/* Responsive */
@media (max-width: 960px) {
  .feat-inner { grid-template-columns: 1fr; gap: 40px; }
  .feat-inner.reverse { direction: ltr; }
}
