
/* ── Theme variables ── */
:root, [data-theme="dark"] {
  /* Surfaces — exact match to app global.css */
  --bg-0:    #0D0F14;
  --bg-1:    #161B24;
  --bg-2:    #1C2230;
  --bg-3:    #232B3C;
  --bg-4:    #2F3950;

  /* Borders */
  --bd-1:    #252D3D;
  --bd-2:    #2F3950;
  --bd-s:    #3A4660;

  /* Text */
  --fg-0:    #FFFFFF;
  --fg-1:    #C9D1DE;
  --fg-2:    #8B96A8;
  --fg-3:    #5C667A;

  /* Accent — modern blue */
  --accent:       #4A90E2;
  --accent-light: #6BA5EA;
  --accent-dark:  #2A6BB5;
  --accent-soft:  rgba(74,144,226,0.16);
  --accent-dim:   rgba(74,144,226,0.10);

  /* Semantic */
  --ok:      #34C98A;
  --ok-bg:   rgba(52,201,138,0.14);
  --warn:    #F5A623;
  --warn-bg: rgba(245,166,35,0.14);
  --err:     #E8524A;
  --err-bg:  rgba(232,82,74,0.14);

  /* Nav bg */
  --nav-bg: rgba(13,15,20,0.90);

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.6);

  /* Toggle icon */
  --theme-icon: "🌙";
}

[data-theme="light"] {
  --bg-0:    #F0F2F7;
  --bg-1:    #FFFFFF;
  --bg-2:    #F7F9FC;
  --bg-3:    #EDF0F8;
  --bg-4:    #E2E8F4;

  --bd-1:    #DDE3EF;
  --bd-2:    #C9D2E4;
  --bd-s:    #B0BCE0;

  --fg-0:    #0F1623;
  --fg-1:    #2D3A52;
  --fg-2:    #5A6680;
  --fg-3:    #8B96AB;

  --accent:       #2E78CC;
  --accent-light: #4A90E2;
  --accent-dark:  #1A5BA8;
  --accent-soft:  rgba(46,120,204,0.14);
  --accent-dim:   rgba(46,120,204,0.07);

  --ok:      #16A36F;
  --ok-bg:   rgba(22,163,111,0.12);
  --warn:    #D97706;
  --warn-bg: rgba(217,119,6,0.12);
  --err:     #DC2626;
  --err-bg:  rgba(220,38,38,0.10);

  --nav-bg: rgba(240,242,247,0.92);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.10);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.12);

  --theme-icon: "☀️";
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Noto Sans KR', sans-serif;
  background: var(--bg-0);
  color: var(--fg-1);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .9em;
  background: var(--bg-3);
  border: 1px solid var(--bd-1);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent-light);
}

