/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #e8e8e8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1a1a1a;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.logo-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: #a0a0a0;
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e8e8e8; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #2a2a2a;
}
.btn-ghost:hover { border-color: #4a4a4a; background: #141414; }
.arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
  z-index: 2;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  font-size: 12px;
  color: #a0a0a0;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 28px;
}
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #a8a8a8;
  max-width: 620px;
  margin: 0 auto 40px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.meta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6a6a6a;
}
.dot { width: 3px; height: 3px; background: #4a4a4a; border-radius: 50%; }

/* ---------- Screenshots Slider ---------- */
.screenshots {
  padding: 40px 0 100px;
  position: relative;
  z-index: 2;
}
.slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.slider-viewport {
  overflow: hidden;
  border: 1px solid #1e1e1e;
  border-radius: 14px;
  background: #0e0e0e;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.02);
}
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;   /* keeps slider height stable */
  object-fit: cover;
  object-position: top center;
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
}
.slider-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.slider-prev { left: -22px; }
.slider-next { right: -22px; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #2a2a2a;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.slider-dots button:hover { background: #4a4a4a; }
.slider-dots button.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ---------- Features ---------- */
.features {
  padding: 100px 0;
  border-top: 1px solid #141414;
  position: relative;
  z-index: 2;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.15;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  background: #0d0d0d;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover { border-color: #2a2a2a; transform: translateY(-2px); }
.feature-icon { font-size: 26px; color: #fff; margin-bottom: 18px; line-height: 1; }
.feature h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p { font-size: 14px; color: #8a8a8a; line-height: 1.55; }

/* ---------- Download ---------- */
.download {
  padding: 100px 0;
  border-top: 1px solid #141414;
  position: relative;
  z-index: 2;
}
.download-inner { text-align: center; }
.download .lead { margin-bottom: 50px; }
.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}
.dl-card {
  padding: 28px;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  background: #0d0d0d;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}
.dl-card:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}
.dl-os {
  font-size: 12px;
  color: #6a6a6a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.dl-card:hover .dl-os { color: #555; }
.dl-file {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  word-break: break-all;
}
.dl-card:hover .dl-file { color: #000; }
.dl-size { font-size: 13px; color: #7a7a7a; }
.dl-card:hover .dl-size { color: #555; }
.dl-arrow {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 22px;
  color: #4a4a4a;
  transition: transform 0.2s ease, color 0.2s ease;
}
.dl-card:hover .dl-arrow {
  color: #000;
  transform: translate(3px, -3px);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid #141414;
  padding: 40px 0;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer p { font-size: 13px; color: #6a6a6a; }
footer a { color: #a0a0a0; }
footer a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-cards { grid-template-columns: 1fr; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-btn { width: 38px; height: 38px; font-size: 20px; }
  .hero { padding: 70px 0 50px; }
}
@media (max-width: 480px) {
  .btn { padding: 12px 20px; font-size: 14px; }
  .slide img { aspect-ratio: 4 / 3; }
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  background: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}