/*
Theme Name: ForexPlatforms Dark
Theme URI: https://forexplatforms.pro
Description: Dark glassmorphism child theme for ForexPlatforms.Pro — Elementor-based
Author: ForexPlatforms.Pro
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #050816;
  --bg2: #08111f;
  --surface: rgba(255,255,255,.075);
  --surface2: rgba(255,255,255,.11);
  --stroke: rgba(255,255,255,.16);
  --fp-text: #eef6ff;
  --muted: #a7b6cb;
  --accent: #49f2c2;
  --accent2: #62a8ff;
  --accent3: #b278ff;
  --danger: #ff6f91;
  --fp-shadow: 0 24px 80px rgba(0,0,0,.35);
  --radius: 28px;
  --max: 1200px;
  --nav: 78px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fp-text);
  background:
    radial-gradient(circle at 15% 10%, rgba(73,242,194,.23), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(98,168,255,.24), transparent 34%),
    radial-gradient(circle at 45% 55%, rgba(178,120,255,.15), transparent 35%),
    linear-gradient(145deg, var(--bg), var(--bg2));
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 80%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }

/* ===== HIDE DEFAULT HELLO ELEMENTOR HEADER/FOOTER ===== */
.site-header, .site-footer { display: none !important; }
#page.site { padding-top: 0 !important; }
.elementor-page .site-main { padding-top: 0 !important; margin-top: 0 !important; }

/* ===== NAV ===== */
.fp-nav {
  position: sticky; top: 0; z-index: 9999;
  min-height: var(--nav);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  background: linear-gradient(180deg, rgba(5,8,22,.94), rgba(5,8,22,.76));
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 1px 0 rgba(73,242,194,.08), 0 4px 32px rgba(0,0,0,.3);
}

.fp-nav::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 25%, var(--accent2) 55%, var(--accent3) 80%, transparent 100%);
  opacity: .75; pointer-events: none;
}

.fp-nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: var(--nav);
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.fp-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; letter-spacing: -.04em; font-size: 1.1rem;
  color: var(--fp-text); text-decoration: none;
}

.fp-brand-name {
  display: flex; flex-direction: column; line-height: 1; gap: 3px;
}
.fp-brand-name strong {
  font-size: .94rem; font-weight: 800; color: var(--fp-text);
  letter-spacing: -.01em;
}
.fp-brand-name small {
  font-size: .62rem; font-weight: 700; color: var(--accent);
  letter-spacing: .1em; text-transform: uppercase;
}

.fp-brandmark {
  width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0;
  background: conic-gradient(from 210deg, var(--accent), var(--accent2), var(--accent3), var(--accent));
  box-shadow: 0 0 0 1px rgba(73,242,194,.22), 0 0 28px rgba(73,242,194,.55), 0 0 56px rgba(98,168,255,.25);
  position: relative; overflow: hidden;
  animation: fp-brand-pulse 3.5s ease-in-out infinite;
}

@keyframes fp-brand-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(73,242,194,.22), 0 0 28px rgba(73,242,194,.55), 0 0 56px rgba(98,168,255,.25); }
  50%       { box-shadow: 0 0 0 1px rgba(73,242,194,.45), 0 0 42px rgba(73,242,194,.8),  0 0 80px rgba(98,168,255,.4);  }
}

