:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-card: #ffffff;
  --text: #0e1015;
  --text-soft: #52565e;
  --text-mute: #8a8f99;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --accent: #4B5CF6;
  --accent-hi: #6a79ff;
  --accent-soft: rgba(75, 92, 246, 0.10);
  --purple: #bf5af2;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(20, 20, 40, 0.08);
  --shadow-lg: 0 24px 64px rgba(20, 20, 40, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --bg-soft: #101319;
    --bg-card: #14171e;
    --text: #f2f4f8;
    --text-soft: #a0a5af;
    --text-mute: #6e737e;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --accent-soft: rgba(107, 121, 255, 0.16);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
  .nav { background: rgba(11, 13, 18, 0.72); }
}

.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }

.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: white; font-size: 14px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(75, 92, 246, 0.35);
}
.brand-mark.small { width: 22px; height: 22px; font-size: 11px; border-radius: 6px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13.5px; color: var(--text-soft); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text) !important;
  font-weight: 600 !important;
}

.hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(75, 92, 246, 0.18), transparent 60%),
    radial-gradient(700px 500px at 85% 30%, rgba(191, 90, 242, 0.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  background: linear-gradient(180deg, var(--text) 30%, var(--text-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-meta { font-size: 13px; color: var(--text-mute); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: white;
  box-shadow: 0 8px 24px rgba(75, 92, 246, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(75, 92, 246, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-small { padding: 10px 18px; font-size: 13.5px; }
.btn-big { padding: 16px 32px; font-size: 16px; border-radius: 14px; }

.logos {
  padding: 40px 24px 60px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.logos-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 22px;
}
.logos-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 36px; font-size: 17px; font-weight: 700;
  color: var(--text-soft); letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-soft);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 56px;
}

.features { padding: 90px 24px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

.screenshots {
  padding: 90px 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.shot {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s;
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.shot-large, .shot-wide { grid-column: span 6; }

.shot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-soft);
}
.shot figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot { grid-column: span 1; }
  .shot-large, .shot-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .shot, .shot-large, .shot-wide { grid-column: span 1; }
}

.install { padding: 90px 24px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.step {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.step-num {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: white; font-weight: 800; font-size: 15px;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(75, 92, 246, 0.3);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }
.step pre {
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  overflow-x: auto;
  margin-top: 8px;
}

.cta-final {
  text-align: center;
  padding: 56px 28px;
  background: linear-gradient(135deg, rgba(75, 92, 246, 0.08), rgba(191, 90, 242, 0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.cta-final h3 { font-size: 24px; font-weight: 800; margin-bottom: 22px; letter-spacing: -0.02em; }
.cta-meta { margin-top: 14px; font-size: 13px; color: var(--text-mute); }

.footer {
  padding: 44px 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; color: var(--text-soft); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-mute);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

@media (max-width: 620px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 70px 20px 60px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
