/* ==========================================================================
   KOSTVA — European Trade & Renovation Quoting Platform
   Direction: Swiss-Architectural Blueprint · Warm Craft Stone · Deep Charcoal · Copper Accent
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=JetBrains+Mono:wght@500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --bg: #f6f4ef;
  --bg-elevated: #ffffff;
  --bg-subtle: #edeae2;
  --obsidian: #0b1120;
  --obsidian-2: #131c31;
  --obsidian-border: rgba(255, 255, 255, 0.11);
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-soft: #64748b;
  --border: #e4e0d7;
  --border-strong: #ccc6b9;
  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-soft: #fef3c7;
  --accent-ring: rgba(217, 119, 6, 0.18);
  --emerald: #059669;
  --emerald-bg: #ecfdf5;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 17, 32, 0.05);
  --shadow: 0 4px 12px rgba(11, 17, 32, 0.05), 0 20px 44px -10px rgba(11, 17, 32, 0.09);
  --shadow-lg: 0 28px 70px -16px rgba(11, 17, 32, 0.24);
  --font-display: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; margin-top: 0; text-wrap: balance; }
a { color: var(--accent-hover); text-decoration: none; transition: color 0.15s ease; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* Minimal Architectural Inline Icons */
.ico { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.ico-sm { width: 14px; height: 14px; }
.ico-lg { width: 22px; height: 22px; }

/* ==========================================================================
   TOP TRUST RIBBON & 2-STAGE CORPORATE HEADER
   ========================================================================== */
.top-ribbon {
  background: var(--obsidian);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-ribbon-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  flex-wrap: nowrap;
}
.ribbon-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ribbon-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex-shrink: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  min-height: 66px;
  padding: 8px 24px;
  gap: 14px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.26rem;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: #92400e;
  border: 1px solid #fde68a;
}
.nav-links { display: flex; align-items: center; flex-wrap: nowrap; gap: 20px; font-size: 0.87rem; font-weight: 500; min-width: 0; }
.nav-links a { color: var(--ink-muted); padding: 4px 0; white-space: nowrap; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-select {
  height: 34px;
  padding: 0 8px 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}
.lang-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 7px 13px; font-size: 0.81rem; border-radius: 8px; }
.btn-lg { padding: 13px 24px; font-size: 0.95rem; border-radius: 12px; }
.btn-primary { background: var(--obsidian); color: #fff; box-shadow: 0 3px 10px rgba(11, 17, 32, 0.18); }
.btn-primary:hover { background: #1e293b; color: #fff; }
.btn-accent { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); color: #fff; box-shadow: 0 6px 18px rgba(180, 83, 9, 0.28); }
.btn-accent:hover { filter: brightness(1.06); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--bg-subtle); border-color: #94a3b8; }
.btn-emerald { background: var(--emerald); color: #fff; }
.btn-emerald:hover { background: #047857; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-dark-outline { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.22); }
.btn-dark-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.tag-ok { background: var(--emerald-bg); color: var(--emerald); border: 1px solid #a7f3d0; }
.tag-warn { background: var(--accent-soft); color: #92400e; border: 1px solid #fde68a; }
.tag-bad { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca; }

/* ==========================================================================
   SPLIT ARCHITECTURAL HERO + BLUEPRINT MOCKUP
   ========================================================================== */
.hero-band {
  padding: 46px 0 32px;
  background-image:
    radial-gradient(ellipse 65% 55% at 15% 0%, rgba(217, 119, 6, 0.08), transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 15%, rgba(15, 23, 42, 0.05), transparent 60%),
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 34px;
}
.hero-split > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.hero-copy h1 {
  font-size: clamp(2.15rem, 4.1vw, 3.45rem);
  line-height: 1.05;
  margin: 0 0 16px;
}
.hero-highlight {
  color: var(--accent-hover);
  text-decoration: underline;
  text-decoration-color: rgba(217, 119, 6, 0.35);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.hero-lead {
  font-size: 1.06rem;
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0 0 22px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}
.hero-metric strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--ink);
}
.hero-metric span {
  font-size: 0.77rem;
  color: var(--ink-soft);
  line-height: 1.3;
  display: block;
}

/* Architectural Live Proposal Blueprint Card */
.hero-blueprint {
  background: var(--obsidian);
  color: #f8fafc;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.bp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 14px;
}
.bp-wave {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.bp-bars { display: flex; align-items: center; gap: 3px; height: 22px; }
.bp-bars i { display: block; width: 3px; border-radius: 3px; background: var(--accent); }
.bp-lines {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  font-size: 0.8rem;
}
.bp-line { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(255,255,255,0.08); padding-bottom: 6px; }
.bp-line:last-child { border-bottom: 0; padding-bottom: 0; }
.bp-footer {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bp-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  padding: 10px 12px;
}
.bp-stat small { display: block; font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.bp-stat strong { font-family: var(--font-mono); font-size: 1.1rem; color: #fff; }
.bp-stat.profit strong { color: #34d399; }

/* Trades & Markets Strip */
.trades-strip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.trades-label { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.trades-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.trade-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* ==========================================================================
   INTERACTIVE QUOTING STUDIO
   ========================================================================== */
.studio-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.studio-bar {
  background: var(--obsidian);
  color: #fff;
  padding: 14px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.studio-title-wrap { display: flex; align-items: center; gap: 10px; }
.studio-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.studio-controls select {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.81rem;
  font-weight: 600;
  font-family: var(--font-sans);
}
.studio-controls select option { color: var(--ink); background: #fff; }
.studio-body { padding: 24px; }

.presets-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.preset-label { font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); margin-right: 4px; }
.preset-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #faf9f5;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}
.preset-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: #92400e; }

.capture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.capture-box {
  border: 1.5px dashed var(--border-strong);
  border-radius: 14px;
  padding: 18px;
  background: #faf9f5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.capture-box:hover { border-color: var(--accent); background: #fffcf5; }
.capture-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.94rem; }
.rec-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rec-timer { font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; color: var(--danger); }
.notes-area {
  width: 100%;
  min-height: 78px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  resize: vertical;
  background: #fff;
}
.notes-area:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.client-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.input-clean {
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  background: #fff;
}
.input-clean:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }

.action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.status-banner {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.status-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.status-ok { background: var(--emerald-bg); color: var(--emerald); border: 1px solid #a7f3d0; }
.status-err { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca; }

/* Workspace 5-Tab Studio */
.ws-wrap { margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--border); }
.ws-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 18px; }
.ws-tab {
  padding: 9px 15px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #faf9f5;
  color: var(--ink-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}
.ws-tab.active { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }
.ws-tab.private-tab.active { background: #7c2d12; border-color: #7c2d12; }

.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: #faf9f5; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
td input { padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.85rem; font-family: inherit; width: 100%; }
td input.num-in { text-align: right; font-family: var(--font-mono); max-width: 96px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi-card { background: #faf9f5; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.kpi-card span { display: block; font-size: 0.74rem; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.kpi-card strong { font-size: 1.38rem; font-family: var(--font-mono); color: var(--ink); }

.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 20px; }
.tier-card.featured { border-color: var(--accent); box-shadow: 0 12px 28px rgba(217, 119, 6, 0.14); }

.share-bar {
  margin-top: 20px;
  background: var(--obsidian);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* ==========================================================================
   MARKETING SECTIONS: BEFORE/AFTER, ASYMMETRIC BENTO, ROI CALCULATOR, COMPARE, PRICING
   ========================================================================== */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark {
  background: radial-gradient(ellipse 70% 50% at 85% 10%, rgba(217, 119, 6, 0.16), transparent 60%), var(--obsidian);
  color: #f8fafc;
}
.section-head { text-align: center; max-width: 740px; margin: 0 auto 44px; }
.section-kicker { display: inline-block; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-hover); margin-bottom: 10px; }
.section-dark .section-kicker { color: #fbbf24; }
.section-head h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); line-height: 1.12; margin: 0 0 12px; }
.section-head p { margin: 0; font-size: 1.02rem; color: var(--ink-muted); }
.section-dark .section-head p { color: #94a3b8; }

/* Before / After Transformation Grid */
.transform-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.transform-grid > * { min-width: 0; }
.tf-card { background: rgba(255,255,255,0.04); border: 1px solid var(--obsidian-border); border-radius: 18px; padding: 24px; }
.tf-card.after { background: linear-gradient(160deg, rgba(217, 119, 6, 0.14), rgba(16, 185, 129, 0.08)); border-color: rgba(251, 191, 36, 0.35); }
.tf-time { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; display: inline-block; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.tf-time.bad { background: rgba(220, 38, 38, 0.18); color: #fca5a5; }
.tf-time.good { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.tf-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 0.9rem; color: #cbd5e1; }
.tf-arrow { display: flex; align-items: center; justify-content: center; color: #fbbf24; font-family: var(--font-mono); font-weight: 800; font-size: 1.4rem; }

/* Asymmetric Bento Grid (6 Pillars) */
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento-card {
  grid-column: span 2;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bento-card.wide { grid-column: span 3; background: #fff; border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(217, 119, 6, 0.45); }
.bento-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--obsidian); color: #fbbf24;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.bento-card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.bento-card p { margin: 0; font-size: 0.89rem; color: var(--ink-muted); }
.bento-preview {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* Interactive ROI Calculator */
.roi-box {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.roi-box > * { min-width: 0; }
.roi-slider-group { margin-bottom: 18px; }
.roi-slider-head { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.roi-slider-head span { font-family: var(--font-mono); color: var(--accent-hover); }
.roi-range { width: 100%; accent-color: var(--accent); cursor: pointer; }
.roi-results {
  background: var(--obsidian);
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.roi-stat span { display: block; font-size: 0.74rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.roi-stat strong { font-family: var(--font-mono); font-size: 1.55rem; color: #fbbf24; }
.roi-stat.win strong { color: #34d399; }

/* Comparison & Pricing */
.compare-wrap { background: #fff; border: 1px solid var(--border-strong); border-radius: 16px; max-width: 100%; overflow-x: auto; box-shadow: var(--shadow); }
.billing-toggle {
  display: inline-flex; gap: 6px; padding: 4px; border-radius: 10px;
  background: var(--bg-subtle); border: 1px solid var(--border); margin-top: 14px;
}
.billing-toggle button {
  border: 0; background: transparent; padding: 7px 14px; border-radius: 7px;
  font-size: 0.84rem; font-weight: 600; color: var(--ink-muted); cursor: pointer;
}
.billing-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.save-pill { background: var(--emerald-bg); color: var(--emerald); font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 4px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: 0 18px 40px -14px rgba(217, 119, 6, 0.25); }
.price-badge {
  position: absolute; top: -11px; left: 20px;
  background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.price-badge.dark-badge { background: var(--obsidian); color: #fff; }

/* Photo Markup & Site Photos Gallery */
.photo-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 12px; }
.photo-card { border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.photo-card img { width: 100%; height: 190px; object-fit: cover; display: block; background: #0f172a; }
.photo-card-body { padding: 10px 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.photo-cap { font-size: 0.82rem; color: var(--ink-muted); }

.markup-modal { max-width: 740px; }
.markup-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; padding: 10px; background: #faf9f5; border: 1px solid var(--border); border-radius: 10px; }
.markup-tool-btn.active { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }
.color-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); cursor: pointer; padding: 0; }
.color-dot.active { outline: 2px solid var(--obsidian); outline-offset: 2px; }
.markup-canvas-wrap { border: 1.5px solid var(--border-strong); border-radius: 12px; overflow: hidden; background: #0b1120; margin-bottom: 12px; display: flex; justify-content: center; }
#markupCanvas { max-width: 100%; max-height: 360px; height: auto; display: block; cursor: crosshair; touch-action: none; }
.markup-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.markup-footer-grid button { grid-column: 1 / -1; width: 100%; }
@media (max-width: 680px) { .markup-footer-grid { grid-template-columns: 1fr; } }

/* Anti-Ghosting Radar & Deposit Settings */
.radar-list { display: grid; gap: 10px; margin-top: 14px; }
.radar-row {
  background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
}
.temp-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.71rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.temp-badge.hot { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.temp-badge.viewed { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.temp-badge.cold { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.temp-badge.signed { background: var(--emerald-bg); color: var(--emerald); border: 1px solid #a7f3d0; }
.rates-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }

/* Client Portal Deposit & Legal Protection */
.deposit-box {
  margin-top: 20px; padding: 20px; border-radius: 16px;
  background: linear-gradient(155deg, #fffbeb 0%, #fff 60%);
  border: 1.5px solid rgba(217, 119, 6, 0.45);
  box-shadow: var(--shadow-sm);
}
.deposit-grid { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-top: 12px; }
.sepa-qr-card {
  background: #fff; border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 10px; text-align: center; min-width: 170px;
}
.sepa-qr-card img { width: 148px; height: 148px; display: block; margin: 0 auto 6px; }
.iban-pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 9px;
  padding: 7px 11px; font-family: var(--font-mono); font-size: 0.84rem; margin-top: 6px;
}
.legal-box {
  margin-top: 20px; padding: 14px 18px; border-radius: 12px;
  background: #faf9f5; border: 1px solid var(--border);
}
.price-amt { font-size: 2.1rem; font-weight: 800; font-family: var(--font-display); margin: 10px 0 4px; letter-spacing: -0.03em; }
.check-list { list-style: none; padding: 0; margin: 14px 0 22px; flex: 1; }
.check-list li { padding: 6px 0; font-size: 0.86rem; color: var(--ink-muted); }

.guarantee-seal-box {
  margin-top: 24px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 0.96rem; }
.faq-item p { margin: 10px 0 0; font-size: 0.9rem; color: var(--ink-muted); }

/* Final CTA & Corporate Footer */
.final-cta {
  background: var(--obsidian);
  color: #fff;
  border-radius: 22px;
  padding: 42px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.footer { background: var(--obsidian); color: #94a3b8; padding: 54px 0 32px; font-size: 0.85rem; border-top: 1px solid var(--obsidian-border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid var(--obsidian-border); }
.footer h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: #64748b; }

/* Modals */
.modal-backdrop { position: fixed; inset: 0; background: rgba(11, 17, 32, 0.65); backdrop-filter: blur(5px); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: 18px; max-width: 430px; width: 100%; padding: 26px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; color: var(--ink-muted); }

/* 2-Stage Responsive Header */
.topbar.is-tight .brand-tag { display: none; }
.topbar.is-tight .nav-links { gap: 13px; font-size: 0.82rem; }
.topbar.is-compact .brand-tag { display: none; }
.topbar.is-compact .nav-toggle { display: inline-flex; }
.topbar.is-compact .nav-links { display: none; }
.topbar.is-compact .nav-links.open {
  display: flex; flex-direction: column; align-items: stretch; gap: 4px;
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 12px 24px 16px; z-index: 60;
}
.topbar.is-compact .nav-links.open a { padding: 9px 12px; border-radius: 8px; }
.topbar.is-compact .nav-links.open a.active::after { display: none; }

@media (max-width: 1220px) {
  .top-ribbon-inner .ribbon-item:nth-child(n+4) { display: none; }
  .brand-tag { display: none; }
  .nav-links { gap: 14px; font-size: 0.83rem; }
}
@media (max-width: 1060px) {
  .brand-tag { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 12px 24px 16px; z-index: 60;
  }
  .nav-links.open a { padding: 9px 12px; border-radius: 8px; }
  .nav-links.open a.active::after { display: none; }
  .hero-split, .roi-box { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .capture-grid, .tiers-grid, .pricing-grid, .footer-grid, .photo-grid { grid-template-columns: 1fr 1fr; }
  .bento-card, .bento-card.wide { grid-column: span 3; }
  .transform-grid { grid-template-columns: 1fr; }
  .tf-arrow { transform: rotate(90deg); }
  .kpi-grid, .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .rates-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .top-ribbon { padding: 6px 12px; text-align: center; }
  .top-ribbon-inner .ribbon-item:nth-child(n+2) { display: none; }
}
@media (max-width: 680px) {
  .capture-grid, .tiers-grid, .pricing-grid, .client-mini-grid, .footer-grid, .roi-results, .photo-grid, .rates-grid-3, .deposit-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-card.wide { grid-column: span 6; }
  .nav-actions .auth-plan-tag { display: none; }
  .studio-body, .roi-box, .final-cta { padding: 18px; }
}
@media (max-width: 560px) {
  .container { padding: 0 14px; }
  .topbar-inner { padding: 8px 14px; gap: 8px; }
  .brand { font-size: 1.08rem; }
  .nav-actions { gap: 6px; }
}
@media (max-width: 460px) {
  .top-ribbon { font-size: 0.69rem; padding: 6px 8px; }
  .ribbon-item { white-space: normal; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
}