/* ── Utility ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-light); background: var(--accent-dim);
  border: 1px solid var(--accent-soft); border-radius: 100px;
  padding: 4px 12px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; border-radius: 6px;
  padding: 10px 20px; cursor: pointer; transition: all .18s; border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 20px rgba(74,144,226,.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--fg-2);
  border: 1px solid var(--bd-2);
}
.btn-ghost:hover { background: var(--bg-3); color: var(--fg-0); }

.section-label { margin-bottom: 16px; }
.section-title {
  font-size: clamp(28px,4vw,42px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.15; color: var(--fg-0);
}
.section-sub {
  font-size: 16px; color: var(--fg-2); margin-top: 12px;
  line-height: 1.7; max-width: 520px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--bd-1);
  transition: background .25s, border-color .25s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; max-width: 1080px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 800; letter-spacing: -.03em; color: var(--fg-0);
}
.nav-logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 15px; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  font-size: 13px; color: var(--fg-2); padding: 6px 12px;
  border-radius: 5px; transition: all .15s; font-weight: 500;
}
.nav-links a:hover { color: var(--fg-0); background: var(--bg-3); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--bg-3); border: 1px solid var(--bd-1);
  color: var(--fg-2); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.theme-toggle:hover { background: var(--bg-4); color: var(--fg-0); }

/* ── Hero ── */
#hero {
  position: relative; overflow: hidden;
  padding: 88px 0 72px;
}
.hero-glow {
  position: absolute; top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(74,144,226,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { text-align: center; position: relative; }
.hero-title {
  font-size: clamp(44px,7vw,72px);
  font-weight: 900; letter-spacing: -.04em; line-height: 1.05;
  color: var(--fg-0); margin: 20px 0 22px;
}
.hero-desc {
  font-size: clamp(15px,2vw,18px); color: var(--fg-2);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.75;
}
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 60px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 26px; font-weight: 800; color: var(--accent-light);
  letter-spacing: -.02em; display: block;
}
.hero-stat-lbl {
  font-size: 11px; color: var(--fg-3); text-transform: uppercase;
  letter-spacing: .07em; margin-top: 2px;
}
.hero-divider {
  width: 1px; height: 40px; background: var(--bd-2);
  align-self: center;
}

/* ── App window frame ── */
#showcase { padding: 0 0 80px; }
.window-frame {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--bd-2);
  box-shadow: var(--shadow-lg);
  background: var(--bg-1);
}
.window-titlebar {
  height: 32px; background: var(--bg-0);
  border-bottom: 1px solid var(--bd-1);
  display: flex; align-items: center; padding: 0 14px; gap: 6px;
}
.win-dot { width: 11px; height: 11px; border-radius: 50%; }
.win-red    { background: #FF5F56; }
.win-yellow { background: #FFBD2E; }
.win-green  { background: #27C93F; }
.win-title {
  flex: 1; text-align: center; font-size: 11px;
  color: var(--fg-3); margin-left: -71px; letter-spacing: .02em;
}
.window-body { position: relative; }
.showcase-img {
  width: 100%; display: block; cursor: zoom-in;
  transition: opacity .15s;
  aspect-ratio: 16/9; object-fit: cover; object-position: top;
}
.showcase-tabs {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 16px; flex-wrap: wrap;
}
.sc-tab {
  font-size: 12px; font-weight: 500; color: var(--fg-3);
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: all .15s; background: none; font-family: inherit;
}
.sc-tab:hover { color: var(--fg-1); border-color: var(--bd-2); }
.sc-tab.active {
  color: var(--accent-light); background: var(--accent-dim);
  border-color: var(--accent-soft);
}

/* ── Problem / Solution ── */
#about { padding: 80px 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.compare-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.compare-table th {
  text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-3); padding: 0 12px 12px 0;
  border-bottom: 1px solid var(--bd-1);
}
.compare-table td {
  padding: 11px 12px 11px 0; font-size: 13px;
  border-bottom: 1px solid var(--bd-1); vertical-align: top;
  line-height: 1.5;
}
.compare-table td:first-child { color: var(--fg-3); width: 46%; }
.compare-table td:last-child  { color: var(--fg-1); }
.ico-x     { color: var(--err); margin-right: 4px; }
.ico-check { color: var(--ok);  margin-right: 4px; }

/* ── Features ── */
#features { padding: 80px 0; }
.features-header { text-align: center; margin-bottom: 48px; }
.features-header .section-sub { margin: 12px auto 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--bd-1); border-radius: 10px; overflow: hidden;
}
.feat-card {
  background: var(--bg-1); padding: 26px;
  transition: background .15s;
}
.feat-card:hover { background: var(--bg-2); }
.feat-icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px;
  background: var(--bg-3); border: 1px solid var(--bd-1);
}
.feat-title { font-size: 14px; font-weight: 700; color: var(--fg-0); margin-bottom: 6px; }
.feat-desc  { font-size: 12px; color: var(--fg-2); line-height: 1.65; }

/* ── How it works ── */
#howto { padding: 80px 0; }
.howto-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative; margin-top: 48px;
}
.howto-grid::before {
  content: '';
  position: absolute; top: 26px;
  left: calc(12.5% + 18px); right: calc(12.5% + 18px);
  height: 1px; background: var(--bd-2);
}
.howto-step { text-align: center; padding: 0 12px; }
.howto-num {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--bd-2); background: var(--bg-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 18px;
  position: relative; z-index: 1; transition: all .2s;
}
.howto-step:hover .howto-num {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 16px rgba(74,144,226,.3);
}
.howto-title { font-size: 14px; font-weight: 700; color: var(--fg-0); margin-bottom: 6px; }
.howto-desc  { font-size: 12px; color: var(--fg-2); line-height: 1.6; }