.fp-brandmark::before {
  content: "";
  position: absolute; inset: 3px; border-radius: 11px;
  background:
    repeating-linear-gradient(90deg, rgba(73,242,194,.045) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(0deg,  rgba(73,242,194,.045) 0 1px, transparent 1px 9px),
    linear-gradient(145deg, #050b1a, #08111f);
  z-index: 0;
}

.fp-brandmark::after {
  content: "FP";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(73,242,194,.9), 0 0 24px rgba(73,242,194,.55);
  font-size: .82rem; letter-spacing: .02em; font-weight: 900;
  z-index: 1;
}

.fp-nav-links { display: flex; align-items: center; gap: 2px; }
.fp-nav-item { position: relative; }

.fp-nav-link {
  border: 0; background: transparent;
  color: rgba(255,255,255,.72);
  font: 600 .88rem/1 inherit;
  padding: 10px 13px; border-radius: 10px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  transition: color .2s, background .2s, box-shadow .2s; font-family: inherit;
  position: relative; letter-spacing: .01em;
}

.fp-nav-link::after {
  content: "";
  position: absolute; bottom: 5px; left: 13px; right: 13px;
  height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: center;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 0 8px rgba(73,242,194,.5);
}

.fp-nav-link:hover, .fp-nav-link.active {
  color: var(--accent);
  background: rgba(73,242,194,.08);
  box-shadow: inset 0 0 0 1px rgba(73,242,194,.14);
}

.fp-nav-link:hover::after, .fp-nav-link.active::after {
  transform: scaleX(1);
}

.fp-chevron {
  display: inline-block; font-size: .65rem; opacity: .55;
  transition: transform .22s ease, opacity .2s;
  margin-left: 1px;
}

.fp-nav-item:hover .fp-chevron { transform: rotate(180deg); opacity: 1; }

.fp-mega {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0; pointer-events: none;
  width: min(760px, calc(100vw - 40px));
  padding: 16px 18px 12px; border: 1px solid var(--stroke); border-radius: 24px;
  border-top: 2px solid var(--accent);
  background: rgba(6,10,24,.98); backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: var(--fp-shadow), 0 0 60px rgba(73,242,194,.06), 0 0 0 1px rgba(73,242,194,.06);
  transition: opacity .2s ease, transform .2s cubic-bezier(.22,.61,.36,1);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 8px 12px;
}

.fp-nav-item:hover .fp-mega,
.fp-nav-item.fp-open .fp-mega {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.fp-mega-head {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 6px 10px; border-bottom: 1px solid var(--stroke);
  margin-bottom: 4px;
}

.fp-mega-head strong {
  color: rgba(255,255,255,.38); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
}

.fp-mega-head small {
  font-size: .72rem;
  background: rgba(73,242,194,.09); border: 1px solid rgba(73,242,194,.22);
  padding: 3px 10px; border-radius: 999px; color: var(--accent); font-weight: 700;
  letter-spacing: .04em;
}

.fp-mega a {
  display: flex; gap: 12px; padding: 11px 12px;
  border-radius: 16px; color: rgba(255,255,255,.65);
  text-decoration: none; transition: all .15s ease;
  border: 1px solid transparent;
  border-left: 2px solid transparent;
}

.fp-mega a:hover {
  background: rgba(73,242,194,.07); color: var(--fp-text);
  border-color: rgba(73,242,194,.18);
  border-left-color: var(--accent);
  padding-left: 16px;
}

.fp-mega strong { display: block; color: var(--fp-text); font-size: .93rem; margin-bottom: 3px; font-weight: 700; }
.fp-mega small { font-size: .79rem; line-height: 1.4; color: var(--muted); }

/* "View all solutions" link spans full width */
.fp-mega-all {
  grid-column: 1 / -1 !important;
  display: flex !important; align-items: center !important;
  padding: 9px 12px !important; margin-top: 6px !important;
  border-top: 1px solid var(--stroke) !important;
  border-radius: 0 0 12px 12px !important;
  color: var(--accent) !important; font-size: .82rem !important; font-weight: 700 !important;
  gap: 0 !important; justify-content: flex-end !important;
  border-left: 2px solid transparent !important;
}
.fp-mega-all:hover {
  background: rgba(73,242,194,.06) !important;
  border-left-color: transparent !important; padding-left: 12px !important;
  color: var(--fp-text) !important;
}

.fp-ico {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.05rem;
}

/* Distinct icon colors per mega menu item */
.fp-mega a:nth-child(2) .fp-ico { background: linear-gradient(135deg, rgba(73,242,194,.22), rgba(73,242,194,.07)); box-shadow: 0 0 0 1px rgba(73,242,194,.15); }
.fp-mega a:nth-child(3) .fp-ico { background: linear-gradient(135deg, rgba(255,210,70,.22), rgba(255,196,0,.07)); box-shadow: 0 0 0 1px rgba(255,196,0,.15); }
.fp-mega a:nth-child(4) .fp-ico { background: linear-gradient(135deg, rgba(178,120,255,.25), rgba(178,120,255,.07)); box-shadow: 0 0 0 1px rgba(178,120,255,.18); }
.fp-mega a:nth-child(5) .fp-ico { background: linear-gradient(135deg, rgba(98,168,255,.25), rgba(98,168,255,.07)); box-shadow: 0 0 0 1px rgba(98,168,255,.18); }
.fp-mega a:nth-child(6) .fp-ico { background: linear-gradient(135deg, rgba(255,111,145,.2), rgba(255,111,145,.06)); box-shadow: 0 0 0 1px rgba(255,111,145,.14); }
.fp-mega a:nth-child(7) .fp-ico { background: linear-gradient(135deg, rgba(73,242,194,.18), rgba(98,168,255,.18)); box-shadow: 0 0 0 1px rgba(98,168,255,.14); }

.fp-nav-actions { display: flex; align-items: center; gap: 10px; }

.fp-btn-primary-nav {
  position: relative; overflow: hidden;
}
.fp-btn-primary-nav::after {
  content: " →";
  display: inline; font-size: .9em;
  transition: transform .2s ease, margin .2s ease;
  display: inline-block;
}
.fp-btn-primary-nav:hover::after { transform: translateX(3px); }

.fp-lang-select, .fp-icon-btn {
  height: 40px; border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--surface); color: var(--fp-text);
  padding: 0 12px; font-weight: 700;
  backdrop-filter: blur(18px); font-family: inherit;
  cursor: pointer;
}

.fp-icon-btn {
  width: 42px; padding: 0;
  display: grid; place-items: center;
  cursor: pointer; font-size: 1rem;
}

.fp-live-badge {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(73,242,194,.28);
  background: rgba(73,242,194,.07);
  color: var(--accent); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}

.fp-menu-toggle { display: none; }

/* ===== BUTTONS ===== */
.fp-btn {
  position: relative; display: inline-flex; align-items: center;
  justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--stroke);
  font-weight: 800; overflow: hidden; transition: .2s;
  white-space: nowrap; cursor: pointer; font-size: .95rem;
  text-decoration: none; font-family: inherit;
}

.fp-btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent2));
  color: #02101a !important; border: 0;
  box-shadow: 0 12px 35px rgba(73,242,194,.23);
}

