/* NotifyHook site — palette mirrors the app (ui/theme/Color.kt). */
:root {
  --bg: #0B0D0C;
  --panel: #14181A;
  --surface: #1B2124;
  --surface2: #222A2D;
  --line: #2C3438;
  --text: #EEF2F0;
  --muted: #8A9691;
  --accent: #C8FF3D;
  --accent-dim: #9BD400;
  --accent-ink: #10160A;
  --green: #3DDC97;
  --red: #FF6B6B;
  --amber: #FFC94D;
  --blue: #6DB3FF;
  --accent-container: #16200D;
  --radius: 18px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient lime glow behind the hero. */
body::before {
  content: "";
  position: fixed;
  top: -30vh; left: 50%;
  width: 90vw; max-width: 900px; height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(200, 255, 61, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 12, 0.72);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; }
.brand .glyph {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 17px; font-weight: 900;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: var(--accent-ink); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 14px;
  padding: 11px 20px; border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(200, 255, 61, 0.22); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); box-shadow: none; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-container);
  border: 1px solid rgba(200, 255, 61, 0.25);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 850; }
h1 .hl { color: var(--accent); }
.sub { color: var(--muted); font-size: clamp(16px, 2vw, 19px); margin: 22px 0 30px; max-width: 30ch; }
@media (max-width: 880px) { .sub { margin-left: auto; margin-right: auto; } }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 880px) { .cta-row { justify-content: center; } }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 13px; }
@media (max-width: 880px) { .trust { justify-content: center; } }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .check { color: var(--accent); font-weight: 900; }

/* ---------- Phone mockup ---------- */
.phone {
  width: 300px; max-width: 78vw;
  border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #20262a, #0d100f);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.02);
  margin: 0 auto;
}
.phone.tilt { transform: rotate(-3deg); }
.screen {
  background: var(--bg); border-radius: 32px; overflow: hidden;
  height: 600px; display: flex; flex-direction: column;
  position: relative;
}
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #000; border-radius: 12px; z-index: 5; }
.s-head { padding: 30px 18px 14px; }
.s-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.s-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.s-body { padding: 4px 14px 14px; overflow: hidden; flex: 1; }

/* App-faithful cards inside mockups */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 13px 14px; margin-bottom: 10px;
}
.card.active { background: var(--accent-container); border-color: rgba(200,255,61,.35); }
.row { display: flex; align-items: center; gap: 11px; }
.appicon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; flex: none; }
.rule-name { font-weight: 700; font-size: 14px; }
.rule-meta { color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.switch { margin-left: auto; width: 40px; height: 23px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.switch.off { background: #39434A; }
.switch::after { content:""; position:absolute; top:3px; right:3px; width:17px; height:17px; border-radius:50%; background: var(--accent-ink); }
.switch.off::after { right:auto; left:3px; background:#9AA6A3; }
.tag { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; display: inline-block; }
.tag.ok { color: var(--green); background: rgba(61,220,151,.15); }
.tag.fail { color: var(--red); background: rgba(255,107,107,.15); }
.tag.queue { color: var(--amber); background: rgba(255,201,77,.15); }
.tag.skip { color: var(--muted); background: rgba(138,150,145,.18); }
.codeblk { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--muted); overflow: hidden; }
.codeblk .k { color: var(--blue); }
.codeblk .v { color: var(--accent); }
.field-label { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 12px 2px 6px; }
.input { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: 12.5px; color: var(--text); font-family: var(--mono); }
.input.accent { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .eyebrow { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin-top: 10px; line-height: 1.1; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: rgba(200,255,61,.3); transform: translateY(-3px); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--surface2); color: var(--accent); display: grid; place-items: center; font-size: 21px; margin-bottom: 16px; }
.feature h3 { font-size: 17px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Screenshot strip */
.shots { display: flex; gap: 28px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }

/* Privacy band */
.privacy-band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 8px; }
@media (max-width: 720px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-grid li { list-style: none; color: var(--muted); padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; font-size: 15px; }
.privacy-grid li b { color: var(--text); font-weight: 700; }
.privacy-grid .check { color: var(--accent); font-weight: 900; flex: none; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.plan.pro { border-color: rgba(200,255,61,.4); background: linear-gradient(180deg, var(--accent-container), var(--panel)); }
.plan .name { font-weight: 800; font-size: 18px; }
.plan .price { font-size: 38px; font-weight: 850; letter-spacing: -0.03em; margin: 12px 0 2px; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan ul { margin-top: 18px; }
.plan li { list-style: none; color: var(--muted); padding: 7px 0; font-size: 14px; display: flex; gap: 10px; }
.plan li .check { color: var(--accent); font-weight: 900; }

/* CTA */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.03em; }
.final-cta p { color: var(--muted); margin: 16px auto 30px; max-width: 46ch; }

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

/* ---------- Article (privacy page) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 64px 24px 90px; position: relative; z-index: 1; }
.article h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.03em; }
.article .updated { color: var(--muted); font-size: 14px; margin-top: 8px; }
.article h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.article p, .article li { color: #c9d2ce; font-size: 16px; }
.article p { margin: 12px 0; }
.article ul { margin: 12px 0 12px 4px; }
.article li { list-style: none; padding: 8px 0 8px 24px; position: relative; }
.article li::before { content: "›"; position: absolute; left: 4px; color: var(--accent); font-weight: 900; }
.article strong { color: var(--text); }
.article code { font-family: var(--mono); background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: 13px; color: var(--accent); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article th, .article td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { color: var(--text); font-weight: 700; }
.article td { color: var(--muted); }
.callout { background: var(--accent-container); border: 1px solid rgba(200,255,61,.25); border-radius: 14px; padding: 16px 18px; margin: 22px 0; color: var(--text); }
.back-link { color: var(--muted); font-weight: 600; font-size: 14px; display: inline-flex; gap: 7px; margin-bottom: 30px; }
.back-link:hover { color: var(--accent); }
