/* ══════════════════════════════════════════
   DARK / GRADIENT SECTION UPGRADES
   Applies richer background + ambient glow
   to all blue-background sections
══════════════════════════════════════════ */

/* Override background with the premium dark gradient */
.section--dark,
.section--gradient {
  background: linear-gradient(170deg, #062634 0%, #052030 30%, #041a24 65%, #031319 100%) !important;
  border-top: none !important;
}

/* Hero section — match sub-page dark gradient */
.hero {
  background: linear-gradient(170deg, #051a24 0%, #041318 30%, #030e12 60%, #020a0d 100%) !important;
}

/* Remove the separator line between nav and hero */
.nav {
  border-bottom: none !important;
  box-shadow: none !important;
}
.nav--scrolled {
  box-shadow: none !important;
}

/* ── Hero arc: huge half-circle behind the pipeline ── */

/* Arc sits behind pipeline (z-index: 0) */
.hero__glow-arc {
  position: absolute !important;
  left: 50% !important;
  bottom: -260px !important;
  transform: translateX(-50%) !important;
  width: 130vw !important;
  height: 780px !important;
  border-radius: 50% !important;
  /* Sharp bright teal rim */
  border: 1.5px solid rgba(72,192,191,0.5) !important;
  /* Soft inner fill */
  background: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(72,192,191,0.15) 0%,
    rgba(72,192,191,0.06) 45%,
    transparent 72%) !important;
  /* Outer ambient glow */
  box-shadow:
    0 0 80px 24px  rgba(72,192,191,0.20),
    0 0 200px 80px rgba(72,192,191,0.09),
    inset 0 0 120px rgba(72,192,191,0.07) !important;
  filter: none !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Pipeline sits on top of the arc */
.dp-glow-ring {
  position: relative;
  z-index: 2;
}

/* Solidify pipeline background — brand dark so it pops against the glow */
.dp-glow-ring .hero__product {
  background: #031319 !important;
}
.dp-glow-ring .hero__product::before {
  background: linear-gradient(180deg, #062634 0%, #052030 100%) !important;
  background-image:
    radial-gradient(circle at 22px 50%, #ff5f57 4px, transparent 4px),
    radial-gradient(circle at 42px 50%, #febc2e 4px, transparent 4px),
    radial-gradient(circle at 62px 50%, #28c840 4px, transparent 4px),
    linear-gradient(180deg, #062634 0%, #052030 100%) !important;
}

/* Remove the static CSS dot grid (network-bg.js provides animated version) */
.section--dark::before {
  background-image: none !important;
  background: radial-gradient(ellipse at 50% 42%,
    rgba(72,192,191,0.1) 0%,
    rgba(72,192,191,0.04) 38%,
    transparent 65%) !important;
  background-size: unset !important;
  animation: none !important;
}

/* Add ambient radial glow to gradient section */
.section--gradient {
  position: relative;
}
.section--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%,
    rgba(72,192,191,0.1) 0%,
    rgba(72,192,191,0.04) 38%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
}
/* Ensure section content sits above the glow */
.section--dark > .container,
.section--gradient > .container {
  position: relative;
  z-index: 1;
}

/* ─── Logo Bar: Infinite Scroll ─── */
.logo-bar__logos {
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  padding: 0 !important;
}
.logo-bar__track {
  display: flex !important;
  align-items: center;
  gap: 56px;
  width: max-content;
  will-change: transform;
}
.logo-bar__track:hover { animation-play-state: paused; }
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-offset, -50%)); }
}
.logo-bar__track img { flex-shrink: 0; opacity: 0.65; transition: opacity 0.2s; }
.logo-bar__track img:hover { opacity: 1; }

/* ─── Bento: overrides to allow live content ─── */
.bento__main, .bento__item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bento__main img, .bento__item img { display: none; } /* hide static images */

/* ─── Signal Grid Live ─── */
.sg-widget {
  background: rgba(6,38,52,0.75);
  border-radius: 10px;
  padding: 22px;
  height: 100%;
  box-sizing: border-box;
  font-family: var(--font-body, system-ui, sans-serif);
}
.sg-title {
  font-size: 16px;
  font-weight: 600;
  color: #e3e1e2;
  margin: 0 0 18px;
}
.sg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .sg-grid { grid-template-columns: repeat(2, 1fr); } }
.sg-col-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sg-col-count {
  background: currentColor;
  color: #062634;
  padding: 1px 6px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
}
.sg-col--exit .sg-col-header      { color: #e86b68; }
.sg-col--financial .sg-col-header { color: #48c0bf; }
.sg-col--market .sg-col-header    { color: #5ED4A5; }
.sg-col--execution .sg-col-header { color: #7aafc4; }
.sg-tags { display: flex; flex-direction: column; gap: 5px; }
.sg-tag {
  font-size: 10.5px;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid rgba(227,225,226,0.07);
  background: rgba(227,225,226,0.03);
  color: rgba(227,225,226,0.65);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sg-tag:hover { color: #e3e1e2; transform: translateX(2px); }
.sg-col--exit .sg-tag:hover      { background: rgba(232,107,104,0.08); border-color: rgba(232,107,104,0.22); }
.sg-col--financial .sg-tag:hover { background: rgba(72,192,191,0.08);  border-color: rgba(72,192,191,0.22); }
.sg-col--market .sg-tag:hover    { background: rgba(94,212,165,0.08);  border-color: rgba(94,212,165,0.22); }
.sg-col--execution .sg-tag:hover { background: rgba(122,175,196,0.08); border-color: rgba(122,175,196,0.22); }
.sg-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; flex-shrink: 0; opacity: 0.7;
}
.sg-col--exit .sg-dot      { color: #e86b68; }
.sg-col--financial .sg-dot { color: #48c0bf; }
.sg-col--market .sg-dot    { color: #5ED4A5; }
.sg-col--execution .sg-dot { color: #7aafc4; }

/* ─── Score Card Live ─── */
@keyframes scWidgetIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scGaugePulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(72,192,191,0.35)); }
  50%       { filter: drop-shadow(0 0 10px rgba(72,192,191,0.6)); }
}
.sc-widget {
  background: rgba(6,38,52,0.9);
  border: 1px solid rgba(72,192,191,0.15);
  border-radius: 12px;
  padding: 22px 24px;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body, system-ui, sans-serif);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.sc-widget:hover {
  border-color: rgba(72,192,191,0.28);
  box-shadow: 0 0 28px rgba(72,192,191,0.07);
}
.sc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 8px;
}
.sc-company {
  font-size: 13px;
  font-weight: 600;
  color: #e3e1e2;
  line-height: 1.3;
}
.sc-badge {
  background: rgba(94,212,165,0.12);
  color: #5ED4A5;
  border: 1px solid rgba(94,212,165,0.3);
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.sc-gauge-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}
.sc-gauge { overflow: visible; display: block; }
.sc-gauge-bg   { fill: none; stroke: rgba(72,192,191,0.08); stroke-width: 10; }
.sc-gauge-fill {
  fill: none; stroke: #48c0bf; stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 345.58;
  stroke-dashoffset: 345.58;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.4s ease;
}
.sc-gauge-fill.sc-animate {
  stroke-dashoffset: 55.3;
  animation: scGaugePulse 3s ease-in-out 2s infinite;
}
.sc-score-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.sc-score-big  { font-size: 40px; font-weight: 700; color: #e3e1e2; line-height: 1; font-family: var(--font-heading, system-ui); letter-spacing: -0.02em; }
.sc-score-lbl  { font-size: 8px; color: rgba(227,225,226,0.4); letter-spacing: 0.1em; text-transform: uppercase; }
.sc-bars { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sc-bar-row { display: flex; flex-direction: column; gap: 4px; }
.sc-bar-meta { display: flex; justify-content: space-between; font-size: 11px; color: rgba(227,225,226,0.5); }
.sc-bar-meta span:last-child { color: rgba(227,225,226,0.85); font-weight: 600; }
.sc-bar-track { background: rgba(227,225,226,0.06); border-radius: 4px; height: 5px; overflow: hidden; }
.sc-bar-fill  {
  height: 100%; border-radius: 4px; width: 0;
  background: linear-gradient(90deg, #38a8a7, #48c0bf);
  box-shadow: 0 0 6px rgba(72,192,191,0.25);
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.sc-bar-fill.sc-animate { width: var(--w); }
.sc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.sc-tag {
  background: rgba(72,192,191,0.07);
  border: 1px solid rgba(72,192,191,0.15);
  color: rgba(227,225,226,0.55);
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.sc-tag:hover { background: rgba(72,192,191,0.14); color: rgba(227,225,226,0.85); }

/* ─── Dimension Weights Donut ─── */
@keyframes dwLegendIn {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}
.dw-widget {
  background: rgba(6,38,52,0.9);
  border: 1px solid rgba(72,192,191,0.15);
  border-radius: 12px;
  padding: 22px 24px;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body, system-ui, sans-serif);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.dw-widget:hover {
  border-color: rgba(72,192,191,0.28);
  box-shadow: 0 0 28px rgba(72,192,191,0.07);
}
.dw-title {
  font-size: 13px;
  font-weight: 600;
  color: #e3e1e2;
  margin: 0 0 16px;
  text-align: left;
}
.dw-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}
.dw-donut-svg { overflow: visible; flex-shrink: 0; }
.dw-seg {
  fill: none;
  stroke-width: 22;
  stroke-dasharray: 0 345.58;
  transition: stroke-dasharray 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.dw-seg-1 { stroke: #48c0bf;  stroke-dashoffset: 0; }
.dw-seg-2 { stroke: #6B7FD4;  stroke-dashoffset: -138.23; }
.dw-seg-3 { stroke: rgba(227,225,226,0.55); stroke-dashoffset: -259.19; }
.dw-seg-1.dw-animate { stroke-dasharray: 138.23 207.35; }
.dw-seg-2.dw-animate { stroke-dasharray: 120.95 224.63; }
.dw-seg-3.dw-animate { stroke-dasharray: 86.40  259.18; }
.dw-legend { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dw-legend-item {
  display: flex; align-items: center; gap: 10px;
  opacity: 0;
}
.dw-legend-item.dw-legend-in {
  animation: dwLegendIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.dw-legend-dot  { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dw-legend-info { display: flex; flex-direction: column; gap: 1px; }
.dw-legend-name { font-size: 11px; color: rgba(227,225,226,0.5); line-height: 1.2; }
.dw-legend-pct  { font-size: 16px; font-weight: 700; color: #e3e1e2; line-height: 1.2; }

/* ─── Product Section Layout ─── */
.prd-signal-wrap {
  width: 100%;
  margin-bottom: 28px;
}
.prd-signal-wrap .sg-widget {
  border: 1px solid rgba(72,192,191,0.12);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(72,192,191,0.05) 0%, #062634 35%, #041a24 100%);
}
.prd-cards-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.prd-cards-row .sc-widget,
.prd-cards-row .dw-widget {
  flex: 1;
  min-width: 0;
  height: auto;
  align-self: stretch;
}
@media (max-width: 700px) {
  .prd-cards-row { flex-direction: column; }
}

/* ════════════════════════════════════════
   GLOBAL BUTTON OVERRIDES — Premium style
   ════════════════════════════════════════ */

.btn {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease !important;
  letter-spacing: 0.015em;
}

/* Primary — Start Investing (teal outline) */
.btn--coral {
  background: transparent !important;
  border: 1.5px solid #48c0bf !important;
  box-shadow: none !important;
  color: #48c0bf !important;
}
.btn--coral:hover {
  background: rgba(72,192,191,0.08) !important;
  border-color: #48c0bf !important;
  box-shadow: 0 0 18px rgba(72,192,191,0.25) !important;
  transform: translateY(-1px) !important;
  color: #48c0bf !important;
}
.btn--coral:active { transform: translateY(0) !important; }

/* Secondary — Read the DEALS Framework (outline/teal) */
.btn--outline {
  background: rgba(72,192,191,0.05) !important;
  color: #48c0bf !important;
  border: 1.5px solid rgba(72,192,191,0.4) !important;
  box-shadow: inset 0 0 16px rgba(72,192,191,0.03) !important;
}
.btn--outline:hover {
  background: rgba(72,192,191,0.1) !important;
  color: #48c0bf !important;
  border-color: rgba(72,192,191,0.75) !important;
  box-shadow: 0 0 20px rgba(72,192,191,0.14), 0 4px 16px rgba(72,192,191,0.08),
              inset 0 0 16px rgba(72,192,191,0.05) !important;
  transform: translateY(-2px) !important;
}
.btn--outline:active { transform: translateY(0) !important; }

/* Nav CTA (Let's Talk in header) */
.nav__cta.btn--coral {
  padding: 0.55rem 1.4rem !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

/* ════════════════════════════════════════
   NAVBAR OVERRIDES — Glass scroll state
   ════════════════════════════════════════ */

/* Larger logo */
.nav__logo img {
  height: 50px !important;
  width: auto !important;
}

/* Smooth transition for nav state changes */
.nav {
  transition: background 0.45s ease,
              border-bottom-color 0.45s ease,
              box-shadow 0.45s ease !important;
}

/* Scrolled: transparent glass instead of heavy opaque blue */
.nav--scrolled {
  background: rgba(4, 16, 26, 0.48) !important;
  backdrop-filter: blur(22px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.6) !important;
  border-bottom: 1px solid rgba(72,192,191,0.1) !important;
  box-shadow: 0 1px 0 rgba(72,192,191,0.06),
              0 8px 32px rgba(0,0,0,0.22) !important;
}

/* ════════════════════════════════════════
   HOW IT WORKS — Premium Card Redesign
   ════════════════════════════════════════ */

.process {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}
@media (max-width: 960px)  { .process { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 520px)  { .process { grid-template-columns: 1fr !important; } }

.process__step {
  background: rgba(4,26,36,0.32) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 18px !important;
  padding: 30px 26px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 2px 14px rgba(6,38,52,0.05), 0 1px 3px rgba(6,38,52,0.03) !important;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s ease,
              border-color 0.32s ease !important;
  --mx: 50%;
  --my: 50%;
}

.process__step::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(72,192,191,0.18) 0%,
    rgba(72,192,191,0.07) 40%,
    transparent 68%);
  top: calc(var(--my) - 210px);
  left: calc(var(--mx) - 210px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.process__step:hover::after { opacity: 1; }

/* ────────────────────────────────────────
   ALL CARDS — Heading font + cursor glow
   ──────────────────────────────────────── */

/* Heading font on all card titles */
.card__title,
.briefing-step h3 {
  font-family: var(--font-heading, 'Bomstad Display', system-ui, sans-serif) !important;
}

/* Cursor glow setup for all light-bg card types */
.card,
.briefing-step {
  position: relative !important;
  overflow: hidden !important;
  --mx: 50%;
  --my: 50%;
}

.card::after,
.briefing-step::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(72,192,191,0.18) 0%,
    rgba(72,192,191,0.07) 40%,
    transparent 68%);
  top: calc(var(--my) - 210px);
  left: calc(var(--mx) - 210px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.card:hover::after,
.briefing-step:hover::after { opacity: 1; }

.process__step:hover {
  transform: translateY(-6px) scale(1.005) !important;
  box-shadow: 0 20px 44px rgba(6,38,52,0.09),
              0 0 0 1.5px rgba(72,192,191,0.18) !important;
  border-color: rgba(72,192,191,0.2) !important;
}

.process__step:first-child {
  background: linear-gradient(140deg, rgba(72,192,191,0.18) 0%, rgba(4,26,36,0.38) 55%) !important;
}

.process__num {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: none !important;
  color: rgba(72,192,191,0.70) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  font-family: var(--font-body, 'General Sans', system-ui, sans-serif) !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 20px !important;
  line-height: 1 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}
.process__num::before { content: '0'; }

.process__step h3 {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading, 'Bomstad Display', system-ui, sans-serif) !important;
  color: #e3e1e2 !important;
  margin: 0 0 10px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  position: relative !important;
  z-index: 1 !important;
}
.process__step h3::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #48c0bf, rgba(72,192,191,0.25));
  border-radius: 2px;
  margin-bottom: 9px;
}

.process__time {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(72,192,191,0.08) !important;
  color: #2e9899 !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  font-family: var(--font-body, 'General Sans', system-ui, sans-serif) !important;
  letter-spacing: 0.05em !important;
  padding: 3px 11px !important;
  border-radius: 20px !important;
  margin-bottom: 16px !important;
  border: 1px solid rgba(72,192,191,0.18) !important;
  position: relative !important;
  z-index: 1 !important;
  width: fit-content !important;
}

.process__step p {
  font-size: 13.5px !important;
  font-family: var(--font-body, 'General Sans', system-ui, sans-serif) !important;
  color: rgba(227,225,226,0.60) !important;
  line-height: 1.68 !important;
  margin: 0 !important;
  flex: 1 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* ─── Team card photo — pop hover ─── */
.team-card__photo {
  transition: box-shadow 0.35s ease !important;
  transform: none !important;
}
.team-card:hover .team-card__photo {
  box-shadow: 0 0 0 4px rgba(72,192,191,0.35), 0 12px 32px rgba(6,38,52,0.2) !important;
  transform: none !important;
}
.team-card__photo img {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  transform: scale(1);
}
.team-card:hover .team-card__photo img {
  transform: scale(1.1) !important;
}

/* ══════════════════════════════════════════
   CONTACT / LET'S TALK — Two-column layout
══════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: stretch;
  margin-top: 52px;
}
.contact-layout__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Override the existing briefing-steps horizontal layout inside the new column */
.contact-layout__left .briefing-step {
  text-align: left !important;
}
.contact-layout__left .briefing-step__num {
  margin: 0 0 14px 0 !important;
}
.contact-layout__right {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(72,192,191,0.12);
  /* Stretch to fill the grid row so iframe matches the left column height */
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.contact-layout__right iframe {
  flex: 1;
  min-height: 600px !important;
  height: 100% !important;
  width: 100%;
  border: none;
  display: block;
}
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-layout__left .briefing-step {
    text-align: center !important;
  }
  .contact-layout__left .briefing-step__num {
    margin: 0 auto 14px !important;
  }
}

/* ══════════════════════════════════════════
   FREE RESOURCES SECTION
══════════════════════════════════════════ */
.fr-section {
  position: relative;
  background: linear-gradient(170deg, #051a24 0%, #041318 30%, #030e12 60%, #020a0d 100%);
  padding: 64px 0 72px;
  overflow: hidden;
  --deep-think: #ffffff;
  --gray-500: rgba(255,255,255,0.75);
  --white: rgba(4,26,36,0.35);
}
/* Top fade — soft depth from previous section */
.fr-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom,
    rgba(3, 14, 18, 0.82) 0%,
    rgba(3, 14, 18, 0.40) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}
/* Ensure fr content sits above the fade */
.fr-grid {
  position: relative;
  z-index: 2;
}
.fr-bg-glow { display: none; }
.fr-header {
  position: relative;
  z-index: 2;
}
.fr-header h2 { color: #ffffff !important; }
.fr-header .section__sub { color: rgba(255,255,255,0.78) !important; }

/* Grid */
.fr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* Cards */
.fr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: 14px;
  background: rgba(4,26,36,0.35);
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform   0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow  0.4s ease,
    border-color 0.35s ease;
  /* Staggered fade-in handled inline via --fr-delay */
  animation: frCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--fr-delay, 0s);
  --mx: 50%; --my: 50%;
}
@keyframes frCardIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Top accent bar */
.fr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #48c0bf 0%, rgba(72,192,191,0.3) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
/* Cursor glow */
.fr-card::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(72,192,191,0.09) 0%,
    rgba(72,192,191,0.03) 42%,
    transparent 68%);
  top: calc(var(--my) - 170px);
  left: calc(var(--mx) - 170px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.fr-card:hover::before { opacity: 1; }
.fr-card:hover::after  { opacity: 1; }
.fr-card:hover {
  transform: translateY(-5px);
  border-color: rgba(72,192,191,0.35);
  box-shadow:
    0 12px 32px rgba(6,38,52,0.08),
    0 2px 8px rgba(72,192,191,0.1);
}

/* Card content — all above glow layer */
.fr-card__icon,
.fr-card__tag,
.fr-card__title,
.fr-card__desc,
.fr-card__cta { position: relative; z-index: 1; }

.fr-card__icon {
  color: #48c0bf;
  margin-bottom: 14px;
  opacity: 0.85;
}
.fr-card__tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #48c0bf;
  font-family: var(--font-body, 'General Sans', system-ui);
  margin-bottom: 7px;
  display: block;
}
.fr-card__title {
  font-family: var(--font-heading, 'Bomstad Display', system-ui);
  font-size: 20px;
  font-weight: 700;
  color: #e3e1e2;
  margin: 0 0 8px;
  line-height: 1.18;
}
.fr-card__desc {
  font-family: var(--font-body, 'General Sans', system-ui);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(227,225,226,0.60);
  margin: 0;
  flex: 1;
}
.fr-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-body, system-ui);
  color: #48c0bf;
  transition: gap 0.25s ease;
}
.fr-card:hover .fr-card__cta { gap: 10px; }

/* Responsive */
@media (max-width: 860px) {
  .fr-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .fr-grid .fr-card:last-child { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .fr-section { padding: 64px 0 72px; }
  .fr-grid { grid-template-columns: 1fr; }
  .fr-grid .fr-card:last-child { grid-column: auto; max-width: none; }
  .fr-card__title { font-size: 19px; }
}