.fp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(73,242,194,.35); }
.fp-btn-ghost { background: var(--surface); color: var(--fp-text); }
.fp-btn-ghost:hover { background: var(--surface2); transform: translateY(-2px); color: var(--fp-text); }

.fp-btn::before {
  content: "";
  position: absolute; top: -80%; left: -40%;
  width: 45%; height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: rotate(20deg);
  animation: fp-shine 5.2s infinite;
}

@keyframes fp-shine {
  0%, 35% { left: -55%; }
  55%, 100% { left: 130%; }
}

/* ===== LAYOUT ===== */
.fp-container {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

/* ===== EYEBROW BADGE ===== */
.fp-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 12px; border: 1px solid var(--stroke);
  border-radius: 999px; background: var(--surface);
  color: var(--muted); font-weight: 700; font-size: .88rem;
  margin-bottom: 20px;
}

.fp-pulse {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(73,242,194,.75);
  animation: fp-pulse 1.8s infinite;
  flex-shrink: 0; display: inline-block;
}

@keyframes fp-pulse { to { box-shadow: 0 0 0 13px rgba(73,242,194,0); } }

.fp-gradient-text {
  background: linear-gradient(105deg, var(--fp-text), var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== HERO ===== */
.fp-hero-section { padding: 84px 0 52px; }

.fp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(320px,.78fr);
  gap: 42px; align-items: center;
}

.fp-hero-title {
  font-size: clamp(2.65rem,7vw,5.2rem);
  line-height: .94; margin: 0 0 20px;
  letter-spacing: -.08em; color: var(--fp-text);
}

.fp-lead {
  font-size: clamp(1.04rem,2vw,1.18rem);
  line-height: 1.68; color: var(--muted); margin: 0 0 28px;
}

.fp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.fp-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.fp-chip {
  border: 1px solid var(--stroke); background: var(--surface);
  padding: 9px 12px; border-radius: 999px; backdrop-filter: blur(16px);
  color: var(--muted); font-weight: 700; font-size: .88rem;
}

/* ===== DASHBOARD VISUAL ===== */
.fp-hero-visual { position: relative; min-height: 560px; }

.fp-orb {
  position: absolute; border-radius: 999px; filter: blur(1px);
  opacity: .86; animation: fp-float 7s ease-in-out infinite; pointer-events: none;
}

.fp-orb-1 {
  width: 170px; height: 170px;
  background: radial-gradient(circle, rgba(73,242,194,.4), transparent 66%);
  top: 0; right: 30px;
}

.fp-orb-2 {
  width: 230px; height: 230px;
  background: radial-gradient(circle, rgba(98,168,255,.34), transparent 66%);
  bottom: 10px; left: 0; animation-delay: -2s;
}

@keyframes fp-float { 50% { transform: translateY(-20px) translateX(8px); } }

.fp-dashboard {
  position: absolute; inset: 45px 0 auto auto;
  width: min(520px,100%);
  border: 1px solid var(--stroke); border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.055));
  box-shadow: var(--fp-shadow); backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  overflow: hidden;
  transform: perspective(950px) rotateY(-8deg) rotateX(5deg);
}

.fp-dash-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--stroke);
  font-weight: 700; font-size: .9rem; color: var(--fp-text);
}

.fp-traffic { display: flex; gap: 7px; }
.fp-traffic span { width: 10px; height: 10px; border-radius: 999px; background: var(--danger); }
.fp-traffic span:nth-child(2) { background: #ffc857; }
.fp-traffic span:nth-child(3) { background: var(--accent); }

.fp-dash-body { padding: 20px; }

.fp-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px; }

.fp-stat {
  padding: 14px; border: 1px solid var(--stroke);
  background: var(--surface); border-radius: 18px;
}

.fp-stat b { display: block; font-size: 1.22rem; color: var(--fp-text); font-weight: 900; }
.fp-stat span { font-size: .73rem; color: var(--muted); }

.fp-chart {
  height: 170px; border: 1px solid var(--stroke); border-radius: 22px;
  background: linear-gradient(180deg, rgba(73,242,194,.12), rgba(98,168,255,.04));
  position: relative; overflow: hidden; margin-bottom: 14px;
}

.fp-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.fp-rows { display: grid; gap: 10px; }

.fp-row {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 12px;
  align-items: center; padding: 12px; border: 1px solid var(--stroke);
  border-radius: 17px; background: var(--surface);
}

.fp-row b { color: var(--fp-text); font-size: .9rem; display: block; }
.fp-row small { color: var(--muted); font-size: .78rem; }

.fp-badge {
  font-size: .75rem; font-weight: 850;
  color: #02101a; background: var(--accent);
  padding: 6px 9px; border-radius: 999px; white-space: nowrap;
}

.fp-floating-card {
  position: absolute; right: 14px; bottom: 24px; width: 240px;
  padding: 16px; border: 1px solid var(--stroke); border-radius: 24px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(28px);
  box-shadow: var(--fp-shadow); animation: fp-float 6s ease-in-out infinite reverse;
  color: var(--fp-text);
}

.fp-floating-card strong { font-size: .95rem; }
.fp-floating-card p { color: var(--muted); line-height: 1.55; margin: .45rem 0 0; font-size: .84rem; }

