/* ════════════════════════════════════════════════
   CBM Features Page — v1.0.0
   (c) 2026 cbm3.net
════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────── */
.cbmfp-wrap *,
.cbmfp-wrap *::before,
.cbmfp-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.cbmfp-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

.cbmfp-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ──────────────────────────────── */
.cbmfp-section {
  padding: 88px 0;
}

.cbmfp-section--light {
  background: #f8fafc;
}

.cbmfp-section--dark {
  background: #0f172a;
  color: #f1f5f9;
}

.cbmfp-section--gradient {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #1a1060 100%);
  color: #f1f5f9;
}

.cbmfp-section-head {
  text-align: center;
  margin-bottom: 60px;
}

.cbmfp-section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin: 12px 0 16px;
}

.cbmfp-section-head p {
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.cbmfp-section-head--light h2 {
  color: #f1f5f9;
}

.cbmfp-section-head--light p {
  color: #94a3b8;
}

.cbmfp-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3b82f6;
  background: #eff6ff;
  padding: 5px 14px;
  border-radius: 20px;
}

.cbmfp-eyebrow--light {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
}

/* ── HERO ──────────────────────────────────────── */
.cbmfp-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #1e1b4b 100%);
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.cbmfp-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(139,92,246,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cbmfp-hero .cbmfp-container {
  position: relative;
  z-index: 1;
}

.cbmfp-badge {
  display: inline-block;
  background: rgba(59,130,246,0.2);
  border: 1px solid rgba(59,130,246,0.4);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.cbmfp-hero-title {
  font-size: clamp(30px, 5.5vw, 58px);
  font-weight: 900;
  color: #f8fafc;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.cbmfp-gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cbmfp-hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cbmfp-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cbmfp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(59,130,246,0.4);
}

.cbmfp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,130,246,0.5);
}

.cbmfp-btn-large {
  font-size: 18px;
  padding: 18px 36px;
}

.cbmfp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  transition: border-color 0.2s, color 0.2s;
}

.cbmfp-btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff !important;
}

.cbmfp-hero-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cbmfp-hero-tags span {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #94a3b8;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
}

.cbmfp-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.cbmfp-hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ── STATS ──────────────────────────────────────── */
.cbmfp-stats {
  background: #fff;
  padding: 48px 0;
  border-bottom: 1px solid #e2e8f0;
}

.cbmfp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.cbmfp-stat {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid #e2e8f0;
}

.cbmfp-stat:last-child {
  border-right: none;
}

.cbmfp-stat-num {
  display: block;
  font-size: 48px;
  font-weight: 900;
  color: #3b82f6;
  line-height: 1;
  margin-bottom: 8px;
}

.cbmfp-stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

/* ── FEATURES GRID ──────────────────────────────── */
.cbmfp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cbmfp-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.cbmfp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}

.cbmfp-feature-card--hero {
  grid-column: span 1;
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  border-color: #bfdbfe;
}

.cbmfp-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cbmfp-feature-icon svg {
  width: 28px;
  height: 28px;
}

