/* Dadliplug website. Colours and type follow the app (app/lib/core/theme). */
:root {
  --navy: #0A1F44;
  --navy-2: #12294D;
  --navy-3: #06142B;
  --gold: #FFC72C;
  --gold-bg: #FFF3CC;
  --gold-ink: #6A4800;
  --blue: #1565C0;
  --blue-bg: #DCE9FA;
  --good: #1D7A4D;
  --good-bg: #DAF1E3;
  --red: #CE1126;
  --app: #F5F7FB;
  --surface: #FFFFFF;
  --ink: #0A1F44;
  --muted: #5B6B85;
  --line: #DDE4EF;
  --sea: #BFE3EB;
  --land: #E8EAD2;
  --f-display: "Gabarito", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 14px;
  --shadow: 0 1px 2px rgba(10, 31, 68, .08), 0 24px 48px -24px rgba(10, 31, 68, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--app);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px var(--f-body); padding: 13px 22px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px -8px rgba(255, 199, 44, .9); }
.btn-gold:hover { box-shadow: 0 10px 24px -8px rgba(255, 199, 44, .9); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 31, 68, .86); backdrop-filter: saturate(160%) blur(14px);
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 22px var(--f-display); }
.brand img { border-radius: 9px; }
.brand b { color: var(--gold); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav-links a { opacity: .82; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { padding: 10px 18px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 31, 68, .97) 0%, rgba(10, 31, 68, .88) 42%, rgba(10, 31, 68, .45) 100%),
    url("/assets/hero.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(10, 31, 68, .6));
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
  align-items: center; padding: 84px 0 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px;
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 199, 44, .25); }
.hero h1 { font-size: clamp(48px, 7vw, 86px); font-weight: 800; margin: 22px 0 20px; }
.hl { color: var(--gold); position: relative; }
.lead { font-size: 19px; max-width: 540px; color: rgba(255, 255, 255, .84); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px;
  background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px;
  transition: transform .15s, border-color .15s;
}
.store:hover { transform: translateY(-2px); border-color: var(--gold); }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; font: 700 18px/1.1 var(--f-body); }
.store small { font-size: 11px; font-weight: 500; opacity: .8; }
.store.soon { cursor: default; }
.hero-points { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 36px 0 0; color: rgba(255, 255, 255, .72); font-size: 15px; }
.hero-points b { display: block; color: #fff; font-size: 24px; }

/* Phone mock-up */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; height: 610px; border-radius: 46px; padding: 12px; background: #050d1d;
  box-shadow: 0 0 0 2px #22365a, 0 40px 80px -20px rgba(0, 0, 0, .7);
  position: relative; transform: rotate(-3deg);
}
.notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; background: #050d1d; border-radius: 20px; transform: translateX(-50%); z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--sea); color: var(--ink); }
.app-search {
  position: absolute; top: 56px; left: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px;
  background: #fff; font-size: 13px; color: var(--muted); box-shadow: 0 2px 8px rgba(10, 31, 68, .15);
}
.app-search svg { width: 16px; height: 16px; color: var(--navy); }
.chips { position: absolute; top: 104px; left: 14px; right: 0; z-index: 2; display: flex; gap: 6px; overflow: hidden; }
.chip { flex: none; padding: 5px 11px; border-radius: 999px; background: #fff; font: 600 11px var(--f-body); box-shadow: 0 1px 4px rgba(10, 31, 68, .14); }
.chip.on { background: var(--navy); color: #fff; }
.map { position: absolute; inset: 0; }
.island { position: absolute; inset: 0; width: 100%; height: 100%; }
.island path:first-child { fill: var(--land); stroke: #BDC39C; stroke-width: 1.5; }
.island .road { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.pin {
  position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--navy); border: 2.5px solid #fff; box-shadow: 0 3px 6px rgba(10, 31, 68, .35);
}
.pin.prem { background: var(--blue); }
.pin.trial { background: #E9A23B; }
.pin.sel { width: 32px; height: 32px; background: var(--gold); border-color: var(--navy); animation: bob 2.4s ease-in-out infinite; }
.p1 { top: 200px; left: 70px; } .p2 { top: 172px; left: 150px; } .p3 { top: 250px; left: 190px; }
.p4 { top: 236px; left: 96px; } .p5 { top: 300px; left: 140px; } .p6 { top: 205px; left: 112px; }
.you { position: absolute; top: 270px; left: 160px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(21, 101, 192, .22); }
@keyframes bob { 50% { transform: rotate(-45deg) translate(3px, -3px); } }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0;
  padding: 10px 16px 18px; box-shadow: 0 -6px 20px rgba(10, 31, 68, .12);
}
.grab { width: 36px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
.biz { display: flex; align-items: center; gap: 10px; }
.biz-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, #FFE1CC, #FFB27A); }
.biz-txt { flex: 1; display: flex; flex-direction: column; }
.biz-txt strong { font: 700 15px var(--f-display); }
.biz-txt span { font-size: 11px; color: var(--muted); }
.open { color: var(--good); font-style: normal; font-weight: 700; }
.rank { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--gold-bg); color: var(--gold-ink); }
.stars { display: flex; align-items: center; gap: 6px; margin: 10px 0; font-size: 12px; }
.stars span:first-child { color: #F0B323; letter-spacing: 1px; }
.stars em { color: var(--muted); font-style: normal; font-size: 11px; }
.deal { font-size: 11.5px; padding: 8px 10px; border-radius: 10px; background: var(--gold-bg); color: var(--gold-ink); }
.deal b { color: var(--navy); }
.code { float: right; font-weight: 600; color: var(--navy); }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.actions span { text-align: center; padding: 8px 0; border-radius: 9px; font: 700 11px var(--f-body); background: var(--app); border: 1px solid var(--line); }
.actions .wa { background: #25D366; color: #fff; border-color: #25D366; }
.float {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.float .mono { color: #B07A00; }
.f1 { top: 120px; left: -6px; }
.f2 { bottom: 140px; right: -20px; animation-delay: -2.5s; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 1.8s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Category strip */
.cats { background: var(--navy-3); color: rgba(255, 255, 255, .86); border-top: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.cats-row { display: flex; gap: 12px; padding: 18px 0; overflow-x: auto; scrollbar-width: none; }
.cats-row::-webkit-scrollbar { display: none; }
.cats-row span { flex: none; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; font-weight: 600; }

/* Sections */
.section { padding: 104px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .trust h2, .listed h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin: 10px 0 16px; }
.section-head p:last-child { color: var(--muted); font-size: 18px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--blue); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  box-shadow: 0 1px 2px rgba(10, 31, 68, .04); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 21px; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 16px; }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-blue { background: var(--blue-bg); color: var(--blue); }
.ico-gold { background: var(--gold-bg); color: #9A6A00; }
.ico-green { background: var(--good-bg); color: var(--good); }
.ico-red { background: #FBDDE0; color: var(--red); }

/* Trust */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.trust-copy > p { color: var(--muted); font-size: 18px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.steps li::before {
  content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font: 600 17px var(--f-mono); background: var(--navy); color: var(--gold);
}
.steps b { font-family: var(--f-display); font-size: 19px; }
.steps span { color: var(--muted); font-size: 15px; }
.rank-card { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.rank-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 199, 44, .28), transparent 70%); }
.rank-badge { display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: .06em; line-height: 1.4; color: var(--navy); background: var(--gold); padding: 10px 14px; border-radius: 10px; }
.rank-card p { color: rgba(255, 255, 255, .8); margin: 20px 0 24px; }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.board li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-weight: 600; }
.board li span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-size: 14px; }
.board li:first-child span { background: var(--gold); color: var(--navy); }
.board em { margin-left: auto; font-style: normal; color: var(--gold); }

/* Business */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini { padding: 28px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.mini b { color: var(--blue); font-size: 14px; }
.mini h3 { font-size: 20px; margin: 12px 0 8px; }
.mini p { color: var(--muted); font-size: 15.5px; }

/* Pricing */
.pricing { background: linear-gradient(180deg, var(--app), #EAF0F8); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.plan h3 { font-size: 24px; }
.pitch { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { margin: 22px 0; display: flex; align-items: baseline; gap: 6px; }
.price .mono { font-size: 42px; font-weight: 600; letter-spacing: -.02em; }
.price small { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 15.5px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--good-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231D7A4D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan li.plus { padding-left: 0; font-weight: 700; }
.plan li.plus::before { display: none; }
.plan-pop { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 30px 60px -28px rgba(10, 31, 68, .7); transform: translateY(-10px); }
.plan-pop .pitch, .plan-pop .price small { color: rgba(255, 255, 255, .7); }
.plan-pop li::before { background-color: rgba(255, 199, 44, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23FFC72C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.ribbon { position: absolute; top: -13px; left: 32px; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 700 12px var(--f-body); text-transform: uppercase; letter-spacing: .06em; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

/* Lead form */
.listed { background: var(--navy); color: #fff; }
.listed-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.listed .kicker { color: var(--gold); }
.listed-copy > p { color: rgba(255, 255, 255, .8); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.lead { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.lead .opt { color: var(--muted); font-weight: 400; }
.lead input, .lead select, .lead textarea {
  font: 400 16px var(--f-body); color: var(--ink); width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--app); transition: border-color .15s, box-shadow .15s;
}
.lead textarea { resize: vertical; }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-bg); background: #fff; }
.lead .invalid { border-color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 15px; min-height: 1.4em; text-align: center; }
.form-msg.ok { color: var(--good); font-weight: 700; }
.form-msg.err { color: #B3261E; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 18px var(--f-display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 24px/1 var(--f-mono); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* CTA */
.cta { padding: 0 0 104px; }
.cta-inner {
  text-align: center; padding: 64px 24px; border-radius: 28px; color: #fff;
  background: radial-gradient(circle at 20% 0%, rgba(21, 101, 192, .55), transparent 55%), radial-gradient(circle at 90% 100%, rgba(255, 199, 44, .3), transparent 50%), var(--navy);
}
.cta-inner img { margin: 0 auto 20px; border-radius: 18px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); }
.cta-inner h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.cta-inner p { color: rgba(255, 255, 255, .8); margin: 12px 0 28px; font-size: 18px; }

/* Footer */
.footer { background: var(--navy-3); color: rgba(255, 255, 255, .7); padding: 48px 0 28px; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { color: #fff; margin-bottom: 10px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a:hover { color: #fff; }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .pin.sel, .pulse { animation: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-inner, .trust-inner, .listed-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-inner { padding: 56px 0 72px; text-align: left; }
  .phone-stage { margin-top: 8px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan-pop { transform: none; }
  .section { padding: 76px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .lead .row { grid-template-columns: 1fr; }
  .phone { transform: scale(.9) rotate(-3deg); margin: -30px 0; }
  .f1 { left: 0; } .f2 { right: 0; }
  .lead, .plan, .rank-card { padding: 24px; }
}
