/* ═══════════════════════════════════════════════════════
   SCALE MAPPER — Marketing site — Volcanic Gold theme
   ═══════════════════════════════════════════════════════ */

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

:root {
  --bg:          #0c0c0c;
  --bg-card:     #181818;
  --bg-card2:    #111111;
  --bg-elev:     #222222;
  --border:      #242424;
  --border2:     #2e2e2e;
  --accent:      #f0a500;
  --accent2:     #d4900a;
  --text-w:      #f0f0f0;
  --text-s:      #9a9a9a;
  --text-m:      #666666;
  --nav-bg:      rgba(12,12,12,0.92);
  --radius:      14px;
  --radius-lg:   20px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.03);
}
[data-theme="light"] {
  --bg:          #f5f4f0;
  --bg-card:     #ffffff;
  --bg-card2:    #eeede8;
  --bg-elev:     #f9f8f4;
  --border:      #e2e0d8;
  --border2:     #d0cec4;
  --accent:      #d4900a;
  --accent2:     #b87800;
  --text-w:      #0d0d0d;
  --text-s:      #424242;
  --text-m:      #888888;
  --nav-bg:      rgba(245,244,240,0.92);
  --shadow-card: 0 1px 0 rgba(0,0,0,0.05);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text-s); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #0c0c0c; font-weight: 800; font-size: .875rem; letter-spacing: .01em;
  transition: opacity .2s, transform .15s; white-space: nowrap; border: none;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 18px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border2); color: var(--text-s);
  font-weight: 600; font-size: .875rem;
  transition: border-color .2s, color .2s; white-space: nowrap; background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-portal {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 16px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border2); color: var(--text-m);
  font-weight: 600; font-size: .84rem;
  transition: border-color .2s, color .2s; white-space: nowrap; background: transparent;
}
.btn-portal:hover { border-color: rgba(240,165,0,0.45); color: var(--accent); }
.btn-lg { height: 52px; padding: 0 32px; font-size: 1rem; border-radius: 12px; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; height: 62px; gap: 8px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.05rem; color: var(--text-w); flex-shrink: 0; margin-right: 16px; }
.logo-scale { color: var(--text-w); }
.logo-mapper { color: var(--accent); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: .86rem; font-weight: 500; color: var(--text-m); transition: color .2s; }
.nav-links a:hover { color: var(--text-w); }
.nav-sep { width: 1px; height: 22px; background: var(--border2); flex-shrink: 0; margin: 0 4px; }
.nav-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.lang-toggle { display: flex; align-items: center; justify-content: center; width: 42px; height: 34px; border-radius: 8px; border: 1px solid var(--border2); background: transparent; color: var(--text-m); font-size: .78rem; font-weight: 700; letter-spacing: .05em; cursor: pointer; transition: border-color .2s, color .2s; font-family: 'Inter', system-ui, sans-serif; }
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: transparent; cursor: pointer; transition: border-color .2s; font-size: 1rem; line-height: 1; }
.theme-toggle:hover { border-color: var(--accent); }
.mobile-lang { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-s); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; gap: 14px; padding: 20px 28px 24px; border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-s); font-weight: 500; font-size: .95rem; }
.mobile-menu .mobile-divider { height: 1px; background: var(--border); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}
[data-theme="light"] .hero { background-image: radial-gradient(circle, rgba(0,0,0,0.025) 1px, transparent 1px); }

