/* QuickWork tanıtım sitesi. Renkler uygulamanın varsayılan (earthquick) temasından. */
@font-face {
  font-family: "Ubuntu";
  src: url("/fonts/Ubuntu.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #14100e;
  --bg2: #1c1714;
  --panel: #241d19;
  --line: #3a302a;
  --text: #f1e9e3;
  --muted: #b3a59b;
  --ember: #f26b1d;
  --ember2: #ff8a3d;
  --green: #4ade80;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Ubuntu", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.3rem; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--ember); font-weight: 700; }
.links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.links a { color: var(--muted); }
.links a:hover { color: var(--text); text-decoration: none; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--text); font-size: .9rem; }

.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 70% -10%, #3a1d0c 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.kicker { color: var(--ember2); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font: inherit; font-size: 1rem; cursor: pointer;
}
.btn:hover { text-decoration: none; border-color: var(--ember); }
.btn.primary { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn.primary:hover { background: var(--ember2); }
.btn.ghost { background: transparent; }
.btn .ic { width: 20px; height: 20px; }

.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg2); box-shadow: 0 30px 80px -30px #000; }
.shot figcaption { padding: 12px 16px; color: var(--muted); font-size: .95rem; }
.shot figcaption strong { color: var(--text); margin-right: 6px; }

.section { padding: 80px 0; }
.section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sub { color: var(--muted); max-width: 46em; margin-bottom: 32px; }
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.card .ic { width: 30px; height: 30px; color: var(--ember); margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.checks .ic { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }

.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.downloads > p { grid-column: 1 / -1; }
.download { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.download:hover { text-decoration: none; border-color: var(--ember); }
.download.mine { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember) inset; }
.download.missing { opacity: .6; }
.download .ic { width: 30px; height: 30px; color: var(--ember2); flex: none; }
.download .text { display: grid; min-width: 0; }
.download .text span { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.consent {
  position: fixed; inset: auto 16px 16px auto; z-index: 20;
  max-width: 420px; padding: 18px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 20px 60px -20px #000;
}
.consent p { font-size: .92rem; color: var(--muted); }
.consent .actions { margin-top: 8px; }
.consent[hidden] { display: none; }

.notfound { min-height: 80vh; display: grid; place-content: center; text-align: center; gap: 8px; justify-items: center; }

/* Simgeler: Phosphor SVG'leri (img/icons) maskeyle çizilir, yazının rengini alır. */
.ic {
  display: inline-block; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.i-check { --i: url("/img/icons/check.svg"); }
.i-download { --i: url("/img/icons/download.svg"); }
.i-fence { --i: url("/img/icons/fence.svg"); }
.i-git { --i: url("/img/icons/git.svg"); }
.i-heart { --i: url("/img/icons/heart.svg"); }
.i-kanban { --i: url("/img/icons/kanban.svg"); }
.i-key { --i: url("/img/icons/key.svg"); }
.i-lightning { --i: url("/img/icons/lightning.svg"); }
.i-linux { --i: url("/img/icons/linux.svg"); }
.i-lock { --i: url("/img/icons/lock.svg"); }
.i-play { --i: url("/img/icons/play.svg"); }
.i-rocket { --i: url("/img/icons/rocket.svg"); }
.i-shield { --i: url("/img/icons/shield.svg"); }
.i-sparkle { --i: url("/img/icons/sparkle.svg"); }
.i-stack { --i: url("/img/icons/stack.svg"); }
.i-ticket { --i: url("/img/icons/ticket.svg"); }
.i-users { --i: url("/img/icons/users.svg"); }
.i-wallet { --i: url("/img/icons/wallet.svg"); }
.i-windows { --i: url("/img/icons/windows.svg"); }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 600px) {
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .section { padding: 56px 0; }
  .consent { inset: auto 16px 16px 16px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
