/* Cliplex landing — dark-blue gradient brand matching the app. */
:root {
  --bg: #0a1322;
  --bg-2: #0c1a30;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eaf1fb;
  --muted: #9fb0c8;
  --faint: #6f8099;
  --accent: #4d9bff;
  --accent-ink: #06203f;
  --teal: #5fd0a8;
  --violet: #c08cff;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(77, 155, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(95, 208, 168, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

code, .mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86em;
}
code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(10, 19, 34, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 19px; color: var(--text); }
.brand img { width: 26px; height: 26px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 12px;
  border: 1px solid var(--border-strong);
  color: var(--text); background: var(--surface-2);
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); border-color: var(--accent); }
.btn-primary {
  background: linear-gradient(180deg, #5ba6ff, #2f7be6);
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 24px rgba(47, 123, 230, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(47, 123, 230, 0.5); }

/* Hero */
.hero { padding: 84px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 36ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: rgba(77, 155, 255, 0.1); border: 1px solid rgba(77, 155, 255, 0.25);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--faint); }
.hero-shot { display: flex; justify-content: center; }
.hero-shot img {
  width: 330px; max-width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Sections */
section.block { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 14px; font-size: 16px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Screenshots */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shots figure { margin: 0; }
.shots img { width: 100%; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); }
.shots figcaption { color: var(--faint); font-size: 13px; text-align: center; margin-top: 10px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.compare th, table.compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border); }
table.compare th:first-child, table.compare td:first-child { text-align: left; color: var(--muted); }
table.compare thead th { font-family: "Bricolage Grotesque", sans-serif; color: var(--text); }
table.compare thead th.us { color: var(--accent); }
table.compare td.us { background: rgba(77, 155, 255, 0.07); color: var(--text); font-weight: 600; }
table.compare tbody tr:last-child td { border-bottom: none; }
.yes { color: var(--teal); } .no { color: var(--faint); } .partial { color: var(--violet); }

/* Install */
.install { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.install h3 { font-size: 18px; }
pre {
  background: #060d18; border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; overflow-x: auto;
  font-family: "JetBrains Mono", monospace; font-size: 13px; color: #d6e3f5;
}
.callout { border-left: 3px solid var(--accent); background: rgba(77, 155, 255, 0.06); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--muted); font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 32px 0; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Changelog page */
.changelog { padding: 56px 0; }
.release { border-bottom: 1px solid var(--border); padding: 26px 0; }
.release:last-child { border-bottom: none; }
.release header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.release h2 { font-size: 26px; margin: 0; }
.release time { color: var(--faint); font-size: 14px; font-family: "JetBrains Mono", monospace; }
.cl-section { margin-top: 14px; }
.cl-section h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 8px; }
.cl-section.sec-features h3 { color: var(--accent); }
.cl-section.sec-improvements h3 { color: var(--teal); }
.cl-section.sec-bug-fixes h3 { color: #ffb454; }
.cl-section.sec-performance h3 { color: var(--violet); }
.cl-section ul { margin: 0; padding-left: 20px; }
.cl-section li { margin: 4px 0; color: var(--text); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-shot { order: -1; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