.hero::before {
  content: ''; position: absolute; top: -10%; left: 50%; width: 900px; height: 680px;
  transform: translateX(-30%);
  background: radial-gradient(ellipse, rgba(240,165,0,0.10) 0%, rgba(240,165,0,0.03) 45%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: hero-orb-a 12s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; top: 5%; left: -10%; width: 520px; height: 520px;
  background: radial-gradient(ellipse, rgba(212,144,10,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: hero-orb-b 16s ease-in-out infinite;
}
@keyframes hero-orb-a { 0%,100%{transform:translateX(-30%) translateY(0)} 50%{transform:translateX(-30%) translateY(-24px)} }
@keyframes hero-orb-b { 0%,100%{transform:translateX(0) translateY(0)} 50%{transform:translateX(16px) translateY(-20px)} }

.hero-inner {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.hero-text {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(240,165,0,0.35); background: rgba(240,165,0,0.08);
  color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 24px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: badge-pulse 2s ease-in-out infinite; }
@keyframes badge-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-title { font-size: clamp(2.6rem, 4.5vw, 4rem); font-weight: 900; color: var(--text-w); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 22px; }
.gradient-text { background: linear-gradient(135deg, #d4900a, #f0a500, #ffc107); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; background-size: 200% 200%; animation: gradient-shift 4s ease infinite; }
@keyframes gradient-shift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.hero-sub { font-size: 1.05rem; color: var(--text-m); max-width: 540px; margin: 0 auto 36px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.hero-hint { font-size: .8rem; color: var(--text-m); margin-bottom: 24px; }
.hero-devices { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hero-device-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,0.015); font-size: .77rem; font-weight: 500; color: var(--text-m); }
.hero-device-chip svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .6; }
[data-theme="light"] .hero-device-chip { background: rgba(0,0,0,0.025); }
.hero-glow { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(ellipse, rgba(240,165,0,0.05) 0%, transparent 70%); pointer-events: none; z-index: 0; }

/* ── HERO BROWSER WINDOW ─────────────────────────────── */
.hero-browser-wrap {
  width: 100%;
  perspective: 1400px;
}
.hero-browser {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.025),
    0 48px 120px rgba(0,0,0,0.7),
    0 0 100px rgba(240,165,0,0.04);
  transform: rotateX(4deg);
  transform-origin: center top;
  transition: transform .6s ease;
}
.hero-browser:hover { transform: rotateX(0deg); }
.hero-browser .browser-screen {
  height: 500px;
  max-height: 500px;
  overflow: hidden;
}

/* ── EDITOR MOCKUP (hero browser interior) ───────────── */
.hb-editor {
  flex: 1; display: flex; flex-direction: column; min-width: 0;
}
.hb-header {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  background: #181818;
  border-bottom: 1px solid #242424;
  flex-shrink: 0;
}
.hb-back {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid #2e2e2e; background: #151515;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #555;
}
.hb-filename { flex: 1; font-size: .68rem; font-weight: 600; color: #9a9a9a; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-autosave { display: flex; align-items: center; gap: 3px; font-size: .6rem; color: #22c55e; font-weight: 600; flex-shrink: 0; }
.hb-btn {
  display: flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 10px; border-radius: 7px; border: none;
  font-size: .6rem; font-weight: 700; cursor: default; flex-shrink: 0;
}
.hb-btn--share { background: rgba(240,165,0,0.12); border: 1px solid rgba(240,165,0,0.3); color: #f0a500; }
.hb-menu {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid #2e2e2e; background: transparent;
  display: flex; align-items: center; justify-content: center; color: #555; font-size: 1rem; flex-shrink: 0;
}

.hb-canvas-wrap { flex: 1; display: flex; overflow: hidden; }

.hb-vtoolbar {
  width: 44px; background: #181818; border-right: 1px solid #242424;
  display: flex; flex-direction: column; align-items: center; padding: 10px 0; gap: 4px; flex-shrink: 0;
}
.hb-vtool {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent;
  display: flex; align-items: center; justify-content: center; color: #444; cursor: default;
}
.hb-vtool--active { background: rgba(240,165,0,0.12); border-color: rgba(240,165,0,0.3); color: #f0a500; }
.hb-vtool-sep { width: 20px; height: 1px; background: #242424; margin: 4px 0; }

.hb-canvas { flex: 1; background: #0c0c0c; position: relative; overflow: hidden; }
.hb-svg { width: 100%; height: 100%; display: block; }
.hb-hint {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.05); border-radius: 100px;
  padding: 4px 12px; font-size: .58rem; color: rgba(255,255,255,0.35);
  white-space: nowrap; pointer-events: none;
}

.hb-right {
  width: 220px; background: #181818; border-left: 1px solid #242424;
  display: flex; flex-direction: column; flex-shrink: 0; overflow: hidden;
}
.hb-tabs { display: flex; border-bottom: 1px solid #242424; flex-shrink: 0; }
.hb-tab {
  flex: 1; height: 36px; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 600; color: #444; border-bottom: 2px solid transparent;
  cursor: default; letter-spacing: .02em;
}
.hb-tab--active { color: #f0a500; border-color: #f0a500; }

.hb-panel { flex: 1; overflow-y: auto; padding: 10px; }
.hb-sec-label { font-size: .54rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #444; margin: 6px 0 6px 2px; }
.hb-layer {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px; border-radius: 8px; margin-bottom: 3px;
  background: #151515; border: 1px solid #242424;
}
.hb-layer--active { border-color: rgba(240,165,0,0.3); background: rgba(240,165,0,0.06); }
.hb-layer-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hb-layer-name { flex: 1; font-size: .63rem; font-weight: 600; color: #9a9a9a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-layer-val { font-size: .58rem; font-weight: 700; font-family: monospace; }
.hb-layer-count { font-size: .52rem; color: #444; }

.hb-mitem {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px; border-radius: 7px; margin-bottom: 2px;
  background: #151515; border: 1px solid #242424;
}
.hb-mitem-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hb-mitem-name { flex: 1; font-size: .58rem; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-mitem-val { font-size: .58rem; font-weight: 700; font-family: monospace; color: #9a9a9a; white-space: nowrap; }

.hb-totals {
  border-top: 1px solid #242424; padding: 10px 10px 12px; flex-shrink: 0;
  background: rgba(240,165,0,0.03);
}
.hb-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.hb-total-label { font-size: .58rem; color: #555; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.hb-total-val { font-size: .88rem; font-weight: 900; color: #f0a500; font-family: monospace; }
.hb-total-sub { font-size: .56rem; color: #444; }

.hb-bottombar {
  height: 30px; background: #181818; border-top: 1px solid #242424;
  display: flex; align-items: center; padding: 0 10px; gap: 6px;
  font-size: .58rem; color: #444; flex-shrink: 0;
}
.hb-bb-pill {
  padding: 1px 8px; border-radius: 100px; background: #151515; border: 1px solid #242424;
  font-size: .56rem; color: #555; cursor: default;
}
.hb-bb-pill--active { color: #f0a500; border-color: rgba(240,165,0,0.35); background: rgba(240,165,0,0.08); }

/* ── SVG DRAW ANIMATION ──────────────────────────────── */
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes dot-pop { 0%{transform:scale(0);opacity:0} 60%{transform:scale(1.3);opacity:1} 100%{transform:scale(1);opacity:1} }
@keyframes label-fade { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:translateY(0)} }

.hb-svg .animated-stroke { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.hb-svg.draw-active .animated-stroke { animation: draw-line 1.4s ease forwards; }
.hb-svg.draw-active .stroke-delay-1 { animation-delay: .1s; }
.hb-svg.draw-active .stroke-delay-2 { animation-delay: .5s; }
.hb-svg.draw-active .stroke-delay-3 { animation-delay: .9s; }

.hb-svg .animated-dot { opacity: 0; transform-box: fill-box; transform-origin: center; }
.hb-svg.draw-active .animated-dot { animation: dot-pop .3s ease forwards; }
.hb-svg.draw-active .dot-delay-1 { animation-delay: .3s; }
.hb-svg.draw-active .dot-delay-2 { animation-delay: .55s; }
.hb-svg.draw-active .dot-delay-3 { animation-delay: .7s; }
.hb-svg.draw-active .dot-delay-4 { animation-delay: .8s; }
.hb-svg.draw-active .dot-delay-5 { animation-delay: .9s; }
.hb-svg.draw-active .dot-delay-6 { animation-delay: 1.0s; }
.hb-svg.draw-active .dot-delay-7 { animation-delay: 1.1s; }
.hb-svg.draw-active .dot-delay-8 { animation-delay: 1.25s; }

.hb-svg .animated-label { opacity: 0; }
.hb-svg.draw-active .animated-label { animation: label-fade .4s ease forwards; }
.hb-svg.draw-active .label-delay-1 { animation-delay: .7s; }
.hb-svg.draw-active .label-delay-2 { animation-delay: 1.05s; }
.hb-svg.draw-active .label-delay-3 { animation-delay: 1.2s; }

/* ── TRUST STRIP ─────────────────────────────────────── */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; background: var(--bg-card2); }
.trust-label { font-size: .8rem; color: var(--text-m); text-align: center; margin-bottom: 18px; letter-spacing: .02em; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trust-tags span { padding: 5px 16px; border-radius: 100px; border: 1px solid var(--border); font-size: .8rem; font-weight: 500; color: var(--text-m); opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease, border-color .2s, color .2s; }
.trust-tags span.visible { opacity: 1; transform: translateY(0); }
.trust-tags span:hover { border-color: rgba(240,165,0,0.4); color: var(--text-s); }

/* ── SECTIONS ────────────────────────────────────────── */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-card2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.section-tag { display: inline-block; padding: 5px 14px; border-radius: 100px; border: 1px solid rgba(240,165,0,0.3); background: rgba(240,165,0,0.06); color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 800; color: var(--text-w); letter-spacing: -.025em; line-height: 1.13; margin-bottom: 16px; }
.section-sub { font-size: 1.02rem; color: var(--text-m); line-height: 1.75; }

/* ── SHOWCASE ────────────────────────────────────────── */
.showcase-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.showcase-inner--reverse { direction: rtl; }
.showcase-inner--reverse > * { direction: ltr; }
.showcase-text .section-title, .showcase-text .section-sub { text-align: left; }
.showcase-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.showcase-list li { display: flex; gap: 14px; align-items: flex-start; }
.showcase-check { width: 22px; height: 22px; border-radius: 6px; background: rgba(240,165,0,0.1); border: 1px solid rgba(240,165,0,0.28); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; color: var(--accent); font-size: .72rem; font-weight: 900; }
.showcase-list strong { display: block; font-size: .92rem; font-weight: 700; color: var(--text-w); margin-bottom: 4px; }
.showcase-list span { font-size: .84rem; color: var(--text-m); line-height: 1.65; }
.showcase-device { display: flex; justify-content: center; perspective: 1200px; }

/* Dashboard phone */
.phone-frame { background: #111111; border-radius: 28px; border: 1px solid #242424; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02); }
.dash-phone { width: 270px; transform: rotateY(-8deg) rotateX(4deg); box-shadow: 28px 36px 90px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02); transition: transform .5s ease, box-shadow .5s ease; }
.dash-phone:hover { transform: rotateY(-2deg) rotateX(1deg); box-shadow: 12px 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03); }

/* golden topbar strip like in the app */
.dash-screen { background: #0c0c0c; display: flex; flex-direction: column; padding-bottom: 14px; }
.dash-topstrip { height: 5px; background: linear-gradient(90deg, #d4900a, #f0a500); flex-shrink: 0; }
.dash-statusbar { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 2px; font-size: .62rem; color: #333; }
.dash-header { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 10px; }
.dash-greeting { font-size: .65rem; color: var(--text-m); margin-bottom: 2px; }
.dash-title { font-size: .95rem; font-weight: 800; color: var(--text-w); letter-spacing: -.02em; }
.dash-avatar { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #d4900a, #f0a500); display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 800; color: #0c0c0c; flex-shrink: 0; }
.dash-stats { display: flex; gap: 6px; padding: 0 10px 10px; }
.dash-stat { flex: 1; background: #181818; border: 1px solid #242424; border-radius: 10px; padding: 7px 8px; text-align: center; }
.dash-stat-value { font-size: .95rem; font-weight: 800; color: var(--text-w); line-height: 1; margin-bottom: 3px; }
.dash-stat-value.accent { color: var(--accent); }
.dash-stat-label { font-size: .55rem; color: var(--text-m); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.dash-divider { height: 1px; background: #222222; margin: 0 10px 6px; }

/* Mini pipeline inside phone */
.dash-mini-pipe { display: flex; gap: 4px; padding: 6px 8px; }
.dmp-col { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.dmp-hdr { display: flex; align-items: center; justify-content: space-between; font-size: .5rem; font-weight: 700; padding: 2px 4px; border-radius: 5px; margin-bottom: 2px; }
.dmp-badge { font-size: .45rem; font-weight: 800; padding: 1px 4px; border-radius: 100px; }
.dmp-col--draft .dmp-hdr { color: #666; background: rgba(100,100,100,0.08); }
.dmp-col--draft .dmp-badge { background: rgba(100,100,100,0.15); color: #666; }
.dmp-col--sent  .dmp-hdr  { color: #f0a500; background: rgba(240,165,0,0.1); }
.dmp-col--sent  .dmp-badge { background: rgba(240,165,0,0.18); color: #f0a500; }
.dmp-col--won   .dmp-hdr  { color: #22c55e; background: rgba(34,197,94,0.1); }
.dmp-col--won   .dmp-badge { background: rgba(34,197,94,0.2); color: #22c55e; }
.dmp-card { font-size: .5rem; padding: 3px 5px; border-radius: 5px; background: #181818; border: 1px solid #242424; color: var(--text-m); line-height: 1.4; }
.dmp-card small { display: block; font-size: .44rem; color: var(--accent); font-family: monospace; }
.dmp-card--hi { border-color: rgba(240,165,0,0.22); }
.dmp-card--won { border-color: rgba(34,197,94,0.22); }

.dash-chart-section { padding: 4px 10px 0; }
.dash-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.dash-chart-title { font-size: .63rem; font-weight: 700; color: var(--text-s); }
.dash-chart-period { font-size: .55rem; color: var(--text-m); background: #181818; border: 1px solid #242424; padding: 2px 7px; border-radius: 100px; }
.dash-chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.dash-new-btn { margin: 8px 10px 0; height: 32px; border-radius: 9px; background: rgba(240,165,0,0.08); border: 1px solid rgba(240,165,0,0.22); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: var(--accent); }

/* ── BROWSER MOCKUP ──────────────────────────────────── */
.browser-mockup { border-radius: 14px; overflow: hidden; border: 1px solid var(--border2); box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.02); }
.browser-chrome { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #181818; border-bottom: 1px solid var(--border2); }
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.bd-r,.bd-y,.bd-g { width: 11px; height: 11px; border-radius: 50%; }
.bd-r { background: #ff5f56; }
.bd-y { background: #ffbd2e; }
.bd-g { background: #27c93f; }
.browser-url { flex: 1; height: 26px; border-radius: 7px; background: #0c0c0c; border: 1px solid #242424; display: flex; align-items: center; padding: 0 10px; font-size: .7rem; color: #444; font-family: ui-monospace, monospace; }
.browser-screen { display: flex; background: #0c0c0c; min-height: 340px; }

/* sidebar */
.mock-sidebar { width: 48px; background: #111111; border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 8px; flex-shrink: 0; }
.ms-logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #d4900a, #f0a500); display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 900; color: #0c0c0c; margin-bottom: 8px; }
.ms-item { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #333; cursor: default; transition: background .15s; }
.ms-item--active { background: rgba(240,165,0,0.12); color: var(--accent); }
.ms-item:not(.ms-item--active):hover { background: #181818; }

/* main pipeline */
.mock-main { flex: 1; padding: 16px 18px; min-width: 0; overflow-x: auto; }
.mock-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-title { font-size: .85rem; font-weight: 700; color: var(--text-w); }
.mock-header-r { display: flex; gap: 4px; }
.mock-range { padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 600; color: var(--text-m); border: 1px solid var(--border); cursor: default; }
.mock-range--active { background: var(--accent); color: #0c0c0c; border-color: var(--accent); font-weight: 800; }

/* kanban */
.kanban-board { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; min-width: 520px; }
.kanban-col { display: flex; flex-direction: column; gap: 6px; }
.kanban-col-hdr { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; font-size: .72rem; font-weight: 700; }
.kanban-col-hdr--draft { background: rgba(100,100,100,0.08); color: #777; }
.kanban-col-hdr--sent  { background: rgba(240,165,0,0.1); color: #f0a500; }
.kanban-col-hdr--won   { background: rgba(34,197,94,0.1);  color: #22c55e; }
.kanban-col-hdr--lost  { background: rgba(239,68,68,0.1);  color: #f87171; }
.kch-badge { margin-left: auto; font-size: .62rem; font-weight: 800; padding: 1px 6px; border-radius: 100px; background: rgba(255,255,255,0.06); }
.kanban-col-total { font-size: .65rem; font-weight: 700; font-family: monospace; padding: 2px 10px; }
.kct--amber { color: #f0a500; }
.kct--green { color: #22c55e; }
.kanban-card { background: #181818; border: 1px solid #242424; border-radius: 9px; padding: 8px 10px; transition: border-color .15s, background .15s; cursor: default; }
.kanban-card:hover { border-color: #2e2e2e; background: #1e1e1e; }
.kanban-card--sent { border-color: rgba(240,165,0,0.15); }
.kanban-card--won  { border-color: rgba(34,197,94,0.15); }
.kanban-card--lost { border-color: rgba(239,68,68,0.15); opacity: .7; }
.kc-name { font-size: .72rem; font-weight: 700; color: var(--text-w); margin-bottom: 2px; line-height: 1.3; }
.kc-customer { font-size: .62rem; color: var(--text-m); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.kc-amt { font-size: .64rem; font-weight: 700; font-family: monospace; color: var(--text-m); }
.kc-amt--amber { color: #f0a500; }
.kc-amt--green { color: #22c55e; }
.kc-amt--red   { color: #f87171; }
.kc-date { font-size: .58rem; color: var(--text-m); }

/* ── FEATURES GRID ───────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: rgba(240,165,0,0.28);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(240,165,0,0.07), 0 16px 40px rgba(0,0,0,0.35);
}
.feature-card--wide { grid-column: span 2; }

.feat-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(240,165,0,0.09); border: 1px solid rgba(240,165,0,0.24);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent);
}
.feat-icon--new { background: rgba(99,179,237,0.09); border-color: rgba(99,179,237,0.22); color: #63b3ed; }

.feature-card h3 { font-size: .95rem; font-weight: 700; color: var(--text-w); margin-bottom: 8px; }
.feature-card p { font-size: .875rem; color: var(--text-m); line-height: 1.7; }

/* ── QUOTE SIGNING ───────────────────────────────────── */
.quote-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.otp-overlay {
  position: absolute; top: -52px; left: 50%; transform: translateX(-50%);
  background: var(--bg-card); border: 1px solid rgba(240,165,0,0.28);
  border-radius: 14px; padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
  white-space: nowrap; z-index: 5;
}
.otp-label { font-size: .62rem; color: var(--text-m); font-weight: 600; margin-bottom: 7px; text-align: center; }
.otp-digits { display: flex; gap: 5px; justify-content: center; }
.otp-d { width: 24px; height: 28px; border-radius: 6px; background: #151515; border: 1px solid #2e2e2e; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; color: var(--text-w); font-family: monospace; }
.otp-d--cursor { border-color: rgba(240,165,0,0.5); color: var(--accent); animation: blink .9s step-end infinite; }
@keyframes blink { 50%{opacity:0} }

.quote-phone { width: 260px; }
.qscreen { background: #0c0c0c; display: flex; flex-direction: column; min-height: 420px; }
.qscreen-topbar { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px 9px; background: #181818; border-bottom: 1px solid #242424; }
.qscreen-logo { font-size: .65rem; font-weight: 800; background: linear-gradient(135deg, #d4900a, #f0a500); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.qscreen-tag { font-size: .5rem; font-weight: 800; letter-spacing: .12em; color: var(--text-m); padding: 2px 7px; border-radius: 100px; border: 1px solid #242424; }
.qscreen-header { padding: 12px 14px 8px; border-bottom: 1px solid #242424; }
.qscreen-ref { font-size: .55rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 4px; }
.qscreen-project { font-size: .85rem; font-weight: 800; color: var(--text-w); letter-spacing: -.01em; margin-bottom: 2px; }
.qscreen-supplier { font-size: .6rem; color: var(--text-m); }
.qscreen-table { display: flex; flex-direction: column; padding: 8px 8px 4px; }
.qscreen-row { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 7px; }
.qscreen-row:nth-child(even) { background: #181818; }
.qscreen-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.qscreen-row-info { flex: 1; min-width: 0; }
.qscreen-row-name { font-size: .65rem; font-weight: 600; color: var(--text-s); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qscreen-row-qty { font-size: .55rem; color: var(--text-m); margin-top: 1px; }
.qscreen-row-price { font-size: .62rem; font-weight: 700; color: var(--text-s); font-family: monospace; white-space: nowrap; }
.qscreen-total { display: flex; align-items: center; justify-content: space-between; margin: 6px 8px 0; padding: 8px 10px; background: rgba(240,165,0,0.07); border: 1px solid rgba(240,165,0,0.2); border-radius: 9px; }
.qscreen-total-label { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-m); }
.qscreen-total-amount { font-size: .9rem; font-weight: 900; color: var(--accent); font-family: monospace; }
.qscreen-actions { display: flex; flex-direction: column; gap: 6px; padding: 10px 8px 4px; }
.qscreen-accept { height: 34px; border-radius: 9px; background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .02em; border: none; cursor: default; box-shadow: 0 2px 12px rgba(34,197,94,0.22); }
.qscreen-decline { height: 26px; border-radius: 7px; background: transparent; color: var(--text-m); font-size: .58rem; font-weight: 600; border: 1px solid #242424; cursor: default; }
.qscreen-meta { display: flex; align-items: center; gap: 8px; padding: 8px 14px 12px; font-size: .52rem; color: var(--text-m); }

/* ── HOW IT WORKS ────────────────────────────────────── */
.steps { display: flex; align-items: flex-start; gap: 0; max-width: 960px; margin: 0 auto; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 0 16px; }
.step-icon-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.step-number { width: 48px; height: 48px; border-radius: 14px; background: rgba(240,165,0,0.1); border: 1px solid rgba(240,165,0,0.28); display: flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 900; color: var(--accent); flex-shrink: 0; }
.step-visual-icon { width: 60px; height: 60px; color: var(--accent); opacity: .75; }
.step-content h3 { font-size: 1rem; font-weight: 700; color: var(--text-w); margin-bottom: 8px; }
.step-content p { font-size: .875rem; color: var(--text-m); line-height: 1.7; }
.step-divider { flex-shrink: 0; width: 48px; height: 1px; background: var(--border2); margin-top: 54px; position: relative; }
.step-divider::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--border2); border-right: 1px solid var(--border2); transform: rotate(45deg); }

/* ── PRICING ─────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; align-items: start; }
.plan-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; display: flex; flex-direction: column; gap: 22px; position: relative; transition: border-color .2s, transform .2s; }
.plan-card:hover { transform: translateY(-2px); }
.plan-card--featured { border-color: rgba(240,165,0,0.4) !important; background: rgba(240,165,0,0.03); animation: plan-glow 3.5s ease-in-out infinite; }
@keyframes plan-glow { 0%,100%{box-shadow:0 0 0 1px rgba(240,165,0,0.22),0 8px 32px rgba(240,165,0,0.05)} 50%{box-shadow:0 0 0 1px rgba(240,165,0,0.45),0 12px 48px rgba(240,165,0,0.12)} }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #0c0c0c; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-m); margin-bottom: 10px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-amount { font-size: 2.2rem; font-weight: 900; color: var(--text-w); letter-spacing: -.03em; }
.plan-period { font-size: .82rem; color: var(--text-m); }
.plan-desc { font-size: .82rem; color: var(--text-m); margin-top: 6px; line-height: 1.55; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-s); }
.check { color: var(--accent); font-weight: 700; }
.cross { color: var(--text-m); }
.plan-btn { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; font-size: .85rem; font-weight: 700; transition: opacity .2s, transform .2s; letter-spacing: .01em; }
.plan-btn:hover { opacity: .85; transform: translateY(-1px); }
.plan-btn--primary { background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #0c0c0c; font-weight: 800; }
.plan-btn--ghost { border: 1px solid var(--border); color: var(--text-s); }
.plan-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.pricing-note { text-align: center; font-size: .78rem; color: var(--text-m); margin-top: 32px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { padding: 28px 30px; background: var(--bg-card); transition: background .2s; }
.faq-item:hover { background: var(--bg-elev); }
.faq-q { font-size: .9rem; font-weight: 700; color: var(--text-w); margin-bottom: 10px; line-height: 1.45; }
.faq-a { font-size: .875rem; color: var(--text-m); line-height: 1.8; }

/* ── CTA ─────────────────────────────────────────────── */
.cta-section { position: relative; padding: 112px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--border); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--text-w); letter-spacing: -.025em; margin-bottom: 16px; }
.cta-inner p { font-size: 1rem; color: var(--text-m); margin-bottom: 40px; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(240,165,0,0.08) 0%, transparent 70%); pointer-events: none; }

/* ── FOOTER ──────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); background: var(--bg-card2); padding: 60px 0 0; }
.footer-inner { display: flex; gap: 64px; padding-bottom: 52px; }
.footer-brand { flex: 1; }
.footer-brand p { font-size: .875rem; color: var(--text-m); margin-top: 14px; max-width: 240px; line-height: 1.65; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-m); }
.footer-col a { font-size: .875rem; color: var(--text-m); transition: color .2s; }
.footer-col a:hover { color: var(--text-w); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-m); }
.footer-bottom a { color: var(--accent); }

/* ── ANIMATIONS ──────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: .08s; }
.fade-in.delay-2 { transition-delay: .16s; }
.fade-in.delay-3 { transition-delay: .24s; }
.fade-in.delay-4 { transition-delay: .32s; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { gap: 48px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card--wide { grid-column: span 2; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-sep { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-sep { display: none; }

  .hero { padding: 100px 0 56px; }
  .hero-browser-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hero-browser .browser-screen { min-width: 640px; }
  .section { padding: 80px 0; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }

  .steps { flex-direction: column; align-items: stretch; gap: 32px; }
  .step { flex-direction: row; text-align: left; align-items: flex-start; }
  .step-divider { display: none; }
  .step-icon-wrap { flex-direction: row; gap: 8px; }
  .step-visual-icon { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .showcase-inner { grid-template-columns: 1fr; gap: 48px; direction: ltr !important; }
  .showcase-text .section-title, .showcase-text .section-sub { text-align: center; }
  .dash-phone { transform: none; box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
  .quote-phone { transform: none; }

  .browser-mockup { overflow-x: auto; }
  .browser-screen { min-width: 580px; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 22px 20px; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { text-align: center; }
}
