/* ================================================================
   TP SalesFlow v5 — white · red · League Spartan
   Sticky-frame architecture with scroll-driven content morph
   ================================================================ */

:root{
  /* surfaces */
  --bg:        #FFFFFF;
  --bg-2:      #FAFAFA;
  --bg-3:      #F4F4F4;
  /* ink */
  --ink:       #0A0A0A;
  --ink-2:     #1A1A1A;
  --ink-soft:  #2C2C2C;
  --muted:     #6B6B6B;
  --muted-2:   #9A9A9A;
  /* lines */
  --line:      #ECECEC;
  --line-2:    #DCDCDC;
  /* brand red */
  --red:       #E11D2E;
  --red-dk:    #B91626;
  --red-soft:  #FFE4E7;
  --red-tint:  #FFF1F3;
  /* shadows */
  --sh-sm:     0 1px 2px rgba(10,10,10,.04), 0 2px 6px rgba(10,10,10,.04);
  --sh-md:     0 4px 16px rgba(10,10,10,.06), 0 12px 40px -16px rgba(10,10,10,.10);
  --sh-lg:     0 12px 40px -8px rgba(10,10,10,.10), 0 40px 80px -32px rgba(10,10,10,.16);
  --sh-red:    0 20px 60px -20px rgba(225,29,46,.30);
  /* typography */
  --ff:        "League Spartan", system-ui, -apple-system, sans-serif;
  /* layout */
  --rad-sm:    8px;
  --rad-md:    14px;
  --rad-lg:    20px;
  --rad-xl:    28px;
  --rad-frame: 18px;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ================================================================
   HYBRID SCALE WRAPPER
   The page is authored at 1920px design width. CSS `zoom` is set on
   #design-root by main.js so the same design renders correctly at any
   desktop viewport (matching the bridge video overlays' scale exactly):
     viewport >= 1920px : zoom = 1, design-root centered (letterbox)
     viewport 1280–1919 : zoom = innerWidth / 1920 (scaled DOWN to fit)
     viewport <  1280   : zoom cleared, mobile responsive layout
   We use `zoom` (not transform:scale) because zoom recomputes layout —
   keeps position:fixed bridge frames pinned to viewport, removes the
   need for a body-height hack, and gives crisper text rasterisation.
   ================================================================ */
#design-root{
  width: 1920px;
  margin: 0 auto;
  /* Hidden on first paint to prevent FOUC: the page is authored at 1920px
     and only gets scaled to fit once main.js applies CSS `zoom`. Without
     this, sub-1920 viewports show the page at its huge native size for a
     few frames. JS adds .is-ready after applyHybridScale() runs; a 200ms
     setTimeout fallback also adds it so the page can't get stuck blank. */
  opacity: 0;
}
#design-root.is-ready{
  opacity: 1;
}
@media (max-width: 1279px){
  #design-root{
    width: 100%;
    margin: 0;
    zoom: 1 !important;
  }
}
body{
  font-family: var(--ff);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,svg{ display: block; max-width: 100%; }
button{ font: inherit; }
a{ color: inherit; }

/* ================================================================
   NAV
   ================================================================ */
.nav{
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto;
  padding: 14px 28px;
}
.logo{
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.logo-mark{
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); position: relative;
  box-shadow: 0 0 0 0 rgba(225,29,46,0);
  animation: pulseDot 3.6s ease-in-out infinite;
}
.logo-mark::after{
  content: ""; position: absolute; inset: 6px;
  border-radius: 50%; border: 1.5px solid #fff;
  border-right-color: transparent; border-bottom-color: transparent;
  transform: rotate(-30deg);
}
@keyframes pulseDot{
  0%,100%{ box-shadow: 0 0 0 0 rgba(225,29,46,.0); }
  50%   { box-shadow: 0 0 0 6px rgba(225,29,46,.10); }
}
.logo-text{ font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.logo-text b{ font-weight: 700; }

.nav-links{ display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn){
  color: var(--ink-soft); text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  transition: color .15s ease;
}
.nav-links a:not(.btn):hover{ color: var(--red); }

.nav-burger{
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 10px; gap: 5px; flex-direction: column;
}
.nav-burger span{
  display: block; width: 22px; height: 1.6px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 880px){
  .nav-links a:not(.btn){ display: none; }

  /* --- Mobile dropdown nav (v4-style behavior in v5 chrome) --- */
  .nav-burger{ display: flex; }

  /* Burger lines morph to X when the panel is open */
  .nav-links.open ~ .nav-burger span:nth-child(1){ transform: translateY(6.6px) rotate(45deg); }
  .nav-links.open ~ .nav-burger span:nth-child(2){ opacity: 0; }
  .nav-links.open ~ .nav-burger span:nth-child(3){ transform: translateY(-6.6px) rotate(-45deg); }

  /* Convert .nav-links into a dropdown panel anchored under the sticky bar */
  .nav-links{
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    margin-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.28);
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 55;
  }
  .nav-links.open{
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  /* Panel items — full-width tap targets */
  .nav-links.open a:not(.btn){
    display: flex;
    width: 100%;
    align-items: center;
    font-size: 15px;
    padding: 12px 14px;
    color: var(--ink);
    border-radius: 10px;
  }
  .nav-links.open a:not(.btn):hover,
  .nav-links.open a:not(.btn):focus{
    background: var(--bg-2);
    color: var(--red);
  }
  .nav-links.open a.is-current{
    color: var(--red);
    font-weight: 600;
    background: rgba(225,29,46,.08);
  }
  .nav-links.open a.is-current::after{ display: none; }

  /* Demo CTA — full-width branded button at bottom of panel */
  .nav-links a.btn{
    margin-top: 6px;
    padding: 13px 14px;
    justify-content: center;
    width: 100%;
  }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--ff); font-size: 15px; font-weight: 500;
  letter-spacing: -.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn .arr{ display: inline-block; transition: transform .18s ease; }
.btn:hover .arr{ transform: translateX(4px); }
.btn-primary{
  background: var(--red); color: #fff;
  box-shadow: 0 8px 22px -10px rgba(225,29,46,.55);
}
.btn-primary:hover{ background: var(--red-dk); transform: translateY(-1px); box-shadow: 0 14px 32px -12px rgba(225,29,46,.65); }
.btn-ghost{
  background: transparent; color: var(--ink); border-color: var(--line-2);
}
.btn-ghost:hover{ border-color: var(--ink); background: var(--bg-2); }
.btn-lg{ padding: 16px 28px; font-size: 16px; }
.btn-xl{ padding: 20px 36px; font-size: 17px; font-weight: 500; }

/* ================================================================
   HERO
   ================================================================ */
.hero{
  position: relative;
  padding: 120px 28px 100px;
  overflow: hidden;
}
.hero::before{
  /* subtle red bloom in the upper-right */
  content: ""; position: absolute; top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(closest-side, rgba(225,29,46,.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner{
  position: relative; z-index: 1;
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.7fr;
  gap: 56px; align-items: center;
}
.hero-text h1{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(56px, 8vw, 116px);
  line-height: .94;
  letter-spacing: -.045em;
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero-body{
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
  max-width: 540px; margin-bottom: 16px;
  text-wrap: pretty;
}
.hero-text .btn{ margin-top: 20px; }

/* Hero visual: GHL pipeline preview — mockup IS the visual, no extra chrome */
.hero-visual{
  display: flex; align-items: center; justify-content: center;
  perspective: 2400px;
  perspective-origin: 50% 30%;
}
.hero-frame{
  position: relative;
  width: 100%; max-width: 720px;
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column;
  /* Hero text is on the LEFT — frame faces left (rotateY negative) */
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.7,.25,1);
}
.hero-frame .hero-frame-body{ flex: 1; height: auto; }
.hero-frame-glow{
  position: absolute; inset: -40%;
  background: radial-gradient(closest-side, rgba(225,29,46,.18), transparent 70%);
  pointer-events: none;
  animation: glowDrift 12s ease-in-out infinite alternate;
}
@keyframes glowDrift{
  from{ transform: translate(-8%,-4%); }
  to  { transform: translate(8%, 6%); }
}
.hero-frame-bar{
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.hero-frame-bar .dot,
.frame-bar .dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-2);
}
.hero-frame-bar .dot:first-child,
.frame-bar .dot:first-child{ background: #FF5F57; }
.hero-frame-bar .dot:nth-child(2),
.frame-bar .dot:nth-child(2){ background: #FEBC2E; }
.hero-frame-bar .dot:nth-child(3),
.frame-bar .dot:nth-child(3){ background: #28C840; }
.hero-frame-title,
.frame-title{
  margin-left: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: -.01em; color: var(--ink-soft);
}
.hero-frame-body{
  position: relative; z-index: 1;
  height: calc(100% - 42px);
  display: flex; align-items: center; justify-content: center;
}

/* Hero mini-pipeline (no sidebar, condensed) */
.hero-pipe{
  width: 100%; height: 100%;
  padding: 12px 14px 14px;
  display: flex; flex-direction: column;
  font-family: "Inter", system-ui, sans-serif;
  position: relative; z-index: 2;
}
.hero-pipe-tabs{
  display: flex; align-items: center; gap: 16px;
  padding: 0 2px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  flex-shrink: 0;
}
.hero-pipe-tab{
  color: var(--muted);
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -10px;
  padding-bottom: 8px;
}
.hero-pipe-tab.active{
  color: var(--ink); font-weight: 600;
  border-bottom-color: var(--red);
}
.hero-pipe-stat{
  margin-left: auto; color: var(--muted); font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}
.hero-pipe-stat strong{ color: var(--red); font-weight: 600; }
.hero-pipe-cols{
  flex: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding-top: 12px;
  min-height: 0;
}
.hpcol{
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-2);
  border-radius: 6px;
  padding: 7px 6px;
  min-width: 0;
}
.hpcol-h{
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10.5px; font-weight: 600;
  color: var(--ink);
  padding: 0 2px 5px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -.005em;
}
.hpcol-h span:last-child{ color: var(--muted); font-weight: 500; font-size: 9.5px; }
.hpcard{
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-2);
  border-radius: 4px;
  padding: 6px 7px;
  font-size: 9.5px;
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
  letter-spacing: -.005em;
  white-space: nowrap; overflow: hidden;
}
.hpcard > strong{ font-weight: 600; color: var(--ink); font-size: 9.5px; flex-shrink: 0; margin-left: 6px; }
.hpcard.hot{
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(225,29,46,.07), #fff 60%);
}
.hpcard.won{
  border-left-color: #10B981;
  background: linear-gradient(90deg, rgba(16,185,129,.07), #fff 60%);
}
.hpcard.hpc-new{
  animation: hpcNewIn 6.4s ease-out infinite;
}
@keyframes hpcNewIn{
  0%   { opacity: 0; transform: translateY(-6px); }
  6%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
.hppulse{
  position: absolute; right: 7px; top: 50%;
  transform: translate(0,-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(225,29,46,.6);
  animation: hppulseAnim 2s ease-in-out infinite;
}
.hpcard.hot > strong{ margin-right: 12px; }
@keyframes hppulseAnim{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(225,29,46,.5); }
  50%    { box-shadow: 0 0 0 6px rgba(225,29,46,0); }
}

@media (max-width: 980px){
  .hero{ padding: 90px 22px 70px; }
  .hero-inner{ grid-template-columns: 1fr; gap: 50px; }
  .hero-visual{ min-height: 380px; }
}

/* ================================================================
   MODULES — sticky frame architecture
   ================================================================ */
.modules{
  position: relative;
  padding: 120px 28px 120px;
  background: var(--bg);
}
.modules-grid{
  position: relative;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  /* IMPORTANT: do not use align-items: start here — it collapses the right
     column to its content height (560px), which kills position:sticky
     because the sticky element needs a tall containing block to scroll within. */
}
.modules-text{ display: flex; flex-direction: column; gap: 0; }

.module{
  min-height: 92vh;
  padding: 60px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.module:first-child{ padding-top: 0; }
.module-num{
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  color: var(--red); margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.module-num::after{
  content: ""; display: inline-block; width: 36px; height: 1px;
  background: var(--red); opacity: .6;
}
.module-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.module-list{
  list-style: none; padding: 0; margin: 0 0 36px;
  border-top: 1px solid var(--line);
}
.module-list > li{
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 16px; line-height: 1.55; color: var(--ink-soft);
  position: relative;
}
.module-list > li::before{
  content: ""; position: absolute; left: 0; top: 28px;
  width: 14px; height: 1.5px; background: var(--red);
}
.module-sublist{
  list-style: none; margin: 12px 0 0; padding-left: 0;
}
.module-sublist li{
  padding: 6px 0 6px 18px;
  font-size: 15px; color: var(--muted);
  position: relative;
}
.module-sublist li::before{
  content: "·"; position: absolute; left: 0; color: var(--red);
  font-weight: 700;
}

/* ================================================================
   STICKY FRAME (right column)
   The right grid column stretches to match the tall left column so the
   sticky element below has room to actually stick.
   ================================================================ */
.modules-frame-col{
  position: relative;
  height: 100%;
}
.modules-frame-sticky{
  position: sticky;
  top: 96px;
  height: calc(100vh - 140px);
  max-height: 720px;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  perspective: 1400px;
}
.modules-frame-sticky > .frame{
  transform: rotateX(var(--tilt, 0deg));
  transition: transform .25s ease-out;
}
.frame{
  position: relative;
  width: 100%; flex: 1;
  overflow: hidden;
}
.frame-stage{
  position: relative;
  overflow: hidden;
}
/* ================================================================
   Frame state transitions — clean crossfade with red backlight wash
   ================================================================ */
.frame-bloom{
  position: absolute; inset: 0;
  background:
    radial-gradient(closest-side at 50% 50%,
      rgba(225,29,46, .55) 0%,
      rgba(225,29,46, .22) 38%,
      transparent 72%),
    radial-gradient(closest-side at 50% 50%,
      rgba(255,90,110, .35) 0%, transparent 50%);
  opacity: var(--bloom, 0);
  z-index: 6;
  pointer-events: none;
  transition: opacity .12s linear;
  mix-blend-mode: normal;
}

.frame-state{
  position: absolute; inset: 0;
  z-index: 2;
  opacity: 0;
  transform: scale(.96);
  filter: blur(8px);
  transition: opacity .45s cubic-bezier(.4,0,.2,1),
              transform .45s cubic-bezier(.4,0,.2,1),
              filter .45s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  will-change: opacity, transform, filter;
  background: #fff;
  overflow: hidden;
}
.frame-state.is-active{
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  pointer-events: auto;
}

/* ================================================================
   STATE 1 — Facebook ad placement
   ================================================================ */
.fb-shell{
  height: 100%;
  background: #F0F2F5;
  display: flex; flex-direction: column;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.fb-topbar{
  background: #fff;
  border-bottom: 1px solid #DADDE1;
  padding: 9px 14px;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.fb-logo{
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #1877F2;
  color: #fff;
  font-size: 22px; font-weight: 800; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fb-search{
  flex: 1;
  background: #F0F2F5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px; color: #65676B;
}
.fb-icons{ display: flex; gap: 6px; }
.fb-icons span{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #E4E6EB;
  display: inline-block;
}
.fb-feed{
  flex: 1; overflow: hidden;
  padding: 12px;
  display: flex; flex-direction: column; gap: 12px;
}
.fb-ad{
  background: #fff;
  border-radius: 8px;
  border: 1px solid #DADDE1;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.fb-ad-head{ display: flex; align-items: center; gap: 8px; }
.fb-avatar{
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  flex-shrink: 0;
}
.fb-meta{ flex: 1; min-width: 0; }
.fb-page{ font-size: 13px; font-weight: 600; color: #050505; line-height: 1.2; }
.fb-sub{ font-size: 11.5px; color: #65676B; line-height: 1.2; margin-top: 1px; }
.fb-dots{ color: #65676B; font-size: 16px; font-weight: 700; padding: 0 4px; }
.fb-ad-copy{ font-size: 13px; line-height: 1.4; color: #050505; }
.fb-ad-creative{
  position: relative;
  aspect-ratio: 16/8.5;
  border-radius: 6px; overflow: hidden;
  background: linear-gradient(135deg, #1A1A1A, #0A0A0A);
}
.fb-ad-creative.alt{ background: linear-gradient(135deg, #B91626, #5B0810); }
.fb-ad-creative-grad{
  position: absolute; inset: 0;
  background: radial-gradient(at 30% 30%, rgba(255,255,255,.20), transparent 60%);
}
.fb-ad-headline{
  position: absolute; left: 12px; top: 14px; right: 90px;
  color: #fff;
}
.fb-ad-h{
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  line-height: 1.15; margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.fb-ad-d{
  font-size: 10px; opacity: .80; text-transform: uppercase; letter-spacing: .06em;
  font-weight: 600;
}
.fb-ad-btn{
  position: absolute; right: 10px; bottom: 10px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 7px 12px; border-radius: 5px;
}
.fb-ad-actions{
  display: flex; gap: 18px;
  padding-top: 8px;
  border-top: 1px solid #E4E6EB;
  font-size: 11.5px; color: #65676B; font-weight: 600;
}
.fb-ad-compact .fb-ad-creative{ aspect-ratio: 16/7.5; }

/* ================================================================
   STATES 2 + 3 — Go High Level shell
   ================================================================ */
.ghl-shell{
  height: 100%;
  display: flex;
  background: #fff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
}
.ghl-side{
  width: 50px; flex-shrink: 0;
  background: #1F2937;
  display: flex; flex-direction: column;
  padding: 12px 0;
  align-items: center;
  gap: 6px;
}
.ghl-side-logo{
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px -4px rgba(225,29,46,.45);
}
.ghl-side-list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 2px; width: 100%; align-items: center;
}
.ghl-side-list li{
  width: 36px; height: 34px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: #9CA3AF;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.ghl-side-list li.active{
  background: rgba(225,29,46,.22);
  color: #fff;
  box-shadow: inset 2px 0 0 var(--red);
}
.ghl-side-list li:hover:not(.active){ background: rgba(255,255,255,.04); color: #D1D5DB; }

.ghl-main{
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  background: #F9FAFB;
}
.ghl-header{
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.ghl-crumb{ font-size: 11.5px; color: #6B7280; letter-spacing: -.005em; }
.ghl-crumb strong{ color: #111827; font-weight: 600; }
.ghl-crumb-sep{ margin: 0 6px; color: #D1D5DB; }
.ghl-tools{ display: flex; align-items: center; gap: 8px; font-size: 11px; color: #6B7280; }
.ghl-search{
  background: #F3F4F6;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px; color: #6B7280;
}
.ghl-bell{ font-size: 13px; }
.ghl-avatar{
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700;
}
.ghl-tabs{
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 7px 14px;
  display: flex; align-items: center; gap: 18px;
  font-size: 11.5px;
  flex-shrink: 0;
}
.ghl-tab{ color: #6B7280; padding: 4px 0; border-bottom: 2px solid transparent; cursor: pointer; }
.ghl-tab.active{ color: #111827; font-weight: 600; border-bottom-color: var(--red); }
.ghl-stat{ margin-left: auto; color: #6B7280; font-size: 11px; }
.ghl-stat strong{ color: var(--red); font-weight: 600; }

/* Pipeline (state 2) */
.ghl-pipeline{
  flex: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
  overflow: hidden;
}
.ghl-col{
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.ghl-col-h{
  display: flex; flex-direction: column; gap: 1px;
  padding-bottom: 6px;
  border-bottom: 1px solid #F3F4F6;
}
.ghl-col-name{ font-size: 11.5px; font-weight: 600; color: #111827; letter-spacing: -.005em; }
.ghl-col-stat{ font-size: 10px; color: #6B7280; font-variant-numeric: tabular-nums; }
.ghl-card{
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 7px 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  display: flex; flex-direction: column; gap: 3px;
  font-size: 10.5px;
  border-left: 3px solid #D1D5DB;
}
.ghl-card.dim{ opacity: .55; }
.ghl-card.hot{
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(225,29,46,.07), #fff 50%);
}
.ghl-card.won{
  border-left-color: #10B981;
  background: linear-gradient(90deg, rgba(16,185,129,.07), #fff 50%);
}
.ghl-card-name{ font-size: 11px; font-weight: 600; color: #111827; line-height: 1.2; }
.ghl-card-val{
  font-size: 10.5px; font-weight: 600; color: #111827;
  font-variant-numeric: tabular-nums;
}
.ghl-card-meta{
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9.5px; color: #6B7280;
}
.ghl-src{
  background: #F3F4F6; color: #4B5563;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 9px; font-weight: 500;
}
.ghl-flag{ color: var(--red); font-size: 11px; line-height: 1; }
.ghl-flag.won{ color: #10B981; }

/* Contacts table (state 3) */
.ghl-table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 11px;
  flex: 1;
}
.ghl-table thead{ background: #F9FAFB; border-bottom: 1px solid #E5E7EB; }
.ghl-table th{
  padding: 9px 12px;
  text-align: left;
  font-size: 9.5px; font-weight: 600;
  color: #6B7280;
  text-transform: uppercase; letter-spacing: .06em;
}
.ghl-th-check{ width: 28px; padding-right: 0 !important; }
.ghl-th-act{ width: 36px; }
.ghl-check{
  display: inline-block;
  width: 14px; height: 14px;
  border: 1.5px solid #D1D5DB;
  border-radius: 3px;
  background: #fff;
}
.ghl-tr{ border-bottom: 1px solid #F3F4F6; transition: background .15s; }
.ghl-tr td{ padding: 9px 12px; vertical-align: middle; }
.ghl-tr.dim{ opacity: .55; }
.ghl-tr.hot td:first-child{ position: relative; }
.ghl-tr.hot td:first-child::before{
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2.5px; background: var(--red); border-radius: 0 2px 2px 0;
}
.ghl-tr-name{ display: flex; align-items: center; gap: 10px; }
.ghl-av{
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  flex-shrink: 0;
}
.ghl-tr-name > div{ min-width: 0; }
.ghl-tr-name > div > div:first-child{
  font-size: 11.5px; font-weight: 600; color: #111827;
  margin-bottom: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ghl-tr-sub{
  font-size: 10px; color: #6B7280;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 200px;
}
.ghl-status{
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 500;
}
.ghl-status.hot{ color: var(--red); }
.ghl-status.warm{ color: #D97706; }
.ghl-status.cold{ color: #6B7280; }
.ghl-tag{
  display: inline-block;
  font-size: 9.5px; font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.tag-hot{ background: rgba(225,29,46,.10); color: var(--red); }
.tag-warm{ background: #FEF3C7; color: #92400E; }
.tag-cold{ background: #F3F4F6; color: #6B7280; }
.ghl-act{ color: #6B7280; font-size: 14px; cursor: pointer; }

/* mobile collapses sticky to inline */
@media (max-width: 980px){
  .modules{ padding: 60px 22px; }
  .modules-grid{ grid-template-columns: 1fr; gap: 24px; }
  .module{ min-height: auto; padding: 30px 0; }
  .modules-frame-col{ order: -1; }
  .modules-frame-sticky{ position: relative; top: 0; height: 420px; }
}

/* ================================================================
   CSOMAGOK TEASER
   ================================================================ */
.csomagok-teaser{
  /* Splash CTA — bg starts transparent so the trans-7 bridge can play
     THROUGH the section. Once the bridge has fully faded out (onLeave
     fires), main.js adds .is-cta-revealed and the dark bg + red glow
     ease in over .7s instead of snapping (smoother feel, no spawn-in). */
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 90px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  text-align: center;
  background-color: transparent;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .7s cubic-bezier(.4,0,.2,1),
              color            .7s cubic-bezier(.4,0,.2,1);
}
.csomagok-teaser.is-cta-revealed{
  background-color: var(--ink) !important;
  color: #fff;
}
.csomagok-teaser::before{
  /* Red radial glow — only visible once dark bg is on. Fades in
     alongside the bg so the two coordinate as one move. */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 50%,
    rgba(225,29,46,0.32) 0%,
    rgba(225,29,46,0.10) 50%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1);
}
.csomagok-teaser.is-cta-revealed::before{
  opacity: 1;
}
.csomagok-teaser > *{
  position: relative;
  z-index: 1;
}
.csomagok-teaser h2{
  font-family: var(--ff);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -0.04em;
  max-width: 18ch;
  text-wrap: balance;
  color: inherit;
  transition: color .7s cubic-bezier(.4,0,.2,1);
}
.csomagok-teaser.is-cta-revealed h2{
  color: #fff;
}
.csomagok-teaser .btn-primary{
  background: var(--red);
}
.csomagok-teaser .btn-primary:hover{
  background: #fff;
  color: var(--red);
}

/* ================================================================
   MIÉRT MÁS / KINEK VALÓ
   ================================================================ */
.cards-row{
  padding: 120px 28px;
}
.cards-row-inner{
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.big-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-xl);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.big-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-2);
}
.big-card::before{
  content: ""; position: absolute; top: -50%; right: -30%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(225,29,46,.10), transparent 70%);
  pointer-events: none;
}
.big-card-eyebrow{
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  color: var(--red); margin-bottom: 16px;
}
.big-card-h{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.04; letter-spacing: -.03em;
  margin-bottom: 22px;
  text-wrap: balance;
  position: relative; z-index: 1;
}
.big-card-pull{
  font-size: 18px; line-height: 1.4;
  color: var(--ink-2); font-weight: 500;
  margin-bottom: 28px;
  display: flex; align-items: baseline; gap: 10px;
}
.big-card-pull .hand{ color: var(--red); font-size: 22px; flex-shrink: 0; }
.big-card-list{
  list-style: none; padding: 0;
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.big-card-list li{
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 16px; color: var(--ink-soft);
  position: relative;
}
.big-card-list li::before{
  content: ""; position: absolute; left: 0; top: 22px;
  width: 14px; height: 1.5px; background: var(--red);
}
.big-card-list-spaced li{ padding: 16px 0 16px 26px; }
.big-card-list-spaced li::before{ top: 24px; }

@media (max-width: 880px){
  .cards-row{ padding: 70px 22px; }
  .cards-row-inner{ grid-template-columns: 1fr; }
  .big-card{ padding: 36px 28px; }
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta{
  background: var(--ink);
  color: #fff;
  padding: 130px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(closest-side at 50% 50%, rgba(225,29,46,.30), transparent 60%);
  pointer-events: none;
}
.final-cta-inner{
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
}
.final-cta h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: .98; letter-spacing: -.04em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.final-cta p{
  font-size: 19px; line-height: 1.5;
  color: rgba(255,255,255,.72);
  max-width: 580px; margin: 0 auto 40px;
  text-wrap: pretty;
}
.final-cta .btn-primary{ background: var(--red); }
.final-cta .btn-primary:hover{ background: #fff; color: var(--red); }

/* ================================================================
   REVIEWS placeholder
   ================================================================ */
.reviews{
  padding: 100px 0 110px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow: hidden; /* marquee track extends past viewport edges */
}
.reviews-inner{ max-width: 1100px; margin: 0 auto 56px; padding: 0 28px; text-align: center; }
.reviews-eyebrow{
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  color: var(--red); margin-bottom: 14px;
}
.reviews-h{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.03em;
  margin: 0;
}

/* ---- Infinite marquee carousel ----
   JS clones each card once; the track becomes 2× its original width.
   The CSS animation moves the track from translateX(0) to translateX(-50%),
   which lands the clone-start exactly where the original-start began —
   seamless loop. Edges fade via mask-image; hover pauses. */
.reviews-marquee{
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.reviews-track{
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 24px 22px;
  animation: reviews-scroll 70s linear infinite;
}
.reviews-track:hover{ animation-play-state: paused; }
@keyframes reviews-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.review-card{
  flex: 0 0 auto;
  width: 360px;
  min-height: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  box-shadow: 0 12px 28px -16px rgba(20,20,30,.18);
}
.review-stars{
  color: #F5B400; /* Google gold */
  font-size: 17px;
  letter-spacing: 2px;
  line-height: 1;
}
.review-quote-mk{
  position: absolute;
  top: 16px; right: 22px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 80px;
  line-height: .5;
  color: var(--red);
  opacity: .35;
  pointer-events: none;
}
.review-card blockquote{
  font-family: var(--ff);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  padding-right: 40px; /* clear of the quote mark */
  font-style: normal;
  font-weight: 400;
}
.review-meta{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-avatar{
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.review-author b{
  display: block;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.review-author small{
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
/* Pause animation if user prefers reduced motion. */
@media (prefers-reduced-motion: reduce){
  .reviews-track{ animation: none; }
}
/* Slightly tighter cards on smaller viewports. */
@media (max-width: 760px){
  .review-card{ width: 300px; min-height: 220px; padding: 22px 24px 20px; }
  .review-card blockquote{ font-size: 14.5px; padding-right: 32px; }
  .review-quote-mk{ font-size: 64px; top: 14px; right: 18px; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.foot{
  padding: 70px 28px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.foot-inner{ max-width: 1280px; margin: 0 auto; }
.foot-grid{
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}
.foot .logo{ margin-bottom: 16px; }
.foot-about{ color: var(--muted); font-size: 14.5px; max-width: 320px; line-height: 1.55; }
.foot h5{
  font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: 16px; letter-spacing: -.005em;
}
.foot ul{ list-style: none; padding: 0; }
.foot li{ padding: 5px 0; }
.foot a{
  color: var(--ink-soft); text-decoration: none; font-size: 14.5px;
  transition: color .15s ease;
}
.foot a:hover{ color: var(--red); }
.foot-bar{
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}
@media (max-width: 880px){
  .foot-grid{ grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ================================================================
   GHL FULL SIDEBAR (workspace switcher + labeled menu) — v2
   used by sales-workflow and reactivation-pipeline mockups
   ================================================================ */
.ghl-side-full{
  width: 168px; flex-shrink: 0;
  background: #131C2E;
  display: flex; flex-direction: column;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10.5px;
  color: #9CA3AF;
  overflow: hidden;
}
.ghl-side-ws{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  background: rgba(255,255,255,.02);
}
.ghl-side-ws-logo{
  width: 28px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  color: #fff; font-weight: 800; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ghl-side-ws-meta{ flex: 1; min-width: 0; line-height: 1.15; }
.ghl-side-ws-name{
  font-size: 11px; font-weight: 600; color: #E5E7EB;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ghl-side-ws-sub{
  font-size: 9.5px; color: #6B7280;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ghl-side-ws-chev{ color: #4B5563; font-size: 11px; }
.ghl-side-search-full{
  margin: 8px 10px 4px;
  padding: 5px 9px;
  background: rgba(255,255,255,.04);
  border-radius: 5px;
  font-size: 10px;
  color: #6B7280;
  display: flex; align-items: center; gap: 6px;
}
.ghl-side-search-full .kbd{
  margin-left: auto;
  font-size: 8.5px; color: #4B5563;
  border: 1px solid #2C3344;
  border-radius: 3px;
  padding: 0 4px;
}
.ghl-side-section{ margin-top: 8px; }
.ghl-side-label{
  font-size: 8.5px; font-weight: 600;
  color: #4B5563; letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px 6px;
}
.ghl-side-list-full{
  list-style: none; padding: 0; margin: 0;
}
.ghl-side-list-full li{
  display: flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  font-size: 10.5px;
  color: #9CA3AF;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background .12s, color .12s;
}
.ghl-side-list-full li .ico{
  width: 14px; flex-shrink: 0;
  font-size: 11px;
  display: inline-flex; justify-content: center;
  color: #6B7280;
}
.ghl-side-list-full li.active{
  background: rgba(225,29,46,.10);
  color: #fff;
  border-left-color: var(--red);
}
.ghl-side-list-full li.active .ico{ color: var(--red); }
.ghl-side-list-full li:hover:not(.active){
  background: rgba(255,255,255,.03);
  color: #D1D5DB;
}
.ghl-side-bottom{
  margin-top: auto;
  padding: 8px 14px;
  border-top: 1px solid rgba(255,255,255,.04);
  display: flex; align-items: center; gap: 8px;
  font-size: 10px;
  color: #9CA3AF;
}
.ghl-side-bottom .ghl-av-sm{
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: inline-block;
}

/* ================================================================
   GHL WORKFLOW BUILDER (sales-workflow)
   ================================================================ */
.ghl-wf-shell{
  height: 100%;
  display: flex;
  background: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
}
.ghl-wf-main{
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  background: #FAFAFB;
}
.ghl-wf-head{
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 11px 16px;
  display: flex; align-items: center; gap: 10px;
}
.ghl-wf-back{ color: #6B7280; font-size: 13px; }
.ghl-wf-title{
  font-size: 13px; font-weight: 600; color: #111827;
  display: inline-flex; align-items: center; gap: 8px;
}
.ghl-wf-title .ghl-wf-edit{ color: #9CA3AF; font-size: 11px; }
.ghl-wf-tabs{
  background: #fff;
  padding: 0 16px;
  display: flex; gap: 22px;
  border-bottom: 1px solid #E5E7EB;
}
.ghl-wf-tab{
  font-size: 11px; color: #6B7280;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.ghl-wf-tab.active{
  color: #2463EB; font-weight: 500;
  border-bottom-color: #2463EB;
}
.ghl-wf-canvas{
  flex: 1;
  background:
    radial-gradient(circle at 1px 1px, rgba(17,24,39,.06) 1px, transparent 0)
    0 0 / 16px 16px, #F3F4F6;
  padding: 18px 16px 30px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.wf-trigger-row{
  display: flex; align-items: stretch; gap: 14px;
  align-self: center;
}
.wf-node{
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(17,24,39,.06);
  padding: 8px 10px;
  min-width: 160px;
  display: flex; align-items: center; gap: 8px;
  position: relative;
}
.wf-node.is-trigger{
  align-items: stretch;
  flex-direction: column;
  min-width: 200px;
  padding: 9px 11px 6px;
}
.wf-node-row{ display: flex; align-items: center; gap: 8px; }
.wf-node-icon{
  width: 22px; height: 22px;
  border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  background: #EFF1F4;
  color: #374151;
}
.wf-node-icon.green{ background: #DCFCE7; color: #166534; }
.wf-node-icon.blue { background: #DBEAFE; color: #1E40AF; }
.wf-node-icon.amber{ background: #FEF3C7; color: #92400E; }
.wf-node-icon.gray { background: #F3F4F6; color: #6B7280; }
.wf-node-icon.red  { background: #FEE2E2; color: #991B1B; }
.wf-node-icon.violet{ background: #EDE9FE; color: #5B21B6; }
.wf-node-icon.tg   { background: #DBEAFE; color: #2463EB; }
.wf-node-title{
  font-size: 11px; font-weight: 500; color: #111827;
  line-height: 1.25;
}
.wf-node.is-trigger .wf-node-sub{
  font-size: 10px; color: #6B7280;
  padding: 2px 0 0 30px;
  line-height: 1.4;
}
.wf-node-foot{
  display: flex; align-items: center; gap: 10px;
  margin-top: 5px; padding: 4px 0 0 30px;
  border-top: 1px solid #F3F4F6;
  font-size: 9.5px; color: #9CA3AF;
}
.wf-node-foot .wf-stats{
  margin-left: auto; color: #2463EB; font-weight: 500;
}
.wf-trigger-add{
  align-self: stretch;
  border: 1.5px dashed #93C5FD;
  border-radius: 7px;
  background: #EFF6FF;
  min-width: 160px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; color: #2463EB; font-weight: 500;
}
.wf-conn{
  width: 2px; height: 18px;
  background: #D1D5DB;
  position: relative;
}
.wf-conn::after{
  content: "+"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 16px; height: 16px;
  background: #fff; border: 1px solid #D1D5DB;
  border-radius: 50%;
  font-size: 11px; color: #6B7280; font-weight: 500;
  line-height: 14px; text-align: center;
}
.wf-branches{
  display: flex; align-items: flex-start; gap: 32px;
  margin-top: 4px;
  position: relative;
}
.wf-branches::before{
  /* horizontal split line */
  content: ""; position: absolute;
  left: 25%; right: 25%; top: -10px;
  border-top: 2px solid #D1D5DB;
}
.wf-branch{
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  position: relative;
}
.wf-branch-label{
  border: 1.5px solid #C4B5FD;
  background: #fff;
  border-radius: 7px;
  padding: 6px 14px;
  font-size: 11px; font-weight: 500;
  color: #6D28D9;
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 160px; justify-content: center;
}
.wf-branch-sub{
  font-size: 9.5px; color: #9CA3AF;
  margin-top: -3px;
  text-align: center; max-width: 200px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wf-end{
  margin-top: 6px;
  background: #F3F4F6;
  color: #6B7280;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 10px; font-weight: 600;
  letter-spacing: .04em;
}

/* ================================================================
   N8N WORKFLOW (sales-n8n) — dark canvas, horizontal flow
   ================================================================ */
.n8n-shell{
  height: 100%;
  background: #1A1D27;
  font-family: "Inter", system-ui, sans-serif;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.n8n-bar{
  flex-shrink: 0;
  background: #1F2330;
  border-bottom: 1px solid #2A2F3D;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; color: #9CA3AF;
}
.n8n-bar .n8n-logo{
  width: 18px; height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #FF6B35, #E14A1E);
  display: inline-block;
}
.n8n-bar .n8n-name{ font-weight: 600; color: #E5E7EB; font-size: 11px; }
.n8n-bar .n8n-sub{ color: #6B7280; }
.n8n-bar .n8n-bar-right{
  margin-left: auto;
  display: flex; align-items: center; gap: 12px;
  font-size: 10px;
}
.n8n-bar .n8n-status{
  display: inline-flex; align-items: center; gap: 5px;
  color: #34D399;
}
.n8n-bar .n8n-status::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #34D399; box-shadow: 0 0 8px rgba(52,211,153,.6);
}
.n8n-canvas{
  position: relative;
  flex: 1;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0)
    0 0 / 16px 16px;
  overflow: hidden;
  padding: 0;
}
.n8n-flow{
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  display: flex; align-items: flex-start;
  padding: 0 18px;
  gap: 0;
  white-space: nowrap;
  min-height: 200px;
}
.n8n-node{
  position: relative;
  width: 56px;
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  font-size: 9px;
  color: #94A3B8;
  cursor: default;
}
.n8n-node + .n8n-node{ margin-left: 8px; }
.n8n-node-box{
  width: 50px; height: 50px;
  border-radius: 8px;
  background: #2A2F3D;
  border: 1px solid #353B4C;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #CBD5E1;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  position: relative;
  z-index: 2;
}
.n8n-node.trigger .n8n-node-box{
  background: #2A2F3D;
  border: 1px solid #FF6B35;
  box-shadow: 0 2px 8px rgba(255,107,53,.20);
  color: #FF8C5A;
}
.n8n-node.if .n8n-node-box{ color: #FACC15; }
.n8n-node.set .n8n-node-box{ color: #60A5FA; }
.n8n-node.send .n8n-node-box{ color: #34D399; }
.n8n-node.send-tg .n8n-node-box{ color: #38BDF8; }
.n8n-node.send-sms .n8n-node-box{ color: #F87171; }
.n8n-node.merge .n8n-node-box{ color: #A78BFA; }
.n8n-node.respond .n8n-node-box{ color: #FB923C; }
.n8n-node-label{
  margin-top: 6px;
  font-size: 8.5px;
  letter-spacing: -.005em;
  text-align: center;
  max-width: 70px;
  line-height: 1.2;
  white-space: normal;
}
.n8n-node.trigger .n8n-node-label{ color: #FF8C5A; }
.n8n-node.if .n8n-node-label{ color: #FACC15; }
.n8n-node.set .n8n-node-label{ color: #60A5FA; }
.n8n-node.send .n8n-node-label{ color: #34D399; }
.n8n-node.send-tg .n8n-node-label{ color: #38BDF8; }
.n8n-node.send-sms .n8n-node-label{ color: #F87171; }
.n8n-node.merge .n8n-node-label{ color: #A78BFA; }
.n8n-node.respond .n8n-node-label{ color: #FB923C; }
.n8n-node-sub{
  font-size: 7.5px;
  color: #475569;
  margin-top: 2px;
  max-width: 70px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.n8n-conn{
  align-self: center;
  width: 22px;
  height: 1.5px;
  background: linear-gradient(90deg, #353B4C, #353B4C);
  margin: 0 -2px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transform: translateY(-22px);
}
.n8n-conn::after{
  content: ""; position: absolute; right: -4px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid #353B4C;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.n8n-node-spawn{
  position: absolute;
  bottom: -54px; left: 50%;
  width: 50px; height: 44px;
  transform: translateX(-50%);
  background: #2A2F3D;
  border: 1px solid #353B4C;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #FB923C;
}
.n8n-node-spawn::before{
  content: ""; position: absolute;
  top: -10px; left: 50%;
  width: 1.5px; height: 10px;
  background: #353B4C;
}

/* ================================================================
   GHL OPPORTUNITIES — DENSE pipeline (~10 cols, horizontal scroll)
   used by sales-pipeline (refactored) + reactivation-pipeline
   ================================================================ */
.ghl-pipeline.is-dense{
  display: flex;
  grid-template-columns: none;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px;
  scrollbar-width: thin;
}
.ghl-pipeline.is-dense::-webkit-scrollbar{ height: 4px; }
.ghl-pipeline.is-dense::-webkit-scrollbar-thumb{ background: #D1D5DB; border-radius: 2px; }
.ghl-pipeline.is-dense .ghl-col{
  min-width: 132px; max-width: 132px;
  flex: 0 0 132px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 6px;
  gap: 5px;
}
.ghl-pipeline.is-dense .ghl-col-h{
  padding-bottom: 5px;
  border-bottom: 1px solid #E5E7EB;
  display: flex; flex-direction: column; gap: 2px;
}
.ghl-pipeline.is-dense .ghl-col-name{
  font-size: 10.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
  color: #1F2937;
}
.ghl-pipeline.is-dense .ghl-col-name::before{
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #9CA3AF;
  flex-shrink: 0;
}
.ghl-pipeline.is-dense .ghl-col-stat{ font-size: 9.5px; color: #6B7280; }
.ghl-pipeline.is-dense .ghl-card{
  font-size: 10px;
  padding: 6px 7px;
  background: #fff;
}
.ghl-pipeline.is-dense .ghl-card-name{ font-size: 10.5px; line-height: 1.2; }
.ghl-pipeline.is-dense .ghl-card-val{ font-size: 9.5px; }
.ghl-pipeline.is-dense .ghl-card-meta{ font-size: 9px; }

/* Reactivation column accents — cold gray → amber → orange → red → green */
.ghl-pipeline.is-reactivation .ghl-col:nth-child(1) .ghl-col-name::before{ background: #9CA3AF; }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(2) .ghl-col-name::before{ background: #FBBF24; }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(3) .ghl-col-name::before{ background: #F59E0B; }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(4) .ghl-col-name::before{ background: #FB923C; }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(5) .ghl-col-name::before{ background: #F87171; }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(6) .ghl-col-name::before{ background: var(--red); }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(7) .ghl-col-name::before{ background: var(--red); }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(8) .ghl-col-name::before{ background: #B91626; }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(9) .ghl-col-name::before{ background: #10B981; }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(10) .ghl-col-name::before{ background: #6B7280; }
.ghl-pipeline.is-reactivation .ghl-col:nth-child(10){ opacity: .65; }

/* Channel pill (used in reactivation cards: SMS / Email / Call) */
.ghl-ch{
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 8.5px; font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
  background: #F3F4F6; color: #4B5563;
  letter-spacing: .03em;
}
.ghl-ch.sms{ background: rgba(225,29,46,.10); color: var(--red); }
.ghl-ch.email{ background: #DBEAFE; color: #1E40AF; }
.ghl-ch.call{ background: #FEF3C7; color: #92400E; }

/* ================================================================
   SECTION BLOCKS (post-restructure 2026-05-07)
   Each module is its own block with text on top + a big landscape
   16:9 frame below. Text alignment alternates (right/left/right) per
   the original "alternating sides" idea, but the frame is centered
   full-width so it has room to breathe.
   ================================================================ */
.modules{
  padding: 80px 28px 100px;
  background: var(--bg);
}

.section-block{
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px 0;
  display: grid;
  /* default: frame on LEFT (larger), text on RIGHT (smaller) — for marketing + reaktiválás */
  grid-template-areas: "frame text";
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: center;
}
.section-block + .section-block{ border-top: 1px solid var(--line); }

/* Sales: text LEFT, frame RIGHT (alternating) */
.section-block[data-section="sales"]{
  grid-template-areas: "text frame";
  grid-template-columns: 1fr 1.6fr;
}

.section-text{
  grid-area: text;
  width: 100%;
  max-width: none;
  margin: 0;
}
.section-frame{
  grid-area: frame;
  width: 100%;
  perspective: 2400px;
  perspective-origin: 50% 30%;
}
/* Subtle 3D tilt — frame leans toward the section's text.
   Marketing/Reakt: text on right → frame faces right (rotateY +).
   Sales: text on left → frame faces left (rotateY -). */
.section-block[data-section="marketing"] .section-frame .frame,
.section-block[data-section="reactivation"] .section-frame .frame{
  transform: rotateY(6deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.7,.25,1);
}
.section-block[data-section="sales"] .section-frame .frame{
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.7,.25,1);
}

.section-block .module{
  min-height: auto;
  padding: 0;
  display: block;
}

/* Big landscape 16:9 frame — transparent container, mockup IS the visual */
.section-frame .frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column;
}
.section-frame .frame-stage{
  flex: 1;
  height: auto;
  position: relative;
  overflow: hidden;
}

/* Swipe / page nav inside the frame (for sections with >1 mockup) */
.frame-nav{
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  z-index: 12;
  padding: 7px 14px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
}
.frame-nav-arrow{
  background: none; border: 0; cursor: pointer;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--ink-soft);
  border-radius: 50%;
  transition: background .15s, color .15s;
  font-family: var(--ff);
}
.frame-nav-arrow:hover{ background: var(--bg-2); color: var(--red); }
.frame-nav-arrow:disabled{ opacity: .25; cursor: default; }
.frame-nav-dots{ display: inline-flex; gap: 7px; }
.frame-nav-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-2);
  transition: background .15s, transform .15s;
}
.frame-nav-dot.is-on{
  background: var(--red);
  transform: scale(1.3);
}

@media (max-width: 980px){
  .modules{ padding: 50px 22px 70px; }
  .section-block,
  .section-block[data-section="sales"]{
    padding: 50px 0;
    grid-template-areas: "text" "frame";
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Disable 3D tilt on mobile — the frame is full-width below text, no side */
  .section-block[data-section="marketing"] .section-frame .frame,
  .section-block[data-section="reactivation"] .section-frame .frame,
  .section-block[data-section="sales"] .section-frame .frame,
  .hero-frame{
    transform: none;
  }
}

/* ================================================================
   IMAGE-BASED FRAME STATES (post-pivot)
   Each frame-state's content is now a single screenshot inside a
   .frame-state-img wrapper. Same pattern is used in the hero
   (.hero-img) so the hero previews the Sales pipeline screenshot.
   ================================================================ */
.frame-state-img,
.hero-img{
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #F4F5F7;
}
.frame-state-img img,
.hero-img img{
  display: block;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}

/* frame-stage is transparent — the mockup IS the visual */

/* ================================================================
   Frame mockup container — let v4 mockups fill their frame
   ================================================================ */
.frame-state-mock-fill .gv .ghl-mock,
.frame-state-mock-fill .gv .fb-mock,
.frame-state-mock-fill .gv .n8n-mock{
  height: auto;
}

/* ================================================================
   FACEBOOK AD MOCKUP — v4-quality, namespaced under .gv
   ================================================================ */
.gv .fb-mock{
  background: #f0f2f5;
  border-radius: 10px;
  border: 1px solid #d9dae0;
  box-shadow:
    0 60px 120px -40px rgba(20,40,30,.45),
    0 30px 60px -30px rgba(20,40,30,.25),
    0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: "Inter", system-ui, sans-serif;
  color: #050505;
  height: 560px;
}
.gv .fb-top{
  background: #fff;
  border-bottom: 1px solid #dadde1;
  padding: 9px 14px;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.gv .fb-top .fb-logo{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gv .fb-top .fb-search{
  flex: 1;
  background: #f0f2f5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px; color: #65676b;
}
.gv .fb-top .fb-icons{ display: flex; gap: 6px; }
.gv .fb-top .fb-icons span{
  width: 36px; height: 36px;
  border-radius: 50%; background: #e4e6eb;
  display: inline-block;
}
.gv .fb-feed{
  flex: 1; min-height: 0;
  padding: 18px;
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden;
}
.gv .fb-ad{
  background: #fff;
  border-radius: 8px;
  border: 1px solid #dadde1;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  width: 100%; max-width: 500px;
  overflow: hidden;
}
.gv .fb-ad-head{
  display: flex; align-items: center; gap: 9px;
  padding: 12px 14px 8px;
}
.gv .fb-ad-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E11D2E, #B91626);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.gv .fb-ad-meta{ flex: 1; min-width: 0; }
.gv .fb-ad-meta .nm{ font-size: 13px; font-weight: 600; color: #050505; line-height: 1.2; }
.gv .fb-ad-meta .sub{ font-size: 11.5px; color: #65676b; line-height: 1.2; margin-top: 1px; display: inline-flex; align-items: center; gap: 4px; }
.gv .fb-ad-dots{ color: #65676b; font-size: 16px; padding: 0 4px; }
.gv .fb-ad-copy{
  padding: 6px 14px 12px;
  font-size: 13px; color: #050505; line-height: 1.4;
}
.gv .fb-creative{
  position: relative;
  aspect-ratio: 16/8.5;
  background: linear-gradient(135deg, #1a1a24 0%, #0a0a0a 100%);
  overflow: hidden;
  display: flex; align-items: center;
  padding: 22px 26px;
}
.gv .fb-creative::before{
  content: ""; position: absolute; top: -40%; right: -30%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(225,29,46,.40), transparent 70%);
  pointer-events: none;
}
.gv .fb-creative-text{ position: relative; z-index: 2; max-width: 80%; }
.gv .fb-creative-h{
  color: #fff; font-size: 22px; font-weight: 700;
  line-height: 1.08; letter-spacing: -.018em;
}
.gv .fb-creative-sub{
  color: rgba(255,255,255,.78);
  font-size: 12px; margin-top: 8px; line-height: 1.35;
}
.gv .fb-creative-btn{
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px;
  background: #E11D2E; color: #fff;
  padding: 8px 14px; border-radius: 5px;
  font-size: 12px; font-weight: 700;
}
.gv .fb-creative-prev{
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 150px; height: 100px;
  background: #fff; border-radius: 6px; padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04);
}
.gv .fb-creative-prev .pr-bar{
  display: flex; gap: 3px; margin-bottom: 5px; padding: 1px;
}
.gv .fb-creative-prev .pr-bar span{
  width: 5px; height: 5px; border-radius: 50%;
}
.gv .fb-creative-prev .pr-bar span:nth-child(1){ background: #ff5f57; }
.gv .fb-creative-prev .pr-bar span:nth-child(2){ background: #febc2e; }
.gv .fb-creative-prev .pr-bar span:nth-child(3){ background: #28c840; }
.gv .fb-creative-prev .pr-cols{
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px;
}
.gv .fb-creative-prev .pr-col{
  background: #f4f5f7; border-radius: 2px;
  padding: 3px 2px;
  display: flex; flex-direction: column; gap: 2px;
  min-height: 70px;
}
.gv .fb-creative-prev .pr-cell{ background: #fff; border-radius: 1px; height: 5px; }
.gv .fb-creative-prev .pr-col.hot .pr-cell:first-child{ background: #fee2e2; }
.gv .fb-creative-prev .pr-col.won .pr-cell:first-child{ background: #dcfce7; }
.gv .fb-ad-link{
  background: #f7f8fa;
  padding: 10px 14px;
  border-top: 1px solid #f0f0f4;
  display: flex; align-items: center; gap: 12px;
}
.gv .fb-ad-link .info{ flex: 1; min-width: 0; }
.gv .fb-ad-link .url{ font-size: 11px; color: #65676b; text-transform: uppercase; letter-spacing: .04em; }
.gv .fb-ad-link .title{ font-size: 14px; font-weight: 600; color: #050505; margin-top: 2px; line-height: 1.2; }
.gv .fb-ad-link .cta{
  background: #e4e6eb; color: #050505;
  padding: 8px 16px; border-radius: 5px;
  font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
.gv .fb-ad-actions{
  display: flex; padding: 2px 6px;
  border-top: 1px solid #ced0d4;
}
.gv .fb-ad-actions .a{
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px;
  font-size: 13px; font-weight: 600; color: #65676b;
}

/* ================================================================
   GHL WORKFLOW BUILDER MOCKUP — v4-quality, namespaced under .gv
   Reuses .ghl-side from pipeline mockup (Automation tab active)
   ================================================================ */
.gv .ghl-mock.workflow{ grid-template-columns: 62px 1fr; height: 560px; }
.gv .ghl-mock.workflow .ghl-main{
  display: flex; flex-direction: column;
  background: #fafbfc;
  min-width: 0;
}
.gv .wf-head{
  background: #fff;
  border-bottom: 1px solid #e3e3e8;
  padding: 11px 16px;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.gv .wf-head .back{ color: #6b6b7d; font-size: 13px; }
.gv .wf-head .ttl{
  font-size: 12.5px; font-weight: 600; color: #1a1a24;
  display: inline-flex; align-items: center; gap: 6px;
}
.gv .wf-head .ttl .pen{ color: #9897a8; font-size: 10px; }
.gv .wf-head .right{
  margin-left: auto; display: flex; gap: 6px; align-items: center;
}
.gv .wf-head .pill{
  background: #f0f0f4; color: #6b6b7d;
  padding: 4px 9px; border-radius: 4px; font-size: 10px;
}
.gv .wf-head .pill.live{ background: #dcfce7; color: #16a34a; font-weight: 600; }
.gv .wf-tabs{
  background: #fff;
  padding: 0 16px;
  display: flex; gap: 22px;
  border-bottom: 1px solid #e3e3e8;
  flex-shrink: 0;
}
.gv .wf-tabs .tb{
  font-size: 11px; color: #6b6b7d;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.gv .wf-tabs .tb.active{
  color: #2463eb; font-weight: 500;
  border-bottom-color: #2463eb;
}
.gv .wf-canvas{
  flex: 1; min-height: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(17,24,39,.06) 1px, transparent 0)
    0 0 / 14px 14px,
    #f3f4f6;
  padding: 18px 16px 24px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.gv .wf-row{
  display: flex; align-items: stretch; gap: 14px;
}
.gv .wf-node{
  background: #fff;
  border: 1px solid #e3e3e8;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(17,24,39,.08), 0 6px 18px -10px rgba(17,24,39,.15);
  padding: 9px 11px;
  min-width: 200px;
  display: flex; flex-direction: column; gap: 4px;
}
.gv .wf-node.compact{ min-width: 170px; }
.gv .wf-node-row{ display: flex; align-items: center; gap: 8px; }
.gv .wf-node-icon{
  width: 22px; height: 22px;
  border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: #eff1f4;
  color: #374151;
}
.gv .wf-node-icon.green{ background: #dcfce7; color: #166534; }
.gv .wf-node-icon.blue{  background: #dbeafe; color: #1e40af; }
.gv .wf-node-icon.gray{  background: #f0f0f4; color: #6b6b7d; }
.gv .wf-node-icon.violet{ background: #ede9fe; color: #5b21b6; }
.gv .wf-node-icon.red{   background: #fee2e2; color: #991b1b; }
.gv .wf-node-icon.amber{ background: #fef3c7; color: #92400e; }
.gv .wf-node-title{
  font-size: 11.5px; font-weight: 500; color: #1a1a24;
  line-height: 1.25;
}
.gv .wf-node-sub{
  font-size: 10px; color: #6b6b7d;
  padding-left: 30px; line-height: 1.4;
}
.gv .wf-node-foot{
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px; padding: 5px 0 0 30px;
  border-top: 1px solid #f0f0f4;
  font-size: 9.5px; color: #9897a8;
}
.gv .wf-node-foot .stats{ margin-left: auto; color: #2463eb; font-weight: 500; }
.gv .wf-add-trigger{
  align-self: stretch;
  border: 1.5px dashed #93c5fd;
  border-radius: 8px;
  background: #eff6ff;
  min-width: 170px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; color: #2463eb; font-weight: 500;
}
.gv .wf-conn{
  width: 2px; height: 20px;
  background: #d1d5db;
  position: relative;
  margin: 2px 0;
}
.gv .wf-conn::after{
  content: "+"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 18px; height: 18px;
  background: #fff; border: 1px solid #d1d5db;
  border-radius: 50%;
  font-size: 12px; color: #6b6b7d; font-weight: 500;
  line-height: 16px; text-align: center;
}
.gv .wf-branches{
  display: flex; align-items: flex-start; gap: 36px;
  position: relative; margin-top: 8px;
}
.gv .wf-branches::before{
  content: ""; position: absolute;
  left: 25%; right: 25%; top: -10px;
  border-top: 2px solid #d1d5db;
}
.gv .wf-branch{
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.gv .wf-branch-pill{
  border: 1.5px solid #c4b5fd;
  background: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px; font-weight: 500;
  color: #6d28d9;
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 130px; justify-content: center;
}
.gv .wf-branch-sub{
  font-size: 9.5px; color: #9897a8;
  margin-top: 4px;
  text-align: center; max-width: 200px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gv .wf-end{
  margin-top: 6px;
  background: #f0f0f4;
  color: #6b6b7d;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 10px; font-weight: 600;
  letter-spacing: .04em;
}

/* ================================================================
   N8N MOCKUP — dark canvas, horizontal flow, namespaced under .gv
   ================================================================ */
.gv .n8n-mock{
  background: #f5f5f7;
  border-radius: 10px;
  border: 1px solid #e5e5e7;
  box-shadow:
    0 60px 120px -40px rgba(20,40,30,.20),
    0 30px 60px -30px rgba(20,40,30,.12);
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: "Open Sans", "Inter", system-ui, sans-serif;
  height: 560px;
}
.gv .n8n-bar{
  background: #ffffff;
  border-bottom: 1px solid #e5e5e7;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: #6b7280;
  flex-shrink: 0;
}
.gv .n8n-bar .n8n-logo{
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff6b35, #e14a1e);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 11px;
}
.gv .n8n-bar .n8n-name{ font-weight: 600; color: #1a1a24; font-size: 12px; }
.gv .n8n-bar .n8n-sub{ color: #9ca0a8; font-size: 10.5px; }
.gv .n8n-bar .right{
  margin-left: auto; display: flex; align-items: center; gap: 12px;
}
.gv .n8n-bar .status-pill{
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; color: #34d399;
  padding: 3px 8px;
  background: rgba(52,211,153,.10);
  border-radius: 999px;
}
.gv .n8n-bar .status-pill::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52,211,153,.6);
}
.gv .n8n-canvas{
  position: relative;
  flex: 1; min-height: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.18) 1px, transparent 0)
    0 0 / 16px 16px;
  overflow: visible;
}
.gv .n8n-edges{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.gv .n8n-edges path{
  fill: none;
  stroke: #b0b3b8;
  stroke-width: 2;
}
.gv .n8n-edges .arrow{
  fill: #b0b3b8;
}
.gv .n8n-flow{
  position: absolute;
  inset: 0;
  display: block;          /* override old display:flex */
  transform: none;          /* override old translateY(-50%) */
  padding: 0;               /* override old padding:0 18px */
  min-height: 0;            /* override old min-height:200 */
  white-space: normal;
}
.gv .n8n-flow .n8n-node{
  position: absolute !important;
  width: 96px !important;
  height: 96px !important;
  display: block !important;
  transform: translate(-50%, -50%);
  margin: 0 !important;
}
.gv .n8n-flow::-webkit-scrollbar{ height: 4px; }
.gv .n8n-flow::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.1); border-radius: 2px; }
.gv .n8n-node{
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0;
  width: 64px;
}
.gv .n8n-node + .n8n-node{ margin-left: 26px; }
.gv .n8n-node-box{
  width: 56px; height: 56px;
  border-radius: 10px;
  background: #2a2f3d;
  border: 1px solid #353b4c;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #cbd5e1;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
}
.gv .n8n-node.trigger .n8n-node-box{
  background: linear-gradient(135deg, #2a2f3d, #1f232f);
  border-color: #ff6b35;
  color: #ff8c5a;
  box-shadow: 0 0 0 1px rgba(255,107,53,.20), 0 4px 14px rgba(255,107,53,.20);
}
.gv .n8n-node.if .n8n-node-box{ color: #facc15; border-color: rgba(250,204,21,.4); }
.gv .n8n-node.set .n8n-node-box{ color: #60a5fa; border-color: rgba(96,165,250,.4); }
.gv .n8n-node.mail .n8n-node-box{ color: #34d399; border-color: rgba(52,211,153,.4); }
.gv .n8n-node.sms .n8n-node-box{ color: #f87171; border-color: rgba(248,113,113,.4); }
.gv .n8n-node.tg .n8n-node-box{ color: #38bdf8; border-color: rgba(56,189,248,.4); }
.gv .n8n-node.respond .n8n-node-box{ color: #fb923c; border-color: rgba(251,146,60,.4); }
.gv .n8n-node-label{
  margin-top: 8px;
  font-size: 9.5px;
  color: #94a3b8;
  text-align: center;
  max-width: 80px;
  line-height: 1.25;
  white-space: normal;
}
.gv .n8n-node.trigger .n8n-node-label{ color: #ff8c5a; }
.gv .n8n-node.if .n8n-node-label{ color: #facc15; }
.gv .n8n-node.set .n8n-node-label{ color: #60a5fa; }
.gv .n8n-node.mail .n8n-node-label{ color: #34d399; }
.gv .n8n-node.sms .n8n-node-label{ color: #f87171; }
.gv .n8n-node.tg .n8n-node-label{ color: #38bdf8; }
.gv .n8n-node.respond .n8n-node-label{ color: #fb923c; }
.gv .n8n-conn{
  align-self: center;
  width: 24px; height: 1.5px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
  margin: 0 -2px;
  transform: translateY(-14px);
  position: relative;
}
.gv .n8n-conn::after{
  content: ""; position: absolute; right: -1px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid rgba(255,255,255,.18);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.gv .n8n-node-spawn{
  position: absolute;
  bottom: -56px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 44px;
  background: #2a2f3d;
  border: 1px solid #353b4c;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fb923c;
}
.gv .n8n-node-spawn::before{
  content: ""; position: absolute; top: -10px; left: 50%;
  width: 1.5px; height: 10px; background: #353b4c;
}

/* GHL mockup text — bumped ~30% for readability after scaling */
.gv .ghl-mock{ font-size: 13px !important; }
.gv .ghl-side{ font-size: 10px !important; }
.gv .ghl-side .navi .lbl{ font-size: 9.5px !important; }
.gv .ghl-topbar .ghl-tab{ font-size: 13px !important; }
.gv .ghl-topbar .ghl-pill{ font-size: 11px !important; }
.gv .ghl-col-head .name{ font-size: 12px !important; }
.gv .ghl-col-head .meta{ font-size: 9.5px !important; }
.gv .ghl-card-mini{ font-size: 10.5px !important; }
.gv .ghl-card-mini .nm{ font-size: 12px !important; }
.gv .ghl-card-mini .biz{ font-size: 10px !important; }
.gv .ghl-card-mini .opp{ font-size: 9.5px !important; }
.gv .ghl-card-mini .src-pill{ font-size: 8.5px !important; }
.gv .ghl-card-mini .ai-status{ font-size: 9px !important; }
.gv .ghl-card-mini .tag{ font-size: 9px !important; }
/* Contact-detail panel font bumps */
.gv .ghl-mock.contact .ghl-cdpane{ font-size: 12px !important; }
.gv .ghl-mock.contact .cd-name-block .nm{ font-size: 13px !important; }
.gv .ghl-mock.contact .cd-name-block .sub{ font-size: 10.5px !important; }
.gv .ghl-mock.contact .cd-tags .t{ font-size: 9.5px !important; }
.gv .ghl-mock.contact .cd-section-head{ font-size: 11.5px !important; }
.gv .ghl-mock.contact .cd-field .lbl{ font-size: 9.5px !important; }
.gv .ghl-mock.contact .cd-field .val{ font-size: 11.5px !important; }
.gv .ghl-mock.contact .cdmid-head .nm{ font-size: 13px !important; }
.gv .ghl-mock.contact .cd-day{ font-size: 11px !important; }
.gv .ghl-mock.contact .cd-event{ font-size: 12px !important; }
.gv .ghl-mock.contact .cd-event .body .det{ font-size: 11px !important; }
.gv .ghl-mock.contact .cd-event .time{ font-size: 10.5px !important; }
.gv .ghl-mock.contact .cdmid-foot .input{ font-size: 11.5px !important; }
.gv .ghl-mock.contact .cdt-head .lbl{ font-size: 12.5px !important; }
.gv .ghl-mock.contact .cdt-head .add{ font-size: 11px !important; }
.gv .ghl-mock.contact .cdt-search{ font-size: 11px !important; }
.gv .ghl-mock.contact .cdt-empty .h{ font-size: 12px !important; }
.gv .ghl-mock.contact .cdt-empty .s{ font-size: 10.5px !important; }

/* ================================================================
   V4 MOCKUPS — ported from v4-agency, namespaced under .gv
   The user said "v4 mockups are way better" so we use those designs
   as the source of truth. Hand-coded CSS with SVG icons, designed
   not recreated. Namespaced so nothing collides with v5 styles.
   ================================================================ */
/* SVG-VIEWBOX-LIKE SCALING for HTML mockups
   Each mockup is authored at FIXED natural dimensions (--mock-w / --mock-h
   on the inner). The inner is absolutely positioned inside .frame-state-mock,
   centered, and scaled via transform. JS only writes --mock-scale on the
   container. Layout doesn't reflow on resize — pure GPU transform. */
.frame-state-mock{
  position: relative;
  width: 100%; height: 100%;
  background: transparent;
  overflow: visible; /* let mockup shadows extend past frame edges */
  --mock-scale: 1;
}
.frame-state-mock > *{
  position: absolute !important;
  top: 0; left: 50%;
  transform-origin: top center !important;
  transform: translateX(-50%) scale(var(--mock-scale, 1)) !important;
  flex: 0 0 auto !important;
  /* Hidden until JS measures and writes --mock-scale. Prevents the huge
     unscaled first-paint. Middle-section mockups stay hidden until the
     bridge reveals them via opacity on the parent .frame; no fade needed
     on the inner. */
  opacity: 0;
}
.frame-state-mock.is-scaled > *{
  opacity: 1;
}

/* ================================================================
   v4-style scroll reveals (ported from v4-agency/index.html line 1102).
   Elements start hidden + offset; IntersectionObserver in main.js adds
   .in when they enter viewport, triggering the fade + rise.

   SCOPE: only used on .hero text/visual and the .final-cta / .reviews
   inner blocks (the sections AFTER the last bridge). Middle bridge-target
   sections are NOT tagged with data-anim because the bridge architecture
   already controls their opacity — adding data-anim there would fight it.
   ================================================================ */
/* CSS @keyframes animations (NOT transitions). Transitions only fire when
   the browser detects a property change in the compositor — for elements
   already in viewport on page load (the hero), the initial state and the
   .in state can get collapsed into one paint, skipping the transition.
   @keyframes always run when applied, regardless of paint timing. */
[data-anim]{
  opacity: 0;
  transform: translateY(28px);
}
[data-anim].in{
  animation: anim-rise .9s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes anim-rise{
  to { opacity: 1; transform: none; }
}
[data-anim-stagger] > *{
  opacity: 0;
  transform: translateY(24px);
}
[data-anim-stagger].in > *{
  animation: anim-rise-small .8s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes anim-rise-small{
  to { opacity: 1; transform: none; }
}
[data-anim-stagger].in > *:nth-child(1){ animation-delay: .05s; }
[data-anim-stagger].in > *:nth-child(2){ animation-delay: .15s; }
[data-anim-stagger].in > *:nth-child(3){ animation-delay: .25s; }
[data-anim-stagger].in > *:nth-child(4){ animation-delay: .35s; }
[data-anim-stagger].in > *:nth-child(5){ animation-delay: .45s; }
[data-anim-stagger].in > *:nth-child(6){ animation-delay: .55s; }

/* ================================================================
   Mockup lightbox — full-screen modal that displays a clicked mockup
   at large size. Lives OUTSIDE #design-root so it isn't subject to
   the page's CSS `zoom` scaling. Hidden by default; .is-open reveals
   with a fade + scale-in.
   ================================================================ */
.mock-lightbox{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 12, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease-out;
}
.mock-lightbox.is-open{
  opacity: 1;
  pointer-events: auto;
}
.mock-lightbox-content{
  position: relative;
  width: min(90vw, 1600px);
  height: min(90vh, 1000px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg, #fff);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
  transform: scale(.94);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.mock-lightbox.is-open .mock-lightbox-content{
  transform: scale(1);
}
/* JS injects: .mock-lightbox-content > .gv > .ghl-mock (or .fb-mock,
   .n8n-mock). The .gv wrapper exists only to satisfy `.gv X` CSS
   selectors that define the mockup's natural size + grid layout. */
.mock-lightbox-content > .gv{
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-lightbox-content > .gv > *{
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: scale(var(--lightbox-scale, 1)) !important;
  transform-origin: center center !important;
  flex: 0 0 auto !important;
  opacity: 1 !important;
  filter: none !important;
}
.mock-lightbox-close{
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease-out, transform .2s ease-out;
  z-index: 1;
}
.mock-lightbox-close:hover{
  background: rgba(255, 255, 255, .2);
  transform: scale(1.08);
}
/* Clickable mockups get a soft cursor cue. Inactive carousel states
   already have pointer-events:none (line 502/512) so only the visible
   state is interactive. */
.frame-state.is-active .frame-state-mock,
.hero-frame .frame-state-mock{
  cursor: zoom-in;
}
/* Disable cursor when bridge is mid-transition — JS toggles this. */
body.is-bridge-active .frame-state-mock{
  cursor: default;
}
/* FB centered vertically too since natural height < frame */
.frame-state[data-state="marketing"] .frame-state-mock > *{
  top: 50%;
  transform-origin: center !important;
  transform: translate(-50%, -50%) scale(var(--mock-scale, 1)) !important;
}

/* All section frames need overflow:visible so the heavy mockup shadows
   don't get clipped at the frame edges. Inactive frame-states stay
   hidden via opacity:0 so visual stacking is unaffected. */
.section-frame .frame,
.section-frame .frame-stage,
.section-frame .frame-state{
  overflow: visible !important;
}
/* FB ad: compact-centered alignment. JS sets width and scale. */
.frame-state[data-state="marketing"] .frame-state-mock{
  align-items: center;
}
.frame-state[data-state="marketing"] .fb-feed{
  flex: 0 0 auto;
  padding: 16px;
}
.frame-state[data-state="marketing"] .fb-ad{
  max-width: none;
  width: 100%;
}

/* Workflow node sizes — bigger + visible connections */
.frame-state-mock .wf-node{ min-width: 240px; }
.frame-state-mock .wf-node.compact{ min-width: 200px; }
.frame-state-mock .wf-node-title{ font-size: 13px; }
.frame-state-mock .wf-canvas{ padding: 22px 16px 28px; }
/* CONNECTION LINES — make sure they actually render */
.gv .wf-conn{
  width: 3px;
  min-width: 3px;
  height: 28px;
  flex: 0 0 auto;
  align-self: center;
  background: #6b7280;
  position: relative;
  margin: 4px 0;
  display: block;
}
.gv .wf-conn::after{
  content: "+";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  background: #fff;
  border: 1.5px solid #6b7280;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
  color: #6b7280;
}
.gv .wf-branches::before{
  border-top-width: 3px;
  border-color: #6b7280;
}

/* n8n nodes — bigger + brighter connections + status pulse */
/* REAL n8n node — square 96×96 card, icon centered, label BELOW card.
   Spec sourced from n8n-io/n8n source code (CanvasNodeDefault.vue,
   workflow-builder/constants.ts: DEFAULT_NODE_SIZE = 96×96). */
.frame-state-mock .n8n-node{
  width: 96px;
  display: block;
}
.frame-state-mock .n8n-node-card{
  position: relative;
  width: 96px; height: 96px;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,.10);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
/* Trigger nodes: asymmetric pill — rounded left side, square right */
.frame-state-mock .n8n-node.trigger .n8n-node-card{
  border-radius: 36px 8px 8px 36px;
}
.frame-state-mock .n8n-node-icon{
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.frame-state-mock .n8n-node-icon svg{ width: 100%; height: 100%; }
/* Per-category icon glyph colors (verified against n8n source) */
.frame-state-mock .n8n-node.trigger .n8n-node-icon{ color: #e54b7a; } /* magenta */
.frame-state-mock .n8n-node.if      .n8n-node-icon{ color: #52cc7a; } /* green-light */
.frame-state-mock .n8n-node.code    .n8n-node-icon{ color: #ff6d5a; } /* crimson */
.frame-state-mock .n8n-node.http    .n8n-node-icon{ color: #3f8fe0; } /* blue */
.frame-state-mock .n8n-node.mail    .n8n-node-icon{ color: #d4574b; } /* gmail red-orange */
.frame-state-mock .n8n-node.sms     .n8n-node-icon{ color: #e11d2e; } /* twilio red */
.frame-state-mock .n8n-node.tg      .n8n-node-icon{ color: #2da9ec; } /* telegram blue */
.frame-state-mock .n8n-node.respond .n8n-node-icon{ color: #e54b7a; } /* magenta */
.frame-state-mock .n8n-node.skip    .n8n-node-icon{ color: #6b7280; }
/* LABEL appears BELOW the card, centered, max width 2× card */
.frame-state-mock .n8n-node-label{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  width: 192px;
  font-family: "Open Sans", "Inter", system-ui, sans-serif;
  font-size: 13px; font-weight: 500;
  color: #1a1a24;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}
.frame-state-mock .n8n-node-sub{
  display: block;
  margin-top: 2px;
  font-size: 11px; font-weight: 400;
  color: #6b7280;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
/* connection ports — n8n shows them on hover only; we omit so arrows land
   cleanly at the card edge instead of appearing to fall short of a dot. */

/* Hero frame: bigger + taller aspect for the mini pipeline */
.hero-frame{ max-width: 920px !important; aspect-ratio: 5 / 3 !important; }

.gv .ghl-mock{
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e3e3e8;
  box-shadow:
    0 60px 120px -40px rgba(20,40,30,.45),
    0 30px 60px -30px rgba(20,40,30,.25),
    0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  display: grid;
  font-family: "Inter", system-ui, sans-serif;
  color: #1a1a24;
  font-size: 11px; line-height: 1.3;
}
/* FIXED natural dimensions per mockup type (the "viewBox") */
.gv .ghl-mock.pipeline{ grid-template-columns: 62px 1fr; width: 1300px; height: 600px; }
.gv .ghl-mock.workflow{ grid-template-columns: 62px 1fr; width: 760px;  height: 600px; }
.gv .ghl-mock.contact { grid-template-columns: 62px 220px 1fr 200px; width: 1100px; height: 540px; }
.gv .fb-mock{          width: 640px; height: 700px; }
.gv .n8n-mock{         width: 1400px; height: 540px; }
.gv .ghl-side{
  background: #1f1f29;
  color: #a8a8b8;
  padding: 14px 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 8px;
}
.gv .ghl-side .logo{
  width: 32px; height: 32px; border-radius: 7px;
  background: linear-gradient(135deg, #ffb547, #ff8a3d);
  margin-bottom: 14px; position: relative;
}
.gv .ghl-side .logo::after{
  content: "↑↑";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 900;
}
.gv .ghl-side .navi{
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 0; width: 100%;
  color: #9897a8; cursor: pointer;
}
.gv .ghl-side .navi.active{
  background: #2a2a36; color: #fff;
  border-left: 2px solid #7c5cff;
}
.gv .ghl-side .navi .ico{
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.gv .ghl-side .navi .lbl{ font-size: 7.5px; letter-spacing: .02em; }
.gv .ghl-side .badge{
  margin-top: auto; width: 8px; height: 8px;
  border-radius: 50%; background: #22c55e; margin-bottom: 8px;
}
.gv .ghl-mock.pipeline .ghl-main{
  display: flex; flex-direction: column;
  background: #f5f6f9;
  min-width: 0;
}
.gv .ghl-topbar{
  background: #fff;
  border-bottom: 1px solid #e3e3e8;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.gv .ghl-topbar .ghl-tab{
  font-size: 10.5px; color: #1a1a24; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.gv .ghl-topbar .ghl-pill{
  font-size: 9px; color: #6b6b7d;
  background: #f0f0f4;
  padding: 3px 7px; border-radius: 4px;
  display: flex; align-items: center; gap: 4px;
}
.gv .ghl-topbar .ghl-pill.purple{ color: #7c5cff; background: #efebff; }
.gv .ghl-topbar .ghl-pill.green{  color: #16a34a; background: #dcfce7; }
.gv .ghl-topbar .right{
  margin-left: auto; display: flex; gap: 6px; align-items: center;
}
.gv .ghl-topbar .icon-btn{
  width: 22px; height: 22px;
  border-radius: 5px; background: #f0f0f4;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #6b6b7d;
}
.gv .ghl-board{
  display: flex; gap: 8px;
  padding: 10px;
  overflow: hidden; flex: 1; min-height: 0;
}
.gv .ghl-col{
  flex: 0 0 145px;
  background: #eef0f4;
  border-radius: 6px; padding: 6px;
  display: flex; flex-direction: column; gap: 6px;
  height: 100%; overflow: hidden;
}
.gv .ghl-col.won{ background: #e8f7ee; }
.gv .ghl-col-head{
  display: flex; justify-content: space-between; align-items: center;
  padding: 2px 4px;
}
.gv .ghl-col-head .name{
  font-size: 9.5px; font-weight: 700; color: #1a1a24;
  letter-spacing: .01em; line-height: 1.2;
}
.gv .ghl-col-head .meta{ font-size: 7.5px; color: #7d7d8e; font-weight: 500; }
.gv .ghl-col-cards{
  display: flex; flex-direction: column; gap: 5px;
  overflow: hidden;
}
.gv .ghl-card-mini{
  background: #fff;
  border: 1px solid #e3e3e8;
  border-radius: 5px;
  padding: 7px 8px;
  display: flex; flex-direction: column; gap: 3px;
  font-size: 8.5px;
}
.gv .ghl-card-mini.lost{ background: #fff7e0; border-color: #f4d977; }
.gv .ghl-card-mini.won{  background: #dcfce7; border-color: #86efac; }
.gv .ghl-card-mini .nm{ font-weight: 600; color: #1a1a24; font-size: 9px; line-height: 1.25; }
.gv .ghl-card-mini .nm em{ font-style: normal; color: #6b6b7d; font-weight: 500; }
.gv .ghl-card-mini .biz{ color: #6b6b7d; font-size: 7.5px; }
.gv .ghl-card-mini .opp{ color: #6b6b7d; font-size: 7.5px; }
.gv .ghl-card-mini .row{
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2px;
}
.gv .ghl-card-mini .icons{ display: flex; gap: 3px; }
.gv .ghl-card-mini .icons span{
  width: 11px; height: 11px;
  border-radius: 50%; display: block;
}
.gv .ghl-card-mini .icons .b{ background: #3b82f6; }
.gv .ghl-card-mini .icons .g{ background: #22c55e; }
.gv .ghl-card-mini .icons .o{ background: #f59e0b; }
.gv .ghl-card-mini .icons .p{ background: #a855f7; }
.gv .ghl-card-mini .icons .r{ background: #ef4444; }
.gv .ghl-card-mini .tag{
  font-size: 7px; background: #f4d977; color: #7a5410;
  padding: 1px 4px; border-radius: 3px;
  font-weight: 700; letter-spacing: .04em;
}
.gv .ghl-card-mini .tag.won{ background: #22c55e; color: #fff; }
.gv .ghl-card-mini .src{ display: flex; gap: 3px; align-items: center; }
.gv .ghl-card-mini .src-pill{
  font-size: 6.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  padding: 1.5px 4px; border-radius: 3px; line-height: 1;
}
.gv .ghl-card-mini .src-pill.meta{   background: #dbeafe; color: #1d4ed8; }
.gv .ghl-card-mini .src-pill.google{ background: #fee2e2; color: #b91c1c; }
.gv .ghl-card-mini .src-pill.web{    background: #f3e8ff; color: #7e22ce; }
.gv .ghl-card-mini .src-pill.refer{  background: #fef3c7; color: #92400e; }
.gv .ghl-card-mini .ai-status{
  font-size: 7px; color: #6b6b7d;
  margin-top: 1px;
  display: flex; align-items: center; gap: 3px;
  font-weight: 500;
}
.gv .ghl-card-mini .ai-status::before{
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #7c5cff;
  display: block; flex-shrink: 0;
}
.gv .ghl-card-mini .ai-status.done::before{ background: #22c55e; }
.gv .ghl-card-mini .ai-status.fail::before{ background: #ef4444; }
.gv .ghl-card-mini .ai-status.wait::before{ background: #f59e0b; }

/* Contact detail mockup — dimensions set in the consolidated block above */
.gv .ghl-mock.contact .ghl-cdpane{
  background: #fff; border-right: 1px solid #e3e3e8;
  padding: 14px; overflow: hidden; font-size: 10px;
}
.gv .ghl-mock.contact .cd-back{ font-size: 9.5px; color: #6b6b7d; margin-bottom: 10px; }
.gv .ghl-mock.contact .cd-head{
  display: flex; align-items: flex-start; gap: 9px;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f4;
}
.gv .ghl-mock.contact .cd-avatar{
  width: 30px; height: 30px;
  border-radius: 50%; background: #fb923c;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px;
}
.gv .ghl-mock.contact .cd-name-block .nm{ font-weight: 600; color: #1a1a24; font-size: 11px; }
.gv .ghl-mock.contact .cd-name-block .sub{ color: #6b6b7d; font-size: 8.5px; margin-top: 1px; }
.gv .ghl-mock.contact .cd-row{ display: flex; justify-content: space-between; font-size: 9px; margin-bottom: 7px; }
.gv .ghl-mock.contact .cd-row .lbl{ color: #6b6b7d; }
.gv .ghl-mock.contact .cd-row .val{ color: #1a1a24; font-weight: 500; }
.gv .ghl-mock.contact .cd-tags{ display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.gv .ghl-mock.contact .cd-tags .t{
  font-size: 7.5px; background: #efebff; color: #7c5cff;
  padding: 2px 6px; border-radius: 3px; font-weight: 500;
}
.gv .ghl-mock.contact .cd-section-head{
  font-size: 9.5px; color: #1a1a24; font-weight: 600;
  padding: 8px 0;
  border-top: 1px solid #f0f0f4;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.gv .ghl-mock.contact .cd-section-head .chev{ color: #9897a8; }
.gv .ghl-mock.contact .cd-field{ margin-bottom: 8px; }
.gv .ghl-mock.contact .cd-field .lbl{
  font-size: 8px; color: #6b6b7d;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 2px;
}
.gv .ghl-mock.contact .cd-field .val{ font-size: 9.5px; color: #1a1a24; }
.gv .ghl-mock.contact .ghl-cdmid{
  background: #fafbfc; display: flex; flex-direction: column;
  min-width: 0;
}
.gv .ghl-mock.contact .cdmid-head{
  padding: 12px 16px;
  background: #fff; border-bottom: 1px solid #e3e3e8;
  display: flex; align-items: center; gap: 10px;
}
.gv .ghl-mock.contact .cdmid-head .nm{ font-weight: 600; font-size: 11px; color: #1a1a24; }
.gv .ghl-mock.contact .cdmid-head .right{ margin-left: auto; display: flex; gap: 5px; }
.gv .ghl-mock.contact .cdmid-head .ico{
  width: 22px; height: 22px;
  border-radius: 5px; background: #f0f0f4;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #6b6b7d;
}
.gv .ghl-mock.contact .cd-timeline{
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1; overflow: hidden;
}
.gv .ghl-mock.contact .cd-day{
  font-size: 9px; color: #6b6b7d; font-weight: 500;
  background: #fff; padding: 3px 9px;
  border-radius: 10px; align-self: flex-start;
  border: 1px solid #e3e3e8;
}
.gv .ghl-mock.contact .cd-event{ display: flex; gap: 10px; font-size: 10px; color: #1a1a24; line-height: 1.45; }
.gv .ghl-mock.contact .cd-event .dot{
  flex-shrink: 0; width: 18px; height: 18px;
  border-radius: 5px; background: #efebff; color: #7c5cff;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; margin-top: 1px;
}
.gv .ghl-mock.contact .cd-event .body{ flex: 1; }
.gv .ghl-mock.contact .cd-event .body b{ font-weight: 600; color: #1a1a24; }
.gv .ghl-mock.contact .cd-event .body .det{ color: #6b6b7d; font-size: 9px; margin-top: 1px; }
.gv .ghl-mock.contact .cd-event .time{ color: #9897a8; font-size: 8.5px; flex-shrink: 0; margin-top: 1px; }
.gv .ghl-mock.contact .cdmid-foot{
  padding: 10px 14px;
  background: #fff; border-top: 1px solid #e3e3e8;
  display: flex; align-items: center; gap: 8px;
}
.gv .ghl-mock.contact .cdmid-foot .input{
  flex: 1; background: #f5f6f9;
  border-radius: 5px; padding: 7px 10px;
  font-size: 9.5px; color: #9897a8;
}
.gv .ghl-mock.contact .cdmid-foot .send{
  width: 26px; height: 22px;
  background: #efebff; color: #7c5cff;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.gv .ghl-mock.contact .ghl-cdtasks{
  background: #fff; border-left: 1px solid #e3e3e8;
  padding: 14px 12px; overflow: hidden;
}
.gv .ghl-mock.contact .cdt-head{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.gv .ghl-mock.contact .cdt-head .lbl{ font-weight: 600; font-size: 10.5px; color: #1a1a24; }
.gv .ghl-mock.contact .cdt-head .add{ font-size: 9px; color: #7c5cff; font-weight: 500; }
.gv .ghl-mock.contact .cdt-search{
  background: #f5f6f9;
  border-radius: 5px; padding: 6px 9px;
  font-size: 9px; color: #9897a8;
  margin-bottom: 14px;
}
.gv .ghl-mock.contact .cdt-empty{
  text-align: center; padding: 24px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.gv .ghl-mock.contact .cdt-empty .icn{
  width: 32px; height: 32px;
  border-radius: 8px; background: #f0f0f4;
  color: #9897a8;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.gv .ghl-mock.contact .cdt-empty .h{ font-size: 10px; font-weight: 500; color: #1a1a24; }
.gv .ghl-mock.contact .cdt-empty .s{ font-size: 8.5px; color: #6b6b7d; line-height: 1.35; }
.gv .ghl-mock.contact .cdt-empty .add-link{ font-size: 9px; color: #7c5cff; font-weight: 500; margin-top: 4px; }

/* ================================================================
   Section bridges — Veo particle-flock transition flip-books played
   between sections. Each bridge holds an <img> whose src is swapped
   to one of N pre-extracted WEBP frames as the user scrolls. This
   beats <video>+scrub for performance: image swap is instant, no
   decoder seek lag. main.js handles preload + frame indexing.
   The bridge is 100vh tall (scroll runway); the img is sticky and
   stays opacity:0 outside the active scroll window so the static
   first frame doesn't dominate the page above.
   ================================================================ */
.section-bridge{
  /* Zero document space — the bridge contributes no scroll runway.
     The img inside is position:fixed BEHIND section content. Section
     SVG mockups (.frame, .hero-frame) sit ABOVE the bridge and fade
     to opacity 0 to reveal the bridge animation underneath. */
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.section-bridge-frame{
  /* Bridge img is a 1920×1080 design canvas. main.js drives its transform
     per gsap.ticker frame, mapping the captured source/target SVG region
     of the canvas onto the LIVE SVG's getBoundingClientRect() — so the
     bridge tracks the live SVG to the pixel regardless of viewport, zoom,
     or GSAP pin transform. */
  position: fixed;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  /* Override the global `img,svg { max-width: 100% }` rule — the bridge
     MUST stay 1920×1080 at all viewports so the transform math lands the
     baked SVG region on the live SVG correctly. */
  max-width: none;
  transform-origin: 0 0;
  transform: translate(0, 0) scale(1); /* JS overrides per frame */
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.section-bridge.is-active .section-bridge-frame{
  visibility: visible;
}

/* Layered architecture: sections sit ABOVE the fixed bridge img, but
   with TRANSPARENT backgrounds so the bridge is visible through any
   element that fades to opacity 0. Section text containers + SVG
   mockups have their own white backgrounds so they hide the bridge
   while opaque. When .frame fades, the bridge animation shows through. */
.hero,
.modules,
.section-block,
.csomagok-teaser{
  position: relative;
  z-index: 10;
  background: transparent;
}
.hero-text,
.section-block .section-text{
  position: relative;
  z-index: 30;
  /* No background — bridge particles flow visibly behind text.
     text-shadow gives a soft white halo so glyphs stay readable
     when red particles drift across. */
  text-shadow:
    0 0 6px rgba(255,255,255,0.85),
    0 0 12px rgba(255,255,255,0.6);
}
.hero-frame,
.section-block .frame{
  position: relative;
  z-index: 20;
  background: var(--bg, #FFFFFF);
  /* No CSS transition — opacity is scroll-driven, set instantly by JS */
  /* Soft outer feather so any ambient red glow doesn't terminate at a sharp
     rectangular edge against the frame's white bg. */
  box-shadow: 0 0 80px 20px var(--bg, #FFFFFF);
}
/* csomagok button keeps its OWN red bg (.btn-primary) — it's a CTA, not an
   SVG mockup chassis. Just lift it above the bridge. */
.csomagok-teaser .btn{
  position: relative;
  z-index: 20;
}

/* ================================================================
   Reduced motion
   ================================================================ */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .frame-state{ filter: none !important; }
}

/* ================================================================
   SUBPAGE STYLES — shared base for marketing/sales/reaktiv/csomagok
   ================================================================ */
.page-sub{ background: var(--bg); color: var(--ink); }
.page-sub .nav{ background: rgba(255,255,255,.85); backdrop-filter: blur(10px); }
.nav-links a.is-current{ color: var(--red); }
.nav-links a.is-current::after{
  content: '';
  display: block;
  height: 2px;
  background: var(--red);
  margin-top: 4px;
  border-radius: 2px;
}

/* Sub-page hero — centered single column. Distinct from index's 2-col hero. */
.sub-hero{
  padding: 120px 28px 80px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(closest-side at 50% 0%, rgba(225,29,46,.06), transparent 70%),
    var(--bg);
}
.sub-hero-inner{ max-width: 920px; margin: 0 auto; }
.sub-hero-eyebrow{
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  color: var(--red); text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--red-soft);
  background: var(--red-tint);
  border-radius: 999px;
  margin-bottom: 22px;
}
.sub-hero h1{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
  margin: 0 0 20px;
}
.sub-hero-body{
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.sub-hero-cta{ display: flex; justify-content: center; }

/* Bevezető — problem grid. Diagnostic feel with × icons. */
.sub-intro{
  padding: 88px 28px 96px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.sub-intro-inner{ max-width: 1100px; margin: 0 auto; }
.sub-intro-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.sub-intro-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 36px;
  max-width: 24ch;
}
.problem-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.problem-card{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.problem-x{
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.problem-card p{
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}
.sub-intro-pointer{
  margin: 28px 0 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.pointer-arrow{ display: inline-block; margin-right: 6px; }

/* Feature rows — vertical staircase. Same side every row; bg alternates. */
.feat-row{
  padding: 96px 28px;
  border-bottom: 1px solid var(--line);
}
.feat-row--01,
.feat-row--03{ background: #fff; }
.feat-row--02,
.feat-row--04{ background: var(--bg-2, #fafafa); }
.feat-inner{
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 72px;
  align-items: center;
}
.feat-text{ position: relative; }
.feat-num{
  position: absolute;
  top: -10px; left: -2px;
  font-family: var(--ff);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  color: var(--red);
  opacity: .14;
  letter-spacing: -.04em;
  pointer-events: none;
}
.feat-eyebrow{
  position: relative;
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 14px;
}
.feat-h{
  position: relative;
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.feat-list{
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-list li{
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.feat-list li::before{
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--red);
}
.feat-pointer{
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

/* Feature mockup container — 3D tilt + layered elevation + red brand-glow
   halo (per dimensional-layering pattern from the ui-ux skill). Text on
   the LEFT, mockup tilts toward it (rotateY negative) — same direction
   as the index hero frame so the whole site reads as one design system. */
.feat-visual{
  width: 100%;
  aspect-ratio: 5 / 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transform: perspective(2200px) rotateY(-12deg) rotateX(3deg);
  transform-origin: left center;
  /* Multi-layer elevation: red glow halo + 3 levels of cool dark shadow.
     Glow uses 0 offset + large blur so it radiates outward; the dark
     shadows ground the card on the page. */
  box-shadow:
    0 0 90px -10px rgba(225,29,46,.22),
    0 40px 70px -20px rgba(20,20,30,.22),
    0 20px 40px -10px rgba(20,20,30,.14),
    0 8px 16px -8px rgba(20,20,30,.10);
  transition: transform .6s cubic-bezier(.2,.7,.25,1),
              box-shadow .6s cubic-bezier(.2,.7,.25,1);
}
.feat-visual:hover{
  transform: perspective(2200px) rotateY(-7deg) rotateX(2deg);
  box-shadow:
    0 0 120px -8px rgba(225,29,46,.32),
    0 50px 90px -20px rgba(20,20,30,.28),
    0 25px 50px -10px rgba(20,20,30,.18),
    0 10px 20px -8px rgba(20,20,30,.12);
}
.feat-visual .frame-state-mock{
  width: 100%; height: 100%;
}
/* Mobile: drop the 3D tilt — it's only meaningful on wide layouts. */
@media (max-width: 900px){
  .feat-visual{
    transform: none;
    box-shadow:
      0 0 60px -10px rgba(225,29,46,.18),
      0 24px 50px -20px rgba(20,20,30,.20),
      0 10px 20px -8px rgba(20,20,30,.10);
  }
  .feat-visual:hover{ transform: none; }
}

/* Accordion (native <details>) */
.feat-details{
  max-width: 1280px;
  margin: 24px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.feat-row--02 .feat-details,
.feat-row--04 .feat-details{ background: #fff; }
.feat-details > summary{
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.feat-details > summary::-webkit-details-marker{ display: none; }
.feat-details > summary::before{
  content: '▸';
  display: inline-block;
  color: var(--red);
  font-size: 14px;
  transition: transform .2s ease;
}
.feat-details[open] > summary::before{ transform: rotate(90deg); }
.feat-details-inner{
  padding: 6px 24px 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
}
.feat-details:not([open]) .feat-details-inner{ display: none; }
.feat-detail h4{
  font-family: var(--ff);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.feat-detail-tag{
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--red);
  background: var(--red-tint);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.feat-detail p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Összekötés band — plain white (matches the rest of the page). The
   visual break between this and the dark .final-cta below comes from
   the strong red CTA button + the dark band that follows it. */
.sub-bridge{
  background: var(--bg);
  color: var(--ink);
  padding: 84px 28px 88px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.sub-bridge-inner{
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.sub-bridge-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 14px;
}
.sub-bridge-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  color: var(--ink);
  text-wrap: balance;
}
.sub-bridge-pointer{
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 18px 0 8px;
}
.sub-bridge-list{
  list-style: none;
  padding: 0;
  margin: 8px auto 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.sub-bridge-list li{
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  color: var(--ink-soft);
}
.sub-bridge-list li::before{
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--red);
}
/* Shining CTA — animated red glow + diagonal shimmer sweep so it draws
   the eye. Pulse loop is slow (3s) so it's noticeable but not annoying.
   Shimmer travels left→right every 3s, slightly delayed from the glow. */
.sub-bridge-btn{
  margin-top: 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: sub-bridge-glow 3s ease-in-out infinite;
}
.sub-bridge-btn::after{
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,.45) 50%,
    rgba(255,255,255,0) 70%,
    transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 0;
  animation: sub-bridge-shimmer 3s ease-in-out infinite;
}
.sub-bridge-btn > *{ position: relative; z-index: 1; }
@keyframes sub-bridge-glow{
  0%, 100%{ box-shadow: 0 14px 32px -12px rgba(225,29,46,.55); }
  50%{ box-shadow: 0 22px 48px -10px rgba(225,29,46,.85),
                   0 0 0 4px rgba(225,29,46,.10); }
}
@keyframes sub-bridge-shimmer{
  0%{ left: -150%; }
  60%{ left: 150%; }
  100%{ left: 150%; }
}
@media (prefers-reduced-motion: reduce){
  .sub-bridge-btn{ animation: none; }
  .sub-bridge-btn::after{ animation: none; left: -150%; }
}

/* ================================================================
   MARKETING MOCKUPS — realistic FB ad / Google Ads / landing page /
   FB DM / Google reviews widget. Each inner has FIXED natural pixel
   dimensions so the existing scaleMock JS sizes it correctly inside
   .feat-visual, AND the lightbox can scale it to fill the modal.
   ================================================================ */

/* ── 01 · Google + FB ads pair ── */
.ads-pair{
  width: 1080px;
  height: 580px;
  display: flex;
  gap: 28px;
  align-items: stretch;
  justify-content: center;
  padding: 24px;
  background: #f0f2f5;
  border-radius: 10px;
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #050505;
}
.ads-card{
  flex: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Facebook ad card */
.ads-fb{ font-size: 14px; }
.ads-fb-page{
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 10px;
}
.ads-fb-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.ads-fb-page b{ display: block; font-size: 14px; font-weight: 600; }
.ads-fb-page small{ display: block; font-size: 12px; color: #65676b; }
.ads-fb-globe{ font-size: 10px; }
.ads-fb-copy{
  padding: 0 14px 12px;
  font-size: 14px;
  line-height: 1.4;
}
/* Creative slot — stylized SaaS ad: brand wordmark, big headline, then a
   small product preview at the bottom. Reads as a real marketing image
   instead of just a database screenshot. (Recommend swapping in a real
   PNG when available — drop it in v5/assets/ads/ and replace .ads-fb-creative
   contents with <img src="…" />.) */
.ads-fb-creative{
  flex: 1;
  min-height: 230px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.20), transparent 60%),
    linear-gradient(135deg, var(--red) 0%, var(--red-dk) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: 20px 24px 18px;
  gap: 12px;
  text-align: center;
}
.ads-fb-creative-mark{
  font-family: var(--ff);
  font-weight: 500;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
}
.ads-fb-creative-mark b{ font-weight: 700; color: #fff; }
.ads-fb-creative-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: #fff;
  text-wrap: balance;
  max-width: 320px;
}
.ads-fb-preview{
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px 8px;
  margin-top: auto;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.45),
              0 4px 10px rgba(0,0,0,.18);
}
/* Growth chart variant — stat header + SVG line trending up. Looks
   like a marketing-results widget rather than a kanban screenshot. */
.ads-fb-preview--chart{ padding: 10px 12px 6px; }
.ads-fb-preview-head{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.ads-fb-preview-label{
  font-size: 10px;
  font-weight: 500;
  color: #65676b;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ads-fb-preview-stat{
  font-family: var(--ff);
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -.01em;
}
.ads-fb-preview-chart{
  display: block;
  width: 100%;
  height: 86px;
}
.ads-fb-cta{
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #f7f8fa;
  border-top: 1px solid #e4e6eb;
}
.ads-fb-cta-text{ flex: 1; min-width: 0; }
.ads-fb-domain{
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #65676b;
  margin-bottom: 1px;
}
.ads-fb-headline{
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #050505;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-fb-btn{
  flex: 0 0 auto;
  background: #e4e6eb;
  color: #050505;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.ads-fb-actions{
  display: flex; justify-content: space-around;
  padding: 8px 14px;
  border-top: 1px solid #e4e6eb;
  font-size: 13px;
  color: #65676b;
  font-weight: 500;
}

/* Google search ad card */
.ads-google{
  padding: 18px 22px 20px;
  font-family: arial, sans-serif;
  color: #202124;
}
.ads-google-head{
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.ads-google-favicon{
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 11px;
}
.ads-google-head-text{
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.ads-google-biz{
  font-size: 14px;
  font-weight: 500;
  color: #202124;
}
.ads-google-url{
  font-size: 12px;
  color: #4d5156;
}
.ads-google-tag{
  font-size: 12px;
  font-weight: 400;
  color: #202124;
  padding: 2px 6px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  flex: 0 0 auto;
}
.ads-google-h{
  font-family: arial, sans-serif;
  font-size: 21px;
  line-height: 1.3;
  color: #1a0dab;
  font-weight: 400;
  margin-bottom: 6px;
  cursor: pointer;
}
.ads-google-h:hover{ text-decoration: underline; }
.ads-google-body{
  font-size: 14px;
  color: #4d5156;
  line-height: 1.5;
  margin-bottom: 12px;
}
.ads-google-rating{
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #4d5156;
}
.ads-google-stars{
  color: #fbbc04;
  font-size: 14px;
  letter-spacing: 1px;
}
.ads-google-rating-num{
  font-weight: 600;
  color: #202124;
}
.ads-google-rating-count{
  color: #4d5156;
}
/* Callout extension row — small grey-ink bullets, like real Google ads. */
.ads-google-callouts{
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4d5156;
  margin-bottom: 10px;
}
.ads-google-callouts span:not(:nth-child(even)){ color: #202124; }
/* Structured snippet row */
.ads-google-snippet{
  font-size: 13px;
  color: #4d5156;
  margin-bottom: 14px;
  line-height: 1.5;
}
.ads-google-snippet-label{
  color: #202124;
  font-weight: 500;
  margin-right: 6px;
}
/* Sitelinks — 2-col grid with link + description (real ad style). */
.ads-google-sitelinks{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  padding-top: 14px;
  border-top: 1px solid #ebebeb;
  margin-top: auto;
}
.ads-google-sl-item{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ads-google-sl{
  font-size: 15px;
  color: #1a0dab;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
}
.ads-google-sl:hover{ text-decoration: underline; }
.ads-google-sl-desc{
  font-size: 12px;
  color: #4d5156;
  line-height: 1.4;
}

/* ── 02 · Landing page wireframe ── */
.lp-mock{
  width: 960px;
  height: 600px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e4e6eb;
  box-shadow: 0 20px 50px -20px rgba(20,20,30,.18);
  display: flex;
  flex-direction: column;
}
.lp-browser{
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #f1f3f4;
  border-bottom: 1px solid #e4e6eb;
}
.lp-dot{ width: 12px; height: 12px; border-radius: 50%; background: #d9d9d9; }
.lp-dot--r{ background: #ff5f57; }
.lp-dot--y{ background: #febc2e; }
.lp-dot--g{ background: #28c840; }
.lp-url{
  margin-left: 12px;
  flex: 1;
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: #5f6368;
  font-family: arial, sans-serif;
}
.lp-body{ flex: 1; padding: 28px 48px; display: grid; gap: 24px; }
.lp-nav{
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f3;
}
.lp-logo{
  font-family: var(--ff);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -.01em;
}
.lp-logo b{ font-weight: 700; }
.lp-link{
  background: var(--red);
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.lp-hero{ text-align: center; padding: 6px 0; }
.lp-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -.03em;
  margin-bottom: 10px;
  color: #1a1a24;
}
.lp-sub{
  font-size: 14px;
  color: #65676b;
  max-width: 480px;
  margin: 0 auto;
}
.lp-form{
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.lp-field label{
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #65676b;
  margin-bottom: 4px;
}
.lp-input{
  background: #f7f8fa;
  border: 1px solid #e4e6eb;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  color: #1a1a24;
  font-family: arial, sans-serif;
}
.lp-submit{
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  text-align: center;
  margin-top: 4px;
  cursor: pointer;
}

/* ── 03 · Facebook DM thread ── */
.dm-mock{
  width: 720px;
  height: 600px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e4e6eb;
  box-shadow: 0 20px 50px -20px rgba(20,20,30,.18);
  display: flex;
  flex-direction: column;
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.dm-top{
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #e4e6eb;
  background: #fff;
}
.dm-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.dm-who{ flex: 1; }
.dm-who b{ display: block; font-size: 15px; color: #050505; }
.dm-who small{ display: block; font-size: 12px; color: #00a400; }
.dm-call{ font-size: 18px; color: #1877f2; }
.dm-body{
  flex: 1;
  padding: 18px 18px 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.dm-bubble{
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.4;
}
.dm-them{
  align-self: flex-start;
  background: #f0f2f5;
  color: #050505;
  border-bottom-left-radius: 4px;
}
.dm-us{
  align-self: flex-end;
  background: #1877f2;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.dm-time{
  font-size: 11px;
  color: #65676b;
  align-self: center;
  margin: 4px 0;
}
.dm-typing{
  align-self: flex-start;
  background: #f0f2f5;
  border-radius: 18px;
  padding: 12px 14px;
  display: flex; gap: 4px;
  margin-top: 4px;
}
.dm-typing span{
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #8a8d91;
  animation: dm-pulse 1.2s ease-in-out infinite;
}
.dm-typing span:nth-child(2){ animation-delay: .2s; }
.dm-typing span:nth-child(3){ animation-delay: .4s; }
@keyframes dm-pulse{
  0%,80%,100%{ opacity: .35; transform: translateY(0); }
  40%{ opacity: 1; transform: translateY(-3px); }
}
.dm-compose{
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid #e4e6eb;
  background: #fff;
}
.dm-input{
  flex: 1;
  background: #f0f2f5;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  color: #65676b;
}
.dm-send{
  width: 32px; height: 32px;
  background: #1877f2;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ── 04 · Google reviews widget ── */
.rep-mock{
  width: 820px;
  height: 600px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e4e6eb;
  box-shadow: 0 20px 50px -20px rgba(20,20,30,.18);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: arial, sans-serif;
  color: #202124;
}
.rep-head{
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 18px;
}
.rep-biz-name{
  font-family: var(--ff);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #202124;
}
.rep-biz-cat{
  font-size: 13px;
  color: #5f6368;
  margin-top: 4px;
}
.rep-score{ text-align: right; }
.rep-num{
  font-family: var(--ff);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: #202124;
}
.rep-stars{
  color: #fbbc04;
  font-size: 16px;
  letter-spacing: 2px;
  margin: 4px 0;
}
.rep-count{
  font-size: 12px;
  color: #5f6368;
}
.rep-bars{
  display: grid;
  gap: 4px;
}
.rep-bar{
  display: grid;
  grid-template-columns: 12px 1fr 36px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #5f6368;
}
.rep-bar i{
  display: block;
  height: 6px;
  background: #fbbc04;
  border-radius: 3px;
}
.rep-bar:nth-child(n+3) i{ background: #c4c7cc; }
.rep-list{
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.rep-item{
  background: #f8f9fa;
  border-radius: 10px;
  padding: 14px 16px;
}
.rep-row{
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.rep-avatar{
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.rep-row b{ display: block; font-size: 14px; color: #202124; }
.rep-row small{ display: block; font-size: 12px; color: #5f6368; }
.rep-r-stars{
  color: #fbbc04;
  font-size: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.rep-r-text{
  font-size: 13.5px;
  color: #3c4043;
  line-height: 1.5;
}

/* Mobile responsive — collapse feature rows to single column */
@media (max-width: 900px){
  .feat-inner{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feat-visual{ order: 2; }
  .problem-grid{ grid-template-columns: 1fr; }
  .feat-details-inner{ grid-template-columns: 1fr; }
  .sub-hero{ padding: 80px 22px 60px; }
  .sub-intro,
  .feat-row{ padding: 60px 22px; }
}

/* ================================================================
   SALES PAGE — distinct rhythm from marketing.html:
   2-col hero · broken pipeline problem · 4 doc-card features (each a
   self-contained bordered card with header + mockup + bullets +
   accordion stacked inside). Reuses .sub-bridge, .final-cta, .reviews.
   ================================================================ */

/* --- SALES HERO: 2-col text + opportunity-detail mockup --- */
.sales-hero{
  padding: 110px 28px 80px;
  background:
    radial-gradient(closest-side at 85% 0%, rgba(225,29,46,.07), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.sales-hero-inner{
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.sales-hero-text h1{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
/* Outer is invisible (no bg/border/radius) — only the inner .deal-mock
   provides visible chrome. Avoids the "mockup inside a mockup" nest.
   Tilt + elevation shadow stay on the outer. Aspect ratio matches the
   inner deal-mock's natural ratio (1100/620 ≈ 16/9) so the scaled
   mockup fills the outer with no empty bands. */
.sales-hero-visual{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: transparent;
  border: none;
  overflow: visible;
  position: relative;
  transform: perspective(2400px) rotateY(-8deg) rotateX(2deg);
  transform-origin: left center;
  /* NO filter chain on rotated container — drop-shadow forces filter
     rasterization which blurs the scaled small text. Glow via ::before
     pseudo behind the mockup; inner .gv .ghl-mock keeps its box-shadow. */
  transition: transform .6s cubic-bezier(.2,.7,.25,1);
  will-change: transform;
}
.sales-hero-visual::before{
  content: "";
  position: absolute;
  inset: 4% -3% -8% 4%;
  border-radius: 24px;
  background: radial-gradient(60% 50% at 50% 60%, rgba(225,29,46,.26) 0%, rgba(225,29,46,0) 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.sales-hero-visual:hover{
  transform: perspective(2400px) rotateY(-4deg) rotateX(1deg);
}
.sales-hero-visual .frame-state-mock{
  width: 100%; height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  backface-visibility: hidden;
  will-change: transform;
}

/* --- SALES BEVEZETŐ: 5 problem cards in a clean row --- */
.sales-intro{ background: var(--bg-2, #fafafa); }
.pipeline-broken{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 36px 0 32px;
}
.pipeline-stage{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px 24px;
  display: flex; flex-direction: column;
  gap: 18px;
  min-height: 168px;
  box-shadow: 0 14px 28px -20px rgba(20,20,30,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pipeline-stage:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -18px rgba(20,20,30,.22);
}
.pipeline-stage-top{
  display: flex; align-items: center; gap: 10px;
}
.pipeline-stage-x{
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--red-soft);
}
.pipeline-stage-n{
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--red);
  text-transform: uppercase;
}
.pipeline-stage-text{
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.4;
  text-wrap: balance;
  font-weight: 500;
  margin-top: auto;
}

/* --- DOC CARD: self-contained feature section.
   Grid layout: head spans top, mockup on left, text on right, accordion
   spans bottom. Mockup can tilt toward the text (rotateY positive). */
.doc-card{
  max-width: 1280px;
  margin: 60px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 52px 40px;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "head head"
    "mock body"
    "details details"
    "closing closing";
  column-gap: 56px;
  row-gap: 28px;
  align-items: center;
  box-shadow:
    0 0 80px -10px rgba(225,29,46,.10),
    0 30px 60px -28px rgba(20,20,30,.18),
    0 10px 24px -10px rgba(20,20,30,.08);
  transition: box-shadow .5s cubic-bezier(.2,.7,.25,1);
}
.doc-card:hover{
  box-shadow:
    0 0 110px -8px rgba(225,29,46,.16),
    0 40px 80px -28px rgba(20,20,30,.24),
    0 14px 32px -10px rgba(20,20,30,.12);
}
.doc-card-head{
  grid-area: head;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  align-items: start;
}
.doc-card-num{
  font-family: var(--ff);
  font-weight: 600;
  font-size: 72px;
  line-height: .85;
  color: var(--red);
  letter-spacing: -.04em;
  opacity: .9;
}
.doc-card-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 10px;
}
.doc-card-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
/* Mockup on the LEFT (odd cards 01, 03) — tilted toward the text on the right
   (rotateY positive = right edge of card comes forward → leans right). */
.doc-card-mock{
  grid-area: mock;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: transparent;
  border: none;
  overflow: visible;
  position: relative;
  transform: perspective(2400px) rotateY(8deg) rotateX(1.5deg);
  transform-origin: right center;
  /* NO filter chain — drop-shadow rasterization blurs the scaled small
     text inside. Glow via ::before pseudo; inner ghl-mock keeps box-shadow. */
  transition: transform .6s cubic-bezier(.2,.7,.25,1);
  will-change: transform;
}
.doc-card-mock::before{
  content: "";
  position: absolute;
  inset: 4% 4% -8% -3%;
  border-radius: 24px;
  background: radial-gradient(60% 55% at 50% 60%, rgba(225,29,46,.26) 0%, rgba(225,29,46,0) 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.doc-card-mock:hover{
  transform: perspective(2400px) rotateY(4deg) rotateX(.5deg);
}
/* Flipped variant (even cards 02, 04): mockup on RIGHT, text on LEFT,
   tilt mirrored. Like the index alternating module layout. */
.doc-card.flip{
  grid-template-areas:
    "head head"
    "body mock"
    "details details"
    "closing closing";
}
.doc-card.flip .doc-card-mock{
  transform: perspective(2400px) rotateY(-8deg) rotateX(1.5deg);
  transform-origin: left center;
}
.doc-card.flip .doc-card-mock::before{
  inset: 4% -3% -8% 4%;
}
.doc-card.flip .doc-card-mock:hover{
  transform: perspective(2400px) rotateY(-4deg) rotateX(.5deg);
}
.doc-card-mock .frame-state-mock{
  width: 100%; height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  backface-visibility: hidden;
  will-change: transform;
}
.doc-card-body{
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.doc-card-body .feat-list{ margin: 0; }
.doc-card-body .feat-pointer{ margin: 0; }
.doc-card-closing{
  grid-area: closing;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.doc-details{
  grid-area: details;
  margin: 0;
  border-radius: 12px;
}

/* ================================================================
   SALES MOCKUP CHASSIS — 5 distinct visuals (none reuse index/marketing).
   ================================================================ */

/* HERO · GHL Opportunity Detail — wrapped in real GHL chrome
   (dark .ghl-side sidebar + .ghl-topbar). Reuses existing index
   sidebar styles via the .ghl-side class. */
.deal-mock{
  width: 1100px;
  height: 620px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e3e3e8;
  box-shadow:
    0 60px 120px -40px rgba(20,40,30,.45),
    0 30px 60px -30px rgba(20,40,30,.25);
  display: flex; flex-direction: column;
  font-family: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a24;
}
.deal-mock-bar{
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #f1f3f4;
  border-bottom: 1px solid #e4e6eb;
  flex: 0 0 auto;
}
.deal-mock-dot{ width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.deal-mock-title{
  margin-left: 10px;
  flex: 1;
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: #5f6368;
}
/* App area = GHL sidebar + main content. The .ghl-side rules from
   the index hero (line ~634 + ~2606) apply automatically because
   this mockup sits inside .gv. */
.deal-mock-app{
  flex: 1;
  display: grid;
  grid-template-columns: 62px 1fr;
  overflow: hidden;
}
.deal-mock-main{
  display: flex; flex-direction: column;
  overflow: hidden;
}
.deal-mock-crumb{
  margin-left: 6px;
  font-size: 12px;
  color: #5f6368;
}
.deal-mock-head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px 16px;
  border-bottom: 1px solid #f0f0f3;
  flex: 0 0 auto;
}
.deal-mock-contact{ display: flex; align-items: center; gap: 14px; }
.deal-mock-avatar{
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.deal-mock-name{ font-size: 18px; font-weight: 600; line-height: 1.15; }
.deal-mock-sub{ display: block; font-size: 12.5px; color: #5f6368; margin-top: 3px; }
.deal-mock-status{
  background: var(--red-tint);
  color: var(--red);
  font-size: 12px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--red-soft);
}
.deal-mock-stages{
  display: flex; align-items: center; gap: 4px;
  padding: 16px 28px;
  border-bottom: 1px solid #f0f0f3;
  flex-wrap: nowrap;
  overflow: hidden;
}
.deal-mock-stage{
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f5f5f8;
  color: #65676b;
  border: 1px solid #e4e6eb;
  white-space: nowrap;
}
.deal-mock-stage.done{ background: #effaf4; color: #1d7a4d; border-color: #c4ebd2; }
.deal-mock-stage.active{ background: var(--red); color: #fff; border-color: var(--red); font-weight: 600; }
.deal-mock-link{
  flex: 0 0 auto;
  width: 14px; height: 2px;
  background: #d9d9d9;
}
.deal-mock-link.done{ background: #6dc78a; }
.deal-mock-body{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 22px 28px 18px;
  flex: 1;
}
.deal-mock-label{
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5f6368;
  margin: 0 0 6px;
}
.deal-mock-label:not(:first-child){ margin-top: 16px; }
.deal-mock-value{
  font-family: var(--ff);
  font-size: 26px;
  font-weight: 600;
  color: #1a1a24;
  letter-spacing: -.02em;
}
.deal-mock-tag{
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.deal-mock-tag--meta{ background: #e7f3ff; color: #1877f2; }
.deal-mock-activity{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.deal-mock-activity li{
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px;
  line-height: 1.4;
  color: #3c4043;
}
.deal-mock-activity li b{ font-weight: 600; color: #1a1a24; }
.deal-mock-act-ico{
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
.deal-mock-ai{
  margin: 0 28px 22px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(225,29,46,.07), rgba(225,29,46,.02));
  border: 1px solid var(--red-soft);
  border-radius: 10px;
  display: flex; align-items: center; gap: 12px;
}
.deal-mock-ai-tag{
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--red-soft);
  border-radius: 999px;
}
.deal-mock-ai-text{
  font-size: 13.5px;
  color: var(--ink);
  font-style: italic;
}

/* 01 · Pipeline Progress Strip */
.ppstrip-mock{
  width: 1100px;
  height: 480px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e4e6eb;
  padding: 24px 28px 22px;
  display: flex; flex-direction: column;
  gap: 18px;
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  color: #1a1a24;
}
.ppstrip-head{ display: flex; justify-content: space-between; align-items: center; }
.ppstrip-name{ font-size: 16px; font-weight: 600; }
.ppstrip-meta{ font-size: 13px; color: #5f6368; }
.ppstrip-rail{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  background: #f5f5f8;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ebebef;
}
.ppstrip-stage{ text-align: center; padding: 8px 4px; }
.ppstrip-dot{
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #d9d9d9;
  margin: 0 auto 6px;
}
.ppstrip-stage.done .ppstrip-dot{ background: #28c840; }
.ppstrip-stage.active .ppstrip-dot{
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(225,29,46,.18);
}
.ppstrip-stage b{ display: block; font-size: 13px; font-weight: 600; }
.ppstrip-stage small{ display: block; font-size: 11px; color: #5f6368; margin-top: 2px; }
.ppstrip-stage.active b{ color: var(--red); }
.ppstrip-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ppstrip-card{
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 8px;
  padding: 12px 14px;
}
.ppstrip-card b{ display: block; font-size: 13.5px; font-weight: 600; }
.ppstrip-card small{ display: block; font-size: 12px; color: #5f6368; margin-top: 2px; }
.ppstrip-card-row{
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px;
}
.ppstrip-card-val{ font-size: 13.5px; font-weight: 600; color: #1a1a24; }
.ppstrip-card-stage{
  font-size: 11px;
  color: var(--red);
  font-weight: 500;
  padding: 3px 9px;
  background: var(--red-tint);
  border-radius: 999px;
}
.ppstrip-integrations{
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #ebebef;
}
.ppstrip-int{
  font-size: 12px;
  font-weight: 500;
  color: #5f6368;
  padding: 5px 12px;
  background: #f5f5f8;
  border: 1px solid #ebebef;
  border-radius: 999px;
}

/* 02 · Sequence Builder */
.seq-mock{
  width: 760px;
  height: 580px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e4e6eb;
  padding: 22px 26px;
  display: flex; flex-direction: column;
  gap: 16px;
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  color: #1a1a24;
}
.seq-head{
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #ebebef;
}
.seq-title{ font-size: 15px; font-weight: 600; }
.seq-status{
  font-size: 11.5px; color: #1d7a4d; font-weight: 500;
  padding: 4px 11px;
  background: #effaf4;
  border: 1px solid #c4ebd2;
  border-radius: 999px;
}
.seq-track{ display: flex; flex-direction: column; }
.seq-step{
  display: flex; align-items: center; gap: 14px;
}
.seq-step-day{
  flex: 0 0 56px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.seq-step-card{
  flex: 1;
  display: flex; align-items: center; gap: 12px;
  background: #f8f8fa;
  border: 1px solid #ebebef;
  border-radius: 10px;
  padding: 12px 14px;
}
.seq-step-card--email{ border-color: #d6e8ff; background: #f3f8ff; }
.seq-step-card--sms{ border-color: #ffd6dc; background: #fff5f6; }
.seq-step-card--branch{ border-color: #ebebef; background: #fafafa; }
.seq-step-ico{
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  background: #fff;
  border: 1px solid #ebebef;
}
.seq-step-card b{ display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.seq-step-card small{ display: block; font-size: 12px; color: #5f6368; margin-top: 3px; line-height: 1.35; }
.seq-link{
  display: block;
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, #d9d9d9 0%, #d9d9d9 100%);
  margin: 4px 0 4px 84px;
}

/* 03 · AI Phone Call */
.call-mock{
  width: 680px;
  height: 580px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e4e6eb;
  display: flex; flex-direction: column;
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  color: #1a1a24;
  overflow: hidden;
}
.call-mock-head{
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px;
  background: linear-gradient(135deg, #1a1a24, #2c2c36);
  color: #fff;
}
.call-mock-caller{ display: flex; align-items: center; gap: 12px; }
.call-mock-avatar{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.call-mock-name{ display: block; font-size: 15px; font-weight: 600; }
.call-mock-sub{ display: block; font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
.call-mock-meta{ text-align: right; }
.call-mock-status{
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #ff7c8a;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.call-mock-timer{
  display: block;
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  margin-top: 2px;
}
.call-mock-transcript{
  flex: 1;
  padding: 18px 22px;
  display: flex; flex-direction: column;
  gap: 8px;
  overflow: hidden;
  background: #fafafa;
}
.call-mock-bubble{
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.4;
  display: flex; flex-direction: column;
  gap: 3px;
}
.call-mock-bubble--ai{
  align-self: flex-start;
  background: #fff;
  border: 1px solid #ebebef;
}
.call-mock-bubble--lead{
  align-self: flex-end;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red-dk);
}
.call-mock-speaker{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
}
.call-mock-typing{
  align-self: flex-start;
  background: #fff;
  border: 1px solid #ebebef;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; gap: 4px;
}
.call-mock-typing span{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #8a8d91;
  animation: dm-pulse 1.2s ease-in-out infinite;
}
.call-mock-typing span:nth-child(2){ animation-delay: .2s; }
.call-mock-typing span:nth-child(3){ animation-delay: .4s; }
.call-mock-actions{
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 22px;
  background: #fff;
  border-top: 1px solid #ebebef;
}
.call-mock-tag{
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--red-tint);
  color: var(--red);
  border: 1px solid var(--red-soft);
}
.call-mock-tag--ok{ background: #effaf4; color: #1d7a4d; border-color: #c4ebd2; }
.call-mock-tag--alt{ background: #e7f3ff; color: #1877f2; border-color: #c7defb; }

/* 04 · AI Prospect Briefing */
.brief-mock{
  width: 920px;
  height: 540px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e4e6eb;
  padding: 24px 28px 22px;
  display: flex; flex-direction: column;
  gap: 18px;
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  color: #1a1a24;
}
.brief-head{
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #ebebef;
}
.brief-company{ display: flex; align-items: center; gap: 12px; }
.brief-logo{
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
}
.brief-company b{ display: block; font-size: 16px; font-weight: 600; }
.brief-company small{ display: block; font-size: 12px; color: #5f6368; margin-top: 2px; }
.brief-badge{
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  padding: 5px 11px;
  background: var(--red-tint);
  border: 1px solid var(--red-soft);
  border-radius: 999px;
}
.brief-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.brief-col-h{
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5f6368;
  margin-bottom: 14px;
}
.brief-list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.brief-list li{
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.45;
}
.brief-bullet{
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--red);
}
.brief-conf{
  display: inline-block;
  margin-left: 8px;
  width: 56px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) var(--c, 50%), #ebebef var(--c, 50%));
  vertical-align: middle;
}
.brief-list--ideas li{
  background: #fafafa;
  border: 1px solid #ebebef;
  border-radius: 8px;
  padding: 11px 14px 11px 14px;
  font-size: 13px;
}
.brief-list--ideas li{ padding-left: 14px; }

/* Sales page responsive */
@media (max-width: 1100px){
  .pipeline-broken{
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .pipeline-link{ display: none; }
}
@media (max-width: 900px){
  .sales-hero-inner{ grid-template-columns: 1fr; gap: 40px; }
  .sales-hero-visual{ transform: none; }
  .sales-hero-visual:hover{ transform: none; }
  /* Both .doc-card and .doc-card.flip stack to 1 col on mobile.
     Selector matches .flip's specificity (0,2,0) so the 2-col template
     from the desktop flip rule can't leak through. */
  .doc-card,
  .doc-card.flip{
    padding: 32px 24px;
    margin: 36px 16px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "mock"
      "body"
      "details"
      "closing";
    column-gap: 0;
  }
  .doc-card-head{ grid-template-columns: 1fr; gap: 8px; }
  .doc-card-num{ font-size: 48px; }
  /* Same specificity story for the tilt — match .flip explicitly. */
  .doc-card-mock,
  .doc-card.flip .doc-card-mock{ transform: none; }
  .doc-card-mock:hover,
  .doc-card.flip .doc-card-mock:hover{ transform: none; }
  .pipeline-broken{ grid-template-columns: 1fr; }
}

/* ============ Sales mockup aspect overrides ============
   Per-mockup canvas aspect for sales.html .doc-card-mock. Default is 4/3
   (set on .doc-card-mock above). Some real GHL views are naturally wider —
   the Opportunities kanban (1300x600) is ~13/6, so reserve more height
   for it. The mockup itself is unchanged; only the canvas reshapes. */
.doc-card[data-mock="pipeline"] .doc-card-mock{ aspect-ratio: 13 / 6; }
.doc-card[data-mock="convo"] .doc-card-mock{ aspect-ratio: 11 / 5; }
.doc-card[data-mock="contact"] .doc-card-mock{ aspect-ratio: 11 / 5; }

/* ============ Mockup zoom-in affordance ============
   Subpage mockups (sales/marketing) get a "Nagyítás" pill in the top-right
   corner + cursor:zoom-in on the whole container. The pill is JS-injected
   by main.js (one badge per container). pointer-events:none lets clicks
   fall through to the underlying .frame-state-mock click handler. */
.sales-hero-visual,
.doc-card-mock,
.feat-visual,
.reakt-hero-visual,
.reakt-solution-visual{
  cursor: zoom-in;
}
.mock-zoom-badge{
  position: absolute;
  top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(20, 20, 30, .1);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  color: #1a1a24;
  letter-spacing: .01em;
  box-shadow:
    0 6px 16px -4px rgba(20, 20, 30, .22),
    0 2px 4px rgba(20, 20, 30, .08);
  pointer-events: none;
  z-index: 5;
  opacity: .88;
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}
.mock-zoom-badge svg{
  flex-shrink: 0;
  color: var(--red, #E11D2E);
}
.sales-hero-visual:hover .mock-zoom-badge,
.doc-card-mock:hover .mock-zoom-badge,
.feat-visual:hover .mock-zoom-badge,
.reakt-hero-visual:hover .mock-zoom-badge,
.reakt-solution-visual:hover .mock-zoom-badge{
  opacity: 1;
  transform: scale(1.05);
  box-shadow:
    0 8px 22px -4px rgba(225, 29, 46, .28),
    0 3px 6px rgba(20, 20, 30, .12);
}
/* Mobile: shrink the badge a touch so it doesn't dominate the smaller canvas */
@media (max-width: 700px){
  .mock-zoom-badge{
    top: 8px; right: 8px;
    padding: 4px 9px; font-size: 10px;
  }
}

/* ============ Sales mockup 04 — Notes extensions for .ghl-mock.contact ============
   The Contact Detail chrome already exists (.cd-event, .ghl-cdpane, .ghl-cdtasks).
   Here we extend it with: pinned-note highlight at top of timeline, color-labeled
   note events, and a notes-list version of the right panel (replacing tasks empty
   state). Per user: GHL has no "brief" — AI output lives in Notes. */
.gv .ghl-mock.contact .cd-pinned{
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 4px;
}
.gv .ghl-mock.contact .cd-pinned .head{
  display: flex; align-items: center; gap: 6px;
  font-size: 9.5px; color: #92400e; font-weight: 700;
}
.gv .ghl-mock.contact .cd-pinned .head .pin{ font-size: 10px; }
.gv .ghl-mock.contact .cd-pinned .head .auto{
  font-size: 7.5px; background: #fde68a; color: #92400e;
  padding: 1px 5px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .04em;
}
.gv .ghl-mock.contact .cd-pinned .head .tm{ margin-left: auto; font-weight: 500; color: #b07920; }
.gv .ghl-mock.contact .cd-pinned .body{
  font-size: 9px; color: #1a1a24; line-height: 1.5;
}
.gv .ghl-mock.contact .cd-pinned .body .pp{
  display: flex; justify-content: space-between; align-items: center;
  padding: 3px 0;
}
.gv .ghl-mock.contact .cd-pinned .body .pp .conf{
  font-size: 7.5px; color: #92400e; font-weight: 600;
  background: #fef3c7; padding: 1px 5px; border-radius: 3px;
}
/* Color-labeled note dots in timeline (override default purple) */
.gv .ghl-mock.contact .cd-event .dot.n-purple{ background: #efebff; color: #7c5cff; }
.gv .ghl-mock.contact .cd-event .dot.n-green{ background: #dcfce7; color: #16a34a; }
.gv .ghl-mock.contact .cd-event .dot.n-blue{ background: #dbeafe; color: #1d4ed8; }
.gv .ghl-mock.contact .cd-event .dot.n-orange{ background: #fef3c7; color: #92400e; }

/* Right-panel tabs (overrides .cdt-empty layout) */
.gv .ghl-mock.contact .cdt-tabs{
  display: flex; gap: 10px;
  border-bottom: 1px solid #f0f0f4;
  margin: -4px -2px 10px;
  padding: 0 2px;
}
.gv .ghl-mock.contact .cdt-tab{
  font-size: 9px; color: #6b6b7d;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}
.gv .ghl-mock.contact .cdt-tab.active{
  color: #1a1a24; font-weight: 700;
  border-bottom-color: #7c5cff;
}
.gv .ghl-mock.contact .cdt-tab .ct{ color: #9897a8; font-weight: 500; margin-left: 2px; }
/* Notes list */
.gv .ghl-mock.contact .cdt-notes{
  display: flex; flex-direction: column; gap: 8px;
}
.gv .ghl-mock.contact .cdt-note{
  display: flex; gap: 7px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f6f9;
}
.gv .ghl-mock.contact .cdt-note:last-child{ border-bottom: none; }
.gv .ghl-mock.contact .cdt-note .stripe{
  flex-shrink: 0; width: 3px; border-radius: 2px;
  align-self: stretch;
}
.gv .ghl-mock.contact .cdt-note .stripe.n-orange{ background: #f59e0b; }
.gv .ghl-mock.contact .cdt-note .stripe.n-purple{ background: #7c5cff; }
.gv .ghl-mock.contact .cdt-note .stripe.n-green{ background: #16a34a; }
.gv .ghl-mock.contact .cdt-note .stripe.n-blue{ background: #3b82f6; }
.gv .ghl-mock.contact .cdt-note .body{ flex: 1; min-width: 0; }
.gv .ghl-mock.contact .cdt-note .row{
  display: flex; justify-content: space-between; align-items: baseline; gap: 5px;
}
.gv .ghl-mock.contact .cdt-note .title{
  font-size: 9.5px; font-weight: 600; color: #1a1a24;
  display: flex; align-items: center; gap: 4px;
}
.gv .ghl-mock.contact .cdt-note .title .pin{ font-size: 8px; }
.gv .ghl-mock.contact .cdt-note .tm{ font-size: 7.5px; color: #9897a8; flex-shrink: 0; }
.gv .ghl-mock.contact .cdt-note .snip{
  font-size: 8.5px; color: #6b6b7d; line-height: 1.35;
  margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ Sales mockup 03 — GHL Conversations 4-pane ============
   Sidebar (62) + Chat list (220) + Message history (1fr) + Right panel (200).
   Same column rhythm as .ghl-mock.contact. The AI call shows as a Conversation
   call-card with playback + transcript inline + auto-Note below — real GHL. */
.gv .ghl-mock.convo{
  grid-template-columns: 62px 220px 1fr 200px;
  width: 1100px; height: 540px;
}

/* Chat list pane */
.gv .ghl-mock.convo .cv-list{
  background: #fff; border-right: 1px solid #e3e3e8;
  display: flex; flex-direction: column; overflow: hidden;
}
.gv .ghl-mock.convo .cv-list-head{
  padding: 12px 14px 10px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #f0f0f4;
}
.gv .ghl-mock.convo .cv-list-head .lbl{ font-weight: 700; font-size: 11.5px; color: #1a1a24; }
.gv .ghl-mock.convo .cv-list-head .chev{ color: #9897a8; font-size: 10px; }
.gv .ghl-mock.convo .cv-list-search{
  margin: 10px 14px 6px;
  background: #f5f6f9; border-radius: 5px;
  padding: 6px 9px; font-size: 9px; color: #9897a8;
}
.gv .ghl-mock.convo .cv-thread{
  display: flex; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid #f5f6f9;
  align-items: flex-start;
  position: relative;
}
.gv .ghl-mock.convo .cv-thread.active{
  background: #f5f6f9;
  border-left: 3px solid #7c5cff;
  padding-left: 11px;
}
.gv .ghl-mock.convo .cv-thread .av{
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: #fb923c; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 10.5px;
  position: relative;
}
.gv .ghl-mock.convo .cv-thread.live .av::after{
  content: ""; position: absolute;
  bottom: -1px; right: -1px;
  width: 8px; height: 8px;
  background: #22c55e; border-radius: 50%;
  border: 2px solid #fff;
}
.gv .ghl-mock.convo .cv-thread .info{ flex: 1; min-width: 0; }
.gv .ghl-mock.convo .cv-thread .row{
  display: flex; justify-content: space-between; align-items: baseline; gap: 6px;
}
.gv .ghl-mock.convo .cv-thread .nm{ font-weight: 600; font-size: 10px; color: #1a1a24; }
.gv .ghl-mock.convo .cv-thread .tm{ font-size: 8px; color: #9897a8; flex-shrink: 0; }
.gv .ghl-mock.convo .cv-thread .biz{ font-size: 8.5px; color: #6b6b7d; margin-top: 1px; }
.gv .ghl-mock.convo .cv-thread .preview{
  font-size: 8.5px; color: #6b6b7d; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gv .ghl-mock.convo .cv-thread.active .preview{ color: #1a1a24; font-weight: 500; }

/* Message history pane */
.gv .ghl-mock.convo .cv-msg{
  background: #fafbfc;
  display: flex; flex-direction: column;
  min-width: 0; overflow: hidden;
}
.gv .ghl-mock.convo .cv-msg-head{
  padding: 10px 16px;
  background: #fff; border-bottom: 1px solid #e3e3e8;
  display: flex; align-items: center; gap: 10px;
}
.gv .ghl-mock.convo .cv-msg-head .av{
  width: 26px; height: 26px;
  border-radius: 50%; background: #fb923c; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 10px;
}
.gv .ghl-mock.convo .cv-msg-head .nm{ font-weight: 600; font-size: 11px; color: #1a1a24; }
.gv .ghl-mock.convo .cv-msg-head .sub{ font-size: 9px; color: #6b6b7d; margin-top: 1px; }
.gv .ghl-mock.convo .cv-msg-head .right{ margin-left: auto; display: flex; gap: 5px; }
.gv .ghl-mock.convo .cv-msg-head .ico{
  width: 22px; height: 22px;
  border-radius: 5px; background: #f0f0f4;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #6b6b7d;
}
.gv .ghl-mock.convo .cv-msg-tabs{
  background: #fff; padding: 0 16px;
  border-bottom: 1px solid #e3e3e8;
  display: flex; gap: 16px;
}
.gv .ghl-mock.convo .cv-msg-tab{
  font-size: 9.5px; color: #6b6b7d;
  padding: 6px 0 8px;
  border-bottom: 2px solid transparent;
}
.gv .ghl-mock.convo .cv-msg-tab.active{
  color: #1a1a24; font-weight: 600;
  border-bottom-color: #7c5cff;
}
.gv .ghl-mock.convo .cv-stream{
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1; overflow: hidden;
}
.gv .ghl-mock.convo .cv-day{
  align-self: center;
  font-size: 8.5px; color: #6b6b7d;
  background: #fff; padding: 2px 10px;
  border-radius: 10px; border: 1px solid #e3e3e8;
}
.gv .ghl-mock.convo .cv-callcard{
  background: #fff; border: 1px solid #e3e3e8;
  border-radius: 8px; padding: 11px 13px;
  display: flex; flex-direction: column; gap: 8px;
}
.gv .ghl-mock.convo .cv-callcard .head{
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; color: #1a1a24; font-weight: 600;
}
.gv .ghl-mock.convo .cv-callcard .head .live::before{
  content: "●"; color: #ef4444; margin-right: 4px;
  animation: convo-live 1.4s ease-in-out infinite;
}
@keyframes convo-live{ 0%,100%{ opacity: 1 } 50%{ opacity: .35 } }
.gv .ghl-mock.convo .cv-callcard .head .right{
  margin-left: auto; color: #6b6b7d;
  font-size: 9.5px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.gv .ghl-mock.convo .cv-callcard .meta{
  font-size: 8.5px; color: #6b6b7d;
  display: flex; gap: 8px; align-items: center;
}
.gv .ghl-mock.convo .cv-callcard .meta .sep{
  width: 2px; height: 2px; border-radius: 50%; background: #c5c5cd;
}
.gv .ghl-mock.convo .cv-callcard .player{
  display: flex; align-items: center; gap: 9px;
  background: #f5f6f9; border-radius: 6px;
  padding: 7px 11px;
}
.gv .ghl-mock.convo .cv-callcard .player .pb{
  width: 22px; height: 22px;
  border-radius: 50%; background: #7c5cff;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 9px;
}
.gv .ghl-mock.convo .cv-callcard .player .wave{
  flex: 1; height: 16px;
  display: flex; align-items: center; gap: 2px;
}
.gv .ghl-mock.convo .cv-callcard .player .wave i{
  display: block; width: 2px;
  background: #c5c5cd; border-radius: 1px;
}
.gv .ghl-mock.convo .cv-callcard .player .wave i.on{ background: #7c5cff; }
.gv .ghl-mock.convo .cv-callcard .player .tm{
  font-size: 8.5px; color: #6b6b7d;
  font-variant-numeric: tabular-nums;
}
.gv .ghl-mock.convo .cv-transcript{
  background: #f5f6f9; border-radius: 6px;
  padding: 9px 11px;
  display: flex; flex-direction: column; gap: 4px;
}
.gv .ghl-mock.convo .cv-transcript .lbl{
  font-size: 8px; color: #6b6b7d; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 3px;
}
.gv .ghl-mock.convo .cv-line{
  font-size: 9px; line-height: 1.4; color: #1a1a24;
}
.gv .ghl-mock.convo .cv-line .who{
  font-weight: 700; color: #6b6b7d;
  margin-right: 5px;
}
.gv .ghl-mock.convo .cv-line.ai .who{ color: #7c5cff; }
.gv .ghl-mock.convo .cv-typing{
  display: inline-flex; gap: 2px; align-items: center; padding: 3px 0;
}
.gv .ghl-mock.convo .cv-typing span{
  width: 4px; height: 4px; border-radius: 50%;
  background: #9897a8;
  animation: convo-typing 1.2s ease-in-out infinite;
}
.gv .ghl-mock.convo .cv-typing span:nth-child(2){ animation-delay: .15s; }
.gv .ghl-mock.convo .cv-typing span:nth-child(3){ animation-delay: .3s; }
@keyframes convo-typing{ 0%,100%{ opacity: .3 } 40%{ opacity: 1 } }
.gv .ghl-mock.convo .cv-note{
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: 9px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.gv .ghl-mock.convo .cv-note .head{
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; color: #92400e; font-weight: 600;
}
.gv .ghl-mock.convo .cv-note .head .auto{
  font-size: 7.5px; background: #fde68a; color: #92400e;
  padding: 1px 5px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .04em;
}
.gv .ghl-mock.convo .cv-note .head .tm{ margin-left: auto; color: #b07920; font-weight: 500; }
.gv .ghl-mock.convo .cv-note .body{
  font-size: 9.5px; color: #1a1a24; line-height: 1.45;
}

/* Right contact panel */
.gv .ghl-mock.convo .cv-right{
  background: #fff; border-left: 1px solid #e3e3e8;
  padding: 14px 12px; overflow: hidden;
  display: flex; flex-direction: column; gap: 11px;
}
.gv .ghl-mock.convo .cv-right .head{
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 12px; border-bottom: 1px solid #f0f0f4;
}
.gv .ghl-mock.convo .cv-right .head .av{
  width: 32px; height: 32px;
  border-radius: 50%; background: #fb923c; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11.5px;
}
.gv .ghl-mock.convo .cv-right .head .nm{ font-weight: 600; font-size: 10.5px; color: #1a1a24; }
.gv .ghl-mock.convo .cv-right .head .sub{ font-size: 8.5px; color: #6b6b7d; margin-top: 1px; }
.gv .ghl-mock.convo .cv-field{ display: flex; flex-direction: column; gap: 2px; }
.gv .ghl-mock.convo .cv-field .lbl{
  font-size: 7.5px; color: #6b6b7d;
  letter-spacing: .04em; text-transform: uppercase;
}
.gv .ghl-mock.convo .cv-field .val{ font-size: 9px; color: #1a1a24; font-weight: 500; }
.gv .ghl-mock.convo .cv-tags{ display: flex; gap: 4px; flex-wrap: wrap; }
.gv .ghl-mock.convo .cv-tags .t{
  font-size: 7px; padding: 2px 6px; border-radius: 3px;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.gv .ghl-mock.convo .cv-tags .t.hot{ background: #fee2e2; color: #b91c1c; }
.gv .ghl-mock.convo .cv-tags .t.cat{ background: #efebff; color: #7c5cff; }
.gv .ghl-mock.convo .cv-rtabs{
  display: flex; gap: 12px;
  border-top: 1px solid #f0f0f4;
  padding-top: 8px;
}
.gv .ghl-mock.convo .cv-rtab{
  font-size: 8.5px; color: #6b6b7d;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.gv .ghl-mock.convo .cv-rtab.active{ color: #1a1a24; font-weight: 700; border-bottom-color: #7c5cff; }
.gv .ghl-mock.convo .cv-actions{
  display: flex; gap: 5px; margin-top: auto;
}
.gv .ghl-mock.convo .cv-actions .act{
  flex: 1; padding: 6px 5px;
  background: #f5f6f9; color: #1a1a24;
  border-radius: 5px; text-align: center;
  font-size: 8.5px; font-weight: 600;
}
.gv .ghl-mock.convo .cv-actions .act.primary{ background: #7c5cff; color: #fff; }

/* ================================================================
   REAKTIVÁLÁS PAGE STYLES
   ================================================================
   Distinct visual rhythm per section. Hero is 2-col text+mockup
   (like sales), problem reuses .sub-intro/.problem-grid (4 cards 2x2),
   then valóság / megoldás / hogyan / mit jelent / miért / pozicionáló
   each get their own tone. Pozicionáló is a dark full-bleed callout.
   ================================================================ */

/* ---------- HERO (2-col text + Contact Detail mockup) ---------- */
.reakt-hero{
  padding: 90px 28px 100px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.reakt-hero-inner{
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.reakt-hero-text h1{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 12px 0 18px;
  text-wrap: balance;
}
.reakt-hero-text .sub-hero-body{ margin: 0 0 26px; }
.reakt-hero-visual{
  width: 100%;
  aspect-ratio: 11 / 5;
  background: transparent;
  border: none;
  overflow: visible;
  position: relative;
  /* Lighter tilt than sales hero — Contact Detail has dense small text
     that aggressive rotation makes hard to read. Subtle perspective only. */
  transform: perspective(2400px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
  /* NO filter chain on rotated container — drop-shadow forces filter
     rasterization which blurs the scaled small text inside. Glow is a
     ::before pseudo behind the mockup; the inner ghl-mock keeps its own
     box-shadow for grounding. */
  transition: transform .6s cubic-bezier(.2,.7,.25,1);
  will-change: transform;
}
.reakt-hero-visual::before{
  content: "";
  position: absolute;
  inset: 4% -3% -8% 4%;
  border-radius: 24px;
  background: radial-gradient(60% 50% at 50% 60%, rgba(225,29,46,.28) 0%, rgba(225,29,46,0) 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  transition: opacity .6s ease;
}
.reakt-hero-visual:hover{
  transform: perspective(2400px) rotateY(-3deg) rotateX(1deg);
}
.reakt-hero-visual:hover::before{ opacity: 1.4; }
/* Crisp text rendering for the rotated/scaled mockup */
.reakt-hero-visual .frame-state-mock,
.reakt-solution-visual .frame-state-mock{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  backface-visibility: hidden;
  will-change: transform;
}
.reakt-hero-visual .frame-state-mock{ width: 100%; height: 100%; }

/* ---------- PROBLÉMA section shares .sub-intro chrome ---------- */
.reakt-problem{ background: var(--bg-2, #fafafa); }

/* ---------- VALÓSÁG — 3 fact cards in a row ---------- */
.reakt-fact{
  padding: 88px 28px 96px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.reakt-fact-inner{ max-width: 1100px; margin: 0 auto; }
.reakt-fact-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.reakt-fact-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 36px;
  max-width: 24ch;
}
.fact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fact-card{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.fact-check{
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-weight: 700; font-size: 17px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.fact-card p{
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}
.reakt-fact-pointer{
  margin: 28px 0 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- MEGOLDÁS — centered text + Reaktiválás Pipeline mockup ---------- */
.reakt-solution{
  padding: 96px 28px 90px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.reakt-solution-inner{
  max-width: 1320px; margin: 0 auto;
}
.reakt-solution-text{
  max-width: 880px; margin: 0 auto 56px;
  text-align: center;
}
.reakt-solution-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.reakt-solution-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.reakt-solution-lead{
  font-size: 19px; line-height: 1.5;
  color: var(--ink-2, #4a4a55);
  max-width: 60ch;
  margin: 0 auto 28px;
}
.reakt-solution-list{
  list-style: none;
  padding: 0; margin: 0 auto 26px;
  display: inline-flex; flex-direction: column;
  gap: 10px;
  text-align: left;
}
.reakt-solution-list li{
  padding-left: 26px;
  position: relative;
  font-size: 17px;
  color: var(--ink);
}
.reakt-solution-list li::before{
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--red);
  font-weight: 700;
}
.reakt-solution-closing{
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.reakt-solution-visual{
  width: 100%;
  aspect-ratio: 13 / 6;
  background: transparent;
  border: none;
  overflow: visible;
  position: relative;
  /* Minimal tilt — kanban has tiny per-card text that must stay readable. */
  transform: perspective(2400px) rotateX(2deg);
  transform-origin: center top;
  /* No filter chain (causes blur on scaled text). Glow via ::before. */
  transition: transform .6s cubic-bezier(.2,.7,.25,1);
  will-change: transform;
}
.reakt-solution-visual::before{
  content: "";
  position: absolute;
  inset: -4% 2% -10% 2%;
  border-radius: 28px;
  background: radial-gradient(50% 60% at 50% 70%, rgba(225,29,46,.20) 0%, rgba(225,29,46,0) 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}
.reakt-solution-visual:hover{
  transform: perspective(2400px) rotateX(0deg);
}
.reakt-solution-visual .frame-state-mock{ width: 100%; height: 100%; }

/* ---------- HOGYAN MŰKÖDIK ---------- */
.reakt-how{
  padding: 88px 28px 96px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.reakt-how-inner{ max-width: 880px; margin: 0 auto; }
.reakt-how-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.reakt-how-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 26px;
  max-width: 26ch;
}
.reakt-how-list{
  list-style: none;
  padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.reakt-how-list li{
  padding-left: 26px;
  position: relative;
  font-size: 17px;
  color: var(--ink);
}
.reakt-how-list li::before{
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--red);
  font-weight: 700;
}
.reakt-how-pointer,
.reakt-how-closing{
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  margin: 22px 0 0;
}
.reakt-details{ margin-top: 22px; }

/* ---------- MIT JELENT — 4 outcome cards ---------- */
.reakt-outcome{
  padding: 88px 28px 96px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.reakt-outcome-inner{ max-width: 1280px; margin: 0 auto; }
.reakt-outcome-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
}
.outcome-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.outcome-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 168px;
  box-shadow: 0 14px 28px -20px rgba(20,20,30,.14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.outcome-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -18px rgba(20,20,30,.20);
}
.outcome-num{
  font-family: var(--ff);
  font-weight: 700;
  font-size: 26px;
  color: var(--red);
  letter-spacing: -.02em;
  line-height: 1;
}
.outcome-card p{
  margin: auto 0 0;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

/* ---------- MIÉRT MŰKÖDIK ---------- */
.reakt-why{
  padding: 88px 28px 96px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.reakt-why-inner{ max-width: 880px; margin: 0 auto; }
.reakt-why-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.reakt-why-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  max-width: 28ch;
}
.reakt-why-lead{
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
}
.reakt-why-list{
  list-style: none;
  padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.reakt-why-list li{
  padding-left: 26px;
  position: relative;
  font-size: 17px;
  color: var(--ink);
}
.reakt-why-list li::before{
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--red);
  font-weight: 700;
}
.reakt-why-closing{
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  margin: 22px 0 0;
}

/* ---------- POZICIONÁLÓ BLOKK — base (white) callout w/ shining CTA ---------- */
.reakt-poz{
  padding: 88px 28px 96px;
  background: var(--bg, #fff);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.reakt-poz-inner{
  max-width: 880px; margin: 0 auto;
  text-align: center;
  position: relative;
}
.reakt-poz-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.reakt-poz-lead{
  font-size: 17px;
  color: var(--ink-soft, #6b6b7d);
  margin: 0 0 6px;
}
.reakt-poz-anchor{
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 32px;
}
.reakt-poz-btn{
  display: inline-flex; align-items: center; gap: 8px;
  font-style: italic;
  text-wrap: balance;
  max-width: 60ch;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  .outcome-row{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px){
  .reakt-hero-inner{
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .reakt-hero-visual{ transform: none; }
  .reakt-hero-visual:hover{ transform: none; }
  .fact-grid{ grid-template-columns: 1fr; }
  .reakt-solution-visual{ transform: none; }
  .reakt-solution-visual:hover{ transform: none; }
  .outcome-row{ grid-template-columns: 1fr; }
}

/* ================================================================
   CSOMAGOK PAGE STYLES
   ================================================================ */

/* ---------- HERO (centered, no mockup) ---------- */
.cs-hero{
  padding: 96px 28px 76px;
  background: #fff;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.cs-hero .sub-hero-inner{ max-width: 880px; margin: 0 auto; }
.cs-hero h1{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.cs-hero .sub-hero-body{ max-width: 60ch; margin: 0 auto 22px; }
.cs-hero-pointer{
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 18px 0 0;
}

/* ---------- POZICIONÁLÁS ---------- */
.cs-poz{
  padding: 80px 28px 84px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.cs-poz-inner{ max-width: 880px; margin: 0 auto; }
.cs-poz-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.cs-poz-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 18px;
}
.cs-poz-lead{ font-size: 17px; color: var(--ink); margin: 0 0 18px; }
.cs-poz-list{
  list-style: none;
  padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.cs-poz-list li{
  font-size: 17px;
  color: var(--ink);
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cs-poz-list li b{ font-weight: 600; }
.cs-poz-list li .arr{ color: var(--red); font-weight: 700; margin: 0 6px; }
.cs-poz-closing{
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  margin: 22px 0 0;
}

/* ---------- 3 PRICING CARDS ---------- */
.cs-tiers{
  padding: 92px 28px 96px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cs-tiers-inner{
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.cs-tier{
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px 28px;
  display: flex; flex-direction: column;
  gap: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cs-tier:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(20,20,30,.18);
}
/* PRO highlighted */
.cs-tier.is-pro{
  border: 2px solid var(--red);
  background: #fff;
  box-shadow:
    0 0 60px -10px rgba(225,29,46,.20),
    0 30px 60px -25px rgba(20,20,30,.20);
  transform: scale(1.02);
  z-index: 2;
}
.cs-tier.is-pro:hover{
  transform: scale(1.02) translateY(-3px);
  box-shadow:
    0 0 90px -10px rgba(225,29,46,.28),
    0 40px 70px -20px rgba(20,20,30,.24);
}
.cs-tier-badge{
  position: absolute;
  top: -13px; right: 20px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(225,29,46,.5);
}
/* Elite — dark/premium */
.cs-tier.is-elite{
  background: linear-gradient(180deg, #1a1a24 0%, #14141a 100%);
  color: #fff;
  border-color: #2a2a36;
}
.cs-tier.is-elite .cs-tier-name{ color: #fff; }
.cs-tier.is-elite .cs-tier-tagline{ color: rgba(255,255,255,.7); }
.cs-tier.is-elite .cs-tier-price-row{ border-color: rgba(255,255,255,.12); }
.cs-tier.is-elite .cs-tier-price-lbl{ color: rgba(255,255,255,.6); }
.cs-tier.is-elite .cs-tier-price-val{ color: #fff; }
.cs-tier.is-elite .cs-tier-price-val small{ color: rgba(255,255,255,.6); }
.cs-tier.is-elite .cs-tier-block-h{ color: rgba(255,255,255,.85); }
.cs-tier.is-elite .cs-tier-list li{ color: rgba(255,255,255,.85); }
.cs-tier.is-elite .cs-tier-list--check li::before{ color: var(--red); }
.cs-tier.is-elite .cs-tier-closing{ color: #fff; }
.cs-tier.is-elite .cs-tier-cta{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.cs-tier.is-elite .cs-tier-cta:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}

.cs-tier-head{
  display: flex; flex-direction: column;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.cs-tier.is-elite .cs-tier-head{ border-color: rgba(255,255,255,.12); }
.cs-tier-name{
  font-family: var(--ff);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -.025em;
  color: var(--ink);
  line-height: 1;
}
.cs-tier.is-pro .cs-tier-name{ color: var(--red); }
.cs-tier-tagline{
  font-size: 15.5px;
  color: var(--ink-soft, #5f5f72);
  line-height: 1.35;
}

.cs-tier-price{
  display: flex; flex-direction: column;
  gap: 14px;
}
.cs-tier-price-row{
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cs-tier-price-row:last-child{ border-bottom: none; padding-bottom: 0; }
.cs-tier-price-lbl{
  font-size: 12.5px;
  color: var(--ink-soft, #6b6b7d);
  letter-spacing: .02em;
}
.cs-tier-price-val{
  font-family: var(--ff);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.cs-tier-price-val small{
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft, #6b6b7d);
}

.cs-tier-block{ display: flex; flex-direction: column; gap: 10px; }
.cs-tier-block-h{
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.cs-tier-list{
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 8px;
}
.cs-tier-list li{
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.cs-tier-list li::before{
  content: "·";
  position: absolute; left: 6px; top: 0;
  color: var(--ink-soft, #6b6b7d);
  font-weight: 700;
}
.cs-tier-list--check li::before{
  content: "✓";
  color: var(--red);
  font-size: 13px;
  top: 2px;
  left: 0;
}
.cs-tier-closing{
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  margin-top: auto;
  padding-top: 6px;
}
.cs-tier-cta{
  margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
}
/* Small "Kattints a részletes funkciókhoz ↓" link below the CTA — scrolls
   to the comparison table and switches it to this tier. */
.cs-tier-jump{
  margin-top: 4px;
  background: none;
  border: none;
  padding: 8px 4px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-soft, #6b6b7d);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  text-decoration: none;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}
.cs-tier-jump .arr{
  display: inline-block;
  transition: transform .25s ease;
  color: var(--red);
}
.cs-tier-jump:hover{
  color: var(--red);
  background: rgba(225,29,46,.04);
}
.cs-tier-jump:hover .arr{ transform: translateY(2px); }
.cs-tier.is-elite .cs-tier-jump{ color: rgba(255,255,255,.55); }
.cs-tier.is-elite .cs-tier-jump:hover{
  color: #fff;
  background: rgba(255,255,255,.06);
}
.cs-tier.is-elite .cs-tier-jump .arr{ color: var(--red); }

/* ---------- KIEMELT BLOKK — PRO highlight ---------- */
.cs-highlight{
  padding: 88px 28px 92px;
  background: linear-gradient(135deg, var(--red-tint, #fef2f3) 0%, #fff 60%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cs-highlight::before{
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(225,29,46,.10) 0%, transparent 60%);
  pointer-events: none;
}
.cs-highlight-inner{
  max-width: 880px; margin: 0 auto;
  position: relative;
}
.cs-highlight-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.cs-highlight-sub{
  font-size: 21px;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 18px;
  line-height: 1.3;
}
.cs-highlight-anchor{
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 18px;
}
.cs-highlight-anchor b{ color: var(--red); }
.cs-highlight-list{
  list-style: none;
  padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.cs-highlight-list li{
  font-size: 17px;
  color: var(--ink);
  padding-left: 26px;
  position: relative;
}
.cs-highlight-list li::before{
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--red);
  font-weight: 700;
}
.cs-highlight-closing{
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

/* ---------- COMPARISON TABLES ---------- */
.cs-compare{
  padding: 88px 28px 92px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.cs-compare-inner{ max-width: 1180px; margin: 0 auto; }
.cs-compare-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.cs-compare-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 36px;
  max-width: 60ch;
  text-wrap: balance;
}

/* Mobile/tablet tier-tabs — hidden on desktop, shown on narrow viewports */
.cs-compare-tabs-wrap{ display: none; }
.cs-compare-tabs-hint{
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft, #6b6b7d);
  text-align: center;
  margin-bottom: 8px;
}
.cs-compare-tabs-hint span{
  display: inline-block;
  margin-left: 4px;
  color: var(--red);
  animation: cs-hint-bounce 1.6s ease-in-out infinite;
}
@keyframes cs-hint-bounce{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(4px); }
}
.cs-compare-tabs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--bg-2, #fafafa);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
}
.cs-compare-tab{
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  color: var(--ink);
  display: flex; flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
  transition: all .2s ease;
  -webkit-tap-highlight-color: rgba(225,29,46,.15);
}
.cs-compare-tab:hover{
  border-color: var(--red);
  background: rgba(225,29,46,.04);
}
.cs-compare-tab .ct-lvl{
  font-size: 9px; font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft, #9897a8);
}
.cs-compare-tab .ct-nm{
  font-family: var(--ff);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.005em;
  font-weight: 700;
}
.cs-compare-tab .ct-rb{
  position: absolute;
  top: -10px; right: 4px;
  font-size: 8px;
  letter-spacing: .14em;
  background: var(--red);
  color: #fff;
  padding: 2.5px 7px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 3px 8px -2px rgba(225,29,46,.5);
}
/* Inactive tabs get a small bouncing "kattints ↓" cue so users know
   the tabs are tappable. Hidden on the active tab. */
.cs-compare-tab:not(.is-active)::after{
  content: "kattints ↓";
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 5px;
  animation: cs-tab-cue 1.6s ease-in-out infinite;
}
@keyframes cs-tab-cue{
  0%, 100%{ transform: translateY(0); opacity: .8; }
  50%{ transform: translateY(2px); opacity: 1; }
}
.cs-compare-tab.is-active{
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 6px 16px -4px rgba(225,29,46,.45);
  transform: translateY(-1px);
}
.cs-compare-tab.is-active .ct-lvl{ color: rgba(255,255,255,.7); }
.cs-compare-tab.is-active .ct-nm{ color: #fff; }
.cs-compare-tab.is-active .ct-rb{
  background: #fff;
  color: var(--red);
}

.cs-table-wrap{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px -25px rgba(20,20,30,.16);
}
.cs-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.cs-table th,
.cs-table td{
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cs-table thead th{
  background: var(--bg-2, #fafafa);
  font-family: var(--ff);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -.005em;
}
.cs-table thead th:not(:first-child){
  text-align: center;
}
.cs-table tbody td:not(:first-child){
  text-align: center;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.cs-table tbody tr:last-child td{ border-bottom: none; }
.cs-table tbody tr:hover{ background: rgba(225,29,46,.03); }

/* Pro column highlighted */
.cs-table--summary thead th:nth-child(3),
.cs-table--summary tbody td:nth-child(3),
.cs-table--detail thead th:nth-child(3),
.cs-table--detail tbody td:nth-child(3){
  background: rgba(225,29,46,.04);
}
.cs-table--summary thead th:nth-child(3),
.cs-table--detail thead th:nth-child(3){
  background: rgba(225,29,46,.10);
  color: var(--red);
}

.cs-yes{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-weight: 700;
  font-size: 14px;
}
.cs-partial{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 13px;
}
.cs-no{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #f2f2f4;
  color: #9a9890;
  font-weight: 700;
  font-size: 14px;
}

.cs-table-legend{
  margin-top: 22px;
  display: flex; gap: 22px; flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
  color: var(--ink-soft, #6b6b7d);
}
.cs-table-legend span{ display: inline-flex; align-items: center; gap: 8px; }
.cs-table-legend span span{ flex-shrink: 0; }

/* Detail table (collapsed in <details>) */
.cs-table-details{
  margin-top: 30px;
}
.cs-table-details > summary{
  cursor: pointer;
  list-style: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: all .2s ease;
  user-select: none;
}
.cs-table-details > summary::after{
  content: "▾";
  color: var(--red);
  font-size: 13px;
  transition: transform .25s ease;
}
.cs-table-details[open] > summary::after{ transform: rotate(180deg); }
.cs-table-details > summary::-webkit-details-marker{ display: none; }
.cs-table-details > summary:hover{
  background: var(--bg-2, #fafafa);
  border-color: var(--red);
}
.cs-table-details[open]{
  margin-top: 24px;
}
.cs-table-details[open] > summary{ margin-bottom: 16px; }
.cs-table-details .cs-table-wrap{ margin-top: 4px; }
.cs-table-details .cs-table th,
.cs-table-details .cs-table td{
  padding: 11px 14px;
  font-size: 13.5px;
}
.cs-table-details .cs-table tbody td:not(:first-child){ font-size: 15px; }
.cs-table-price-row td{
  background: var(--bg-2, #fafafa);
  font-weight: 700;
  font-family: var(--ff);
}
.cs-table-price-row td:first-child{ color: var(--ink); }

/* ---------- EGYEDI MEGOLDÁSOK ---------- */
.cs-custom{
  padding: 88px 28px 96px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cs-custom-inner{ max-width: 1180px; margin: 0 auto; }
.cs-custom-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.cs-custom-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.cs-custom-body{
  font-size: 17px;
  color: var(--ink);
  max-width: 64ch;
  margin: 0 0 18px;
}
.cs-custom-pointer{
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 8px 0 0;
}

.cs-services{
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.cs-service{
  background: var(--bg-2, #fafafa);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cs-service:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -16px rgba(20,20,30,.18);
  border-color: var(--red);
}
.cs-service-head{
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.cs-service-name{
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  flex: 1;
}
.cs-service-price{
  font-family: var(--ff);
  font-weight: 700;
  font-size: 17px;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cs-service-price small{
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft, #6b6b7d);
}
.cs-service-meta{
  font-size: 13px;
  color: var(--ink-soft, #6b6b7d);
  line-height: 1.5;
}

/* ---------- SEGÍTŐ BLOKK ---------- */
.cs-help{
  padding: 88px 28px 96px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cs-help-inner{ max-width: 700px; margin: 0 auto; }
.cs-help-h{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.cs-help-body{
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 18px;
}
.cs-help-pointer{
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
}
.cs-help-list{
  list-style: none;
  padding: 0; margin: 0 auto 28px;
  display: inline-flex; flex-direction: column;
  gap: 8px;
  text-align: left;
}
.cs-help-list li{
  position: relative;
  padding-left: 24px;
  font-size: 17px;
  color: var(--ink);
}
.cs-help-list li::before{
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  .cs-tiers-inner{
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 560px;
  }
  .cs-tier.is-pro{ transform: none; }
  .cs-tier.is-pro:hover{ transform: translateY(-3px); }
  .cs-services{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .cs-poz-list li{ font-size: 16px; }
  .cs-table th,
  .cs-table td{ padding: 11px 12px; font-size: 13.5px; }
}

/* ============ TIER-TABS MOBILE/TABLET PATTERN ============
   Show on viewports <= 1024px (the side-by-side table is too cramped
   even on tablets). Hide all but the active tier's column on narrow
   viewports via parent .cs-compare.tier-* class. Both summary AND
   detail tables share the same Starter/Pro/Elite column order, so
   the same nth-child rules apply to both. */
@media (max-width: 1024px){
  .cs-compare-tabs-wrap{
    display: block;
    position: sticky;
    top: 64px;
    z-index: 20;
    margin-bottom: 22px;
    padding-top: 12px;
    padding-bottom: 4px;
    background: linear-gradient(to bottom,
      var(--bg-2, #fafafa) 0%,
      var(--bg-2, #fafafa) 78%,
      rgba(250,250,250,0) 100%);
  }
  .cs-compare-tabs{
    box-shadow: 0 10px 24px -10px rgba(20,20,30,.22);
  }
  /* Hide non-active tier columns in BOTH tables.
     Column 2 = Starter · Column 3 = Pro · Column 4 = Elite. */
  .cs-compare.tier-starter .cs-table thead th:nth-child(3),
  .cs-compare.tier-starter .cs-table thead th:nth-child(4),
  .cs-compare.tier-starter .cs-table tbody td:nth-child(3),
  .cs-compare.tier-starter .cs-table tbody td:nth-child(4),
  .cs-compare.tier-pro .cs-table thead th:nth-child(2),
  .cs-compare.tier-pro .cs-table thead th:nth-child(4),
  .cs-compare.tier-pro .cs-table tbody td:nth-child(2),
  .cs-compare.tier-pro .cs-table tbody td:nth-child(4),
  .cs-compare.tier-elite .cs-table thead th:nth-child(2),
  .cs-compare.tier-elite .cs-table thead th:nth-child(3),
  .cs-compare.tier-elite .cs-table tbody td:nth-child(2),
  .cs-compare.tier-elite .cs-table tbody td:nth-child(3){
    display: none;
  }
  /* Active tier header column gets red accent regardless of which tier */
  .cs-compare.tier-starter .cs-table thead th:nth-child(2),
  .cs-compare.tier-pro .cs-table thead th:nth-child(3),
  .cs-compare.tier-elite .cs-table thead th:nth-child(4){
    background: rgba(225,29,46,.12);
    color: var(--red);
  }
  /* On narrow viewports, also reduce table padding for breathing room */
  .cs-table th,
  .cs-table td{ padding: 12px 14px; }
  .cs-table tbody td:first-child{
    font-size: 14px;
    padding-right: 8px;
  }
}

/* ================================================================
   MINOR PAGES — rolunk, blog, kapcsolat, aszf, adatkezeles
   ================================================================ */

/* ---------- ROLUNK ---------- */
.ru-hero{
  padding: 96px 28px 64px;
  background: #fff;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.ru-hero-inner{ max-width: 880px; margin: 0 auto; }
.ru-slug{
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  font-size: 11.5px; color: var(--ink-soft, #6b6b7d);
  letter-spacing: .14em;
  margin-bottom: 22px;
}
.ru-hero h1{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 14px 0 22px;
  text-wrap: balance;
}
.ru-hero h1 em{ color: var(--red); font-style: normal; }
.ru-lead{
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft, #4a4a55);
  max-width: 60ch;
  margin: 0 auto;
}

.ru-credo{
  padding: 72px 28px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.ru-credo-wrap{ max-width: 880px; margin: 0 auto; text-align: center; }
.ru-credo .label{
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--ink-soft, #9897a8);
  letter-spacing: .14em;
  margin-bottom: 22px;
}
.ru-credo blockquote{
  font-family: var(--ff);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 22px;
  text-wrap: balance;
}
.ru-credo blockquote em{ color: var(--red); font-style: normal; font-weight: 600; }
.ru-credo .attribution{
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink-soft, #6b6b7d);
  letter-spacing: .04em;
}

.ru-pillars{
  padding: 88px 28px 96px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.ru-pillars-head{ max-width: 720px; margin: 0 auto 44px; text-align: center; }
.ru-pillars-head .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.ru-pillars-head h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 14px;
}
.ru-pillars-head h2 em{ color: var(--red); font-style: normal; }
.ru-pillars-head p{ font-size: 17px; color: var(--ink-soft, #6b6b7d); margin: 0; }
.ru-pillar-list{
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ru-pillar{
  background: var(--bg-2, #fafafa);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.ru-pillar .num{
  font-family: var(--ff); font-weight: 700;
  font-size: 36px; color: var(--red);
  line-height: 1; letter-spacing: -.02em;
}
.ru-pillar h3{
  font-family: var(--ff); font-weight: 600;
  font-size: 19px; line-height: 1.25;
  margin: 0 0 8px; letter-spacing: -.01em;
}
.ru-pillar p{ font-size: 15px; color: var(--ink-soft, #4a4a55); line-height: 1.55; margin: 0; }
.pill-tags{
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pill-tag{
  font-size: 12px; font-weight: 600;
  color: var(--red);
  background: var(--red-tint, #fef2f3);
  padding: 4px 10px;
  border-radius: 999px;
}

.ru-no{
  padding: 88px 28px 96px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.ru-no-wrap{
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px; align-items: start;
}
.ru-no .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.ru-no h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 16px;
}
.ru-no h2 em{ color: var(--red); font-style: normal; }
.ru-no .lead{ font-size: 17px; color: var(--ink-soft, #4a4a55); line-height: 1.55; }
.ru-no-list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.ru-no-list li{
  display: flex; gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.ru-no-list .x{
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.ru-no-list b{ display: block; font-size: 16px; line-height: 1.35; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
.ru-no-list small{ display: block; font-size: 13.5px; color: var(--ink-soft, #6b6b7d); line-height: 1.5; }

.ru-time{
  padding: 88px 28px 96px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.ru-time-wrap{ max-width: 920px; margin: 0 auto; }
.ru-time-head{ text-align: center; margin-bottom: 44px; }
.ru-time-head .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.ru-time-head h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 14px;
}
.ru-time-head h2 em{ color: var(--red); font-style: normal; }
.ru-time-head p{ font-size: 17px; color: var(--ink-soft, #6b6b7d); max-width: 56ch; margin: 0 auto; line-height: 1.55; }
.ru-rail{
  display: flex; flex-direction: column; gap: 18px;
  position: relative; padding-left: 30px;
}
.ru-rail::before{
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--line) 0%, var(--red) 100%);
}
.ru-event{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px; align-items: start;
  position: relative;
}
.ru-event::before{
  content: "";
  position: absolute;
  left: -27px; top: 16px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--red);
}
.ru-event.now::before{
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(225,29,46,.18);
}
.ru-event .yr{
  font-family: var(--ff); font-weight: 700;
  font-size: 22px; color: var(--red);
  letter-spacing: -.01em;
  padding-top: 14px;
}
.ev-card{
  background: var(--bg-2, #fafafa);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.ev-card .lbl{
  font-family: ui-monospace, monospace;
  font-size: 10px; color: var(--red);
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
}
.ev-card h4{
  font-family: var(--ff); font-weight: 600;
  font-size: 18px; line-height: 1.3;
  margin: 0 0 8px; letter-spacing: -.01em;
}
.ev-card p{
  font-size: 14.5px; color: var(--ink-soft, #4a4a55);
  line-height: 1.55; margin: 0;
}

.ru-team{
  padding: 88px 28px 96px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.ru-team-wrap{ max-width: 920px; margin: 0 auto; }
.ru-team-head{ text-align: center; margin-bottom: 36px; }
.ru-team-head .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.ru-team-head h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0;
}
.ru-team-head h2 em{ color: var(--red); font-style: normal; }
.ru-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px; align-items: center;
  box-shadow: 0 30px 60px -30px rgba(20,20,30,.14);
}
.ru-card-portrait{ text-align: center; }
.ru-card-portrait .frame{
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a24 0%, #2a2a36 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.ru-card-portrait .mono{
  font-family: var(--ff); font-weight: 700;
  font-size: 62px; color: var(--red);
  letter-spacing: -.02em;
}
.ru-card-portrait .caption{
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-soft, #6b6b7d);
  letter-spacing: .04em;
}
.ru-card-body .role{
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--red);
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.ru-card-body h3{
  font-family: var(--ff); font-weight: 600;
  font-size: 24px; margin: 0 0 12px;
  letter-spacing: -.015em;
}
.ru-card-body .bio{
  font-size: 15.5px; color: var(--ink-soft, #4a4a55);
  line-height: 1.6; margin: 0 0 18px;
}
.ru-card-body .bio em{ color: var(--ink); font-style: normal; font-weight: 600; }
.ru-card-meta{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.ru-card-meta > div{ display: flex; flex-direction: column; font-size: 13px; }
.ru-card-meta b{
  font-size: 10px; color: var(--ink-soft, #9897a8);
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 2px;
}
.ru-card-meta span{ color: var(--ink); }
.ru-card-meta a{ color: var(--red); }

.ru-metrics{
  padding: 80px 28px;
  background: #14141a;
  color: #fff;
}
.ru-metrics-wrap{
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ru-metric{ text-align: center; }
.ru-metric .num{
  display: block;
  font-family: var(--ff); font-weight: 700;
  font-size: clamp(40px, 4.8vw, 60px);
  line-height: 1; letter-spacing: -.02em;
  color: #fff; margin-bottom: 8px;
}
.ru-metric .num em{ color: var(--red); font-style: normal; }
.ru-metric .lbl{
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}

.ru-final{
  padding: 88px 28px 96px;
  background: #fff;
  text-align: center;
  border-top: 1px solid var(--line);
}
.ru-final h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.05; letter-spacing: -.025em;
  margin: 0 auto 14px;
  text-wrap: balance; max-width: 22ch;
}
.ru-final h2 em{ color: var(--red); font-style: normal; }
.ru-final p{
  font-size: 17px; color: var(--ink-soft, #6b6b7d);
  margin: 0 auto 26px;
  max-width: 56ch;
}
.ru-final .btns{
  display: inline-flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}

/* ---------- BLOG ---------- */
.bl-hero{
  padding: 96px 28px 56px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.bl-mast{
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px; align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.bl-mast-l .ey{
  font-family: ui-monospace, monospace;
  font-size: 12px; color: var(--ink-soft, #6b6b7d);
  letter-spacing: .14em; margin-bottom: 10px;
}
.bl-mast-l h1{
  font-family: var(--ff); font-weight: 700;
  font-size: clamp(48px, 7vw, 90px);
  line-height: .95; letter-spacing: -.04em;
  margin: 0;
}
.bl-mast-l h1 em{ color: var(--red); font-style: normal; }
.bl-mast-r{
  font-family: ui-monospace, monospace;
  font-size: 12px; color: var(--ink-soft, #6b6b7d);
  text-align: right; line-height: 1.7;
}
.bl-mast-r b{
  display: block;
  font-family: var(--ff); font-weight: 700;
  font-size: 28px; color: var(--red);
  margin-bottom: 2px; letter-spacing: -.01em;
}
.bl-sub{
  max-width: 1080px; margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: start;
}
.bl-sub p{
  font-size: 18px; line-height: 1.55;
  color: var(--ink); margin: 0;
}
.bl-sub p em{ color: var(--red); font-style: normal; font-weight: 500; }
.bl-meta{
  display: flex; flex-direction: column; gap: 6px;
  font-family: ui-monospace, monospace;
  font-size: 11.5px; color: var(--ink-soft, #6b6b7d);
}
.bl-meta b{ color: var(--red); letter-spacing: .04em; }

.bl-grid-section{
  padding: 64px 28px 96px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.bl-grid-head{
  max-width: 1080px; margin: 0 auto 32px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; flex-wrap: wrap;
}
.bl-grid-head h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1; letter-spacing: -.02em;
  margin: 0;
}
.bl-grid-head .count{
  font-family: ui-monospace, monospace;
  font-size: 13px; color: var(--ink-soft, #6b6b7d);
}
.bl-grid-head .count b{ color: var(--red); }
.bl-grid{
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}
.bl-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bl-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(20,20,30,.18);
}
.bl-card.feat{ grid-column: 1 / -1; flex-direction: row; }
.bl-card.feat .cover{ flex: 0 0 320px; }
.bl-card.feat .body{ flex: 1; }
.bl-card .cover{
  background: linear-gradient(135deg, #14141a 0%, #2a2a36 100%);
  color: #fff;
  padding: 24px;
  position: relative;
  min-height: 160px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bl-card .num{
  font-family: ui-monospace, monospace;
  font-size: 11.5px; color: var(--red);
  letter-spacing: .12em;
}
.bl-card .scribble{
  display: flex; flex-direction: column; gap: 6px;
  margin-top: auto;
}
.bl-card .scribble span{
  display: block; height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
}
.bl-card .scribble span:nth-child(1){ width: 80%; }
.bl-card .scribble span:nth-child(2){ width: 60%; }
.bl-card .scribble span:nth-child(3){ width: 40%; }
.bl-card .body{
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.bl-card .cat{
  font-family: ui-monospace, monospace;
  font-size: 10.5px; color: var(--red);
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700;
}
.bl-card h3{
  font-family: var(--ff); font-weight: 600;
  font-size: 19px; line-height: 1.25;
  margin: 0; letter-spacing: -.01em;
}
.bl-card h3 em{ color: var(--red); font-style: normal; }
.bl-card.feat h3{ font-size: 24px; }
.bl-card .body p{
  font-size: 14.5px; color: var(--ink-soft, #4a4a55);
  line-height: 1.55; margin: 0;
}
.bl-card .meta{
  display: flex; gap: 14px;
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--ink-soft, #9897a8);
  margin-top: auto; padding-top: 8px;
}

.bl-sub-band{
  padding: 80px 28px 96px;
  background: #fff;
  text-align: center;
}
.bl-sub-band-wrap{ max-width: 720px; margin: 0 auto; }
.bl-sub-band .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 14px;
}
.bl-sub-band h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 14px; text-wrap: balance;
}
.bl-sub-band h2 em{ color: var(--red); font-style: normal; }
.bl-sub-band p{
  font-size: 17px; color: var(--ink-soft, #6b6b7d);
  margin: 0 0 28px; line-height: 1.55;
}
.bl-sub-band .btns{
  display: inline-flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}

/* ---------- KAPCSOLAT ---------- */
.kp-main{
  padding: 80px 28px 60px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.kp-grid{
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.kp-letter{
  background: var(--bg-2, #fafafa);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
}
.kp-letter-head{
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.kp-letter-head .brand{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff);
}
.kp-letter-head .wm{ font-size: 18px; }
.kp-letter-head .wm b{ font-weight: 800; }
.kp-letter-head .wm em{ font-weight: 800; color: var(--red); font-style: normal; }
.kp-letter-head .stamp{
  text-align: right;
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--ink-soft, #6b6b7d);
  line-height: 1.55;
}
.kp-letter-head .stamp b{
  display: block;
  font-family: var(--ff); font-weight: 700;
  font-size: 18px; color: var(--red);
  margin-bottom: 4px; letter-spacing: -.01em;
}
.kp-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 14px;
}
.kp-h1{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 18px; text-wrap: balance;
}
.kp-h1 em{ color: var(--red); font-style: normal; }
.kp-letter .lead{
  font-size: 16px; line-height: 1.6;
  color: var(--ink); margin: 0 0 14px;
}
.kp-letter .lead em{ color: var(--red); font-style: normal; }
.kp-letter .lead strong{ color: var(--ink); }
.sig{
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.sig-mark{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--ff); font-weight: 700;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.sig-line{ display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--ink-soft, #6b6b7d); }
.sig-line b{ font-family: var(--ff); font-weight: 600; font-size: 15px; color: var(--ink); }
.sig-pair{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 28px;
}
.sig-pair .sig-one{ display: flex; align-items: center; gap: 12px; }
.sig-pair .sig-mark{ width: 40px; height: 40px; font-size: 16px; }
.sig-pair .sig-line b{ font-size: 14px; }
.sig-pair .sig-line{ font-size: 11.5px; }
@media (max-width: 700px){
  .sig-pair{ grid-template-columns: 1fr; gap: 14px; }
}

.kp-form-panel{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20,20,30,.14);
}
.kp-form-head{
  padding: 18px 22px;
  background: #14141a; color: #fff;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
}
.kp-form-head .ttl{ font-family: var(--ff); font-weight: 600; font-size: 15px; }
.kp-form-head .meta{
  font-family: ui-monospace, monospace;
  font-size: 11px; color: rgba(255,255,255,.65);
}
.kp-form-head .meta b{ color: #fff; margin-right: 4px; }
.kp-form-shell{ padding: 12px; background: #fff; }
.kp-form-shell iframe{
  width: 100%;
  min-height: 620px;
  border: none;
  border-radius: 8px;
  display: block;
  background: #fafafa;
}
.kp-form-foot{
  padding: 12px 22px;
  background: var(--bg-2, #fafafa);
  border-top: 1px solid var(--line);
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--ink-soft, #6b6b7d);
  text-align: center; letter-spacing: .04em;
}

.kp-channels{
  padding: 80px 28px 88px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.kp-channels-wrap{ max-width: 1100px; margin: 0 auto; }
.kp-channels-head{ text-align: center; margin-bottom: 36px; }
.kp-channels-head .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.kp-channels-head h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0;
}
.kp-channels-head h2 em{ color: var(--red); font-style: normal; }
.kp-chan-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kp-chan{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kp-chan:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -18px rgba(20,20,30,.18);
  border-color: var(--red);
}
.kp-chan .ico{
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red-tint); color: var(--red);
  font-family: var(--ff); font-weight: 700;
  font-size: 17px; margin-bottom: 6px;
}
.kp-chan .lbl{
  font-family: ui-monospace, monospace;
  font-size: 10.5px; color: var(--ink-soft, #9897a8);
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700;
}
.kp-chan b{
  font-family: var(--ff); font-weight: 600;
  font-size: 16px; color: var(--ink);
  line-height: 1.3;
}
.kp-chan small{
  font-size: 12.5px; color: var(--ink-soft, #6b6b7d);
  line-height: 1.5; margin-top: 4px;
}

.kp-faq{
  padding: 80px 28px 96px;
  background: #fff;
}
.kp-faq-head{ text-align: center; max-width: 760px; margin: 0 auto 36px; }
.kp-faq-head .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 12px;
}
.kp-faq-head h2{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0;
}
.kp-faq-head h2 em{ color: var(--red); font-style: normal; }
.kp-faq-list{
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.kp-faq-item{
  background: var(--bg-2, #fafafa);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.kp-faq-q{
  width: 100%;
  background: none; border: none;
  padding: 18px 22px;
  font-family: inherit;
  font-size: 16px; font-weight: 600;
  color: var(--ink);
  text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
}
.kp-faq-q .plus{
  color: var(--red); font-weight: 700;
  font-size: 22px;
  transition: transform .25s ease;
}
.kp-faq-item.open .kp-faq-q .plus{ transform: rotate(45deg); }
.kp-faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.kp-faq-item.open .kp-faq-a{ max-height: 400px; }
.kp-faq-a-inner{
  padding: 0 22px 20px;
  font-size: 15px; color: var(--ink-soft, #4a4a55);
  line-height: 1.55;
}
.kp-faq-a-inner a{ color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- LEGAL (aszf, adatkezeles) ---------- */
.lg-hero{
  padding: 88px 28px 56px;
  background: var(--bg-2, #fafafa);
  border-bottom: 1px solid var(--line);
}
.lg-hero-inner{
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px; align-items: end;
}
.lg-hero .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 14px;
}
.lg-hero h1{
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02; letter-spacing: -.03em;
  margin: 0;
}
.lg-hero h1 em{ color: var(--red); font-style: normal; }
.doc-meta{
  font-family: ui-monospace, monospace;
  font-size: 12px; color: var(--ink-soft, #6b6b7d);
  text-align: right; line-height: 1.6;
}
.doc-meta b{
  display: block;
  font-family: var(--ff); font-weight: 700;
  font-size: 18px; color: var(--red);
  margin-bottom: 4px; letter-spacing: -.005em;
}

.lg-rights{
  background: #14141a; color: #fff;
  padding: 14px 28px;
  border-bottom: 1px solid #2a2a36;
}
.lg-rights-inner{
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  gap: 10px; align-items: center;
}
.lg-rights .lbl{
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing: .12em; text-transform: uppercase;
  margin-right: 8px;
}
.lg-rights .badge{
  font-size: 12px; font-weight: 600;
  color: #fff;
  background: rgba(225,29,46,.18);
  border: 1px solid rgba(225,29,46,.35);
  padding: 4px 10px;
  border-radius: 999px;
}

.lg-main{
  padding: 64px 28px 96px;
  background: #fff;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px; align-items: start;
}
.lg-toc{
  position: sticky;
  top: 84px;
  background: var(--bg-2, #fafafa);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  align-self: start;
}
.lg-toc-head{
  font-family: ui-monospace, monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.lg-toc ol{
  list-style: none; padding: 0; margin: 0;
  counter-reset: toc;
  display: flex; flex-direction: column; gap: 4px;
}
.lg-toc li{
  counter-increment: toc;
  position: relative;
  padding-left: 26px;
}
.lg-toc li::before{
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 5px;
  font-family: ui-monospace, monospace;
  font-size: 10px; color: var(--ink-soft, #9897a8);
}
.lg-toc a{
  display: block; padding: 4px 0;
  font-size: 13.5px;
  color: var(--ink-soft, #4a4a55);
  text-decoration: none;
  line-height: 1.4;
}
.lg-toc a:hover{ color: var(--red); }

.lg-doc .preamble{
  font-size: 16px; line-height: 1.65;
  color: var(--ink-soft, #4a4a55);
  padding: 22px 26px;
  background: var(--bg-2, #fafafa);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  margin: 0 0 36px;
}
.lg-doc section{
  margin-bottom: 36px;
  scroll-margin-top: 84px;
}
.lg-doc h2{
  font-family: var(--ff); font-weight: 600;
  font-size: 24px; line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 16px;
  display: flex; align-items: baseline; gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.lg-doc h2 .num{
  font-family: ui-monospace, monospace;
  font-size: 12.5px; color: var(--red);
  font-weight: 700; letter-spacing: .08em;
  flex-shrink: 0;
}
.lg-doc p{
  font-size: 15px; line-height: 1.65;
  color: var(--ink); margin: 0 0 12px;
}
.lg-doc p:last-child{ margin-bottom: 0; }
.lg-doc ul{
  padding-left: 22px;
  margin: 0 0 14px;
  font-size: 15px; line-height: 1.65;
  color: var(--ink);
}
.lg-doc ul li{ margin-bottom: 6px; }
.lg-doc strong{ color: var(--ink); font-weight: 600; }
.lg-doc a{ color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.lg-doc dl{
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px; margin: 0 0 14px;
}
.lg-doc dl > div{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.lg-doc dt{
  font-weight: 600; color: var(--ink-soft, #6b6b7d);
  font-size: 13.5px;
}
.lg-doc dd{ margin: 0; color: var(--ink); }
.info-block{
  background: var(--red-tint, #fef2f3);
  border: 1px solid rgba(225,29,46,.2);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px; line-height: 1.6;
  color: var(--ink); margin: 16px 0 0;
}
.info-block strong{
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 10.5px; color: var(--red);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 6px;
}
.placeholder{
  font-family: ui-monospace, monospace;
  font-size: 12.5px; color: var(--red);
  background: var(--red-tint);
  padding: 2px 8px; border-radius: 4px;
}

.pp-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.pp-cell{
  background: var(--bg-2, #fafafa);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.pp-tag{
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 10.5px; color: var(--red);
  background: var(--red-tint);
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: .08em; font-weight: 700;
  margin-bottom: 10px;
}
.pp-cell h4{
  font-family: var(--ff); font-weight: 600;
  font-size: 16px; margin: 0 0 6px;
  letter-spacing: -.005em;
}
.pp-cell p{
  font-size: 13.5px; color: var(--ink-soft, #4a4a55);
  line-height: 1.55; margin: 0;
}

/* ---------- Responsive (minor pages) ---------- */
@media (max-width: 900px){
  .ru-pillar-list{ grid-template-columns: 1fr; }
  .ru-no-wrap{ grid-template-columns: 1fr; gap: 36px; }
  .ru-card{ grid-template-columns: 1fr; padding: 28px; }
  .ru-card-portrait{ margin-bottom: 8px; }
  .ru-card-meta{ grid-template-columns: 1fr; }
  .ru-metrics-wrap{ grid-template-columns: repeat(2, 1fr); }
  .bl-sub{ grid-template-columns: 1fr; gap: 22px; }
  .bl-grid{ grid-template-columns: 1fr; }
  .bl-card.feat{ flex-direction: column; }
  .bl-card.feat .cover{ flex: 0 0 auto; min-height: 140px; }
  .kp-grid{ grid-template-columns: 1fr; gap: 32px; }
  .kp-chan-grid{ grid-template-columns: repeat(2, 1fr); }
  .lg-main{ grid-template-columns: 1fr; gap: 32px; }
  .lg-toc{ position: static; }
  .lg-hero-inner{ grid-template-columns: 1fr; gap: 18px; }
  .doc-meta{ text-align: left; }
  .lg-doc dl > div{ grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .pp-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .ru-event{ grid-template-columns: 1fr; gap: 4px; }
  .ru-event .yr{ padding-top: 0; }
  .kp-chan-grid{ grid-template-columns: 1fr; }
  .kp-letter{ padding: 28px 24px; }
  .kp-letter-head{ flex-direction: column; gap: 12px; }
  .kp-letter-head .stamp{ text-align: left; }
}

/* ================================================================
   DEMO MODAL — injected by main.js on every page with a demo trigger.
   Triggers: any [href="#demo"] or [data-demo] element.
   Iframe src is lazy-loaded on first open to avoid loading the GHL
   form until the user actually opens the modal.
   ================================================================ */
.demo-modal{
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.demo-modal.is-open{ display: flex; }
.demo-modal-scrim{
  position: absolute; inset: 0;
  background: rgba(20, 20, 30, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: demo-scrim-in .25s ease forwards;
}
@keyframes demo-scrim-in{ from{ opacity: 0; } to{ opacity: 1; } }
.demo-modal-content{
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow:
    0 60px 120px -30px rgba(20, 20, 30, .5),
    0 30px 60px -20px rgba(20, 20, 30, .3);
  animation: demo-modal-in .35s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes demo-modal-in{
  from{ opacity: 0; transform: translateY(20px) scale(.96); }
  to{ opacity: 1; transform: none; }
}
.demo-modal-close{
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(20, 20, 30, .08);
  border: none;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.demo-modal-close:hover{
  background: var(--red);
  color: #fff;
  transform: rotate(90deg);
}
.demo-modal-head{
  padding: 28px 28px 16px;
  border-bottom: 1px solid var(--line);
}
.demo-modal-head .ey{
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 10px;
}
.demo-modal-head h2{
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 6px;
}
.demo-modal-head p{
  font-size: 14px;
  color: var(--ink-soft, #6b6b7d);
  margin: 0;
  line-height: 1.5;
}
.demo-modal-iframe-wrap{
  flex: 1;
  overflow-y: auto;
  background: #fafafa;
  padding: 8px;
}
.demo-modal-iframe-wrap iframe{
  width: 100%;
  min-height: 620px;
  border: none;
  display: block;
  background: transparent;
  border-radius: 8px;
}
.demo-modal-loading{
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
  font-size: 13px;
  color: var(--ink-soft, #6b6b7d);
}
/* Prevent body scroll when modal open */
body.demo-modal-open{ overflow: hidden; }
@media (max-width: 600px){
  .demo-modal{ padding: 0; align-items: stretch; }
  .demo-modal-content{
    max-width: none;
    max-height: 100vh;
    border-radius: 0;
  }
}

/* ====================================================================
   iOS WebKit touch-only fixes (Safari iOS + Chrome iOS — same engine).
   All rules below are gated by (pointer: coarse); desktop/laptop with a
   mouse never matches this query, so all CSS above this block is
   byte-identical in behavior on desktop. See plan:
   C:/Users/User/.claude/plans/yes-its-gone-so-optimized-axolotl.md (2026-05-14)
   ==================================================================== */
@media (pointer: coarse) {
  /* dvh = dynamic viewport height. Tracks Safari/Chrome iOS URL-bar
     collapse/expand WITHOUT triggering a layout shift. On desktop,
     dvh === vh always (no collapsing UI), so wrapping in (pointer: coarse)
     is belt-and-suspenders. */
  .module { min-height: 92dvh; }
  .modules-frame-sticky { height: calc(100dvh - 140px); }

  /* GPU compositing hint: ask iOS WebKit to give the bridge img its own
     layer instead of sharing one with the pinned section. Mitigates GPU
     memory pressure at 3x DPR on the 1920×1080 fixed canvas. */
  .section-bridge-frame { will-change: transform; }
}
