/* KeysCleaner — shared styles for the marketing, support and privacy pages.
   Mirrors the app: always dark, an aurora of blue, violet and cyan over deep navy,
   glass cards, rounded type and the mint → cyan → blue accent of "Lock & Clean". */

:root {
  --ink: #080a14;
  --night: #0f1424;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.09);
  --mint: #6bf5d2;
  --cyan: #5cdbff;
  --blue: #3d85ff;
  --violet: #8c61ff;
  --amber: #ffbf4d;
  --accent: linear-gradient(100deg, var(--mint), var(--cyan) 50%, var(--blue));
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 700px at 8% -8%, rgba(61, 133, 255, 0.30), transparent 70%),
    radial-gradient(1000px 700px at 100% 0%, rgba(140, 97, 255, 0.30), transparent 70%),
    radial-gradient(1200px 800px at 0% 100%, rgba(45, 212, 232, 0.16), transparent 70%),
    linear-gradient(180deg, var(--night), var(--ink) 60%);
  background-attachment: fixed;
}

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

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

code, kbd {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.12em 0.45em;
  border-radius: 6px;
  white-space: nowrap;
}
code { background: var(--surface-2); }
kbd {
  font-family: var(--font-display);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gradient-text {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 10, 20, 0.66);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--hairline);
}

.nav .wrap { display: flex; align-items: center; gap: 20px; height: 56px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 600 16px/1 var(--font-display);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }

.nav-links { margin-left: auto; display: flex; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }

/* ---------- Hero ---------- */

.hero { position: relative; text-align: center; }
.hero .wrap { padding-top: 76px; padding-bottom: 40px; }

.hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 18px 34px rgba(61, 133, 255, 0.45));
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.eyebrow-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.hero h1 {
  margin: 0;
  font: 700 clamp(38px, 6.4vw, 64px)/1.06 var(--font-display);
  letter-spacing: -0.02em;
}

.hero .lead {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
}

.hero-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-actions .note { font-size: 13px; color: var(--faint); }

.badge { display: inline-block; }
.badge img { height: 54px; width: auto; }

.hero-shot {
  margin: 56px auto 0;
  width: 100%;
  max-width: 1000px;
}

.hero-compact .wrap { padding-top: 60px; padding-bottom: 8px; }
.hero-compact h1 { font-size: clamp(32px, 5vw, 46px); }
.hero-compact .hero-icon { width: 88px; height: 88px; margin-bottom: 18px; }

/* Screenshots. Fullscreen captures get a display frame; window captures keep their own corners. */

.screen {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow), 0 0 0 6px rgba(255, 255, 255, 0.03);
}
.window { filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.55)); }

/* ---------- Sections ---------- */

main { padding: 56px 0 24px; }

section { margin: 0 0 64px; }

.section-title {
  margin: 0 0 8px;
  font: 700 clamp(26px, 3.4vw, 34px)/1.15 var(--font-display);
  letter-spacing: -0.015em;
}

.section-lead { margin: 0 0 28px; color: var(--muted); font-size: 18px; }

h2 { font: 700 26px/1.2 var(--font-display); letter-spacing: -0.01em; margin: 48px 0 14px; }
h3 { font: 600 19px/1.3 var(--font-display); margin: 28px 0 8px; }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.muted { color: var(--muted); }

/* Feature rows on the marketing page */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 104px;
}
.feature:nth-of-type(even) { grid-template-columns: 1.4fr 1fr; }
.feature:nth-of-type(even) .feature-text { order: 2; }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 34px); }
.feature p { margin: 0 0 14px; color: var(--muted); }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.checks li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23080a14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/17px no-repeat;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.tile h3 { margin: 14px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* A tiny keycap, like the ones on the app's keyboard map */
.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(160deg, var(--c1, var(--mint)), var(--c2, var(--cyan)));
  box-shadow: 0 4px 0 rgba(30, 50, 160, 0.55), 0 10px 22px rgba(92, 219, 255, 0.25);
}
.tile-icon svg { width: 22px; height: 22px; }

.cta {
  text-align: center;
  border-radius: 28px;
  padding: 60px 24px;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(61, 133, 255, 0.35), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(140, 97, 255, 0.32), transparent 70%),
    radial-gradient(500px 260px at 50% 120%, rgba(107, 245, 210, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.03);
}
.cta h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 38px); }
.cta p { margin: 0 0 26px; color: var(--muted); }

/* ---------- Support ---------- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 70px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 700 16px/1 var(--font-display);
  color: var(--ink);
  background: linear-gradient(160deg, var(--mint), var(--cyan));
  box-shadow: 0 3px 0 rgba(30, 50, 160, 0.6);
}
.steps li > strong { display: block; margin-bottom: 2px; }
.steps li > span { display: block; color: var(--muted); font-size: 15.5px; }
.steps li > span strong { color: var(--text); font-weight: 600; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.2s ease;
}
.faq details[open] { background: var(--surface-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }
.faq .answer strong { color: var(--text); }

.table-card { padding: 6px 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
td { text-align: left; padding: 13px 24px; vertical-align: middle; }
tr + tr td { border-top: 1px solid var(--hairline); }
td:last-child { text-align: right; white-space: nowrap; }

.contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact .tile-icon { width: 52px; height: 52px; border-radius: 14px; }
.contact p { margin: 0; color: var(--muted); }
.contact strong { color: var(--text); }

.button {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 15px/1 var(--font-display);
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(92, 219, 255, 0.35);
}
.button:hover { text-decoration: none; filter: brightness(1.06); }

/* ---------- Privacy ---------- */

.legal .card { padding: 36px 40px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 22px; }

.updated {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--hairline);
}

.summary-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 28px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mint);
  background: rgba(107, 245, 210, 0.1);
  border: 1px solid rgba(107, 245, 210, 0.22);
}
.pill::before { content: "✓"; font-weight: 800; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0 40px;
  color: var(--faint);
  font-size: 14px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 26px; margin-bottom: 72px; }
  .feature:nth-of-type(even) .feature-text { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .brand span { display: none; }
  .hero .wrap { padding-top: 48px; }
  .grid-3 { grid-template-columns: 1fr; }
  .card, .legal .card { padding: 22px 20px; }
  td { padding: 11px 16px; }
  .button { margin-left: 0; }
  footer nav { margin-left: 0; }
}
