/* ══════════════════════════════════════════════════════════════════════════
   Watily — Ads management landing (editorial upgrade)
   Loaded only on the ads route. Structural: black+orange. Flat (no shadows).
   ══════════════════════════════════════════════════════════════════════════ */
.wt-ad-hero, .wt-ad-how, .wt-ad-faq {
    --ad-dark: #1A1714;
    --ad-cream: #FAF8F5;
    --ad-line: #EFEDE8;
    --ad-muted: #6E6963;
    --ad-soft: #FFF4E6;
    --ad-border: #FFE4C2;
}

/* Hero */
.wt-ad-hero {
    position: relative; isolation: isolate; overflow: clip;
    padding-bottom: clamp(28px, 4vw, 44px);
    background:
        radial-gradient(ellipse 70% 60% at 88% 12%, rgba(240, 108, 20, 0.1) 0%, transparent 58%),
        radial-gradient(ellipse 60% 50% at 8% 82%, rgba(26, 23, 20, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, var(--ad-cream) 0%, #ffffff 100%);
}
.wt-ad-hero__glow { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.wt-ad-hero__glow--a { top: -120px; inset-inline-end: -60px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(240, 108, 20, 0.14), transparent 62%); }
.wt-ad-hero__glow--b { top: 140px; inset-inline-start: -160px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(26, 23, 20, 0.06), transparent 64%); }
.wt-ad-hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 56px); align-items: center; padding-top: clamp(8px, 2vw, 16px); }
@media (min-width: 940px) { .wt-ad-hero__grid { grid-template-columns: 1.04fr 0.96fr; } }
.wt-ad-hero__content { text-align: center; }
@media (min-width: 940px) { .wt-ad-hero__content { text-align: start; } }
.wt-ad-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--ad-line); font-size: 0.8rem; font-weight: 700; color: #B85C00; }
.wt-ad-hero__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--wt-brand-orange, #F06C14); }
.wt-ad-hero__content h1 { margin: 22px 0 0; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.14; font-weight: 800; letter-spacing: -0.02em; color: var(--ad-dark); }
.wt-ad-hl { position: relative; display: inline-block; color: #B85C00; }
.wt-ad-hl::after { content: ""; position: absolute; inset-inline: 0; bottom: 0.08em; height: 0.32em; z-index: -1; border-radius: 4px; background: linear-gradient(90deg, #FFE4C2, #FFC98A); }
.wt-ad-hero__lead { margin: 22px auto 0; font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.8; color: #524E49; max-width: 54ch; }
@media (min-width: 940px) { .wt-ad-hero__lead { margin-inline: 0; } }
.wt-ad-hero__actions { margin-top: 30px; display: flex; gap: 13px; flex-wrap: wrap; align-items: center; justify-content: center; }
@media (min-width: 940px) { .wt-ad-hero__actions { justify-content: flex-start; } }
.wt-ad-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--wt-brand-orange, #F06C14); }
.wt-ad-hero__ghost { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 13px; font-size: 1rem; font-weight: 700; color: var(--ad-dark); transition: background 0.18s ease; }
.wt-ad-hero__ghost:hover { background: #F0EDE8; }
.wt-ad-hero__badges { margin-top: 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 940px) { .wt-ad-hero__badges { justify-content: flex-start; } }
.wt-ad-hero__label { font-size: 0.78rem; font-weight: 700; color: #95908A; }
.wt-ad-hero__badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--ad-line); font-size: 0.78rem; font-weight: 700; color: #3A3733; }

/* Dashboard mock */
.wt-ad-hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.wt-ad-dash { width: min(400px, 100%); background: var(--ad-dark); border-radius: 22px; padding: 24px; color: #fff; position: relative; overflow: hidden; }
.wt-ad-dash__head { display: flex; align-items: center; justify-content: space-between; }
.wt-ad-dash__title { display: inline-flex; align-items: center; gap: 9px; font-size: 0.86rem; font-weight: 800; }
.wt-ad-dash__mark { width: 24px; height: 24px; border-radius: 7px; background: rgba(240, 108, 20, 0.18); color: #FFAB52; display: inline-flex; align-items: center; justify-content: center; }
.wt-ad-dash__live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.65rem; font-weight: 800; color: #5BC68B; background: rgba(22, 162, 78, 0.16); border-radius: 999px; padding: 4px 11px; }
.wt-ad-dash__live-dot { width: 6px; height: 6px; border-radius: 50%; background: #16A24E; }
.wt-ad-dash__metrics { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wt-ad-dash__metric { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; padding: 12px; }
.wt-ad-dash__metric-k { display: block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42); }
.wt-ad-dash__metric-v { display: block; font-size: 1.15rem; font-weight: 800; margin-top: 5px; font-variant-numeric: tabular-nums; }
.wt-ad-dash__metric-d { display: block; font-size: 0.65rem; font-weight: 800; color: #5BC68B; margin-top: 2px; }
.wt-ad-dash__chart { margin-top: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; padding: 14px; }
.wt-ad-dash__chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 0.68rem; font-weight: 700; color: rgba(255, 255, 255, 0.6); }
.wt-ad-dash__roas { color: #FFAB52; font-weight: 800; }
.wt-ad-dash__bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.wt-ad-dash__bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--wt-brand-orange, #F06C14), #B85C00); border-radius: 3px 3px 0 0; }
.wt-ad-dash__split { margin-top: 10px; display: flex; gap: 8px; }
.wt-ad-dash__split-cell { flex: 1; display: flex; flex-direction: column; gap: 5px; align-items: center; background: rgba(255, 255, 255, 0.04); border-radius: 10px; padding: 8px 4px; }
.wt-ad-dash__split-cell b { font-size: 0.62rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.wt-ad-chip { margin-top: 14px; width: min(400px, 100%); display: flex; align-items: center; gap: 12px; background: var(--ad-soft); border: 1px solid var(--ad-border); border-radius: 16px; padding: 12px 14px; }
.wt-ad-chip__ico { width: 38px; height: 38px; border-radius: 11px; background: #fff; color: #B85C00; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wt-ad-chip b { display: block; font-size: 0.76rem; font-weight: 800; color: var(--ad-dark); }
.wt-ad-chip small { display: block; font-size: 0.72rem; color: #0F8540; font-weight: 700; }

/* Marquee (black) */
.wt-ad-marquee { margin-top: clamp(28px, 5vw, 44px); background: #0A0A0A; padding: 18px 0; overflow: hidden; }
.wt-ad-marquee__track { display: flex; width: max-content; animation: wtAdMarquee 28s linear infinite; }
@keyframes wtAdMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wt-ad-marquee__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 24px; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; color: #F0EDE8; white-space: nowrap; }
.wt-ad-marquee__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wt-brand-orange, #F06C14); }

/* How grid (numbered cards) */
.wt-ad-how { padding: clamp(48px, 7vw, 80px) 0; }
.wt-ad-how__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.wt-ad-how__card { position: relative; background: #fff; border: 1px solid var(--ad-line); border-radius: 20px; padding: 26px; transition: transform 0.25s ease, border-color 0.25s ease; }
.wt-ad-how__card:hover { transform: translateY(-4px); border-color: var(--ad-border); }
.wt-ad-how__num { position: absolute; top: 20px; inset-inline-end: 22px; font-size: 0.78rem; font-weight: 800; color: #D9C08A; }
.wt-ad-how__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ad-soft); color: #B85C00; display: inline-flex; align-items: center; justify-content: center; }
.wt-ad-how__card h3 { margin: 16px 0 0; font-size: 1.05rem; font-weight: 800; color: var(--ad-dark); }
.wt-ad-how__card p { margin: 8px 0 0; font-size: 0.86rem; color: var(--ad-muted); line-height: 1.75; }

/* FAQ accordion */
.wt-ad-faq { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 8vw, 88px); }
.wt-ad-faq__list { max-width: 900px; margin: clamp(24px, 4vw, 40px) auto 0; display: flex; flex-direction: column; gap: 10px; }
.wt-ad-faq__item { background: #fff; border: 1px solid var(--ad-line); border-radius: 16px; overflow: hidden; transition: border-color 0.2s ease; }
.wt-ad-faq__item[open] { border-color: var(--ad-border); }
.wt-ad-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; cursor: pointer; font-size: 0.98rem; font-weight: 700; line-height: 1.55; color: var(--ad-dark); list-style: none; }
.wt-ad-faq__item summary::-webkit-details-marker { display: none; }
.wt-ad-faq__item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #F6F4F0; color: #524E49; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 700; line-height: 1; transition: background 0.2s ease, color 0.2s ease; }
.wt-ad-faq__item[open] summary::after { content: "\2212"; background: var(--wt-brand-orange, #F06C14); color: #fff; }
.wt-ad-faq__item p { margin: 0; padding: 2px 24px 21px; font-size: 0.9rem; line-height: 1.9; color: #524E49; }

/* CTA */
.wt-ad-cta .wt-ad-cta__card { display: flex; flex-direction: column; align-items: center; text-align: center; grid-template-columns: none; background: var(--wt-dark, #1A1714); border-radius: 28px; padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.wt-ad-cta__card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% -10%, rgba(240, 108, 20, 0.26) 0%, transparent 60%); pointer-events: none; }
.wt-ad-cta__card > * { position: relative; z-index: 1; }
.wt-ad-cta__mark { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--ad-dark); }
.wt-ad-cta .wt-ad-cta__card h2 { margin: 22px auto 0; max-width: 24ch; color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1.2; }
.wt-ad-cta .wt-ad-cta__card p { margin: 16px auto 0; max-width: 52ch; color: rgba(255, 255, 255, 0.66); font-size: 1.05rem; line-height: 1.8; }
.wt-ad-cta__actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wt-ad-cta__ghost { display: inline-flex; align-items: center; padding: 15px 28px; border-radius: 13px; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); font-weight: 700; transition: background 0.18s ease; }
.wt-ad-cta__ghost:hover { background: rgba(255, 255, 255, 0.15); }
@media (max-width: 600px) {
    .wt-ad-cta__actions { width: 100%; flex-direction: column; }
    .wt-ad-cta__actions .wt-btn, .wt-ad-cta__ghost { width: 100%; justify-content: center; }
}

/* Platforms grid (flat, matches How-grid pattern) */
.wt-ad-platforms { padding: clamp(48px, 7vw, 80px) 0; background: linear-gradient(180deg, #fff 0%, var(--ad-cream) 100%); }
.wt-ad-platforms__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.wt-ad-platform-card { background: #fff; border: 1px solid var(--ad-line); border-radius: 20px; padding: 26px; transition: transform 0.25s ease, border-color 0.25s ease; }
.wt-ad-platform-card:hover { transform: translateY(-4px); border-color: var(--ad-border); }
.wt-ad-platform-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ad-soft); color: #B85C00; display: inline-flex; align-items: center; justify-content: center; }
.wt-ad-platform-card h3 { margin: 16px 0 0; font-size: 1.05rem; font-weight: 800; color: var(--ad-dark); }
.wt-ad-platform-card p { margin: 8px 0 0; font-size: 0.86rem; color: var(--ad-muted); line-height: 1.75; }
