/* =========================================================
   DogRadar – Marketing Website
   Design language derived from the DogRadar poster ads:
   bold poster type, flat orange/green blocks, dog silhouettes.
   ========================================================= */

:root {
  --ink:        #17181a;   /* near-black – text + dark blocks */
  --ink-soft:   #3a3d42;
  --muted:      #6b7078;
  --line:       #e7e4dd;
  --paper:      #ffffff;
  --paper-warm: #f7f4ee;   /* warm off-white */

  --brand:      #1ca06e;   /* DogRadar green (app primary) */
  --brand-dark: #14855b;
  --green:      #5cb631;   /* vivid campaign green */
  --orange:     #ee6a1b;   /* DogRadar orange (dog / wordmark) */

  /* traffic light */
  --amp-g: #34c759;
  --amp-y: #f5b301;
  --amp-r: #ec3b2f;

  --display: "Anton", "Inter", -apple-system, sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Poster headings */
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: .005em;
  margin: 0 0 .35em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-family: var(--sans); font-weight: 800; color: var(--ink); font-size: 1.15rem; margin: 0 0 .4em; letter-spacing: -.01em; }
h4 { font-family: var(--sans); font-weight: 800; color: var(--ink); margin: 0 0 .6em; }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 58ch; }

/* Small plain label (replaces the AI-ish pill eyebrow) */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 800; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; }
.kicker.green { color: var(--brand-dark); }
.kicker.green::before { background: var(--brand); }

/* Dog silhouette utility (CSS mask – recolour via `color`) */
.dog {
  -webkit-mask: url(assets/dog-silhouette.png) center/contain no-repeat;
  mask: url(assets/dog-silhouette.png) center/contain no-repeat;
  background-color: currentColor;
  aspect-ratio: 437 / 380;
}

/* ---------- Buttons (flat, bold) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 800; font-size: 1rem;
  padding: 14px 26px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }

/* ---------- Announcement top bar ---------- */
.topbar { background: var(--ink); color: #fff; }
.topbar a.topbar-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 16px; color: #fff; font-size: .9rem; font-weight: 600; text-align: center;
}
.topbar a.topbar-inner:hover { text-decoration: none; background: #202227; }
.dog-badge { width: 30px; height: 30px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; flex: none; }
.dog-badge .dog { width: 20px; height: 17px; color: #fff; }
.topbar .pct { color: var(--green); font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em; }
.topbar .arrow { color: var(--green); font-weight: 800; }
@media (max-width: 560px) { .topbar .hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .01em; color: var(--ink); font-size: 1.5rem; }
.brand:hover { text-decoration: none; }
.brand .logo-mark { width: 38px; height: 38px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink); font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--orange); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { font-size: .82rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.lang-switch a { color: var(--muted); }
.lang-switch a.active { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.3rem; padding: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper-warm); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::after { /* faint oversized dog watermark */
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 520px; height: 452px;
  background: var(--ink); opacity: .035;
  -webkit-mask: url(assets/dog-silhouette.png) center/contain no-repeat;
  mask: url(assets/dog-silhouette.png) center/contain no-repeat; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; padding: 76px 0 84px; }
.hero h1 .o, .hero h1 .g { display: block; }
.hero h1 .o { color: var(--orange); margin-bottom: .5em; }
.hero h1 .g { color: var(--brand); }

/* Round 3% donation badge (sticker) */
.badge3 { position: absolute; top: 16px; right: 22px; z-index: 6;
  width: 148px; height: 148px; color: #fff;
  background: url(assets/badge-burst.svg) center/contain no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 22px; transform: rotate(-9deg);
  filter: drop-shadow(0 10px 15px rgba(0,0,0,.26)); transition: transform .15s ease; }
.badge3:hover { text-decoration: none; transform: rotate(-9deg) scale(1.06); }
.badge3 b { font-family: var(--display); font-size: 2.5rem; line-height: .82; letter-spacing: .01em; }
.badge3 .sub { font-family: var(--sans); font-size: .72rem; font-weight: 800; line-height: 1.12;
  margin-top: 5px; text-transform: uppercase; letter-spacing: .03em; }
.hero .lead { font-size: 1.24rem; margin-top: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); font-weight: 600; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 300px; max-width: 82%; aspect-ratio: 300 / 620; background: var(--ink);
  border-radius: 40px; padding: 12px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.4); position: relative; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 24px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; }