.cbmfp-icon--blue   { background: #eff6ff; color: #3b82f6; }
.cbmfp-icon--green  { background: #f0fdf4; color: #22c55e; }
.cbmfp-icon--orange { background: #fff7ed; color: #f97316; }
.cbmfp-icon--purple { background: #faf5ff; color: #a855f7; }
.cbmfp-icon--teal   { background: #f0fdfa; color: #14b8a6; }
.cbmfp-icon--red    { background: #fff1f2; color: #f43f5e; }
.cbmfp-icon--indigo { background: #eef2ff; color: #6366f1; }
.cbmfp-icon--amber  { background: #fffbeb; color: #f59e0b; }
.cbmfp-icon--pink   { background: #fdf2f8; color: #ec4899; }

.cbmfp-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.cbmfp-feature-card p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 18px;
  line-height: 1.65;
}

.cbmfp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cbmfp-feature-list li {
  font-size: 13px;
  color: #475569;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.cbmfp-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

.cbmfp-feature-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── CONTAINERS ──────────────────────────────────── */
.cbmfp-containers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cbmfp-container-group {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
}

.cbmfp-container-group-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.cbmfp-container-group h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 12px;
}

.cbmfp-container-group ul {
  list-style: none;
  padding: 0;
}

.cbmfp-container-group li {
  font-size: 13px;
  color: #94a3b8;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cbmfp-container-group li:last-child {
  border-bottom: none;
}

.cbmfp-container-group li strong {
  color: #60a5fa;
  margin-right: 6px;
}

/* ── HOW IT WORKS ────────────────────────────────── */
.cbmfp-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: nowrap;
}

.cbmfp-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.cbmfp-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}

.cbmfp-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.cbmfp-step p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
}

.cbmfp-step-arrow {
  font-size: 28px;
  color: #cbd5e1;
  padding-top: 14px;
  flex-shrink: 0;
  user-select: none;
}

/* ── TRANSPORT ───────────────────────────────────── */
.cbmfp-transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cbmfp-transport-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s;
}

.cbmfp-transport-card:hover {
  transform: translateY(-4px);
}

.cbmfp-transport-card--featured {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.4);
  position: relative;
}

.cbmfp-transport-card--featured::before {
  content: 'Fastest';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cbmfp-transport-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.cbmfp-transport-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 20px;
}

.cbmfp-transport-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}

.cbmfp-transport-detail:last-child {
  border-bottom: none;
}

.cbmfp-transport-detail span {
  color: #94a3b8;
}

.cbmfp-transport-detail strong {
  color: #f1f5f9;
}

.cbmfp-cost-low  { color: #4ade80 !important; }
.cbmfp-cost-mid  { color: #fbbf24 !important; }
.cbmfp-cost-high { color: #f87171 !important; }

/* ── AUDIENCE ────────────────────────────────────── */
.cbmfp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cbmfp-audience-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cbmfp-audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}

.cbmfp-audience-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
}

.cbmfp-audience-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.cbmfp-audience-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
}

/* ── CTA ─────────────────────────────────────────── */
.cbmfp-cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e1b4b 100%);
  padding: 96px 0;
  text-align: center;
}

.cbmfp-cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #f8fafc;
  margin-bottom: 16px;
}

.cbmfp-cta-inner p {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cbmfp-cta-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cbmfp-cta-tags span {
  font-size: 14px;
  font-weight: 600;
  color: #60a5fa;
}

/* ── FAQ ─────────────────────────────────────────── */
.cbmfp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.cbmfp-faq-item {
  padding: 28px 32px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

.cbmfp-faq-item:nth-child(even) {
  border-right: none;
}

.cbmfp-faq-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.cbmfp-faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  position: relative;
  padding-right: 24px;
  user-select: none;
}

.cbmfp-faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: #3b82f6;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s;
}

.cbmfp-faq-item h3.cbmfp-faq-open::after {
  transform: rotate(45deg);
}

.cbmfp-faq-item p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .cbmfp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cbmfp-feature-card--hero {
    grid-column: span 2;
  }

  .cbmfp-containers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cbmfp-transport-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cbmfp-audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cbmfp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cbmfp-stat:nth-child(2) {
    border-right: none;
  }

  .cbmfp-stat:nth-child(3) {
    border-top: 1px solid #e2e8f0;
  }

  .cbmfp-stat:nth-child(4) {
    border-top: 1px solid #e2e8f0;
    border-right: none;
  }

  .cbmfp-steps {
    flex-direction: column;
    align-items: center;
  }

  .cbmfp-step-arrow {
    transform: rotate(90deg);
    padding: 0;
    margin: -8px 0;
  }

  .cbmfp-faq-grid {
    grid-template-columns: 1fr;
  }

  .cbmfp-faq-item:nth-child(odd),
  .cbmfp-faq-item:nth-child(even) {
    border-right: none;
  }

  .cbmfp-faq-item:last-child {
    border-bottom: none;
  }

  .cbmfp-faq-item:nth-last-child(-n+2) {
    border-bottom: 1px solid #e2e8f0;
  }

  .cbmfp-faq-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .cbmfp-section {
    padding: 60px 0;
  }

  .cbmfp-features-grid {
    grid-template-columns: 1fr;
  }

  .cbmfp-feature-card--hero {
    grid-column: span 1;
  }

  .cbmfp-audience-grid {
    grid-template-columns: 1fr;
  }

  .cbmfp-hero {
    padding: 70px 0 60px;
  }

  .cbmfp-hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .cbmfp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