/* ===== SLIDER ===== */
.fp-slider-section { padding: 28px 0 12px; }

.fp-slider-shell {
  border: 1px solid var(--stroke); border-radius: calc(var(--radius) + 4px);
  background: var(--surface); backdrop-filter: blur(24px);
  overflow: hidden; box-shadow: var(--fp-shadow);
}

.fp-slides { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }

.fp-slide {
  min-width: 100%; padding: 34px;
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 24px; align-items: center;
}

.fp-slide h2 {
  font-size: clamp(1.8rem,4vw,3.2rem);
  letter-spacing: -.055em; line-height: 1; margin: 0 0 14px; color: var(--fp-text);
}

.fp-slide p { color: var(--muted); line-height: 1.7; margin: 0; }

.fp-slide-art {
  min-height: 250px; border-radius: 28px;
  border: 1px solid var(--stroke);
  position: relative; overflow: hidden;
}

.fp-slide-art-crm {
  background:
    radial-gradient(circle at 20% 20%, rgba(73,242,194,.35), transparent 35%),
    radial-gradient(circle at 75% 40%, rgba(98,168,255,.28), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
}

.fp-slide-art-prop {
  background:
    radial-gradient(circle at 30% 30%, rgba(178,120,255,.4), transparent 38%),
    radial-gradient(circle at 70% 20%, rgba(73,242,194,.25), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
}

.fp-slide-art-int {
  background:
    radial-gradient(circle at 25% 25%, rgba(98,168,255,.4), transparent 38%),
    radial-gradient(circle at 70% 60%, rgba(73,242,194,.25), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
}

.fp-slide-art::after {
  content: "";
  position: absolute; inset: 20px; border-radius: 24px;
  border: 1px solid var(--stroke);
  background: repeating-linear-gradient(90deg, transparent 0 20px, rgba(255,255,255,.05) 21px 22px);
}

.fp-slide-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: stretch;
  gap: 10px; padding: 30px; z-index: 1;
}

.fp-mini-row {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px; background: rgba(255,255,255,.1);
  border: 1px solid var(--stroke); border-radius: 14px;
  font-size: .82rem; color: var(--fp-text); font-weight: 600;
}

.fp-mini-dot {
  width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0;
}

.fp-mini-dot-green { background: var(--accent); box-shadow: 0 0 6px rgba(73,242,194,.6); }
.fp-mini-dot-blue { background: var(--accent2); box-shadow: 0 0 6px rgba(98,168,255,.6); }
.fp-mini-dot-purple { background: var(--accent3); box-shadow: 0 0 6px rgba(178,120,255,.6); }

.fp-mini-bar {
  height: 6px; border-radius: 999px; flex: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 10px rgba(73,242,194,.4);
}

.fp-mini-bar-short { max-width: 55%; }
.fp-mini-bar-medium { max-width: 72%; }
.fp-mini-bar-purple {
  background: linear-gradient(90deg, var(--accent3), var(--accent2));
  box-shadow: 0 0 10px rgba(178,120,255,.4);
}

.fp-slider-controls {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 34px 26px;
}

.fp-dots { display: flex; gap: 8px; }

.fp-dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--stroke); border: 0; cursor: pointer; transition: .3s;
}

.fp-dot.active { width: 30px; background: var(--accent); }

/* ===== SECTION HEADINGS ===== */
.fp-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px;
}

.fp-section-head h2 {
  font-size: clamp(2rem,4.5vw,4rem);
  line-height: 1; letter-spacing: -.07em;
  margin: 0; max-width: 760px; color: var(--fp-text);
}

.fp-section-head p { color: var(--muted); line-height: 1.7; max-width: 420px; margin: 0; }

/* ===== SOLUTION CARDS ===== */
.fp-grid { display: grid; gap: 16px; }
.fp-grid-4 { grid-template-columns: repeat(4,1fr); }
.fp-grid-2 { grid-template-columns: repeat(2,1fr); }

.fp-card {
  position: relative; padding: 22px;
  border: 1px solid var(--stroke); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045));
  backdrop-filter: blur(24px); box-shadow: 0 10px 36px rgba(0,0,0,.12);
  overflow: hidden; transition: .24s ease; min-height: 210px;
}

.fp-card:hover {
  transform: translateY(-7px);
  border-color: rgba(73,242,194,.36);
  box-shadow: var(--fp-shadow);
}

.fp-card::before {
  content: "";
  position: absolute; inset: -1px;
  background: radial-gradient(circle at var(--mx,50%) var(--my,0%), rgba(73,242,194,.22), transparent 35%);
  opacity: 0; transition: .2s;
}

.fp-card:hover::before { opacity: 1; }
.fp-card > * { position: relative; }

.fp-card h3 { margin: 16px 0 9px; font-size: 1.22rem; letter-spacing: -.03em; color: var(--fp-text); }
.fp-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.fp-card-ico { font-size: 1.6rem; }

.fp-card-num {
  position: absolute; right: 18px; top: 18px;
  color: rgba(255,255,255,.2); font-weight: 900; font-size: 2.2rem;
}

/* ===== FEATURE BAND ===== */
.fp-feature-band { display: grid; grid-template-columns: .75fr 1.25fr; gap: 16px; }

