/*
 * Frameboard - Homepage non-critical CSS
 *
 * Extracted from /index.html inline <style> block to unblock first paint.
 * Critical above-the-fold styles (reset, :root, nav, hero, proof bar)
 * remain inline in the HTML. Everything below the hero (how-it-works,
 * proposal preview, features, client hub, payments, pricing, testimonials,
 * CTA, footer, reveal animations, sandbox, proposal showcase, card hover
 * polish) lives here and is cacheable.
 *
 * Update both files together if you change shared tokens.
 */

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; position: relative;
  display: flex; flex-direction: column;
}
.step-num {
  width: 32px; height: 32px; border-radius: 8px; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.step-connector {
  position: absolute; top: 42px; right: -14px;
  color: var(--border); font-size: 16px; z-index: 1;
}

/* ── PROPOSAL PREVIEW ── */
.preview-section {
  padding: 100px 32px;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.preview-inner { max-width: var(--max); margin: 0 auto; }
.preview-layout {
  display: flex; flex-direction: column; gap: 40px;
}
.preview-copy { text-align: center; max-width: 640px; margin: 0 auto; }
.preview-copy .section-eyebrow { justify-content: center; }
.preview-copy .section-heading { text-align: center; }
.preview-copy .section-sub { text-align: center; margin-left: auto; margin-right: auto; }
.preview-bullets {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px;
}
.preview-bullets > div { text-align: left; }
.preview-window {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  max-width: 720px; margin: 0 auto;
}
.pw-topbar {
  background: #F3F4F6; padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid #E5E7EB;
}
.pw-dots { display: flex; gap: 6px; }
.pw-dots span { width: 10px; height: 10px; border-radius: 50%; }
.pw-url {
  flex: 1; background: #fff; border-radius: 4px;
  padding: 4px 12px; font-size: 11px; color: var(--muted);
  font-family: var(--mono);
}
.pw-body { padding: 32px; color: #111; }
.pw-section-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: #D1D5DB; margin-bottom: 10px;
}
/* Proposal preview - dark hero */
.pw-hero {
  background: linear-gradient(135deg, #0C0C14 0%, #1A1A2E 100%);
  padding: 24px 28px 20px; color: #F9FAFB;
}
.pw-hero-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.pw-hero-logo {
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(245,166,35,0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  flex-shrink: 0;
}
.pw-hero-title {
  font-size: 20px; font-weight: 800; color: #F9FAFB;
  margin-bottom: 4px; line-height: 1.2;
}
.pw-hero-meta {
  display: flex; gap: 24px; padding-top: 14px;
  border-top: 1px solid rgba(45,45,69,0.6);
}
/* Proposal preview - AI pitch */
.pw-pitch {
  background: #fff; padding: 20px 28px; border-bottom: 1px solid #F3F4F6;
}
/* Proposal preview - product cards */
.pw-products {
  background: #FAFBFC; padding: 20px 28px; border-bottom: 1px solid #F3F4F6;
}
.pw-product-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
  overflow: hidden; margin-bottom: 8px;
  display: flex; align-items: stretch;
}
.pw-product-card:last-child { margin-bottom: 0; }
.pw-prod-img {
  width: 80px; flex-shrink: 0;
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  display: flex; align-items: center; justify-content: center;
}
.pw-prod-img svg { opacity: 0.3; }
.pw-prod-content { padding: 14px 16px; flex: 1; min-width: 0; }
.pw-prod-name { font-size: 13px; font-weight: 700; color: #111; margin-bottom: 3px; }
.pw-prod-desc { font-size: 11px; color: #6B7280; margin-bottom: 10px; line-height: 1.4; }
.pw-prod-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.pw-prod-tags { display: flex; gap: 6px; }
.pw-prod-tags span {
  font-size: 9px; font-weight: 600; color: #6B7280;
  background: #F3F4F6; padding: 3px 8px; border-radius: 100px;
  letter-spacing: 0.2px;
}
.pw-prod-price {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: #111;
}
/* Proposal preview - stats bar */
.pw-stats-bar {
  display: flex; justify-content: center; gap: 32px;
  padding: 16px 28px; background: #fff; border-bottom: 1px solid #F3F4F6;
}
.pw-stat-item { text-align: center; }
.pw-stat-num {
  font-size: 16px; font-weight: 800; color: #111; line-height: 1;
}
.pw-stat-lbl {
  font-size: 9px; color: #9CA3AF; text-transform: uppercase;
  letter-spacing: 0.5px; margin-top: 3px;
}
.pw-total {
  background: #F9FAFB; border-radius: 8px; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px;
}
.pw-total-lbl { font-size: 13px; font-weight: 700; color: #111; }
.pw-total-amt { font-family: var(--mono); font-size: 20px; font-weight: 700; color: #111; }
.pw-approve {
  width: 100%; margin-top: 14px; padding: 14px; border-radius: 8px;
  border: none; background: var(--teal); color: #08101A;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: var(--font);
}
.pw-footer { text-align: center; font-size: 11px; color: #D1D5DB; margin-top: 10px; }
.pw-footer span { color: var(--gold); font-weight: 700; }

/* ── FEATURES GRID ── */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CLIENT HUB PREVIEW ── */
.hub-window {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  max-width: 720px; margin: 0 auto;
}
.hub-bar {
  background: var(--surface2); padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.hub-bar-left { display: flex; align-items: center; gap: 12px; }
.hub-bar-logo { font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.hub-bar-logo .logo-mark { width: 20px; height: 20px; border-width: 2px; }
.hub-bar-logo .logo-mark::after { width: 8px; height: 1.5px; }
.hub-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 100px; background: var(--green-dim); color: var(--green);
}
.hub-client { font-size: 13px; color: var(--muted); }
.hub-body { padding: 28px; }
.hub-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.hub-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.hub-stages {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.hub-stage {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; text-align: center;
}
.hub-stage.complete { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.04); }
.hub-stage.active { border-color: rgba(0,212,170,0.4); background: rgba(0,212,170,0.04); }
.hub-stage-icon { font-size: 20px; margin-bottom: 6px; }
.hub-stage-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.hub-stage-status { font-size: 11px; }
.hub-stage.complete .hub-stage-status { color: var(--green); }
.hub-stage.active .hub-stage-status { color: var(--teal); }
.hub-stage .hub-stage-status { color: var(--muted); }
/* Hub preview - welcome banner */
.hub-welcome { margin-bottom: 20px; }
/* Hub preview - progress bar */
.hub-progress { margin-bottom: 20px; }
.hub-progress-bar {
  width: 100%; height: 6px; background: var(--border);
  border-radius: 3px; overflow: hidden; margin-bottom: 6px;
}
.hub-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 3px; transition: width 0.6s ease;
}
.hub-progress-label {
  font-size: 11px; color: var(--muted); font-weight: 500;
}
/* Hub preview - deliverables */
.hub-deliverables {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hub-deliverable {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 6px;
}
.hub-deliverable:last-child { margin-bottom: 0; }
.hub-del-icon {
  width: 30px; height: 30px; border-radius: 6px;
  background: rgba(0,212,170,0.08); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hub-del-info { flex: 1; min-width: 0; }
.hub-del-badge {
  font-size: 10px; font-weight: 600; padding: 3px 10px;
  border-radius: 100px; background: var(--teal-dim); color: var(--teal);
  flex-shrink: 0;
}
/* Hub preview - activity feed */
.hub-activity-preview {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ── PAYMENT OPTIONS ── */
.payment-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pay-opt {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; text-align: center;
}
.pay-opt-icon { font-size: 24px; margin-bottom: 10px; }
.pay-opt h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pay-opt p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── PRICING ── */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 40px;
}
.toggle-label { font-size: 14px; font-weight: 600; color: var(--dim); transition: color 0.2s; }
.toggle-label.toggle-active { color: var(--white); }
.toggle-switch {
  position: relative; display: inline-block; width: 48px; height: 24px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  transition: 0.3s;
}
.toggle-slider::before {
  content: ''; position: absolute; height: 18px; width: 18px;
  left: 2px; bottom: 2px; background: var(--white); border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--teal-dim); border-color: var(--teal); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); background: var(--teal); }
.save-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--green-dim); color: var(--green);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
}
.hp-variant-toggle {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 16px;
  background: rgba(0,212,170,0.06); border: 1px solid rgba(0,212,170,0.15);
  border-radius: var(--radius); font-size: 13px;
}
.hp-variant-label { color: var(--dim); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.hp-variant-name { font-weight: 700; color: var(--teal); margin-left: auto; font-size: 13px; }
.hp-variant-switch {
  position: relative; width: 36px; height: 18px; display: inline-block; cursor: pointer;
}
.hp-variant-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.hp-variant-track {
  position: absolute; inset: 0; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 9px; transition: 0.2s;
}
.hp-variant-track::after {
  content: ''; position: absolute; width: 12px; height: 12px;
  background: var(--muted); border-radius: 50%; top: 2px; left: 2px; transition: 0.2s;
}
.hp-variant-switch input:checked + .hp-variant-track { background: var(--teal-dim); border-color: var(--teal); }
.hp-variant-switch input:checked + .hp-variant-track::after { transform: translateX(18px); background: var(--teal); }
.hp-features-plus { display: none; }
.pro-variant-toggle {
  display: inline-flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 100px; padding: 3px; margin-bottom: 16px; align-self: flex-start;
}
.pro-variant-btn {
  background: transparent; color: var(--muted); border: 0; cursor: pointer;
  padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
  border-radius: 100px; font-family: var(--font); transition: background 0.15s, color 0.15s;
}
.pro-variant-btn:hover { color: var(--text, #e5ecf5); }
.pro-variant-active { background: var(--teal); color: #08101A; }
.pro-variant-active:hover { color: #08101A; }
.pricing-grid {
  max-width: var(--max); margin: 0 auto; padding: 40px 32px 60px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  align-items: flex-start;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; position: relative;
  display: flex; flex-direction: column;
}
.pricing-popular {
  border-color: rgba(245,166,35,0.4);
  box-shadow: 0 0 24px rgba(245,166,35,0.08);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #08101A; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 100px;
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
}
.pricing-card-header { margin-bottom: 24px; }
.pricing-card-header h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; gap: 0; }
.price-symbol { font-size: 24px; font-weight: 700; }
.price-value { font-size: 48px; font-weight: 800; letter-spacing: -2px; font-family: var(--mono); }
.price-mo { font-size: 16px; color: var(--muted); margin-left: 2px; }
.pricing-period { font-size: 13px; color: var(--dim); margin-top: 4px; }
.pricing-annual-note { font-size: 13px; color: var(--teal); margin-top: 4px; }
.pricing-features {
  list-style: none; flex: 1; margin-bottom: 24px;
}
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted); padding: 6px 0;
}
.pricing-cta {
  display: block; text-align: center; padding: 12px 20px;
  border-radius: var(--radius); font-size: 14px; font-weight: 700;
  font-family: var(--font); transition: all 0.15s;
  background: var(--teal); color: #08101A;
}
.pricing-cta:hover { background: var(--teal-hover); }
.pricing-cta-secondary {
  background: transparent; color: var(--white);
  border: 1px solid var(--border);
}
.pricing-cta-secondary:hover { border-color: var(--muted); background: transparent; }
.pricing-cta-gold { background: var(--gold); color: #08101A; }
.pricing-cta-gold:hover { background: var(--gold-hover); }

/* ── TESTIMONIALS ── */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.testimonial-quote { font-size: 15px; color: var(--white); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-dim); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--gold);
}
.testimonial-name { font-size: 13px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--muted); }

/* ── CTA SECTION ── */
.cta-section {
  padding: 100px 32px;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-inner { max-width: var(--max); margin: 0 auto; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.06) 0%, rgba(0,212,170,0.04) 50%, transparent 70%);
  pointer-events: none;
}
.cta-heading {
  font-size: 44px; font-weight: 800; letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cta-sub { font-size: 18px; color: var(--muted); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
.footer {
  padding: 48px 32px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-logo .logo-mark { width: 22px; height: 22px; border-width: 2px; }
.footer-logo .logo-mark::after { width: 9px; height: 1.5px; }
.footer-logo span { font-size: 15px; font-weight: 800; }
.footer-tagline { font-size: 13px; color: var(--muted); max-width: 260px; line-height: 1.55; }
.footer-brand { max-width: 300px; }
.footer-links { display: flex; gap: 48px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; color: var(--dim); margin-bottom: 8px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max); margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--dim);
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── SANDBOX ── */
.sb-frame { background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:0 32px 80px rgba(0,0,0,0.5); }
.sb-topbar { background:var(--surface2); padding:10px 16px; display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--border); }
.sb-url-bar { flex:1; background:var(--bg); border-radius:4px; padding:4px 12px; font-size:11px; color:var(--dim); font-family:var(--mono); }
.sb-sidebar { width:180px; background:var(--surface2); border-right:1px solid var(--border); padding:16px 10px; flex-shrink:0; display:flex; flex-direction:column; }
.sb-nav { display:flex; flex-direction:column; gap:2px; flex:1; }
.sb-nav-item { padding:7px 10px; border-radius:6px; font-size:12px; color:var(--dim); cursor:pointer; display:flex; align-items:center; gap:6px; transition:all 0.15s; user-select:none; }
.sb-nav-item:hover { color:var(--text); background:rgba(255,255,255,0.03); }
.sb-nav-active { font-weight:600; background:rgba(245,166,35,0.1) !important; color:var(--gold) !important; }
.sb-nav-divider { height:1px; background:var(--border); margin:8px 6px; }
.sb-user { display:flex; align-items:center; gap:8px; padding:10px 6px; border-top:1px solid var(--border); margin-top:auto; }
.sb-user-avatar { width:28px; height:28px; border-radius:6px; background:rgba(245,166,35,0.15); color:var(--gold); display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; flex-shrink:0; }
.sb-main { flex:1; padding:20px 24px; overflow:hidden; position:relative; }
.sb-view { display:none; animation:sbFadeIn 0.25s ease-out; }
.sb-view-active { display:block; }
@keyframes sbFadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
.sb-stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:16px; }
.sb-stat-card { background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:12px; }
.sb-stat-label { font-size:10px; text-transform:uppercase; color:var(--dim); font-weight:600; letter-spacing:0.5px; }
.sb-stat-value { font-size:20px; font-weight:800; font-family:var(--mono); margin-top:3px; }
.sb-stat-change { font-size:10px; margin-top:2px; }
.sb-up { color:var(--green); }
.sb-warn { color:var(--amber); }
.sb-section-title { font-size:13px; font-weight:700; margin-bottom:10px; }
.sb-table { background:var(--surface2); border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.sb-table-head { display:flex; align-items:center; padding:9px 14px; border-bottom:1px solid var(--border); font-size:10px; color:var(--dim); font-weight:600; text-transform:uppercase; letter-spacing:0.3px; }
.sb-table-row { display:flex; align-items:center; padding:9px 14px; border-bottom:1px solid var(--border); font-size:12px; }
.sb-table-last { border-bottom:none; }
.sb-badge { padding:2px 8px; border-radius:100px; font-size:10px; font-weight:600; }
.sb-badge-green { background:rgba(16,185,129,0.1); color:var(--green); }
.sb-badge-amber { background:rgba(245,158,11,0.1); color:var(--amber); }
.sb-badge-blue { background:rgba(59,130,246,0.1); color:var(--blue); }
.sb-badge-dim { background:rgba(255,255,255,0.05); color:var(--dim); }
.sb-badge-gold { background:rgba(245,166,35,0.1); color:var(--gold); }
.sb-btn-primary { background:var(--teal); color:var(--bg); padding:6px 14px; border-radius:6px; font-size:11px; font-weight:600; display:flex; align-items:center; gap:5px; cursor:default; }
.sb-filter-pill { padding:4px 10px; border-radius:100px; font-size:10px; font-weight:600; color:var(--dim); background:var(--surface2); border:1px solid var(--border); cursor:default; }
.sb-filter-active { background:rgba(245,166,35,0.1); color:var(--gold); border-color:rgba(245,166,35,0.3); }
.sb-kanban { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.sb-kanban-col { background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:10px; }
.sb-kanban-col-head { font-size:11px; font-weight:700; margin-bottom:8px; display:flex; align-items:center; gap:6px; }
.sb-kanban-count { background:var(--border); border-radius:100px; padding:1px 6px; font-size:10px; font-weight:600; }
.sb-kanban-card { background:var(--bg); border:1px solid var(--border); border-radius:8px; padding:10px; margin-bottom:6px; }
.sb-kanban-card:last-child { margin-bottom:0; }
.sb-avatar-sm { width:22px; height:22px; border-radius:4px; background:rgba(245,166,35,0.15); color:var(--gold); display:flex; align-items:center; justify-content:center; font-size:8px; font-weight:700; }
.sb-product-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.sb-product-card { background:var(--surface2); border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.sb-product-img { height:80px; }
.sb-product-info { padding:10px 12px; }
.sb-chart-container { background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:14px; }
.sb-chart-title { font-size:11px; font-weight:600; color:var(--dim); margin-bottom:12px; }
.sb-chart-bars { display:flex; align-items:flex-end; gap:8px; height:80px; }
.sb-chart-bar-wrap { flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; height:100%; justify-content:flex-end; }
.sb-chart-bar { width:100%; background:var(--teal); border-radius:3px 3px 0 0; opacity:0.7; }
.sb-chart-bar-current { opacity:1; background:var(--gold); }
.sb-chart-bar-wrap span { font-size:9px; color:var(--dim); }
.sb-funnel { display:flex; flex-direction:column; gap:6px; }
.sb-funnel-step { display:flex; align-items:center; gap:8px; }
.sb-funnel-label { font-size:10px; color:var(--dim); width:56px; text-align:right; flex-shrink:0; }
.sb-funnel-bar { height:16px; background:var(--border); border-radius:3px; background:rgba(59,130,246,0.4); }
.sb-funnel-val { font-size:11px; font-family:var(--mono); font-weight:600; }
.sb-podium { display:flex; align-items:flex-end; justify-content:center; gap:12px; margin-bottom:8px; }
.sb-podium-place { display:flex; flex-direction:column; align-items:center; gap:4px; }
.sb-podium-1 { order:2; }
.sb-podium-2 { order:1; }
.sb-podium-3 { order:3; }
.sb-podium-avatar { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; }
.sb-podium-1 .sb-podium-avatar { width:44px; height:44px; font-size:14px; }
.sb-podium-rank { font-size:9px; font-weight:700; padding:2px 8px; border-radius:100px; background:var(--surface2); border:1px solid var(--border); }
.sb-settings-tabs { display:flex; gap:2px; margin-bottom:16px; background:var(--surface2); border-radius:8px; padding:3px; border:1px solid var(--border); }
.sb-settings-tab { padding:5px 10px; border-radius:6px; font-size:10px; font-weight:600; color:var(--dim); cursor:default; }
.sb-settings-tab-active { background:rgba(245,166,35,0.1); color:var(--gold); }
.sb-settings-form { display:flex; flex-direction:column; gap:12px; }
.sb-form-group { display:flex; flex-direction:column; gap:4px; }
.sb-form-label { font-size:10px; font-weight:600; color:var(--dim); text-transform:uppercase; letter-spacing:0.3px; }
.sb-form-input { background:var(--surface2); border:1px solid var(--border); border-radius:6px; padding:7px 10px; font-size:12px; color:var(--text); }

@media (max-width: 768px) {
  .sb-sidebar { width:48px; padding:12px 6px; }
  .sb-nav-item { padding:8px; justify-content:center; font-size:0; }
  .sb-nav-item svg { margin:0; }
  .sb-user { padding:6px; justify-content:center; }
  .sb-user > div:last-child { display:none; }
  .sb-stats-row { grid-template-columns:repeat(2,1fr); }
  .sb-kanban { grid-template-columns:1fr; }
  .sb-product-grid { grid-template-columns:1fr; }
  .sb-podium-avatar { width:28px !important; height:28px !important; font-size:10px !important; }
  .sb-settings-tabs { flex-wrap:wrap; }
}

/* ── CARD HOVER MICRO-INTERACTIONS ── */
.feature, .step, .pay-opt, .pricing-card {
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature:hover, .step:hover, .pay-opt:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  border-color: rgba(245,166,35,0.2);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* ── ANIMATED COUNTERS ── */
.counter-num {
  font-variant-numeric: tabular-nums;
}

/* ── GLOWING PREVIEW BORDERS ── */
.preview-window {
  position: relative;
}
.preview-window::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245,166,35,0.25), rgba(0,212,170,0.25), rgba(245,166,35,0.15));
  z-index: -1;
  opacity: 0; transition: opacity 0.6s ease;
}
.preview-window:hover::before { opacity: 1; }
.hub-window {
  position: relative;
}
.hub-window::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,212,170,0.25), rgba(16,185,129,0.25), rgba(0,212,170,0.15));
  z-index: -1;
  opacity: 0; transition: opacity 0.6s ease;
}
.hub-window:hover::before { opacity: 1; }

/* === Proposal showcase (from framebot page) === */
/* Proposal showcase (auto-scrolling) */
.showcase-wrap { margin-top: 60px; position: relative; overflow: hidden; }
.showcase-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap;
}
.showcase-tab {
  padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  cursor: pointer; transition: all 0.25s; font-family: var(--font);
}
.showcase-tab:hover { border-color: var(--muted); color: var(--white); }
.showcase-tab.active { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }

.showcase-track {
  position: relative; width: 100%; overflow: hidden;
}
.showcase-slider {
  display: flex; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 500%;
}
.showcase-slide {
  width: 20%; flex-shrink: 0; padding: 0 20px;
}

/* Proposal mockup (light theme like real proposals) */
.prop-mockup {
  background: #F5F6F8; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4); max-width: 900px; margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.06);
}

.prop-hero-bar {
  background: linear-gradient(160deg, #1A1A2E 0%, #0C0C14 100%);
  padding: 32px 36px 28px; color: #F9FAFB; position: relative; overflow: hidden;
}
.prop-hero-glow {
  position: absolute; top: -80px; right: -40px; width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.prop-seller-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
  position: relative;
}
.prop-seller-left { display: flex; align-items: center; gap: 12px; }
.prop-seller-logo {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; border: 1px solid rgba(255,255,255,0.1);
}
.prop-seller-name { font-size: 15px; font-weight: 700; }
.prop-seller-detail { font-size: 12px; color: #9CA3AF; }
.prop-ref { font-size: 11px; color: #9CA3AF; text-align: right; }
.prop-ref span { display: block; font-size: 12px; font-family: var(--mono); font-weight: 500; color: #F9FAFB; margin-top: 2px; }
.prop-title {
  font-size: 28px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.15;
  margin-bottom: 6px; position: relative;
}
.prop-for { font-size: 15px; color: #9CA3AF; margin-bottom: 20px; }
.prop-meta-row {
  display: flex; gap: 28px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap;
}
.prop-meta-label { font-size: 10px; font-weight: 600; color: #6B7280; text-transform: uppercase; letter-spacing: 0.5px; }
.prop-meta-value { font-size: 14px; font-weight: 700; color: #F9FAFB; margin-top: 2px; }
.prop-meta-value.gold { color: var(--gold); font-family: var(--mono); }

/* Sticky bar mockup */
.prop-sticky {
  background: #FFFFFF; border-bottom: 1px solid #E5E7EB; padding: 10px 36px;
  display: flex; align-items: center; justify-content: space-between;
}
.prop-sticky-left { display: flex; align-items: center; gap: 14px; }
.prop-sticky-title { font-size: 13px; font-weight: 700; color: #1A1A2E; }
.prop-sticky-val { font-size: 13px; font-weight: 700; font-family: var(--mono); color: #6B7280; }
.prop-sticky-btn {
  background: #00D4AA; color: #08101A; border: none; padding: 8px 20px;
  border-radius: 6px; font-size: 13px; font-weight: 700; font-family: var(--font);
}

/* Product cards inside mockup */
.prop-body { padding: 28px 36px 32px; }
.prop-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: 10px;
}
.prop-section-heading {
  font-size: 22px; font-weight: 800; letter-spacing: -0.8px; color: #1A1A2E; margin-bottom: 6px;
}
.prop-section-sub {
  font-size: 14px; color: #6B7280; line-height: 1.7; margin-bottom: 20px; max-width: 560px;
}

.prop-products {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.prop-product {
  background: linear-gradient(160deg, #1A1A2E 0%, #0F0F1C 100%);
  border: 1px solid #2D2D45; border-radius: 14px; overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.prop-product:hover { transform: translateY(-2px); border-color: rgba(245,166,35,0.3); }
.prop-product-img {
  width: 100%; height: 160px; object-fit: cover; display: block;
  background: rgba(255,255,255,0.03);
}
.prop-product-img-placeholder {
  width: 100%; height: 160px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.prop-product-badge {
  position: absolute; top: 10px; left: 10px;
  background: #00D4AA; color: #08101A; font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; padding: 3px 8px; border-radius: 4px;
}
.prop-product-rec {
  position: absolute; top: 10px; right: 10px;
  background: var(--gold); color: #08101A; font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 4px;
  display: flex; align-items: center; gap: 3px;
}
.prop-product-body { padding: 16px 18px; }
.prop-product-name { font-size: 15px; font-weight: 700; color: #F9FAFB; margin-bottom: 4px; }
.prop-product-desc { font-size: 12px; color: #9CA3AF; line-height: 1.5; margin-bottom: 10px; }
.prop-product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; border-top: 1px solid #2D2D45;
}
.prop-product-price { font-size: 17px; font-weight: 800; color: var(--gold); font-family: var(--mono); }
.prop-product-inc {
  font-size: 10px; font-weight: 700; color: #00D4AA; background: rgba(0,212,170,0.08);
  padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* Full-width product */
.prop-product-full { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.prop-product-full .prop-product-body { display: flex; flex-direction: column; justify-content: center; }

/* Stats bar inside mockup */
.prop-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(160deg, #1A1A2E, #0F0F1C);
  border: 1px solid #2D2D45; border-radius: 12px; overflow: hidden; margin-top: 24px;
}
.prop-stat {
  padding: 18px; text-align: center; border-right: 1px solid #2D2D45;
}
.prop-stat:last-child { border-right: none; }
.prop-stat-num { font-size: 22px; font-weight: 800; letter-spacing: -1px; font-family: var(--mono); color: var(--gold); }
.prop-stat-label { font-size: 10px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* Testimonial inside mockup */
.prop-testimonial {
  background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 12px;
  padding: 24px; margin-top: 24px;
}
.prop-test-quote { font-size: 14px; color: #374151; font-style: italic; line-height: 1.7; border-left: 3px solid #00D4AA; padding-left: 16px; }
.prop-test-author { font-size: 12px; color: #9CA3AF; margin-top: 10px; padding-left: 16px; }

/* Auto-scroll progress */
.showcase-progress {
  display: flex; justify-content: center; gap: 6px; margin-top: 24px;
}
.showcase-dot {
  width: 32px; height: 3px; border-radius: 2px; background: var(--border);
  transition: all 0.3s; cursor: pointer;
}
.showcase-dot.active { background: var(--gold); width: 48px; }

/* ── "LESS OBVIOUS" FEATURES GRID ── (bottom of home page) */
.less-obvious-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.less-obvious-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.lo-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.lo-card:hover { transform: translateY(-3px); border-color: rgba(245,166,35,0.3); box-shadow: 0 10px 28px rgba(0,0,0,0.3); }
.lo-ic { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.lo-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.2px; }
.lo-card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.lo-positioning { color: var(--dim); font-size: 15px; margin-top: 48px; font-style: italic; max-width: 720px; line-height: 1.6; }
@media (max-width: 900px) { .less-obvious-grid { grid-template-columns: repeat(2, 1fr); } .less-obvious-inner { padding: 0 20px; } }
@media (max-width: 560px) { .less-obvious-grid { grid-template-columns: 1fr; } }
