/* ==========================================================================
   MONEYMAP FEATURES PAGE CSS
   Feature Deep-Dives, Interactive Feature Explorer, Comparison Table
   ========================================================================== */

.features-hero {
  padding: 100px 0 60px;
  text-align: center;
}

/* Feature Deep-Dive Alternating Sections */
.feature-deep-dive {
  padding: 70px 0;
}

.feature-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-split-row.reversed {
  direction: rtl;
}

.feature-split-row.reversed > * {
  direction: ltr;
}

.feature-info h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.25;
}

.feature-info p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-primary);
}

.check-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Feature Visual Panels / Previews */
.feature-preview-panel {
  background: linear-gradient(145deg, rgba(22, 31, 64, 0.8) 0%, rgba(12, 17, 36, 0.95) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.panel-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
}

.badge-pill {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Feature Interactive Interactive Card Items */
.ledger-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: all var(--trans-fast);
}

.ledger-item-row:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
}

.ledger-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ledger-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ledger-item-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.ledger-item-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ledger-item-amount {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: right;
}

.amount-positive { color: var(--emerald-light); }
.amount-negative { color: var(--rose); }

/* Feature Comparison Table */
.comparison-section {
  padding: 100px 0;
  position: relative;
}

.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--grad-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 10px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: rgba(99, 102, 241, 0.1);
  border-left: 1px solid rgba(99, 102, 241, 0.3);
  border-right: 1px solid rgba(99, 102, 241, 0.3);
}

.comparison-table td {
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.table-check {
  color: var(--emerald-light);
  font-size: 1.2rem;
  font-weight: 800;
}

.table-cross {
  color: var(--text-dim);
  font-size: 1.1rem;
}