.fp-large-card {
  min-height: 420px; padding: 28px;
  background:
    radial-gradient(circle at 30% 15%, rgba(73,242,194,.24), transparent 35%),
    var(--surface);
  border: 1px solid var(--stroke); border-radius: 32px;
  backdrop-filter: blur(24px); box-shadow: var(--fp-shadow);
}

.fp-large-card-blue {
  background:
    radial-gradient(circle at 30% 15%, rgba(98,168,255,.24), transparent 35%),
    var(--surface);
}

.fp-large-card h3 { font-size: 1.8rem; letter-spacing: -.05em; line-height: 1.1; margin: 0 0 14px; color: var(--fp-text); }
.fp-large-card p { color: var(--muted); line-height: 1.7; margin: 0 0 20px; }

.fp-tech-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }

.fp-tech-item {
  padding: 16px; border: 1px solid var(--stroke);
  border-radius: 20px; background: var(--surface);
}

.fp-tech-item b { display: block; margin-bottom: 4px; color: var(--fp-text); font-size: .92rem; }
.fp-tech-item span { color: var(--muted); font-size: .86rem; }

/* ===== PROCESS TIMELINE ===== */
.fp-timeline {
  counter-reset: fp-step;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}

.fp-step {
  counter-increment: fp-step;
  padding: 22px; border: 1px solid var(--stroke);
  border-radius: 26px; background: var(--surface);
  position: relative; overflow: hidden; transition: .24s;
}

.fp-step:hover { transform: translateY(-4px); border-color: rgba(73,242,194,.3); }

.fp-step::before {
  content: "0" counter(fp-step);
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #03131d; font-weight: 900; margin-bottom: 26px;
  font-size: .95rem; font-family: inherit;
}

.fp-step h3 { margin: 0 0 9px; color: var(--fp-text); font-size: 1.1rem; }
.fp-step p { color: var(--muted); line-height: 1.6; margin: 0; font-size: .9rem; }

/* ===== COMPARISON TABLE ===== */
.fp-table-wrap {
  border: 1px solid var(--stroke); border-radius: 28px;
  overflow: hidden; background: var(--surface); backdrop-filter: blur(24px);
}

.fp-table-wrap table { width: 100%; border-collapse: collapse; }

.fp-table-wrap th,
.fp-table-wrap td {
  text-align: left; padding: 17px; border-bottom: 1px solid var(--stroke);
  vertical-align: top;
}

.fp-table-wrap th {
  color: var(--fp-text); font-size: .88rem;
  text-transform: uppercase; letter-spacing: .04em;
  background: rgba(255,255,255,.06);
}

.fp-table-wrap td { color: var(--muted); line-height: 1.5; font-size: .92rem; }
.fp-table-wrap tr:last-child td { border-bottom: 0; }
.fp-yes { color: var(--accent); font-weight: 900; }

/* ===== CTA BLOCK ===== */
.fp-cta {
  padding: 36px; border-radius: 36px; border: 1px solid var(--stroke);
  background:
    radial-gradient(circle at 10% 0, rgba(73,242,194,.28), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(98,168,255,.26), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  box-shadow: var(--fp-shadow);
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
}

.fp-cta h2 {
  font-size: clamp(2rem,4vw,3.8rem);
  letter-spacing: -.07em; line-height: 1; margin: 0 0 12px; color: var(--fp-text);
}

.fp-cta p { margin: 0; color: var(--muted); line-height: 1.7; }

/* ===== FOOTER ===== */
.fp-footer { padding: 34px 0 46px; color: var(--muted); }

.fp-footer-grid {
  display: grid; grid-template-columns: 1.2fr repeat(3,1fr); gap: 24px;
  border-top: 1px solid var(--stroke); padding-top: 28px;
}

.fp-footer-grid h4 { color: var(--fp-text); margin: 0 0 12px; font-size: 1rem; }
.fp-footer-grid a { display: block; margin: 8px 0; color: var(--muted); transition: .15s; }
.fp-footer-grid a:hover { color: var(--fp-text); }
.fp-footer-desc { line-height: 1.7; margin: 12px 0 0; font-size: .92rem; }

/* ===== REVEAL ANIMATION ===== */
.fp-reveal { opacity: 0; transform: translateY(22px); transition: .7s ease; }
.fp-reveal.fp-visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .fp-grid-4 { grid-template-columns: repeat(2,1fr); }
  .fp-feature-band, .fp-hero-grid, .fp-slide { grid-template-columns: 1fr; }
  .fp-hero-visual { min-height: 460px; }
  .fp-dashboard { left: 0; margin: auto; transform: none; inset: auto; position: relative; margin-top: 24px; }
  .fp-orb-1, .fp-orb-2 { display: none; }
  .fp-timeline { grid-template-columns: repeat(2,1fr); }
  .fp-footer-grid { grid-template-columns: 1fr 1fr; }
  .fp-cta { grid-template-columns: 1fr; }
  .fp-section-head { display: block; }
  .fp-section-head p { margin-top: 14px; }
  .fp-nav-links {
    display: none; position: absolute;
    left: 18px; right: 18px; top: calc(var(--nav) + 10px);
    padding: 12px; border: 1px solid var(--stroke); border-radius: 24px;
    background: rgba(6,10,24,.97); backdrop-filter: blur(22px);
    box-shadow: var(--fp-shadow); flex-direction: column; align-items: stretch;
    z-index: 100;
  }
  .fp-nav-links.open { display: flex; }
  .fp-nav-link { text-align: left; width: 100%; color: rgba(255,255,255,.8); }
  .fp-live-badge { display: none; }
  .fp-mega {
    position: static !important; transform: none !important;
    opacity: 1; pointer-events: auto; width: 100%;
    display: none !important; margin-top: 6px;
    grid-template-columns: 1fr !important;
  }
  .fp-nav-item:hover .fp-mega,
  .fp-nav-item.fp-open .fp-mega { display: grid !important; }
  .fp-menu-toggle { display: grid; }
  .fp-brand-name { display: none; }
}

