/* ==========================================================================
   DISPATCHERPRO - FLEET MANAGERS SOLUTIONS PAGE STYLESHEET
   ========================================================================== */

:root {
  --fm-primary: #2563eb;
  --fm-primary-dark: #1e40af;
  --fm-primary-light: #eff6ff;
  --fm-accent-cyan: #06b6d4;
  --fm-accent-emerald: #10b981;
  --fm-accent-purple: #8b5cf6;
  --fm-dark-bg: #0b132b;
  --fm-card-dark: #1c2541;
  --fm-heading: #0f172a;
  --fm-muted: #475569;
  --fm-light-bg: #f8fafc;
  --fm-border: #e2e8f0;
  --fm-radius-xl: 24px;
  --fm-radius-lg: 16px;
  --fm-radius-md: 12px;
  --fm-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --fm-shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  --fm-shadow-lg: 0 20px 35px -8px rgba(37, 99, 235, 0.15);
  --fm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Container Base */
main.fm-main-wrapper {
  background-color: #ffffff;
  color: var(--fm-heading);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
}

.fm-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Common Section Header */
.fm-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.fm-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fm-primary);
  background: var(--fm-primary-light);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.fm-section-title {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--fm-heading);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.fm-section-title span.fm-gradient-text {
  background: linear-gradient(135deg, var(--fm-primary) 0%, var(--fm-accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fm-section-desc {
  font-size: 1.125rem;
  color: var(--fm-muted);
  line-height: 1.65;
}

/* Buttons & CTAs */
.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--fm-transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.fm-btn-primary {
  background: linear-gradient(135deg, var(--fm-primary) 0%, var(--fm-primary-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.fm-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.fm-btn-secondary {
  background: #ffffff;
  color: var(--fm-heading) !important;
  border: 1px solid var(--fm-border);
  box-shadow: var(--fm-shadow-sm);
}

.fm-btn-secondary:hover {
  border-color: var(--fm-primary);
  color: var(--fm-primary) !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.fm-hero-section {
  padding: 4.5rem 0 5rem;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
              #ffffff;
  position: relative;
}

.fm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.fm-hero-content h1 {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fm-heading);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.fm-hero-content p.fm-hero-sub {
  font-size: 1.15rem;
  color: var(--fm-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.fm-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

/* Telemetry Card Widget */
.fm-hero-widget {
  background: var(--fm-dark-bg);
  border-radius: var(--fm-radius-xl);
  padding: 1.8rem;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(11, 19, 43, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.fm-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.fm-widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.fm-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.fm-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  animation: fmPulse 1.8s infinite;
}

@keyframes fmPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.fm-widget-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fm-widget-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--fm-radius-md);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fm-widget-stat-card .lbl {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.fm-widget-stat-card .val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.fm-widget-stat-card .trend {
  font-size: 0.75rem;
  color: #34d399;
  margin-top: 4px;
}

.fm-widget-live-feed {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--fm-radius-md);
  padding: 1rem;
}

.fm-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.fm-feed-item:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   2. METRICS / STATS BAR
   -------------------------------------------------------------------------- */
.fm-stats-bar {
  background: var(--fm-light-bg);
  padding: 3rem 0;
  border-top: 1px solid var(--fm-border);
  border-bottom: 1px solid var(--fm-border);
}

.fm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.fm-stat-box {
  text-align: center;
  padding: 1.8rem 1.5rem;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: var(--fm-radius-lg);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--fm-transition);
  position: relative;
  overflow: hidden;
}

.fm-stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fm-primary) 0%, var(--fm-accent-cyan) 100%);
}

.fm-stat-box:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.fm-stat-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fm-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fm-stat-lbl {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fm-muted);
}

/* --------------------------------------------------------------------------
   3. CORE CAPABILITIES GRID
   -------------------------------------------------------------------------- */
.fm-capabilities-section {
  padding: 6rem 0;
}

.fm-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fm-cap-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%);
  border-radius: var(--fm-radius-xl);
  padding: 2.2rem;
  border: 1px solid var(--fm-border);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
  transition: var(--fm-transition);
  position: relative;
  overflow: hidden;
}

.fm-cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fm-primary) 0%, var(--fm-accent-cyan) 100%);
  opacity: 0.8;
  transition: var(--fm-transition);
}

.fm-cap-card:nth-child(1) { background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%); }
.fm-cap-card:nth-child(1)::before { background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%); }

.fm-cap-card:nth-child(2) { background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%); }
.fm-cap-card:nth-child(2)::before { background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%); }

