/* ClaudeDeck — strona. Motyw „Grafit" (spójny z aplikacją). */
:root {
  --ground: #0c0e13;
  --panel:  rgba(22, 26, 34, 0.6);
  --glass:  rgba(255, 255, 255, 0.04);
  --line:   rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text:   #e6e9ef;
  --muted:  #8b93a3;
  --accent: #6ea8fe;
  --accent-2: #9d8bf5;
  --busy: #5b9cf0; --wait: #d9b56a; --done: #5fcf8a;
  --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font-family: 'Inter', system-ui, sans-serif; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(800px 520px at 78% -8%, rgba(110,168,254,0.16), transparent 60%),
    radial-gradient(680px 520px at 12% 8%, rgba(157,139,245,0.10), transparent 58%);
}
main, .topbar, footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -0.02em; margin: 0; }

/* status dots */
.sd { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.sd.busy { background: var(--busy); box-shadow: 0 0 9px color-mix(in srgb, var(--busy) 60%, transparent); }
.sd.wait { background: var(--wait); box-shadow: 0 0 9px color-mix(in srgb, var(--wait) 60%, transparent); animation: pulse 1.3s ease-in-out infinite; }
.sd.done { background: var(--done); box-shadow: 0 0 9px color-mix(in srgb, var(--done) 60%, transparent); }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.55); } }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 11px color-mix(in srgb, var(--accent) 65%, transparent); flex: none; }
.brand-logo { width: 28px; height: 28px; border-radius: 7px; flex: none; display: block; }

/* topbar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px); position: sticky; top: 0;
  backdrop-filter: blur(12px); background: rgba(12,14,19,0.55); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: .2px; }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.topnav a { color: var(--muted); transition: color .15s; }
.topnav a:hover { color: var(--text); }
.mini-btn { color: var(--text) !important; border: 1px solid var(--line-2); padding: 7px 16px; border-radius: 10px; transition: border-color .15s, background .15s; }
.mini-btn:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  max-width: 1180px; margin: 0 auto; padding: clamp(48px, 9vw, 110px) clamp(20px, 5vw, 64px) 60px;
}
.hero-copy { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; font-weight: 700; }
.lead { color: var(--muted); font-size: clamp(15px, 1.4vw, 17.5px); margin: 22px 0 30px; max-width: 30em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-note { color: var(--muted); font-size: 13px; margin-top: 18px; font-family: 'JetBrains Mono', monospace; letter-spacing: .02em; }

.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; transition: transform .12s, box-shadow .2s, background .2s, border-color .2s; }
.btn.primary { color: #07101f; background: linear-gradient(180deg, #8fbcff, var(--accent)); box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 38px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn.ghost { color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); background: var(--glass); }

/* hero mock — wierna makieta aplikacji */
.mock {
  display: flex; height: 360px; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--panel); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both .08s;
}
.mock-side { width: 196px; flex: none; padding: 14px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; background: rgba(255,255,255,0.015); }
.mock-brand { display: flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px; padding: 2px 6px 12px; }
.mock-tile { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; border: 1px solid transparent; }
.mock-tile.active { background: rgba(255,255,255,0.055); border-color: var(--line); }
.mock-tile.active::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 2px; border-radius: 2px; background: var(--accent); }
.mt-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mt-meta b { font-size: 12.5px; font-weight: 600; }
.mt-meta i { font-size: 10.5px; color: var(--muted); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-new { margin-top: auto; text-align: center; font-size: 12px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 9px; padding: 9px; }
.mock-main { flex: 1; padding: 16px; min-width: 0; }
.mock-term { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 1.85; display: flex; flex-direction: column; color: #cfd6e2; }
.mock-term .ln { white-space: nowrap; overflow: hidden; }
.mock-term .dim { color: var(--muted); }
.mock-term em { color: var(--accent); font-style: normal; }
.mock-term .ok { color: var(--done); }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: -3px; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1180px; margin: 0 auto; padding: 30px clamp(20px, 5vw, 64px) 40px; }
.feat { border: 1px solid var(--line); background: var(--glass); border-radius: var(--r); padding: 26px 24px; }
.feat h3 { font-size: 18px; margin: 16px 0 8px; }
.feat p { color: var(--muted); font-size: 14.5px; margin: 0; }
.feat-dots { display: flex; gap: 7px; }
.feat-ic { font-size: 20px; line-height: 1; }

/* download */
.download { max-width: 720px; margin: 0 auto; padding: 50px clamp(20px, 5vw, 64px) 30px; text-align: center; }
.download h2 { font-size: clamp(26px, 3.4vw, 36px); }
.dl-sub { color: var(--muted); margin: 12px 0 30px; font-size: 15px; }
.dl-card { border: 1px solid var(--line-2); background: var(--panel); backdrop-filter: blur(14px); border-radius: var(--r); padding: 10px; box-shadow: 0 24px 64px rgba(0,0,0,0.45); }
.tabs { display: flex; gap: 6px; padding: 6px; background: rgba(0,0,0,0.22); border-radius: 12px; }
.tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.tab svg { width: 19px; height: 19px; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); background: var(--glass); border-color: var(--line); }
.tab[aria-selected="true"] svg { color: var(--accent); }
.panels { padding: 30px 18px 22px; }
.panel { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.panel[hidden] { display: none; }
.btn.big { font-size: 16px; padding: 15px 30px; }
.pill { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 500; background: rgba(7,16,31,0.3); color: #0a1322; border-radius: 20px; padding: 2px 8px; letter-spacing: .03em; }
.panel-note { color: var(--muted); font-size: 13px; margin: 0; }
.fmt { font-family: 'JetBrains Mono', monospace; color: #aeb6c6; background: var(--glass); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 12px; }
.fmt-link { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 12.5px; border-bottom: 1px solid transparent; }
.fmt-link:hover { border-bottom-color: var(--accent); }

/* footer */
footer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px 20px 18px; color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); margin-top: 40px; }
footer a { color: var(--muted); transition: color .15s; }
footer a:hover { color: var(--text); }
.legal-note { max-width: 620px; margin: 0 auto; padding: 0 24px 52px; text-align: center; font-size: 11.5px; line-height: 1.65; color: var(--muted); opacity: .7; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* responsywność */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .mock { order: -1; height: 320px; }
  .features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; transition: none !important; }
}