@media (max-width: 680px) {
  .fp-nav-actions .fp-btn { display: none; }
  .fp-live-badge { display: none; }
  .fp-hero-section { padding-top: 48px; }
  .fp-hero-visual { min-height: auto; }
  .fp-floating-card { display: none; }
  .fp-stats { grid-template-columns: 1fr; }
  .fp-slide { padding: 24px; }
  .fp-slider-controls { padding: 0 24px 24px; }
  .fp-grid-4, .fp-timeline, .fp-tech-list, .fp-footer-grid { grid-template-columns: 1fr; }
  .fp-table-wrap { overflow-x: auto; }
  .fp-table-wrap table { min-width: 720px; }
  .fp-brand > span:not(.fp-brandmark) { display: none; }
}

/* =============================================
   BLOG INDEX (home.php) — redesigned
   ============================================= */

.fp-blog-page { padding-bottom: 100px; }

/* — Hero — */
.fp-blog-hero {
  position: relative; overflow: hidden;
  padding: 88px 0 80px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 72px;
  text-align: center;
}

.fp-blog-hero-orb {
  position: absolute; border-radius: 999px;
  pointer-events: none; filter: blur(2px);
}
.fp-blog-hero-orb-1 {
  width: 420px; height: 420px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(73,242,194,.28), transparent 65%);
  animation: fp-float 8s ease-in-out infinite;
}
.fp-blog-hero-orb-2 {
  width: 500px; height: 500px;
  top: -180px; right: -100px;
  background: radial-gradient(circle, rgba(98,168,255,.26), transparent 65%);
  animation: fp-float 10s ease-in-out infinite reverse;
}
.fp-blog-hero-orb-3 {
  width: 360px; height: 360px;
  bottom: -120px; left: 35%;
  background: radial-gradient(circle, rgba(178,120,255,.18), transparent 65%);
  animation: fp-float 12s ease-in-out infinite;
  animation-delay: -4s;
}

.fp-blog-hero-inner { position: relative; z-index: 1; }

.fp-blog-hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border: 1px solid rgba(73,242,194,.3);
  border-radius: 999px; background: rgba(73,242,194,.08);
  color: var(--accent); font-weight: 700; font-size: .84rem;
  letter-spacing: .04em; margin-bottom: 24px;
}

.fp-blog-hero-title {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: .92; letter-spacing: -.08em;
  margin: 0 0 20px; color: var(--fp-text);
}

.fp-blog-hero-gradient {
  background: linear-gradient(110deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block;
}

.fp-blog-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  color: var(--muted); line-height: 1.68;
  max-width: 640px; margin: 0 auto 28px;
}

.fp-blog-hero-stats {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--stroke); border-radius: 999px;
  background: var(--surface); padding: 0;
  overflow: hidden;
}

.fp-blog-hero-stats span {
  padding: 10px 20px; font-size: .82rem; font-weight: 700;
  color: var(--muted); letter-spacing: .02em;
  border-right: 1px solid var(--stroke);
}

.fp-blog-hero-stats span:last-child { border-right: 0; }

/* — Blog content area — */
.fp-blog-content { padding-bottom: 20px; }

/* — Featured post — */
.fp-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  border-radius: 32px;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  backdrop-filter: blur(28px);
  overflow: hidden;
  margin-bottom: 64px;
  position: relative;
  transition: border-color .3s, box-shadow .3s;
}

.fp-feat::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 50%, rgba(var(--topic-color, 73,242,194),.12), transparent 60%);
  opacity: 0; transition: opacity .4s;
}

.fp-feat:hover { border-color: rgba(73,242,194,.28); box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(73,242,194,.08); }
.fp-feat:hover::before { opacity: 1; }

.fp-feat-body {
  padding: 48px 44px;
  display: flex; flex-direction: column;
  justify-content: center;
}

.fp-feat-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; color: var(--muted); font-weight: 600;
  margin-bottom: 20px; flex-wrap: wrap;
}

.fp-feat-sep {
  width: 1px; height: 14px; background: var(--stroke); flex-shrink: 0;
}

.fp-topic-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 999px; border: 1px solid;
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  white-space: nowrap;
}

.fp-feat-title {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  line-height: 1.08; letter-spacing: -.055em;
  margin: 0 0 16px;
}

.fp-feat-title a { color: var(--fp-text); text-decoration: none; transition: color .2s; }
.fp-feat-title a:hover { color: var(--accent); }

.fp-feat-excerpt {
  font-size: 1rem; color: var(--muted); line-height: 1.68;
  margin: 0 0 28px; flex: 1;
}