.fm-cap-card:nth-child(3) { background: linear-gradient(145deg, #ffffff 0%, #ecfeff 100%); }
.fm-cap-card:nth-child(3)::before { background: linear-gradient(90deg, #06b6d4 0%, #38bdf8 100%); }

.fm-cap-card:nth-child(4) { background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%); }
.fm-cap-card:nth-child(4)::before { background: linear-gradient(90deg, #10b981 0%, #34d399 100%); }

.fm-cap-card:nth-child(5) { background: linear-gradient(145deg, #ffffff 0%, #fff7ed 100%); }
.fm-cap-card:nth-child(5)::before { background: linear-gradient(90deg, #f97316 0%, #fb923c 100%); }

.fm-cap-card:nth-child(6) { background: linear-gradient(145deg, #ffffff 0%, #fdf2f8 100%); }
.fm-cap-card:nth-child(6)::before { background: linear-gradient(90deg, #ec4899 0%, #f472b6 100%); }

.fm-cap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.fm-cap-card:hover::before {
  height: 6px;
  opacity: 1;
}

.fm-cap-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--fm-radius-md);
  background: var(--fm-primary-light);
  color: var(--fm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.fm-cap-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--fm-heading);
}

.fm-cap-card p {
  font-size: 0.98rem;
  color: var(--fm-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.fm-cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.fm-cap-list li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fm-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fm-cap-list li i {
  color: var(--fm-accent-emerald);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   4. COMMAND CENTER TABBED VIEW
   -------------------------------------------------------------------------- */
.fm-command-section {
  padding: 6rem 0;
  background: var(--fm-light-bg);
}

.fm-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.fm-tab-btn {
  padding: 14px 28px;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid var(--fm-border);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--fm-muted);
  cursor: pointer;
  transition: var(--fm-transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fm-tab-btn.active, .fm-tab-btn:hover {
  background: var(--fm-primary);
  color: #ffffff;
  border-color: var(--fm-primary);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.fm-tab-content {
  display: none;
  background: #ffffff;
  border-radius: var(--fm-radius-xl);
  padding: 3rem;
  border: 1px solid var(--fm-border);
  box-shadow: var(--fm-shadow-md);
  animation: fmFadeIn 0.4s ease-in-out;
}

.fm-tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

@keyframes fmFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fm-tab-desc h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.fm-tab-desc p {
  font-size: 1.05rem;
  color: var(--fm-muted);
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.fm-feature-bullets {
  display: grid;
  gap: 1rem;
}

.fm-bullet-item {
  display: flex;
  gap: 14px;
}

.fm-bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fm-primary-light);
  color: var(--fm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.fm-bullet-text h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.fm-bullet-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   5. LIVE FLEET ROI CALCULATOR
   -------------------------------------------------------------------------- */
.fm-roi-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
  color: #ffffff;
}

.fm-roi-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--fm-radius-xl);
  padding: 3.5rem 3rem;
  backdrop-filter: blur(10px);
}

.fm-roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fm-slider-group {
  margin-bottom: 2rem;
}

.fm-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #e2e8f0;
}

.fm-slider-val {
  color: var(--fm-accent-cyan);
  font-weight: 800;
  font-size: 1.15rem;
}

.fm-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #334155;
  outline: none;
  accent-color: var(--fm-accent-cyan);
  cursor: pointer;
}

.fm-roi-result-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--fm-radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.fm-roi-result-title {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.fm-roi-big-num {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fm-roi-sub-result {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   6. INTEGRATION ECOSYSTEM GRID
   -------------------------------------------------------------------------- */
.fm-integrations-section {
  padding: 6rem 0;
}

.fm-integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.fm-integration-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--fm-radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--fm-border);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.05);
  text-align: center;
  transition: var(--fm-transition);
}

.fm-integration-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.4);
}

.fm-int-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin: 0 auto 1.2rem;
  background: var(--fm-primary-light);
  color: var(--fm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.fm-integration-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.fm-integration-card p {
  font-size: 0.85rem;
  color: var(--fm-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. SAFETY & COMPLIANCE MATRIX
   -------------------------------------------------------------------------- */
.fm-compliance-section {
  padding: 6rem 0;
  background: var(--fm-light-bg);
}

.fm-compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fm-comp-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--fm-radius-xl);
  padding: 2.2rem;
  border: 1px solid var(--fm-border);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  transition: var(--fm-transition);
  position: relative;
  overflow: hidden;
}

.fm-comp-card:nth-child(1) { background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%); border-top: 4px solid var(--fm-primary); }
.fm-comp-card:nth-child(2) { background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%); border-top: 4px solid var(--fm-accent-emerald); }
.fm-comp-card:nth-child(3) { background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%); border-top: 4px solid var(--fm-accent-purple); }

.fm-comp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -8px rgba(15, 23, 42, 0.12);
}

.fm-comp-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.fm-badge-blue { background: rgba(37, 99, 235, 0.1); color: var(--fm-primary); }
.fm-badge-green { background: rgba(16, 185, 129, 0.1); color: var(--fm-accent-emerald); }
.fm-badge-purple { background: rgba(139, 92, 246, 0.1); color: var(--fm-accent-purple); }

/* --------------------------------------------------------------------------
   8. COMPARISON MATRIX (OLD WAY VS NEW WAY)
   -------------------------------------------------------------------------- */
.fm-comparison-section {
  padding: 6rem 0;
}

.fm-comparison-table-wrapper {
  background: #ffffff;
  border-radius: var(--fm-radius-xl);
  border: 1px solid var(--fm-border);
  box-shadow: var(--fm-shadow-md);
  overflow: hidden;
}

.fm-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.fm-comparison-table th, .fm-comparison-table td {
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--fm-border);
}

.fm-comparison-table th {
  background: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
}

.fm-comparison-table tr:last-child td {
  border-bottom: none;
}

.fm-col-feature { font-weight: 600; width: 35%; }
.fm-col-old { color: #ef4444; width: 30%; background: #fff5f5; }
.fm-col-new { color: #10b981; font-weight: 700; width: 35%; background: #f0fdf4; }

/* --------------------------------------------------------------------------
   9. WORKFLOW STEPS
   -------------------------------------------------------------------------- */
.fm-workflow-section {
  padding: 6rem 0;
  background: var(--fm-light-bg);
}

.fm-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  position: relative;
}

.fm-step-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 60%, #eff6ff 100%);
  border-radius: var(--fm-radius-lg);
  padding: 2rem;
  border: 1px solid var(--fm-border);
  border-top: 3px solid var(--fm-primary);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  position: relative;
  transition: var(--fm-transition);
}

.fm-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.4);
}

.fm-step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.2);
  margin-bottom: 1rem;
  line-height: 1;
}

.fm-step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.fm-step-card p {
  font-size: 0.9rem;
  color: var(--fm-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. TESTIMONIALS
   -------------------------------------------------------------------------- */
.fm-testimonials-section {
  padding: 6rem 0;
}

.fm-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fm-testi-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: var(--fm-radius-xl);
  padding: 2.2rem;
  border: 1px solid var(--fm-border);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--fm-transition);
}

.fm-testi-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 18px 35px -8px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.fm-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.fm-quote {
  font-size: 1rem;
  color: var(--fm-heading);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.fm-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fm-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--fm-primary-light);
  color: var(--fm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.fm-author-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.fm-author-info p {
  font-size: 0.8rem;
  color: var(--fm-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.fm-faq-section {
  padding: 6rem 0;
  background: var(--fm-light-bg);
}

.fm-faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.fm-faq-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--fm-radius-lg);
  border: 1px solid var(--fm-border);
  overflow: hidden;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
  transition: var(--fm-transition);
}

.fm-faq-item.active {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.fm-faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fm-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.fm-faq-icon {
  font-size: 1rem;
  color: var(--fm-primary);
  transition: transform 0.3s ease;
}

.fm-faq-item.active .fm-faq-icon {
  transform: rotate(180deg);
}

.fm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.8rem;
}

.fm-faq-item.active .fm-faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.5rem;
}

.fm-faq-answer p {
  font-size: 1rem;
  color: var(--fm-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. FINAL CTA BANNER
   -------------------------------------------------------------------------- */
.fm-cta-section {
  padding: 6rem 0;
}

.fm-cta-banner {
  background: linear-gradient(135deg, var(--fm-primary) 0%, var(--fm-primary-dark) 100%);
  border-radius: var(--fm-radius-xl);
  padding: 4.5rem 3rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
  overflow: hidden;
}

.fm-cta-banner h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.fm-cta-banner p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.2rem;
  opacity: 0.92;
}

/* RESPONSIVE DESIGN BREAKPOINTS */
@media (max-width: 1024px) {
  .fm-hero-grid, .fm-tab-content.active, .fm-roi-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .fm-caps-grid, .fm-compliance-grid, .fm-testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fm-stats-grid, .fm-integrations-grid, .fm-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fm-caps-grid, .fm-compliance-grid, .fm-testi-grid,
  .fm-stats-grid, .fm-integrations-grid, .fm-steps-grid {
    grid-template-columns: 1fr;
  }
  .fm-roi-box, .fm-cta-banner {
    padding: 2.5rem 1.5rem;
  }
  .fm-hero-section {
    padding: 3rem 0;
  }
}
