@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Rubik:wght@400;500;600;700;800;900&display=swap');

/* ── CSS variables ─────────────────────────────────────────────────────────── */
:root {
  --primary:   #054172;
  --navy:      #071640;
  --blue:      #185A8F;
  --accent:    #168bff;
  --purple:    #604bff;
  --border:    #e4e9f5;
  --text:      #3b3b3b;
  --muted:     #536078;
  --alt-bg:    #f8fbff;
  --card-shadow: 0 8px 28px rgba(7,18,47,.1);
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: Rubik, Roboto, Arial, sans-serif; color: var(--text); background: #fff; margin: 0; padding-top: 64px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
h1,h2,h3,h4 { font-family: Poppins, Rubik, sans-serif; margin: 0; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

/* ── Nav active state ───────────────────────────────────────────────────────── */
.nav-active { color: var(--primary) !important; font-weight: 700 !important; }

/* ── Hero aliases — used by inner pages (marketplace-features etc.) ─────────── */
.mp-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #020817 0%, #071640 55%, #10115b 100%);
  padding: 90px 24px 100px; color: #fff; text-align: center;
}
.mp-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .16; pointer-events: none;
}
.mp-hero-glow {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.mp-hero-glow-tr { width: 520px; height: 520px; top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(96,75,255,.9), transparent 60%); }
.mp-hero-glow-bl { width: 380px; height: 380px; bottom: -80px; left: -40px;
  background: radial-gradient(circle, rgba(22,139,255,.55), transparent 60%); }
.mp-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.mp-hero-badge {
  display: inline-block; padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.08);
  border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 26px;
}
.mp-hero-gradient {
  background: linear-gradient(90deg, #4fc3ff, #9c8cff, #ff7de0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mp-hero-sub { font-size: 18px; color: rgba(255,255,255,.8); margin: 0 auto 36px; line-height: 1.65; max-width: 600px; }
.mp-hero-search { display: flex; gap: 10px; max-width: 580px; margin: 0 auto 22px; }
.mp-hero-search-input {
  flex: 1; padding: 14px 22px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); outline: none; font-size: 15px;
  background: rgba(255,255,255,.12); color: #fff;
}
.mp-hero-search-input::placeholder { color: rgba(255,255,255,.5); }
.mp-hero-search-btn {
  padding: 14px 30px; border-radius: 999px; border: none;
  background: linear-gradient(135deg, #604bff, #168bff);
  color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
}
.mp-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.mp-hero-tags-label { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500; }
.mp-tag-chip {
  padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85); font-size: 13px;
}
.mp-hero-h1 {
  font-family: Poppins, Rubik, sans-serif;
  font-size: clamp(38px, 6vw, 68px); font-weight: 500;
  line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 20px;
  text-shadow: 0 5px 24px rgba(0,0,0,.3); color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HEADER — white, blue bottom border, exactly like portal                   */
/* ═══════════════════════════════════════════════════════════════════════════ */
.portal-header {
  background: #fff;
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 1px 8px rgba(0,0,0,.07);
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
}
.portal-header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 16px;
  height: 64px; display: flex; align-items: center; gap: 12px;
}
.header-logo { flex-shrink: 0; display: flex; align-items: center; }
.header-logo img { width: 200px; height: auto; }

/* Primary nav — matches portal primary-menu */
.primary-menu { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }

/* menu-link — exact portal: font-size 15px, font-weight 500, color inherit */
.menu-link {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--text); font-size: 15px; font-weight: 500;
  padding: 8px 10px; border-radius: 6px;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: color .15s, background .15s;
}
.menu-link:hover, .nav-item.nav-open > .menu-link { color: var(--primary); background: rgba(5,65,114,.06); }

/* Dropdown panel — hidden by default, shown on nav-open class */
.nav-dropdown {
  display: none;
  position: absolute; top: 100%; left: 0; z-index: 6000;
  background: #fff; border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.14);
  border: 1px solid #e0e6ef;
  flex-direction: column;
}
.nav-item.nav-open > .nav-dropdown,
.nav-item:hover > .nav-dropdown { display: flex; }