.phone-logo { display: block; width: 120px; margin: 30px auto 6px; }
.radar { position: relative; margin: 12px auto 16px; width: 190px; height: 190px; border-radius: 50%; }
.radar .ring { position: absolute; inset: 0; border: 1.5px solid #d8efe4; border-radius: 50%; }
.radar .ring.r2 { inset: 26px; } .radar .ring.r3 { inset: 52px; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(28,160,110,.30), transparent 30%); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar .dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.85); }
.radar .dot.g { background: var(--amp-g); top: 30%; left: 62%; }
.radar .dot.y { background: var(--amp-y); top: 58%; left: 30%; }
.radar .dot.r { background: var(--amp-r); top: 68%; left: 66%; }
.radar .me { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(28,160,110,.22); }
.phone-count { text-align: center; font-family: var(--display); text-transform: uppercase; color: var(--ink); font-size: 1.7rem; }
.phone-count small { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: none; letter-spacing: .02em; }
.phone-caption { text-align: center; color: var(--muted); font-size: .8rem; padding: 8px 20px 0; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.bg-warm { background: var(--paper-warm); }

/* ---------- Steps (numbered, no icons) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 3px solid var(--ink); padding-top: 18px; }
.step .num { font-family: var(--display); font-size: 2.4rem; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Use-case panels (the campaign creatives) ---------- */
.usecases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { position: relative; border-radius: 22px; padding: 40px; overflow: hidden; color: #fff; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end; }
.panel.orange { background: var(--orange); }
.panel.green  { background: var(--green); }
.panel .dog { position: absolute; top: 30px; right: 26px; width: 150px; color: rgba(255,255,255,.92); }
.panel .dog.mirror { transform: scaleX(-1); left: 26px; right: auto; }
.panel .dog.lab {
  -webkit-mask-image: url(assets/labrador-silhouette.png);
  mask-image: url(assets/labrador-silhouette.png);
  aspect-ratio: 306 / 245; width: 182px; top: 34px;
}
.panel.green { display: flex; flex-direction: column; justify-content: flex-end; }
.panel.green .tagline, .panel.green h3, .panel.green p { text-align: right; margin-left: auto; }
.panel .tagline { font-family: var(--sans); font-weight: 800; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.panel h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: .98; margin-bottom: 12px; }
.panel p { color: rgba(255,255,255,.95); font-size: 1.05rem; margin: 0; max-width: 34ch; }

/* ---------- Features (lively tiles) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--paper); padding: 30px 28px; border: 1px solid var(--line); border-radius: 16px;
  border-top: 4px solid var(--brand); transition: transform .16s ease, box-shadow .16s ease; }
.feature:nth-child(3n+1) { border-top-color: var(--orange); }
.feature:nth-child(3n+2) { border-top-color: var(--green); }
.feature:nth-child(3n+3) { border-top-color: var(--brand); }
.feature:hover { transform: translateY(-5px); box-shadow: 0 20px 34px -20px rgba(0,0,0,.28); }
.feature .n { font-family: var(--display); font-size: 2rem; color: var(--ink); line-height: 1; opacity: .18; }
.feature h3 { margin: 6px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.ampel { display: inline-flex; gap: 5px; vertical-align: middle; }
.ampel span { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.ampel .g { background: var(--amp-g); } .ampel .y { background: var(--amp-y); } .ampel .r { background: var(--amp-r); }

/* ---------- Donation (flat dark block with dog) ---------- */
.donation { position: relative; overflow: hidden; background: var(--ink); color: #fff;
  border-radius: 22px; padding: 52px; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.donation .big { font-family: var(--display); font-size: 4.4rem; color: var(--orange); line-height: .9; }
.donation h2 { color: #fff; margin-bottom: 10px; }
.donation p { color: rgba(255,255,255,.8); margin: 0; max-width: 52ch; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 900px; margin: 0 auto;
  border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
.plan { padding: 38px 34px; background: var(--paper); }
.plan + .plan { border-left: 2px solid var(--ink); }
.plan.pro { background: var(--ink); color: #fff; position: relative; }
.plan h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .02em; }
.plan.pro h3 { color: #fff; }
.plan .badge { display: inline-block; background: var(--orange); color: #fff; font-family: var(--sans);
  font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; margin-bottom: 10px; }
.plan .price { font-family: var(--display); font-size: 3rem; color: var(--ink); margin: 4px 0 2px; line-height: 1; }
.plan.pro .price { color: #fff; }
.plan .price small { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--muted); }
.plan.pro .price small { color: rgba(255,255,255,.7); }
.plan .price-alt { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.plan.pro .price-alt { color: rgba(255,255,255,.75); }
.plan .intro { font-size: .95rem; margin: 0 0 4px; }
.plan.pro .intro { color: rgba(255,255,255,.9); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.plan li { padding: 8px 0 8px 28px; position: relative; font-size: .95rem; border-top: 1px solid var(--line); }
.plan.pro li { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.92); }
.plan li::before { content: ""; position: absolute; left: 0; top: 15px; width: 13px; height: 8px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.plan .btn { width: 100%; justify-content: center; }

.trust { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 40px; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 44px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; color: var(--ink); border-bottom: 2px solid var(--ink); }
table.compare th.col-pro { color: var(--orange); }
table.compare td.center, table.compare th.center { text-align: center; }
table.compare .yes { color: var(--brand); font-weight: 900; }
table.compare .no { color: #cfcbc2; }
table.compare tbody tr:last-child td { border-bottom: 0; }

/* Projects */
.project-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: var(--paper); }
.project .thumb { aspect-ratio: 16/9; display: grid; place-items: center; background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.project .thumb .dog { width: 90px; color: var(--orange); }
.project:nth-child(even) .thumb .dog { color: var(--green); }
.project .body { padding: 26px; }
.project .tag { font-family: var(--sans); font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.project h3 { margin: 8px 0; }
.project p { color: var(--muted); margin: 0; font-size: .96rem; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--ink); padding: 18px 0; list-style: none; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; margin: 0; color: var(--muted); }

/* Final CTA */
.cta-final { background: var(--ink); color: #fff; text-align: center; }
.cta-final h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-final .lead { color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.site-footer { background: #101113; color: #a9adb4; padding: 60px 0 30px; }
.site-footer a { color: #a9adb4; } .site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand .logo-mark { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: .93rem; }
.footer-bottom { border-top: 1px solid #23252a; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #74787f; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 56px 0 64px; }
  .hero .lead, .section-head .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .section-head { text-align: center; margin-inline: auto; }
  .steps, .features, .usecases, .project-cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 2px solid var(--ink); }
  .donation { grid-template-columns: 1fr; text-align: center; }
  .donation .big { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 18px; }
  .nav-toggle { display: block; }
  .hero::after { opacity: .025; }
  .badge3 { position: static; margin: 0 auto 22px; width: 118px; height: 118px; }
  .badge3 b { font-size: 1.7rem; }
  .panel .dog.mirror { left: auto; right: 26px; transform: scaleX(-1); }
  .panel.green .tagline, .panel.green h3, .panel.green p { text-align: left; margin-left: 0; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } section { padding: 62px 0; } }
