/* QuickTeam tanıtım sitesi. Renkler uygulamanın EarthQuick temasından
   (ui/assets/themes/earthquick.json); ikisi birlikte değişir. Yazı tipi de
   uygulamanınkidir (Ubuntu, fonts/UBUNTU-FONT-LICENCE.txt). */

@font-face {
  font-family: "Ubuntu";
  src: url("/fonts/Ubuntu.ttf") format("truetype");
  font-display: swap;
}

:root {
  --coal: #14100e;
  --side: #1b1512;
  --card: #231b17;
  --border: #3e3028;
  --fill: #342923;
  --sand: #f2e8dc;
  --dim: #a89686;
  --amber: #f7a63b;
  --ember: #ec6c26;
  --moss: #8cba60;
  --on-ember: #1e120b;
  --radius: 14px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--coal);
  color: var(--sand);
  font: 16px/1.6 "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* Üst çubuk */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 16, 14, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.brand b { color: var(--ember); font-weight: 400; }
.brand.small { font-size: 15px; gap: 8px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--dim); font-size: 15px; }
.links a:hover { color: var(--sand); }

/* Düğmeler */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 500; text-decoration: none; border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ember); color: var(--on-ember); }
.button.primary:hover { background: #f27d3a; }
.button.ghost { border-color: var(--border); background: var(--side); }
.button.ghost:hover { border-color: var(--amber); }
.button.small { padding: 8px 14px; font-size: 14px; }

/* Giriş */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--amber); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; margin: 0 0 20px; letter-spacing: -0.02em; font-weight: 500; }
h1 em { font-style: normal; color: var(--ember); }
.lead { font-size: 19px; color: var(--dim); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--dim); font-size: 14px; margin-top: 18px; }

.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(247, 166, 59, 0.05);
}

/* Bölümler */
section { padding: 80px 0; }
.band { background: var(--side); border-block: 1px solid var(--border); }
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; font-weight: 500; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 0 0 8px; font-weight: 500; }
.section-lead { color: var(--dim); font-size: 18px; max-width: 46em; margin: 0 0 36px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillars article, .features article {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.pillars p, .features p { color: var(--dim); margin: 0; }
.glyph { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--fill); color: var(--amber); font-size: 20px; margin-bottom: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features article { border-top: 2px solid var(--ember); }

.showcase-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 28px; position: relative; color: var(--sand); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--moss); }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.platforms > span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); }

/* İndirmeler */
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 20px; }
.download {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border); text-decoration: none;
}
.download:hover { border-color: var(--amber); }
.download.mine { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember) inset; }
.download strong { font-weight: 500; }
.download span { color: var(--dim); font-size: 14px; }
.download.missing { opacity: 0.6; pointer-events: none; }
.browser-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px; border-radius: var(--radius); border: 1px dashed var(--border);
}
.browser-card p { margin: 0; color: var(--dim); }

footer { padding: 28px 0; border-top: 1px solid var(--border); color: var(--dim); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; }

/* Dar ekran */
@media (max-width: 900px) {
  .hero-grid, .showcase-grid { grid-template-columns: 1fr; }
  .pillars, .features { grid-template-columns: 1fr; }
  .links { display: none; }
  .nav-row { justify-content: space-between; }
  section { padding: 56px 0; }
  .hero { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Simgeler: Phosphor SVG'leri (img/icons) maskeyle çizilir, yazının rengini alır. */
.ic {
  display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -0.2em;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.glyph .ic { width: 22px; height: 22px; }
.platforms > span { display: inline-flex; align-items: center; gap: 8px; }
.platforms .ic { color: var(--amber); }

/* Nasıl çalışır: görsel ve yazı dönüşümlü */
.tour { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.tour:last-child { margin-bottom: 0; }
.tour.flip > figure { order: 2; }
.tour p { color: var(--dim); margin: 0; font-size: 17px; }
.tour p b { color: var(--sand); font-weight: 500; }
.tour h3 { font-size: 24px; margin-bottom: 10px; }
.shot.phone { max-width: 320px; justify-self: center; border-radius: 24px; }

/* İndirme kartı: logo solda */
.download { flex-direction: row; align-items: center; gap: 14px; }
.download .ic { width: 30px; height: 30px; color: var(--amber); }
.download.mine .ic { color: var(--ember); }
.download .text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.download .text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .tour.flip > figure { order: 0; }
}
