/* ==========================================================================
   features-page.css — Features page (pages/features.php)
   The homepage sections it includes (industries, showcase, integrations,
   faq, cta) keep their own styles.
   ========================================================================== */
.fp { background: var(--bg-body); }
.fp-section { padding: var(--section-py) 0; background: var(--bg-body); scroll-margin-top: 80px; }
.fp #industries, .fp #showcase { scroll-margin-top: 80px; }
.fp-head { text-align: center; max-width: 740px; margin: 0 auto 2.5rem; }
.fp-head h2, .fp-new-copy h2 {
  margin: 0.6rem 0 0.7rem;
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
}
.fp-head p { color: var(--text-secondary); font-size: var(--fs-lead); margin: 0; }
.fp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-blue) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-blue) 25%, transparent);
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.fp-btn:hover { transform: translateY(-2px); }
.fp-btn .fa-arrow-right { transition: transform 0.25s ease; }
.fp-btn:hover .fa-arrow-right { transform: translateX(4px); }
.fp-btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: var(--glow-blue); }
.fp-btn-primary:hover { color: #fff; }
.fp-btn-ghost { background: var(--bg-surface); border-color: var(--border-color); color: var(--text-primary); }
.fp-btn-ghost:hover { border-color: var(--color-blue); color: var(--color-blue); }

/* ---------- hero ---------- */
.fp-hero { position: relative; overflow: hidden; padding: calc(var(--navbar-height, 80px) + 2.5rem) 0 3rem; background: var(--bg-body); }
.fp-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.fp-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.3; pointer-events: none; animation: fp-float 14s ease-in-out infinite; }
.fp-orb-a { width: 440px; height: 440px; top: -140px; right: -120px; background: #8b5cf6; }
.fp-orb-b { width: 420px; height: 420px; bottom: -220px; left: -140px; background: #06b6d4; animation-delay: -7s; }
[data-theme="dark"] .fp-orb { opacity: 0.2; }
@keyframes fp-float { 50% { transform: translate(-40px, 30px) scale(1.08); } }
.fp-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.fp-crumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.fp-crumb a { color: var(--text-secondary); text-decoration: none; }
.fp-crumb a:hover { color: var(--color-blue); }
.fp-crumb i { font-size: 0.6rem; }
.fp-crumb span { color: var(--color-blue); font-weight: 600; }
.fp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-blue) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-blue) 30%, transparent);
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 700;
}
.fp-hero h1 { margin: 1rem 0; font-family: var(--font-heading); font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 800; line-height: 1.08; color: var(--text-primary); }
.fp-grad { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fp-lead { font-size: var(--fs-lead); color: var(--text-secondary); line-height: 1.6; max-width: 560px; margin: 0 0 1.6rem; }
.fp-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.fp-stage { position: relative; padding: 1.75rem 1.5rem; }
.fp-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: 0 40px 80px -34px rgba(15, 23, 42, 0.45), var(--card-shadow);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.6s var(--ease-out-quart);
}
.fp-stage:hover .fp-shot { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.fp-bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; background: var(--bg-surface-alt); border-bottom: 1px solid var(--border-color); }
.fp-bar span { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.fp-bar span:nth-child(2) { background: #f59e0b; }
.fp-bar span:nth-child(3) { background: #10b981; }
.fp-bar em { margin-left: 0.5rem; font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--text-muted); }
.fp-shot img { display: block; width: 100%; height: auto; }
.fp-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--bg-glass-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--card-shadow);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  animation: fp-bob 6s ease-in-out infinite;
}
.fp-pill i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 0.75rem; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.fp-pill-a { top: 0; left: 0; }
.fp-pill-b { top: 0.5rem; right: 0; animation-delay: -1.5s; }
.fp-pill-c { bottom: 0.5rem; left: 1rem; animation-delay: -3s; }
.fp-pill-d { bottom: 0; right: 1.5rem; animation-delay: -4.5s; }
@keyframes fp-bob { 50% { transform: translateY(-8px); } }

.fp-jump { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.fp-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.fp-jump a i { color: var(--color-blue); }
.fp-jump a:hover { transform: translateY(-2px); border-color: var(--color-blue); color: var(--color-blue); }

/* ---------- sell everywhere ---------- */
.fp-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.fp-channel {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.fp-channel::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.fp-channel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.fp-channel:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c1) 40%, transparent); box-shadow: 0 30px 50px -28px var(--c1); }
.fp-channel-top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.fp-channel-ic { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 1.3rem; box-shadow: 0 14px 28px -14px var(--c1); }
.fp-channel h3 { margin: 0; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text-primary); }
.fp-channel small { color: var(--text-muted); font-weight: 600; font-size: 0.8rem; }
.fp-channel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.fp-channel li { display: flex; gap: 0.55rem; color: var(--text-secondary); font-size: 0.93rem; line-height: 1.5; }
.fp-channel li i { color: var(--c1); margin-top: 0.22rem; }

/* ---------- everything included ---------- */
.fp-modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.fp-module {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fp-module:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -26px var(--c1); border-color: color-mix(in srgb, var(--c1) 35%, transparent); }
.fp-module-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 1.05rem; margin-bottom: 0.9rem; transition: transform 0.35s ease; }
.fp-module:hover .fp-module-ic { transform: rotate(-8deg) scale(1.08); }
.fp-module h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.7rem; }
.fp-module ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.fp-module li { position: relative; padding-left: 1rem; color: var(--text-secondary); font-size: 0.88rem; }
.fp-module li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); }

/* ---------- what's new ---------- */
.fp-new { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; }
.fp-new-copy p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.4rem; }
.fp-new-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.fp-new-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.fp-new-item:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--color-purple) 45%, transparent); }
.fp-new-item > span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--gradient-primary); color: #fff; font-size: 0.9rem; }
.fp-new-item strong { display: block; font-size: 0.92rem; color: var(--text-primary); }
.fp-new-item small { display: block; font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; margin-top: 2px; }

/* ---------- reliability ---------- */
.fp-reliable { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.fp-rel { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--bg-surface); border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.fp-rel:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.fp-rel-ic { width: 60px; height: 60px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, #10b981 12%, transparent); color: #10b981; font-size: 1.35rem; box-shadow: 0 0 0 8px color-mix(in srgb, #10b981 6%, transparent); }
.fp-rel h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.4rem; }
.fp-rel p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .fp-modules, .fp-reliable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .fp-hero { text-align: center; }
  .fp-hero-inner, .fp-new { grid-template-columns: 1fr; gap: 2.5rem; }
  .fp-crumb, .fp-actions { justify-content: center; }
  .fp-lead { margin-inline: auto; }
  .fp-stage { max-width: 640px; margin: 0 auto; width: 100%; }
  .fp-shot { transform: none; }
  .fp-channels { grid-template-columns: 1fr; }
  .fp-new-copy { text-align: center; }
}
@media (max-width: 575.98px) {
  .fp-hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .fp-actions .fp-btn { flex: 1 1 100%; }
  .fp-stage { padding: 1.25rem 0; }
  .fp-pill { font-size: 0.7rem; padding: 0.35rem 0.65rem 0.35rem 0.35rem; }
  .fp-pill i { width: 22px; height: 22px; font-size: 0.6rem; }
  .fp-pill-c, .fp-pill-d { display: none; }
  .fp-jump { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding: 0.25rem 1rem; }
  .fp-jump::-webkit-scrollbar { display: none; }
  .fp-jump a { flex: none; }
  .fp-modules, .fp-reliable, .fp-new-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-orb, .fp-pill { animation: none !important; }
}