/* services / events dropdown — exact portal min-width 280px, padding 8px 0 */
.nav-dropdown.services,
.nav-dropdown.events {
  flex-direction: column; padding: 8px 0; min-width: 280px;
}

/* simple-link — exact portal: padding 6px 14px, font-size 13px */
.simple-link {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px; font-size: 13px; color: var(--text); text-decoration: none;
  transition: background .12s, color .12s;
}
.simple-link:hover { background: #f0f7ff; color: var(--primary); }
.simple-link .mdi { font-size: 17px; opacity: .7; flex-shrink: 0; }

/* Right bar — q-gutter-sm = 8px gap */
.right-bar { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

/* Global ad rails — exact portal layout-flex */
.layout-flex { display: flex; align-items: flex-start; gap: 0; }
.main-content { flex: 1; min-width: 0; }
.global-ad-rail {
  width: 300px; min-width: 300px; background: #f4f6f9;
  padding: 14px 8px; position: sticky; top: 64px;
  align-self: start; flex-shrink: 0;
}
.global-ad-rail--left  { border-right: 1px solid #e4e9f5; }
.global-ad-rail--right { border-left:  1px solid #e4e9f5; }
.global-ad-label { font-size: 9px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #bbb; text-align: center; margin-bottom: 8px; }
.global-ad-slot { background-color: #fff; border: 1px solid #e4e9f5; border-radius: 8px; padding: 12px 10px; margin-bottom: 10px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; cursor: pointer; overflow: hidden; }
.gas-sponsored { font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: #bbb; position: absolute; top: 6px; right: 6px; }
.gas-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; margin: 10px 0 6px; }
.gas-name { font-weight: 700; font-size: 11px; color: #08122f; margin: 0 0 4px; }
.gas-desc { font-size: 10px; color: #536078; margin: 0 0 10px; line-height: 1.4; }
.gas-btn  { width: 100%; padding: 6px 0; border-radius: 5px; background: linear-gradient(135deg, #29a8ff, #1060d0); color: #fff; font-size: 10px; font-weight: 700; border: none; cursor: pointer; }
@media (max-width: 1200px) { .global-ad-rail { display: none; } }
.header-search-form {
  position: relative; display: flex; align-items: center;
  width: 280px;
}
.header-search-input {
  width: 100%; padding: 8px 40px 8px 18px;
  border: 1px solid #3b3b3b; border-radius: 20px;
  font-size: 14px; color: var(--text); outline: none;
  background: #fff; transition: border-color .15s;
}
.header-search-input::placeholder { color: #888; }
.header-search-input:focus { border-color: var(--primary); }
.header-search-btn {
  position: absolute; right: 0; top: 0; height: 100%;
  padding: 0 12px; background: none; border: none;
  cursor: pointer; color: var(--text); display: flex; align-items: center;
}
.header-search-btn:hover { color: var(--primary); }
/* ── Mobile nav toggle + panel ────────────────────────────────────────────── */
.mobile-menu-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; border: none; background: none;
  cursor: pointer; flex-shrink: 0; margin-left: 4px; padding: 0;
}
.mobile-menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-panel {
  display: none; flex-direction: column; gap: 2px;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(7,18,47,.1);
  padding: 16px; max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-nav-panel.open { display: flex; }
.mobile-search-form { position: relative; display: flex; gap: 8px; margin-bottom: 10px; }
.mobile-search-form .header-search-input { flex: 1; }
.mobile-nav-link {
  display: block; padding: 12px 8px; font-size: 15px; font-weight: 600;
  color: var(--text); border-bottom: 1px solid #f0f3fa;
}
.mobile-nav-group-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin: 14px 8px 4px;
}
.mobile-nav-panel .simple-link { padding: 10px 8px; font-size: 14px; }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ── Login button ──────────────────────────────────────────────────────────── */
.btn-login {
  display:inline-block;padding:9px 20px;border-radius:999px;
  border:1.5px solid rgba(5,65,114,.4);color:#054172;font-weight:700;font-size:14px;
  text-decoration:none;transition:background .15s,border-color .15s,color .15s;
  white-space:nowrap;
}
.btn-login:hover { background:#054172;border-color:#054172;color:#fff; }

/* ── Partner marquee ───────────────────────────────────────────────────────── */
.partner-marquee-wrap {
  background:#f4f6f9;padding:28px 0;overflow:hidden;
  border-top:1px solid #e4e9f5;border-bottom:1px solid #e4e9f5;
}
.partner-marquee-track {
  display:flex;align-items:center;gap:0;
  animation:marquee-scroll 32s linear infinite;
  width:max-content;
}
.partner-marquee-wrap:hover .partner-marquee-track { animation-play-state:paused; }
@keyframes marquee-scroll {
  from { transform:translateX(0); }
  to   { transform:translateX(-50%); }
}
.partner-logo-item {
  padding:0 40px;display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.partner-logo-item img {
  height:40px;max-width:130px;object-fit:contain;
  filter:grayscale(20%) opacity(.85);transition:filter .25s;
}
.partner-logo-item img:hover { filter:grayscale(0%) opacity(1); }
.partner-logo-fallback {
  display:none;padding:5px 12px;border-radius:5px;border:1px solid #dde3ee;
  font-size:11px;font-weight:600;color:#536078;white-space:nowrap;
  filter:grayscale(20%) opacity(.85);transition:filter .25s;
}
.partner-logo-item:hover .partner-logo-fallback { filter:grayscale(0%) opacity(1); }

.btn-demo {
  padding: 8px 18px; border-radius: 20px;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: opacity .15s;
}
.btn-demo:hover { opacity: .88; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HOME PAGE SECTIONS                                                         */
/* ═══════════════════════════════════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-alt  { background: #f8fbff; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: Poppins, sans-serif; font-size: clamp(26px, 4vw, 36px);
  font-weight: 700; color: var(--primary); margin: 0;
}
.section-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #020817 0%, #071640 55%, #10115b 100%);
  padding: 90px 0 100px; color: #fff;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .16; pointer-events: none;
}
.hero-radial { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(60px); }
.hero-tr { width: 520px; height: 520px; top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(96,75,255,.9), transparent 60%); }
.hero-bl { width: 380px; height: 380px; bottom: -80px; left: -40px;
  background: radial-gradient(circle, rgba(22,139,255,.55), transparent 60%); }
.hero-center { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.08);
  border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 26px;
}
.hero-center h1 {
  font-size: clamp(38px, 6vw, 68px); font-weight: 500;
  line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 22px;
  text-shadow: 0 5px 24px rgba(0,0,0,.3);
}
.hero-gradient {
  background: linear-gradient(90deg, #4fc3ff, #9c8cff, #ff7de0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.8);
  margin: 0 auto 36px; line-height: 1.65; max-width: 600px;
}
.hero-search {
  display: flex; gap: 10px; max-width: 580px; margin: 0 auto 22px;
}
.hero-search-input {
  flex: 1; padding: 12px 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); outline: none;
  background: rgba(255,255,255,.12); color: #fff; font-size: 15px;
}
.hero-search-input::placeholder { color: rgba(255,255,255,.5); }
.hero-search-btn {
  padding: 12px 28px; border-radius: 999px; border: none;
  background: linear-gradient(135deg, #604bff, #168bff);
  color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: opacity .15s;
}
.hero-search-btn:hover { opacity: .9; }
.popular-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.tags-label { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500; }
.tag-chip {
  padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85); font-size: 13px;
  transition: background .15s, color .15s;
}
.tag-chip:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── Vendors block ─────────────────────────────────────────────────────────── */
.block.vendors {
  background: #f4f6f9; padding: 36px 0;
  border-top: 1px solid #e4e9f5; border-bottom: 1px solid #e4e9f5;
}
.vendors-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; }
.vendor-col { width: 25%; padding: 12px; display: flex; justify-content: center; align-items: center; }
@media (max-width: 600px) { .vendor-col { width: 50%; } }
.vendor-col a { display: flex; align-items: center; justify-content: center; }
.vendor-col img { max-height: 44px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .2s, opacity .2s; }
.vendor-col img:hover { filter: none; opacity: 1; }
.vendor-name-pill {
  padding: 8px 18px; border-radius: 8px; border: 1px solid #dde3ee;
  background: #fff; font-size: 13px; font-weight: 600; color: var(--muted);
  transition: color .15s, border-color .15s;
}
.vendor-name-pill:hover { color: var(--primary); border-color: var(--primary); }

/* ── Category cards ────────────────────────────────────────────────────────── */
.categories-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.category-card {
  display: flex; flex-direction: column;
  padding: 26px 22px; border-radius: 14px;
  border: 1px solid #e4e9f5; background: #fff;
  text-decoration: none; height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.category-card:hover { box-shadow: var(--card-shadow); transform: translateY(-2px); }
.cat-icon-wrap {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 26px;
}
.category-card h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin: 0 0 6px; }
.category-card p  { font-size: 13px; color: var(--muted); flex: 1; line-height: 1.5; margin-bottom: 14px; }
.explore-link { font-size: 13px; color: #211cff; font-weight: 700; }
.view-all-link { color: var(--blue); font-weight: 600; font-size: 15px; }
.view-all-link:hover { text-decoration: underline; }

/* ── Feature list ──────────────────────────────────────────────────────────── */
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; }
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; font-size: 15px; color: #17213f;
  border-bottom: 1px solid #edf1f8;
}
.feature-list li:last-child { border-bottom: none; }
.feature-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #604bff, #168bff);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px;
}

/* ── Dashboard preview ─────────────────────────────────────────────────────── */
.dashboard-preview {
  border-radius: 18px; background: #fff;
  box-shadow: 0 20px 60px rgba(7,18,47,.12); overflow: hidden; border: 1px solid #e4e9f5;
}
.dash-header { background: #071640; padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
.dash-dots { display: flex; gap: 5px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dash-tabs { display: flex; gap: 2px; overflow-x: auto; }
.dash-tab {
  padding: 6px 12px; color: rgba(255,255,255,.6); font-size: 12px;
  cursor: pointer; border-radius: 4px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.dash-tab.active, .dash-tab:hover { background: rgba(255,255,255,.1); color: #fff; }
.dash-metrics { display: flex; padding: 20px 16px; border-bottom: 1px solid #edf1f8; }
.metric { flex: 1; padding: 0 12px; border-right: 1px solid #edf1f8; }
.metric:first-child { padding-left: 4px; }
.metric:last-child  { border-right: none; }
.metric-value  { font-size: 20px; font-weight: 800; color: var(--primary); }
.metric-label  { font-size: 10px; color: #888; margin: 2px 0; }
.metric-trend  { font-size: 11px; font-weight: 700; color: #2eca44; }
.dash-products { padding: 14px 16px; }
.dash-products-header { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.product-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; color: #444; border-bottom: 1px solid #f5f5f5; }
.product-row:last-child { border-bottom: none; }
.product-row strong { font-weight: 700; color: var(--primary); }

/* ── Benefit cards ─────────────────────────────────────────────────────────── */
.benefits-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.benefit-card {
  padding: 32px 26px; border-radius: 16px;
  background: #fff; border: 1px solid #e4e9f5;
  height: 100%; transition: box-shadow .2s;
}
.benefit-card:hover { box-shadow: var(--card-shadow); }
.benefit-icon-wrap {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 30px;
}
.benefit-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin: 0 0 10px; }
.benefit-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── Step cards ────────────────────────────────────────────────────────────── */
.steps-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step-card {
  padding: 32px 26px; border-radius: 16px;
  background: #fff; border: 1px solid #e4e9f5;
  text-align: center; height: 100%; transition: box-shadow .2s;
}
.step-card:hover { box-shadow: var(--card-shadow); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #604bff, #168bff);
  color: #fff; font-size: 18px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CTA section ───────────────────────────────────────────────────────────── */
.cta-section { padding: 60px 24px; background: #fff; }
.cta-inner {
  max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 24px;
}
.cta-inner h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: #0d2252; margin: 0; }
.cta-inner p  { font-size: 16px; color: #4b5563; margin: 0; }
.btn-cta {
  display: inline-block; padding: 14px 32px; border-radius: 999px;
  background: #0066cc; color: #fff; font-weight: 700; font-size: 15px;
  white-space: nowrap; transition: opacity .15s;
}
.btn-cta:hover { opacity: .9; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* FOOTER — exact gradient from portal                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */
.ft {
  background:
    radial-gradient(circle at 90% 72%, rgba(102, 72, 255, .88), transparent 27%),
    radial-gradient(circle at 10% 88%, rgba(22, 139, 255, .5), transparent 24%),
    linear-gradient(135deg, #020817 0%, #071640 52%, #11115c 100%);
  color: rgba(255,255,255,.55);
  width: 100%;
}
.ft-inner { max-width: 1180px; margin: 0 auto; padding: 56px 48px 0; }
.ft-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.ft-col--brand { padding-right: 24px; text-align: left; }
.ft-logo-link { display: block; margin-bottom: 16px; }
.ft-logo-link img { width: 260px; max-width: 100%; display: block; }
.ft-tagline { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.45); margin: 0; max-width: 260px; }
.ft-col-hdr { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.ft-links { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.ft-link { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .15s; text-decoration: none; }
.ft-link:hover { color: #fff; }
.ft-contact { gap: 12px; }
.ft-contact li { display: flex; align-items: flex-start; gap: 8px; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.5; }
.ft-partner-logos { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.ft-partner-logo-link { display: flex; align-items: center; opacity: .7; transition: opacity .15s; }
.ft-partner-logo-link:hover { opacity: 1; }
.ft-sister {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 28px 48px;
}
.ft-sister-hdr {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.ft-sister-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.ft-sister-logo {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: .7;
  transition: opacity .2s;
  mix-blend-mode: screen;
}
.ft-sister-logo:hover { opacity: 1; }
@media (max-width: 768px) {
  .ft-sister { padding: 20px 24px; }
  .ft-sister-logos { gap: 20px; }
  .ft-sister-logo { height: 26px; }
}
.ft-bar { border-top: 1px solid rgba(255,255,255,.1); }
.ft-bar-inner { max-width: 1180px; margin: 0 auto; padding: 18px 48px; display: flex; align-items: center; justify-content: space-between; }
.ft-copy { font-size: 12px; color: rgba(255,255,255,.4); }
.ft-social-icon { color: rgba(255,255,255,.5); display: flex; align-items: center; transition: color .15s; }
.ft-social-icon:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SHARED INNER PAGES                                                         */
/* ═══════════════════════════════════════════════════════════════════════════ */
.mp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mp-section   { padding: 72px 0; }
.mp-section-alt { background: var(--alt-bg); }
.mp-section-header { text-align: center; margin-bottom: 48px; }
.mp-section-kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.mp-section-header h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; color: var(--primary); }
.mp-breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.mp-breadcrumb a { color: var(--accent); }
.mp-breadcrumb span { color: #c0ccd8; }
.mp-spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: mp-spin .7s linear infinite; margin: 48px auto; }
@keyframes mp-spin { to { transform: rotate(360deg); } }
.mp-alert { padding: 16px 20px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.mp-alert-error { background: #fff0f0; border: 1px solid #ffc5c5; color: #b00; }
.mp-empty { text-align: center; padding: 60px 24px; color: var(--muted); }
.mp-empty-icon { font-size: 56px; margin-bottom: 16px; }
.mp-empty h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* ── Product cards ─────────────────────────────────────────────────────────── */
.mp-product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mp-product-card { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--border); background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; text-decoration: none; }
.mp-product-card:hover { box-shadow: var(--card-shadow); transform: translateY(-2px); }
.mp-product-img { height: 140px; background: var(--alt-bg); display: flex; align-items: center; justify-content: center; padding: 16px; }
.mp-product-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.mp-product-img-placeholder { font-size: 48px; color: #c9d4e8; }
.mp-product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.mp-product-vendor { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 6px; }
.mp-product-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.mp-product-desc { font-size: 12px; color: var(--muted); flex: 1; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-product-footer { display: flex; align-items: center; justify-content: space-between; }
.mp-product-price { font-size: 15px; font-weight: 800; color: var(--primary); }
.mp-product-billing { font-size: 11px; color: var(--muted); }
.mp-product-cat { font-size: 11px; background: var(--alt-bg); color: var(--muted); padding: 3px 10px; border-radius: 999px; }
.mp-view-all { color: var(--blue); font-weight: 600; font-size: 15px; }
.mp-view-all:hover { text-decoration: underline; }

/* ── Search page ───────────────────────────────────────────────────────────── */
.mp-search-layout { display: flex; gap: 28px; align-items: flex-start; }
.mp-filters { width: 240px; flex-shrink: 0; position: sticky; top: 80px; }
.mp-filters h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.mp-filter-group { margin-bottom: 24px; }
.mp-filter-label { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.mp-filter-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 14px; color: var(--text); cursor: pointer; border-bottom: 1px solid #f0f3fa; }
.mp-filter-item:last-child { border-bottom: none; }
.mp-filter-item.active { color: var(--accent); font-weight: 600; }
.mp-results { flex: 1; min-width: 0; }
.mp-results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.mp-results-count { font-size: 14px; color: var(--muted); }
.mp-sort-select { font-size: 14px; border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; color: var(--text); background: #fff; cursor: pointer; }

/* ── Pagination ────────────────────────────────────────────────────────────── */
.mp-pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 36px; }
.mp-page-btn { padding: 7px 14px; border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--text); font-size: 14px; cursor: pointer; transition: background .15s, color .15s; }
.mp-page-btn:hover { background: var(--alt-bg); }
.mp-page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.mp-page-btn:disabled { opacity: .4; cursor: default; }

/* ── Product detail ────────────────────────────────────────────────────────── */
.mp-product-detail { display: flex; gap: 48px; align-items: flex-start; }
.mp-product-detail-img { width: 360px; flex-shrink: 0; border-radius: 16px; border: 1px solid var(--border); padding: 32px; display: flex; align-items: center; justify-content: center; background: var(--alt-bg); min-height: 280px; }
.mp-product-detail-img img { max-width: 100%; max-height: 220px; object-fit: contain; }
.mp-product-detail-body { flex: 1; }
.mp-detail-vendor { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.mp-detail-name { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--primary); margin-bottom: 14px; line-height: 1.2; }
.mp-detail-short { font-size: 16px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.mp-detail-price-box { background: var(--alt-bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin-bottom: 24px; }
.mp-detail-price { font-size: 32px; font-weight: 900; color: var(--primary); }
.mp-detail-billing { font-size: 14px; color: var(--muted); margin-top: 4px; }
.mp-detail-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.mp-detail-tag { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); color: var(--text); }
.mp-detail-desc { font-size: 15px; color: var(--text); line-height: 1.7; }
.mp-detail-desc img { max-width: 100%; border-radius: 8px; }

/* ── Hub pages ─────────────────────────────────────────────────────────────── */
.hub-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hub-card { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--border); background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; text-decoration: none; }
.hub-card:hover { box-shadow: var(--card-shadow); transform: translateY(-2px); }
.hub-banner { height: 120px; background: linear-gradient(135deg, #071640, #0d2252); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hub-logo-wrap { position: absolute; bottom: -24px; left: 24px; width: 56px; height: 56px; border-radius: 12px; border: 2px solid #fff; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.12); overflow: hidden; }
.hub-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hub-body { padding: 36px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.hub-name { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.hub-desc { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-action { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: #211cff; }
.tab-bar { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 36px; }
.tab-btn { padding: 10px 20px; border: none; background: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .15s, border-color .15s; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .primary-menu { display: none; }
  .header-search-form { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 640px) {
  .btn-demo { display: none; }
  .header-logo img { width: 150px; }
  .portal-header-inner { padding: 0 12px; gap: 8px; }
}
@media (max-width: 768px) {
  .hero-search { flex-direction: column; }
  .mp-search-layout { flex-direction: column; }
  .mp-filters { width: 100%; position: static; }
  .mp-product-detail { flex-direction: column; }
  .mp-product-detail-img { width: 100%; }
  .benefits-grid, .steps-grid { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ft-inner { padding: 40px 24px 0; }
  .ft-bar-inner { padding: 18px 24px; flex-direction: column; gap: 12px; text-align: center; }
  .dash-metrics { flex-wrap: wrap; }
  .metric { flex: 1 1 50%; border-right: none; padding: 8px 12px; }
}

@media (max-width: 520px) {
  .ft-cols { grid-template-columns: 1fr; }
}