/* ── Gallery ── */
#gallery { padding: 80px 0; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
  margin-top: 36px;
}
.gallery-item {
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--bd-1);
  cursor: zoom-in; transition: all .2s;
  position: relative;
}
.gallery-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(74,144,226,.2);
  transform: translateY(-2px);
}
.gallery-item img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; object-position: top;
}
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 10px 9px;
  background: linear-gradient(transparent,rgba(0,0,0,.75));
  font-size: 11px; color: var(--fg-1); font-weight: 500;
}
[data-theme="light"] .gallery-caption { background: linear-gradient(transparent,rgba(0,0,0,.55)); }
.gallery-feat { grid-column: span 2; }
.gallery-feat img { aspect-ratio: 32/9; }

/* ── Install ── */
#install { padding: 80px 0; }
.tab-row {
  display: flex; gap: 0; margin-bottom: 28px;
  border-bottom: 1px solid var(--bd-1);
}
.tab-btn {
  font-size: 13px; font-weight: 600; color: var(--fg-3);
  padding: 9px 18px; cursor: pointer; border: none; background: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .15s; font-family: inherit;
}
.tab-btn.active { color: var(--accent-light); border-bottom-color: var(--accent); }
.tab-btn:hover:not(.active) { color: var(--fg-1); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.install-steps { list-style: none; counter-reset: sc; }
.install-steps li {
  counter-increment: sc; display: flex; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--bd-1);
}
.install-steps li:last-child { border-bottom: none; }
.sc-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-dim); border: 1px solid var(--accent-soft);
  color: var(--accent-light); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.sc-num::before { content: counter(sc); }
.sc-body { flex: 1; }
.sc-body h4 { font-size: 14px; font-weight: 700; color: var(--fg-0); margin-bottom: 6px; }
.sc-body p  { font-size: 13px; color: var(--fg-2); margin-bottom: 10px; }
.code-block {
  background: var(--bg-0); border: 1px solid var(--bd-1);
  border-radius: 6px; padding: 12px 16px 12px 44px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--fg-1); overflow-x: auto;
  position: relative; line-height: 1.7;
}
.code-block::before {
  content: '$'; position: absolute; left: 16px; top: 12px;
  color: var(--accent-light); font-weight: 700; user-select: none;
}
.code-block.no-prompt { padding-left: 16px; }
.code-block.no-prompt::before { display: none; }
.code-block .cmt { color: var(--fg-3); }
.copy-btn {
  position: absolute; top: 8px; right: 10px;
  background: var(--bg-3); border: 1px solid var(--bd-2);
  color: var(--fg-3); font-size: 10px; font-weight: 600;
  padding: 3px 9px; border-radius: 4px; cursor: pointer;
  transition: all .15s; font-family: inherit;
}
.copy-btn:hover { color: var(--fg-1); }
.copy-btn.copied { color: var(--ok); border-color: rgba(52,201,138,.35); }
.note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-3); border: 1px solid var(--bd-2);
  border-radius: 6px; padding: 12px 14px; margin-top: 10px;
}
.note.ok  { background: var(--ok-bg);   border-color: rgba(52,201,138,.25); }
.note.info{ background: var(--accent-dim); border-color: var(--accent-soft); }
.note p { font-size: 12px; color: var(--fg-2); }
.note.ok  p { color: #86efac; }
.note.info p { color: var(--accent-light); }

/* ── Guide ── */
#guide { padding: 80px 0; }
.guide-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 28px;
  align-items: start; margin-top: 40px;
}
.guide-sidebar { position: sticky; top: 70px; }
.guide-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--fg-2);
  border-left: 2px solid transparent; transition: all .15s;
}
.guide-nav-item:hover { color: var(--fg-0); background: var(--bg-3); }
.guide-nav-item.active {
  color: var(--accent-light);
  background: var(--accent-dim);
  border-left-color: var(--accent);
}
.guide-panel { display: none; }
.guide-panel.active { display: block; }
.guide-panel h3 { font-size: 20px; font-weight: 800; color: var(--fg-0); margin-bottom: 6px; }
.guide-panel > p { font-size: 14px; color: var(--fg-2); margin-bottom: 22px; }
.guide-steps { display: flex; flex-direction: column; gap: 12px; }
.guide-step {
  background: var(--bg-1); border: 1px solid var(--bd-1);
  border-radius: 8px; padding: 18px;
}
.guide-step-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.guide-step-n {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.guide-step h4 { font-size: 13px; font-weight: 700; color: var(--fg-0); }
.guide-step p { font-size: 12px; color: var(--fg-2); padding-left: 30px; line-height: 1.6; }
kbd {
  background: var(--bg-3); border: 1px solid var(--bd-2);
  padding: 2px 6px; border-radius: 4px; font-size: 11px;
  font-family: inherit; color: var(--fg-1);
}

/* ── FAQ ── */
#faq { padding: 80px 0; }
.faq-wrap { max-width: 680px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--bd-1); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; cursor: pointer; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--fg-0); gap: 14px;
  transition: color .15s;
}
.faq-q:hover { color: var(--accent-light); }
.faq-arrow { color: var(--fg-3); transition: transform .25s; font-size: 16px; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  font-size: 13px; color: var(--fg-2); line-height: 1.75;
  max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* ── CTA ── */
#cta { padding: 80px 0; }
.cta-box {
  background: var(--bg-1); border: 1px solid var(--bd-2);
  border-radius: 14px; padding: 56px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(74,144,226,.12) 0%, transparent 68%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(26px,4vw,40px); font-weight: 900;
  letter-spacing: -.03em; color: var(--fg-0); margin-bottom: 14px;
}
.cta-box p { font-size: 15px; color: var(--fg-2); margin-bottom: 32px; }
.cta-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--bd-1);
  padding: 32px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-left {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--fg-3);
}
.footer-logo { font-weight: 800; font-size: 14px; color: var(--fg-0); }
.footer-links { display: flex; gap: 18px; }
.footer-links a {
  font-size: 12px; color: var(--fg-3); transition: color .15s;
}
.footer-links a:hover { color: var(--fg-1); }

