/* Feature page — requires index-styles.css */

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-lt) 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.025) 80px),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.025) 80px);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; max-width: none; }
.page-hero > .container > p { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin: 0 auto 36px; }

/* ── CORE MODULES ── */
.modules-section { background: var(--white); }

.modules-intro { max-width: 640px; margin: 0 auto 56px; }
.modules-intro h2 { margin-bottom: 16px; }
.modules-intro p { color: var(--muted); max-width: none; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.module-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,31,60,0.09);
}

.module-icon {
  width: 44px;
  height: 44px;
  background: var(--orange-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.module-icon svg { width: 22px; height: 22px; stroke: var(--orange); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.module-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; }
.module-card p { color: var(--muted); font-size: 0.9rem; max-width: none; }

/* ── SPLIT FEATURE SECTIONS ── */
.split-section { background: var(--white); }
.split-section.alt-bg { background: var(--off-white); }

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

.feature-split-content h2 { margin-bottom: 20px; }
.feature-split-content > p { color: var(--muted); margin-bottom: 28px; max-width: none; }
.feature-split-content .check-list { margin-bottom: 32px; }
.feature-split-content .check-list li { font-size: 0.95rem; }

.feature-split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(13,31,60,0.14);
  border: 1px solid var(--border);
  line-height: 0;
}
.feature-split-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── DASHBOARD SHOWCASE ── */
.dashboard-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.dashboard-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.02) 80px),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.02) 80px);
}
.dashboard-section .container { position: relative; }
.dashboard-section .section-label { color: var(--orange-lt); }
.dashboard-section h2 { color: var(--white); margin-bottom: 16px; max-width: none; }
.dashboard-section > .container > p { color: rgba(255,255,255,0.7); margin: 0 auto 40px; }

.dashboard-showcase {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  line-height: 0;
}
.dashboard-showcase img { width: 100%; height: auto; display: block; }

/* ── MANAGEMENT FEATURES ── */
.management-section { background: var(--off-white); }

.management-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.management-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.management-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,31,60,0.09);
}

.management-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.management-icon svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.management-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 12px; }
.management-card p { color: var(--muted); font-size: 0.9rem; max-width: none; }

/* ── FAQ ── */
.faq-section { background: var(--white); }

.faq-intro { max-width: 560px; margin: 0 auto 56px; }
.faq-intro h2 { margin-bottom: 16px; }
.faq-intro p { color: var(--muted); max-width: none; }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.faq-btn:hover { background: var(--steel-lt); }
.faq-btn.active { color: var(--orange); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.faq-btn.active .faq-icon { transform: rotate(180deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}
.faq-body p {
  padding: 0 20px 18px;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: none;
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 36px; }
  .management-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .modules-grid { grid-template-columns: 1fr; }
}
