/* ─────────────────────────────────────────────────────────────────────
   Plum Ads LLC / AdWatch360 — marketing site styles
   Self-contained, no framework, no external font dependencies.
   ───────────────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0c10;
  --surface: #111418;
  --surface-2: #181c23;
  --border: #1e2530;
  --text: #e5e9f0;
  --muted: #8893a4;
  --sub: #b3bcc9;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --secondary: #3b82f6;
  --green: #22c55e;
  --purple: #a855f7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

p { color: var(--sub); }

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

/* ─── Top accent bar ────────────────────────────────────── */
.accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple), var(--secondary), var(--green));
}

/* ─── Header / nav ──────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.brand-name .muted { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 6px; }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

nav ul a {
  color: var(--sub);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}

nav ul a:hover { color: var(--text); background: var(--surface-2); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--sub);
  border: 1px solid var(--border);
}

.btn-ghost:hover { color: var(--text); background: var(--surface-2); }

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(249, 115, 22, 0.15), transparent),
    radial-gradient(ellipse 800px 400px at 80% 100%, rgba(168, 85, 247, 0.08), transparent);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 880px;
  margin: 0 auto 22px;
  position: relative;
}

.hero h1 .accent { color: var(--accent); }

.hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--sub);
  line-height: 1.6;
  position: relative;
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  position: relative;
}

/* ─── Section ───────────────────────────────────────────── */
section { padding: 80px 0; }

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--sub);
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* ─── Feature grid ──────────────────────────────────────── */
.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0.05));
  border: 1px solid rgba(249, 115, 22, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p { font-size: 14.5px; line-height: 1.6; }

/* ─── Steps ─────────────────────────────────────────────── */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -12px;
  left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 12px 0 8px;
  color: var(--text);
}

.step p { font-size: 14px; line-height: 1.6; }

/* ─── Tech / API section ────────────────────────────────── */
.tech-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.tech-row h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
  color: var(--text);
}

.tech-row p { font-size: 15px; line-height: 1.7; margin-bottom: 18px; }

.api-list {
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 24px;
}

.api-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--sub);
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.api-list li code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  color: var(--accent);
  background: transparent;
}

.api-list .check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

/* ─── Two-column block ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col .visual {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.two-col .visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(249, 115, 22, 0.1), transparent);
}

/* ─── About / company section ───────────────────────────── */
.about-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.about-box .meta {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.about-box .meta div .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.about-box .meta div .value {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}

/* ─── CTA banner ────────────────────────────────────────── */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(168, 85, 247, 0.08)),
    var(--surface);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
  color: var(--text);
}

.cta-banner p {
  margin-bottom: 24px;
  font-size: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  margin-top: 40px;
  background: var(--surface);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner small {
  color: var(--muted);
  font-size: 13px;
}

.footer-inner ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer-inner ul a {
  color: var(--sub);
  font-size: 13px;
  font-weight: 500;
}

.footer-inner ul a:hover { color: var(--text); }

/* ─── Mobile ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 12px 16px; gap: 8px; flex-wrap: wrap; }
  nav ul { gap: 0; flex-wrap: wrap; }
  nav ul a { padding: 6px 10px; font-size: 13px; }
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 60px 16px 56px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .tech-row, .about-box, .cta-banner { padding: 28px; }
}

/* ─── Plain content pages (privacy, terms) ──────────────── */
.content-page {
  padding: 60px 0 80px;
}

.content-page article {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.content-page h1 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  color: var(--text);
}

.content-page .doc-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.content-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}

.content-page p, .content-page ul {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sub);
}

.content-page ul {
  padding-left: 22px;
}

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

@media (max-width: 768px) {
  .content-page article { padding: 28px 22px; }
}
