/* ============================================
   features.css — Features page specific styles
   Egyptian / Valley of the Kings palette
   ============================================ */

/* ---- NAV ACTIVE STATE ---- */
.nav-active { color: var(--primary) !important; }

/* ============================================
   CORE FEATURES GRID
   ============================================ */
.feat-core-section {
  padding: 5rem 0 5rem;
  background: var(--bg);
}
.feat-core-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.feat-core-inner .section-title {
  margin-bottom: 0.75rem;
}
.feat-core-inner .section-title em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--secondary);
}
.feat-core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feat-core-card {
  background: var(--surface);
  border: 1px solid rgba(200, 132, 26, 0.2);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(100, 60, 10, 0.08);
}
.feat-core-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feat-core-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 132, 26, 0.4);
  box-shadow: 0 16px 40px rgba(100, 60, 10, 0.15);
}
.feat-core-card:hover::after {
  transform: scaleX(1);
}
.feat-core-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}
.feat-core-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.feat-core-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================
   PASTURE / WHY US SECTION
   ============================================ */
.pasture-section {
  background: var(--bg-2);
  padding: 5rem 0;
  border-top: 1px solid rgba(200, 132, 26, 0.18);
  border-bottom: 1px solid rgba(200, 132, 26, 0.18);
}
.pasture-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.pasture-inner .section-title {
  margin-bottom: 3rem;
}
.pasture-inner .section-title em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--secondary);
}
.pasture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pasture-card {
  background: var(--surface);
  border: 1px solid rgba(200, 132, 26, 0.15);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(100, 60, 10, 0.07);
}
.pasture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(100, 60, 10, 0.14);
}
.pasture-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: rgba(200, 132, 26, 0.25);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.pasture-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.pasture-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare-section {
  padding: 5rem 0 6rem;
  background: var(--bg);
}
.compare-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.compare-inner .section-title {
  margin-bottom: 0.75rem;
}
.compare-inner .section-title em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--primary);
}
.compare-table-wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(200, 132, 26, 0.25);
  box-shadow: 0 8px 40px rgba(100, 60, 10, 0.1);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 1rem;
}
.compare-table thead tr {
  background: var(--primary);
}
.compare-table thead th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #F5E6C4;
  border: none;
}
.compare-table thead th.col-us {
  background: var(--secondary);
  text-align: center;
}
.compare-table thead th.col-them {
  background: rgba(100, 60, 10, 0.35);
  text-align: center;
}
.th-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.th-us { color: #F5E6C4; }
.th-them { color: rgba(245, 230, 196, 0.7); }

.compare-table tbody tr {
  background: var(--surface);
  border-bottom: 1px solid rgba(200, 132, 26, 0.1);
  transition: background 0.2s ease;
}
.compare-table tbody tr:hover {
  background: var(--surface-2);
}
.compare-table tbody tr.row-alt {
  background: var(--bg-3);
}
.compare-table tbody tr.row-alt:hover {
  background: var(--bg-2);
}
.compare-table tbody tr:last-child {
  border-bottom: none;
}
.compare-table td {
  padding: 1rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.compare-table td:first-child {
  color: var(--text);
  font-weight: 400;
}
.check-cell {
  text-align: center;
  width: 140px;
}
.check-yes {
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: bold;
}
.check-no {
  color: var(--tertiary);
  font-size: 1rem;
  opacity: 0.7;
}
.check-extra {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.5px;
  color: var(--tertiary);
  background: rgba(123, 45, 62, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.4;
}
.check-limited {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  color: #9C7040;
  background: rgba(156, 112, 64, 0.12);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}
.compare-note {
  margin-top: 2rem;
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .feat-core-grid { grid-template-columns: 1fr 1fr; }
  .pasture-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .feat-core-grid { grid-template-columns: 1fr; }
  .pasture-grid { grid-template-columns: 1fr; }
  .compare-table td, .compare-table th { padding: 0.85rem 1rem; }
}