/* ── Lightbox ── */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.88); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 32px;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 100%; max-height: 88vh;
  border-radius: 10px; border: 1px solid var(--bd-2);
  box-shadow: var(--shadow-lg);
}
#lb-close {
  position: fixed; top: 18px; right: 22px;
  background: var(--bg-2); border: 1px solid var(--bd-2);
  color: var(--fg-2); font-size: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
}
#lb-close:hover { background: var(--bg-3); color: var(--fg-0); }

/* ── Fade-in ── */
.fade {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade.show { opacity: 1; transform: none; }

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 38px; height: 38px; border-radius: 7px; cursor: pointer;
  background: var(--bg-3); border: 1px solid var(--bd-1);
  transition: background .15s;
}
.nav-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--fg-2); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 드롭다운 메뉴 */
.mobile-menu {
  display: none;
  position: absolute; top: 56px; left: 0; right: 0; z-index: 99;
  background: var(--bg-1); border-bottom: 1px solid var(--bd-1);
  padding: 8px 16px 16px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 12px 8px;
  font-size: 15px; font-weight: 500; color: var(--fg-1);
  border-bottom: 1px solid var(--bd-1);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent-light); }
.mobile-menu .mobile-cta {
  display: block; margin-top: 12px;
  background: var(--accent); color: #fff;
  text-align: center; padding: 12px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
}

/* 쇼케이스 모바일 스크롤 래퍼 */
.showcase-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 0 -24px; padding: 0 24px 12px;
  scrollbar-width: none;
}
.showcase-scroll::-webkit-scrollbar { display: none; }
.showcase-scroll .win-desktop { min-width: 720px; }

