/* ===========================================================================
   Ad Cleaner — marketing site
   Deep slate base, cyan accent. Matches the in-app palette so the website and
   the app feel like the same product. Pure CSS, no JS, no frameworks.
   =========================================================================== */

:root {
  --bg: #0A1124;
  --bg-elev: #0F1B33;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #E2E8F0;
  --text-muted: rgba(226, 232, 240, 0.65);
  --text-dim: rgba(226, 232, 240, 0.45);
  --accent: #06B6D4;
  --accent-soft: rgba(6, 182, 212, 0.18);
  --safe: #10B981;
  --warn: #EA580C;
  --danger: #DC2626;
  --max-width: 1080px;
  --radius: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover, a:focus {
  text-decoration: underline;
}

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

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

/* ----- Navbar ----- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 17, 36, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--bg-elev);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

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

.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 30% auto auto;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle at center,
    var(--accent-soft) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--text);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.cta-primary {
  background: var(--accent);
  color: #052836;
}

.cta-primary:hover {
  background: #22D3EE;
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-ghost {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}

.cta-ghost:hover {
  border-color: var(--text-muted);
  text-decoration: none;
}

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

section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Feature grid ----- */

.features {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
}

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

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.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: 22px;
  height: 22px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ----- How it works ----- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

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

.privacy-band {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.04) 0%, transparent 100%);
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 14.5px;
}

.privacy-list svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--safe);
  margin-top: 1px;
}

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

.footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: var(--text-muted);
  margin-right: 18px;
}

/* ===========================================================================
   Long-form / privacy-policy article styling
   =========================================================================== */

.article {
  max-width: 760px;
  padding: 80px 24px 64px;
  margin: 0 auto;
}

.article h1 {
  text-align: left;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 6px;
}

.article .meta {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 36px;
}

.article h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 44px 0 12px;
}

.article p, .article li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.article ul {
  padding-left: 22px;
}

.article ul li {
  margin-bottom: 6px;
}

.article a {
  color: var(--accent);
}

.article code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.92em;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 72px 0 56px;
  }
  section {
    padding: 56px 0;
  }
  .step {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 18px;
  }
  .step::before {
    font-size: 18px;
  }
}