.fp-feat-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px;
  background: linear-gradient(100deg, var(--accent), var(--accent2));
  color: #02101a; font-weight: 800; font-size: .95rem;
  text-decoration: none; border: 0;
  box-shadow: 0 8px 28px rgba(73,242,194,.28);
  transition: transform .2s, box-shadow .2s;
  align-self: flex-start;
}

.fp-feat-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(73,242,194,.4); }

.fp-feat-img-wrap {
  position: relative; overflow: hidden; display: block;
  text-decoration: none;
}

.fp-feat-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s ease;
}

.fp-feat:hover .fp-feat-img { transform: scale(1.04); }

.fp-feat-img-fallback {
  width: 100%; height: 100%; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
}

.fp-feat-ico { font-size: 4.5rem; filter: drop-shadow(0 0 28px currentColor); }

.fp-feat-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(270deg, transparent 60%, rgba(5,8,22,.55));
  pointer-events: none;
}

/* — Grid label — */
.fp-blog-grid-label {
  display: flex; align-items: center; gap: 16px;
  font-size: .8rem; font-weight: 800; color: var(--muted);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 28px;
}

.fp-blog-grid-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--stroke), transparent);
}

/* — Card grid — */
.fp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fp-card2 {
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .24s, border-color .24s, box-shadow .24s;
}

.fp-card2:hover {
  transform: translateY(-7px);
  border-color: rgba(73,242,194,.28);
  box-shadow: 0 22px 56px rgba(0,0,0,.32), 0 0 0 1px rgba(73,242,194,.08);
}

.fp-card2-link { display: block; text-decoration: none; }

.fp-card2-thumb {
  height: 210px; position: relative;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: hidden;
}

.fp-card2-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,8,22,.72));
  pointer-events: none;
}

.fp-card2-badge {
  position: absolute; bottom: 12px; left: 14px;
  font-size: .74rem; font-weight: 800;
  padding: 4px 11px; border-radius: 999px; border: 1px solid;
  letter-spacing: .04em; z-index: 1; backdrop-filter: blur(12px);
}

.fp-card2-thumb-ico {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 3.2rem; filter: drop-shadow(0 0 18px rgba(255,255,255,.25));
  pointer-events: none;
}

.fp-card2-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; flex: 1;
}

.fp-card2-title {
  font-size: 1.04rem; line-height: 1.3;
  letter-spacing: -.028em; margin: 0 0 10px;
  font-weight: 800; flex: 1;
}

.fp-card2-title a { color: var(--fp-text); text-decoration: none; transition: color .2s; }
.fp-card2-title a:hover { color: var(--accent); }

.fp-card2-excerpt {
  font-size: .865rem; color: var(--muted); line-height: 1.62;
  margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.fp-card2-footer {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--muted); font-weight: 600;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--stroke);
}

.fp-card2-arrow {
  margin-left: auto; display: flex; align-items: center;
  color: var(--accent); text-decoration: none;
  opacity: .7; transition: opacity .2s, transform .2s;
}

.fp-card2:hover .fp-card2-arrow { opacity: 1; transform: translateX(4px); }

/* Pagination */
.fp-blog-pagination {
  margin-top: 60px; text-align: center;
}

.fp-blog-pagination .nav-links {
  display: inline-flex; align-items: center; gap: 8px;
}

.fp-blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--stroke);
  background: var(--surface); color: var(--muted);
  font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: .2s ease;
}

.fp-blog-pagination .page-numbers:hover,
.fp-blog-pagination .page-numbers.current {
  background: linear-gradient(100deg, var(--accent), var(--accent2));
  color: #02101a; border-color: transparent;
  box-shadow: 0 6px 24px rgba(73,242,194,.3);
}

.fp-blog-empty {
  text-align: center; color: var(--muted);
  padding: 80px 0; font-size: 1.1rem;
}

/* =============================================
   SINGLE POST (single.php)
   ============================================= */

.fp-single-post { padding-bottom: 100px; }

.fp-single-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 10% 0%, rgba(73,242,194,.14), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(98,168,255,.13), transparent 35%);
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 48px;
}

.fp-single-hero-inner { max-width: 860px; }

.fp-single-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; color: var(--muted); font-weight: 600;
  margin-bottom: 20px; flex-wrap: wrap;
}

.fp-single-back {
  color: var(--accent); font-weight: 700; text-decoration: none;
  transition: opacity .15s ease;
}
.fp-single-back:hover { opacity: .75; }

.fp-single-title {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.04; letter-spacing: -.055em;
  margin: 0 0 18px; color: var(--fp-text);
}

.fp-single-excerpt {
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  color: var(--muted); line-height: 1.65;
  margin: 0; max-width: 680px;
}

.fp-single-thumb-wrap { margin-bottom: 48px; }

.fp-single-thumb {
  width: 100%; height: auto; max-height: 480px;
  object-fit: cover; border-radius: 24px;
  border: 1px solid var(--stroke);
  display: block;
}

/* Two-column layout */
.fp-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px; align-items: start;
}

/* Article body typography */
.fp-single-content {
  color: var(--fp-text);
  font-size: 1.04rem; line-height: 1.78;
}