/* 스크롤 힌트 */
.scroll-hint {
  display: none;
  text-align: center; font-size: 12px; color: var(--fg-3);
  margin-top: 8px; letter-spacing: .02em;
}
.scroll-hint span { margin: 0 4px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .showcase-scroll .win-desktop { min-width: 700px; }
  .scroll-hint { display: block; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-links     { display: none; }
  nav            { position: sticky; }

  /* Hero */
  #hero { padding: 56px 0 48px; }
  .hero-stats {
    gap: 0; margin-top: 40px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
  .hero-divider { display: none; }
  .hero-stat { padding: 12px 0; border-right: 1px solid var(--bd-1); }
  .hero-stat:nth-child(3n) { border-right: none; }
  .hero-stat:nth-child(4), .hero-stat:nth-child(5) {
    grid-column: span 1;
    border-top: 1px solid var(--bd-1);
  }

  /* Sections */
  section { padding: 60px 0 !important; }
  #showcase { padding: 0 0 60px !important; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .compare-table { font-size: 12px; }
  .compare-table td { padding: 9px 8px 9px 0; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* Howto */
  .howto-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
  .howto-grid::before { display: none; }

  /* Install tabs */
  .tab-row { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; }
  .tab-row::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; flex-shrink: 0; }

  /* Guide */
  .guide-layout  { grid-template-columns: 1fr; gap: 20px; }
  .guide-sidebar {
    position: static; display: flex;
    overflow-x: auto; gap: 4px; padding-bottom: 4px;
    scrollbar-width: none;
  }
  .guide-sidebar::-webkit-scrollbar { display: none; }
  .guide-nav-item {
    flex-shrink: 0; border-left: none; border-radius: 20px;
    padding: 7px 14px; white-space: nowrap;
    border: 1px solid var(--bd-2);
  }
  .guide-nav-item.active {
    border-color: var(--accent); background: var(--accent-dim);
    border-bottom-color: var(--accent); border-left: none;
  }

  /* FAQ */
  .faq-wrap { margin-top: 28px; }
  .faq-q { font-size: 13px; padding: 16px 0; }

  /* CTA */
  .cta-box { padding: 40px 24px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  /* Container padding */
  .container { padding: 0 16px; }
  .showcase-scroll { margin: 0 -16px; padding: 0 16px 12px; }

  /* Nav */
  .nav-inner { padding: 0 16px; }

  /* Hero */
  #hero { padding: 48px 0 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3n) { border-right: 1px solid var(--bd-1); }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid var(--bd-1); }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feat-card { padding: 20px; }

  /* Howto */
  .howto-grid { grid-template-columns: 1fr 1fr; }
  .howto-desc { font-size: 11px; }

  /* Compare table */
  .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 340px; }

  /* Install */
  .install-steps li { gap: 12px; }
  .code-block { font-size: 11px; padding: 10px 12px 10px 36px; }
  .code-block::before { left: 12px; }

  /* Guide steps */
  .guide-step { padding: 14px; }
  .guide-panel h3 { font-size: 17px; }

  /* CTA */
  .cta-box { padding: 32px 16px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 260px; justify-content: center; }

  /* Footer */
  .footer-links { flex-wrap: wrap; gap: 12px; }
}

/* ── Windows desktop mockup ── */
.win-desktop {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1829 0%, #101535 45%, #18082e 100%);
  padding: 20px 20px 0;
}
.wd-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(74,144,226,.07) 0%, transparent 60%);
  pointer-events: none;
}
/* ── Electron window ── */
.electron-window {
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.07);
}
.el-titlebar {
  height: 32px; background: #0e1118;
  border-bottom: 1px solid #252D3D;
  display: flex; align-items: center; padding: 0 0 0 12px; gap: 8px;
}
.el-icon { font-size: 14px; }
.el-title {
  flex: 1; text-align: center; font-size: 12px;
  color: #8B96A8; letter-spacing: .03em;
  margin-right: 138px;
}
.win-controls { display: flex; margin-left: auto; }
.wc {
  width: 46px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Segoe MDL2 Assets', 'Segoe UI Symbol', sans-serif;
  font-size: 10px; color: #8B96A8;
  background: none; border: none; cursor: default; transition: background .1s, color .1s;
}
.wc:hover { background: #2a3040; color: #fff; }
.wc-close:hover { background: #e81123 !important; color: #fff !important; }
/* ── App body ── */
.app-body { display: flex; height: 460px; overflow: hidden; background: #0D0F14; }
/* ── Sidebar ── */
.app-sb {
  width: 190px; background: #161B24;
  border-right: 1px solid #252D3D;
  flex-shrink: 0; display: flex; flex-direction: column;
  font-size: 12px; overflow: hidden;
}
.sb-org {
  height: 42px; display: flex; align-items: center; gap: 8px;
  padding: 0 10px; border-bottom: 1px solid #252D3D; flex-shrink: 0;
}
.sb-org-mark {
  width: 22px; height: 22px; border-radius: 5px;
  background: #4A90E2; color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sb-org-name { font-size: 12px; font-weight: 600; color: #C9D1DE; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-caret { color: #5C667A; font-size: 10px; }
.sb-group {
  font-size: 10px; text-transform: uppercase; letter-spacing: .07em;
  color: #5C667A; font-weight: 600; padding: 10px 12px 3px;
}
.sb-nav { display: flex; flex-direction: column; gap: 1px; padding: 0 5px; }
.sb-item {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 7px; border-radius: 5px;
  font-size: 12px; color: #8B96A8; cursor: default;
  border-left: 2px solid transparent; transition: all .12s; text-decoration: none;
}
.sb-item:hover { background: #1C2230; color: #C9D1DE; }
.sb-item.active {
  background: rgba(74,144,226,.12); color: #6BA5EA;
  border-left-color: #4A90E2;
}
.sb-badge {
  margin-left: auto; background: #4A90E2; color: #fff;
  font-size: 9px; font-weight: 700; min-width: 15px; height: 15px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.sb-warn { background: #F5A623; }
.sb-bottom { margin-top: auto; border-top: 1px solid #252D3D; padding: 4px 5px 6px; }
.sb-user {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 7px; font-size: 12px; color: #8B96A8;
}
/* ── Main content ── */
.app-main { flex: 1; overflow: hidden; position: relative; background: #0D0F14; }
.mock-screen { display: none; flex-direction: column; height: 100%; overflow: hidden; }
.mock-screen.active { display: flex; }
/* ── Page header ── */
.pg-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 10px; border-bottom: 1px solid #252D3D; flex-shrink: 0;
}
.pg-title { font-size: 15px; font-weight: 700; color: #fff; }
.pg-sub   { font-size: 11px; color: #5C667A; margin-top: 1px; }
.pg-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 5px;
  font-size: 11px; font-weight: 600;
  background: #4A90E2; color: #fff; border: none; cursor: default; font-family: inherit;
}
.pg-ghost { background: transparent; color: #8B96A8; border: 1px solid #2F3950; margin-right: 5px; }
/* ── KPI ── */
.kpi-row { display: flex; gap: 1px; background: #252D3D; border-bottom: 1px solid #252D3D; flex-shrink: 0; }
.kpi-card { flex: 1; background: #0D0F14; padding: 10px 14px; }
.kpi-num  { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.kpi-lbl  { font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: #5C667A; margin-top: 2px; }
.kpi-hint { font-size: 10px; color: #4A90E2; margin-top: 3px; }
/* ── Dashboard body ── */
.dash-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #252D3D; overflow: hidden; }
.dash-panel { background: #0D0F14; padding: 12px 14px; overflow-y: auto; }
.dp-label { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #5C667A; font-weight: 700; margin-bottom: 8px; }
/* ── Agent rows ── */
.ag-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-bottom: 1px solid #1C2230; }
.ag-row:last-child { border-bottom: none; }
.av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #4A90E2, #2A6BB5);
  color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.av-name { font-size: 11px; font-weight: 600; color: #C9D1DE; }
.av-role { font-size: 10px; color: #5C667A; }
.dot { width: 7px; height: 7px; border-radius: 50%; margin-left: auto; flex-shrink: 0; }
.dot-ok    { background: #34C98A; box-shadow: 0 0 5px rgba(52,201,138,.5); }
.dot-blue  { background: #4A90E2; box-shadow: 0 0 5px rgba(74,144,226,.5); }
.dot-muted { background: #3A4660; }
/* ── Approval cards ── */
.apv-card { background: #1C2230; border: 1px solid #252D3D; border-radius: 5px; padding: 9px 11px; margin-bottom: 7px; }
.apv-type { display: inline-flex; padding: 2px 6px; border-radius: 3px; font-size: 9px; font-weight: 700; margin-bottom: 5px; }
.deploy { background: rgba(74,144,226,.14); color: #6BA5EA; }
.hire   { background: rgba(52,201,138,.14); color: #34C98A; }
.spend  { background: rgba(245,166,35,.14);  color: #F5A623; }
.apv-title { font-size: 11px; font-weight: 600; color: #C9D1DE; }
.apv-meta  { font-size: 10px; color: #5C667A; margin: 3px 0 6px; }
.apv-btns { display: flex; gap: 5px; }
.apv-btn { padding: 2px 8px; border-radius: 3px; font-size: 10px; font-weight: 600; border: none; cursor: default; font-family: inherit; }
.apv-btn.ok   { background: rgba(52,201,138,.14); color: #34C98A; }
.apv-btn.err  { background: rgba(232,82,74,.14);   color: #E8524A; }
.apv-btn.info { background: rgba(74,144,226,.14);  color: #6BA5EA; }
/* ── Agents page toolbar ── */
.pg-toolbar { display: flex; align-items: center; gap: 7px; padding: 7px 14px; border-bottom: 1px solid #252D3D; flex-shrink: 0; }
.search-box { display: flex; align-items: center; gap: 5px; background: #1C2230; border: 1px solid #252D3D; border-radius: 5px; padding: 4px 9px; font-size: 11px; color: #5C667A; flex: 1; max-width: 200px; }
.chip { padding: 3px 9px; border-radius: 4px; font-size: 11px; color: #8B96A8; border: 1px solid #252D3D; cursor: default; }
.chip.active { background: rgba(74,144,226,.12); color: #6BA5EA; border-color: rgba(74,144,226,.3); }
/* ── Table ── */
.tbl-head { display: grid; grid-template-columns: 2fr 2fr 88px 90px; gap: 8px; padding: 7px 14px; border-bottom: 1px solid #252D3D; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: #5C667A; font-weight: 700; flex-shrink: 0; }
.tbl-row { display: grid; grid-template-columns: 2fr 2fr 88px 90px; gap: 8px; padding: 8px 14px; border-bottom: 1px solid #1C2230; align-items: center; }
.tbl-row:last-child { border-bottom: none; }
.tbl-agent { display: flex; align-items: center; gap: 8px; }
.tbl-task { font-size: 11px; color: #8B96A8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; }
.st-ok    { background: rgba(52,201,138,.12); color: #34C98A; }
.st-think { background: rgba(74,144,226,.12); color: #6BA5EA; }
.st-idle  { background: rgba(90,100,120,.12);  color: #5C667A; }
.act-btns { display: flex; gap: 4px; }
.act-btn { padding: 3px 7px; border-radius: 3px; font-size: 10px; font-weight: 500; background: #1C2230; border: 1px solid #252D3D; color: #8B96A8; cursor: default; font-family: inherit; }
/* ── Kanban ── */
.kanban-board { display: flex; gap: 8px; padding: 10px; flex: 1; overflow-x: auto; overflow-y: hidden; }
.kb-col { flex: 0 0 155px; display: flex; flex-direction: column; gap: 6px; }
.kb-hd { display: flex; align-items: center; gap: 5px; padding: 3px 6px; font-size: 11px; font-weight: 600; color: #8B96A8; }
.kb-cnt { background: #1C2230; border: 1px solid #252D3D; color: #5C667A; font-size: 10px; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ic { background: #1C2230; border: 1px solid #252D3D; border-radius: 5px; padding: 7px 9px; cursor: default; }
.ic:hover { border-color: #3A4660; }
.ic-id    { font-size: 9px; color: #5C667A; margin-bottom: 3px; font-family: monospace; }
.ic-title { font-size: 11px; color: #C9D1DE; font-weight: 500; line-height: 1.35; }
.ic-meta  { display: flex; align-items: center; gap: 4px; margin-top: 5px; }
.pd { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.pd-urgent { background: #E8524A; }
.pd-high   { background: #F5A623; }
.pd-med    { background: #4A90E2; }
.pd-low    { background: #3A4660; }
.av-sm { width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(135deg,#4A90E2,#2A6BB5); color: #fff; font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-left: auto; }
/* ── Meetings ── */
.meetings-list { width: 180px; border-right: 1px solid #252D3D; overflow-y: auto; flex-shrink: 0; }
.ml-item { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-bottom: 1px solid #1C2230; cursor: default; }
.ml-item:hover { background: #1C2230; }
.ml-item.active { background: rgba(74,144,226,.08); }
.chat-area { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.chat-hd { padding: 9px 14px; border-bottom: 1px solid #252D3D; display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.chat-msgs { flex: 1; padding: 10px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.msg-bubble { max-width: 68%; padding: 7px 11px; border-radius: 8px; font-size: 11px; line-height: 1.5; }
.msg-me    { background: #4A90E2; color: #fff; align-self: flex-end; border-radius: 8px 8px 2px 8px; }
.msg-agent { background: #1C2230; border: 1px solid #252D3D; color: #C9D1DE; align-self: flex-start; border-radius: 8px 8px 8px 2px; }
.msg-time { font-size: 9px; color: #5C667A; margin-top: 2px; }
.chat-input-row { border-top: 1px solid #252D3D; padding: 8px 10px; display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.chat-input-box { flex: 1; background: #1C2230; border: 1px solid #252D3D; border-radius: 5px; padding: 6px 10px; font-size: 11px; color: #5C667A; }
.chat-send-btn { width: 26px; height: 26px; border-radius: 5px; background: #4A90E2; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; cursor: default; }
/* ── Approvals split ── */
.approvals-list { width: 220px; border-right: 1px solid #252D3D; overflow-y: auto; flex-shrink: 0; }
.al-item { padding: 9px 12px; border-bottom: 1px solid #1C2230; cursor: default; }
.al-item:hover { background: #1C2230; }
.al-item.active { background: rgba(74,144,226,.07); border-left: 2px solid #4A90E2; }
.al-title { font-size: 11px; color: #C9D1DE; font-weight: 500; margin: 3px 0 2px; }
.al-meta  { font-size: 10px; color: #5C667A; }
.approvals-detail { flex: 1; padding: 14px 18px; overflow-y: auto; }
.ad-sec { margin-bottom: 12px; }
.ad-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: #5C667A; font-weight: 700; margin-bottom: 5px; }
.ad-box { font-size: 11px; color: #C9D1DE; line-height: 1.6; background: #1C2230; border: 1px solid #252D3D; border-radius: 5px; padding: 9px 11px; }
.ad-actions { display: flex; align-items: center; gap: 7px; padding-top: 12px; border-top: 1px solid #252D3D; }
.ad-btn { padding: 6px 14px; border-radius: 5px; font-size: 11px; font-weight: 600; border: none; cursor: default; font-family: inherit; }
.ad-ok  { background: #34C98A; color: #0a1a0f; }
.ad-rej { background: transparent; border: 1px solid #E8524A; color: #E8524A; }
.ad-dis { background: transparent; border: 1px solid #2F3950; color: #8B96A8; }
/* ── Taskbar ── */
.win-taskbar { height: 40px; background: rgba(10,12,18,.94); backdrop-filter: blur(20px); display: flex; align-items: center; padding: 0 10px; gap: 6px; border-top: 1px solid rgba(255,255,255,.05); margin-top: 1px; }
.tb-start { width: 30px; height: 30px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #C9D1DE; background: none; border: none; cursor: default; }
.tb-search { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); border-radius: 4px; padding: 4px 12px; font-size: 11px; color: #8B96A8; width: 130px; }
.tb-apps { display: flex; gap: 2px; margin: 0 auto; }
.tb-app { width: 34px; height: 34px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: default; position: relative; }
.tb-app::after { content: ''; position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); width: 14px; height: 2px; border-radius: 2px; background: #4A90E2; }
.tb-inactive::after { width: 4px; background: #3A4660; }
.tb-sys { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #8B96A8; margin-left: auto; line-height: 1.4; }
/* ── Showcase tabs scroll on mobile ── */
.showcase-tabs {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap; scrollbar-width: none;
  justify-content: flex-start; padding: 0 2px;
}
.showcase-tabs::-webkit-scrollbar { display: none; }
.sc-tab { flex-shrink: 0; }

/* ── Light mode adjustments for mockup ── */
[data-theme="light"] .win-desktop { background: linear-gradient(160deg, #1a2d4a 0%, #1e2755 45%, #2a1548 100%); }
[data-theme="light"] .electron-window { box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.12); }
  