.fp-single-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.045em; line-height: 1.1;
  margin: 2.4em 0 .7em; color: var(--fp-text);
}

.fp-single-content h3 {
  font-size: 1.25rem; letter-spacing: -.03em;
  margin: 2em 0 .6em; color: var(--fp-text);
}

.fp-single-content h4 {
  font-size: 1.05rem; margin: 1.6em 0 .5em; color: var(--fp-text);
}

.fp-single-content p { margin: 0 0 1.3em; color: var(--muted); }

.fp-single-content strong { color: var(--fp-text); font-weight: 700; }

.fp-single-content a {
  color: var(--accent); text-decoration: underline;
  text-decoration-color: rgba(73,242,194,.35);
  text-underline-offset: 3px; transition: text-decoration-color .15s;
}
.fp-single-content a:hover { text-decoration-color: var(--accent); }

.fp-single-content ul,
.fp-single-content ol {
  margin: 0 0 1.4em; padding-left: 1.6em; color: var(--muted);
}

.fp-single-content li { margin-bottom: .5em; }

.fp-single-content blockquote {
  margin: 2em 0; padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(73,242,194,.06);
  border-radius: 0 16px 16px 0;
  color: var(--fp-text); font-style: italic;
}

.fp-single-content code {
  background: rgba(255,255,255,.09); border: 1px solid var(--stroke);
  border-radius: 6px; padding: 2px 7px;
  font-size: .88em; color: var(--accent2);
}

.fp-single-content pre {
  background: rgba(255,255,255,.06); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 20px 24px; overflow-x: auto;
  margin: 1.5em 0;
}

.fp-single-content table {
  width: 100%; border-collapse: collapse; margin: 1.5em 0;
}
.fp-single-content th,
.fp-single-content td {
  padding: 12px 16px; border: 1px solid var(--stroke);
  text-align: left; font-size: .92rem;
}
.fp-single-content th { background: rgba(255,255,255,.07); color: var(--fp-text); }
.fp-single-content td { color: var(--muted); }

/* Sidebar */
.fp-single-sidebar {
  position: sticky; top: calc(var(--nav) + 24px);
  display: flex; flex-direction: column; gap: 20px;
}

.fp-sidebar-cta {
  padding: 26px 24px; min-height: auto;
  background:
    radial-gradient(circle at 20% 0%, rgba(73,242,194,.16), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
}

.fp-sidebar-cta .fp-eyebrow { font-size: .75rem; margin-bottom: 12px; }

.fp-sidebar-cta h3 {
  font-size: 1.15rem; letter-spacing: -.035em;
  margin: 0 0 10px; color: var(--fp-text);
}

.fp-sidebar-cta p {
  font-size: .88rem; color: var(--muted); line-height: 1.6;
  margin: 0 0 16px;
}

.fp-btn-full { width: 100%; margin-bottom: 10px; }

.fp-sidebar-products { padding: 22px 24px; min-height: auto; }
.fp-sidebar-products .fp-eyebrow { font-size: .75rem; margin-bottom: 12px; }

.fp-sidebar-product-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  color: var(--muted); font-size: .88rem; font-weight: 600;
  text-decoration: none; margin: 0 -4px;
  transition: background .15s, color .15s;
}

.fp-sidebar-product-link:hover {
  background: rgba(73,242,194,.08);
  color: var(--fp-text);
}

/* Prev/next post navigation */
.fp-post-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--stroke);
}

.fp-post-nav-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px; border-radius: 22px;
  border: 1px solid var(--stroke);
  background: var(--surface); text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.fp-post-nav-item:hover {
  border-color: rgba(73,242,194,.3); transform: translateY(-3px);
}

.fp-post-nav-next { text-align: right; }

.fp-post-nav-label {
  font-size: .78rem; color: var(--accent); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}

.fp-post-nav-title {
  font-size: .93rem; color: var(--fp-text); font-weight: 700;
  line-height: 1.35; letter-spacing: -.02em;
}

/* =============================================
   RESPONSIVE — blog additions
   ============================================= */

@media (max-width: 1024px) {
  .fp-feat { grid-template-columns: 1fr; }
  .fp-feat-img-wrap { min-height: 300px; }
  .fp-feat-img-overlay { background: linear-gradient(0deg, rgba(5,8,22,.6) 0%, transparent 50%); }
  .fp-feat-body { padding: 32px 30px; }
  .fp-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-blog-hero-stats { flex-wrap: wrap; border-radius: 18px; }
  .fp-single-layout { grid-template-columns: 1fr; }
  .fp-single-sidebar { position: static; }
}

@media (max-width: 680px) {
  .fp-blog-hero { padding: 64px 0 56px; margin-bottom: 48px; }
  .fp-blog-hero-title { font-size: clamp(2.4rem,10vw,3.6rem); }
  .fp-blog-hero-stats { display: none; }
  .fp-feat { margin-bottom: 48px; }
  .fp-feat-body { padding: 24px 22px; }
  .fp-feat-title { font-size: clamp(1.4rem,5vw,1.9rem); }
  .fp-blog-grid { grid-template-columns: 1fr; }
  .fp-single-hero { padding: 48px 0 36px; }
  .fp-post-nav { grid-template-columns: 1fr; }
  .fp-sidebar-cta .fp-btn-full { min-height: 50px; }
}
