/* ══════════════════════════════════════════════════════════════════════════
   Watily — ZATCA e-invoicing landing (editorial upgrade)
   Loaded only on the zatca-einvoicing route. Accent: compliance green.
   Black structural + orange CTAs + flat (no drop shadows) + black marquee.
   ══════════════════════════════════════════════════════════════════════════ */
.wt-zt-hero, .wt-zt-deadline, .wt-zt-how, .wt-zt-feat, .wt-zt-phases, .wt-zt-sectors, .wt-zt-faq {
    --zt: #0F8540;
    --zt-soft: #E8F7EF;
    --zt-border: #C6EBD4;
    --zt-dark: #1A1714;
    --zt-cream: #FAF8F5;
    --zt-line: #EFEDE8;
    --zt-muted: #6E6963;
}

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

/* ── Invoice card ──────────────────────────────────────────────────────── */
.wt-zt-hero__visual { position: relative; display: flex; justify-content: center; }
.wt-zt-invoice { position: relative; width: min(380px, 100%); background: #fff; border: 1px solid var(--zt-line); border-radius: 20px; overflow: hidden; animation: wtZtFloat 6s ease-in-out infinite; }
@keyframes wtZtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.wt-zt-invoice__stamp { position: absolute; top: 64px; inset-inline-end: 22px; z-index: 3; border: 2.5px solid #16A24E; color: var(--zt); border-radius: 10px; padding: 6px 12px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.04em; transform: rotate(-8deg); background: rgba(232, 247, 239, 0.9); text-align: center; line-height: 1.2; }
.wt-zt-invoice__stamp small { display: block; font-size: 0.5rem; font-weight: 700; }
.wt-zt-invoice__head { background: var(--zt-dark); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wt-zt-invoice__biz { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 0.9rem; font-weight: 700; }
.wt-zt-invoice__biz-mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--zt); display: inline-flex; align-items: center; justify-content: center; }
.wt-zt-invoice__no { text-align: end; }
.wt-zt-invoice__no span { display: block; font-size: 0.62rem; color: #95908A; }
.wt-zt-invoice__no b { display: block; font-size: 0.8rem; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.wt-zt-invoice__meta { padding: 16px 22px 0; display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--zt-muted); }
.wt-zt-invoice__meta b { display: block; font-weight: 800; color: var(--zt-dark); margin-bottom: 2px; }
.wt-zt-invoice__meta-end { text-align: end; }
.wt-zt-invoice__items { padding: 14px 22px; }
.wt-zt-invoice__ihead { display: flex; justify-content: space-between; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #95908A; padding-bottom: 8px; border-bottom: 1px solid var(--zt-line); }
.wt-zt-invoice__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.78rem; color: #3A3733; border-bottom: 1px solid var(--zt-line); }
.wt-zt-invoice__row span:last-child { font-weight: 700; color: var(--zt-dark); font-variant-numeric: tabular-nums; }
.wt-zt-invoice__totals { padding: 4px 22px 8px; }
.wt-zt-invoice__trow { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.76rem; color: var(--zt-muted); font-variant-numeric: tabular-nums; }
.wt-zt-invoice__trow--total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--zt-line); font-size: 0.95rem; font-weight: 800; color: var(--zt-dark); }
.wt-zt-invoice__trow--total span:last-child { color: var(--zt); }
.wt-zt-invoice__foot { padding: 16px 22px 20px; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--zt-line); background: var(--zt-cream); }
.wt-zt-invoice__qr { flex: none; width: 52px; height: 52px; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; gap: 1px; background: #fff; padding: 2px; border-radius: 4px; }
.wt-zt-invoice__qr span { background: var(--zt-dark); border-radius: 1px; }
.wt-zt-invoice__qr span.o { background: #fff; }
.wt-zt-invoice__qr-txt { flex: 1; font-size: 0.68rem; color: var(--zt-muted); line-height: 1.6; }
.wt-zt-hero__visual { flex-direction: column; align-items: center; }
.wt-zt-sent { margin-top: 14px; width: min(380px, 100%); display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--zt-soft); border: 1px solid var(--zt-border); border-radius: 14px; padding: 12px 16px; font-size: 0.8rem; font-weight: 700; color: #0A6831; }
.wt-zt-sent-check { color: #0A6831; font-weight: 900; }

/* ── Marquee (black) ───────────────────────────────────────────────────── */
.wt-zt-marquee { margin-top: clamp(28px, 5vw, 48px); background: #0A0A0A; padding: 18px 0; overflow: hidden; }
.wt-zt-marquee__track { display: flex; width: max-content; animation: wtZtMarquee 28s linear infinite; }
@keyframes wtZtMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wt-zt-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-zt-marquee__dot { width: 7px; height: 7px; border-radius: 50%; background: #16A24E; }

/* ── Deadline urgency ──────────────────────────────────────────────────── */
.wt-zt-deadline { padding: clamp(48px, 7vw, 80px) 0; background: linear-gradient(180deg, #FFF7ED 0%, var(--zt-cream) 100%); }
.wt-zt-urgent { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #B91C1C; background: #FEE2E2; border-radius: 999px; padding: 5px 14px; }
.wt-zt-stats { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 720px) { .wt-zt-stats { grid-template-columns: 1fr 1fr; } }
.wt-zt-stat { background: #fff; border: 1px solid var(--zt-line); border-radius: 18px; padding: 22px 18px; text-align: center; }
.wt-zt-stat__n { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; color: var(--zt-dark); font-variant-numeric: tabular-nums; }
.wt-zt-stat__l { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--zt-muted); line-height: 1.5; }

/* ── How pipeline ──────────────────────────────────────────────────────── */
.wt-zt-how { padding: clamp(56px, 8vw, 90px) 0 clamp(40px, 6vw, 70px); }
.wt-zt-how .wt-section-heading { max-width: 640px; margin-inline: auto; text-align: center; }
.wt-zt-how .wt-section-heading .wt-badge { justify-content: center; }
.wt-zt-how__steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(14px, 2.5vw, 20px); margin-top: clamp(28px, 5vw, 44px); }
.wt-zt-how__rail { position: absolute; top: 26px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, #D9D5CD 0 8px, transparent 8px 16px); z-index: 0; }
@media (max-width: 767px) { .wt-zt-how__rail { display: none; } }
.wt-zt-how__step { position: relative; text-align: center; padding: 0 clamp(8px, 2vw, 16px); }
.wt-zt-how__dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--zt-cream); }
.wt-zt-how__dot--0 { background: #F1EFEA; color: #1A1714; }
.wt-zt-how__dot--1 { background: var(--zt-soft); color: var(--zt); }
.wt-zt-how__dot--2 { background: #FFF4E6; color: #B85C00; }
.wt-zt-how__dot--3 { background: var(--zt-soft); color: var(--zt); }
.wt-zt-how__num { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; color: #95908A; margin-bottom: 6px; }
.wt-zt-how__step h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--zt-dark); }
.wt-zt-how__step p { max-width: 24ch; margin: 8px auto 0; font-size: 0.84rem; line-height: 1.7; color: var(--zt-muted); }

/* ── Features (top-icon grid) ──────────────────────────────────────────── */
.wt-zt-feat { padding: clamp(56px, 8vw, 88px) 0; background: #fff; border-top: 1px solid var(--zt-line); }
.wt-zt-feat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.wt-zt-feat-card { background: var(--zt-cream); border: 1px solid var(--zt-line); border-radius: 20px; padding: 28px; transition: transform 0.25s ease, border-color 0.25s ease; }
.wt-zt-feat-card:hover { transform: translateY(-5px); border-color: var(--zt-border); }
.wt-zt-feat-card__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--zt-soft); color: var(--zt); display: inline-flex; align-items: center; justify-content: center; }
.wt-zt-feat-card h3 { margin: 16px 0 0; font-size: 1.15rem; font-weight: 800; color: var(--zt-dark); }
.wt-zt-feat-card__short { display: block; margin-top: 5px; font-size: 0.72rem; font-weight: 800; color: var(--zt); }
.wt-zt-feat-card p { margin: 11px 0 0; font-size: 0.88rem; color: var(--zt-muted); line-height: 1.8; }
.wt-zt-feat__read { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: var(--zt); }

/* ── Phases ────────────────────────────────────────────────────────────── */
.wt-zt-phases { padding: clamp(48px, 7vw, 80px) 0; }
.wt-zt-phases__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(20px, 3vw, 32px); }
@media (min-width: 820px) { .wt-zt-phases__grid { grid-template-columns: 1fr 1fr; } }
.wt-zt-phase { background: #fff; border: 1px solid var(--zt-line); border-radius: 22px; padding: 32px; }
.wt-zt-phase--now { border: 2px solid var(--zt); }
.wt-zt-phase__top { display: flex; align-items: center; justify-content: space-between; }
.wt-zt-phase__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--zt-soft); color: var(--zt); display: inline-flex; align-items: center; justify-content: center; }
.wt-zt-phase__tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; background: #F1EFEA; color: #3A3733; border-radius: 999px; padding: 5px 12px; }
.wt-zt-phase--now .wt-zt-phase__tag { background: var(--zt-soft); color: var(--zt); }
.wt-zt-phase h3 { margin: 18px 0 0; font-size: 1.2rem; font-weight: 800; color: var(--zt-dark); }
.wt-zt-phase p { margin: 10px 0 0; font-size: 0.9rem; color: var(--zt-muted); line-height: 1.8; }
.wt-zt-waiver { margin-top: 16px; display: flex; align-items: flex-start; gap: 14px; background: #FFF7E0; border: 1px solid #FFEAB3; border-radius: 18px; padding: 18px 24px; }
.wt-zt-waiver__icon { flex: none; width: 34px; height: 34px; border-radius: 11px; background: #FFEAB3; color: #8A5C00; display: inline-flex; align-items: center; justify-content: center; }
.wt-zt-waiver span { font-size: 0.9rem; color: #8A5C00; line-height: 1.8; }

/* ── Sectors ───────────────────────────────────────────────────────────── */
.wt-zt-sectors { padding: clamp(48px, 7vw, 80px) 0; background: var(--zt-cream); }
.wt-zt-sectors .wt-section-heading { margin-bottom: clamp(28px, 4vw, 44px); }
.wt-zt-sectors__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.wt-zt-sector { background: #fff; border: 1px solid var(--zt-line); border-radius: 22px; padding: 26px; transition: transform 0.25s ease, border-color 0.25s ease; }
.wt-zt-sector:hover { transform: translateY(-5px); border-color: var(--zt-border); }
.wt-zt-sector__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--zt-soft); color: var(--zt); display: inline-flex; align-items: center; justify-content: center; }
.wt-zt-sector h3 { margin: 14px 0 0; font-size: 1.05rem; font-weight: 800; color: var(--zt-dark); }
.wt-zt-sector p { margin: 7px 0 0; font-size: 0.86rem; color: var(--zt-muted); line-height: 1.8; }

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.wt-zt-faq { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 8vw, 88px); }
.wt-zt-faq__list { max-width: 900px; margin: clamp(24px, 4vw, 40px) auto 0; display: flex; flex-direction: column; gap: 10px; }
.wt-zt-faq__item { background: #fff; border: 1px solid var(--zt-line); border-radius: 16px; overflow: hidden; transition: border-color 0.2s ease; }
.wt-zt-faq__item[open] { border-color: var(--zt-border); }
.wt-zt-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(--zt-dark); list-style: none; }
.wt-zt-faq__item summary::-webkit-details-marker { display: none; }
.wt-zt-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-zt-faq__item[open] summary::after { content: "\2212"; background: var(--zt); color: #fff; }
.wt-zt-faq__item p { margin: 0; padding: 2px 24px 21px; font-size: 0.9rem; line-height: 1.9; color: #524E49; }

/* ── CTA ───────────────────────────────────────────────────────────────── */
.wt-zt-cta .wt-zt-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-zt-cta__card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% -10%, rgba(22, 162, 78, 0.26) 0%, transparent 60%); pointer-events: none; }
.wt-zt-cta__card > * { position: relative; z-index: 1; }
.wt-zt-cta__mark { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--zt); }
.wt-zt-cta .wt-zt-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-zt-cta .wt-zt-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-zt-cta__actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wt-zt-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-zt-cta__ghost:hover { background: rgba(255, 255, 255, 0.15); }
@media (max-width: 600px) {
    .wt-zt-cta__actions { width: 100%; flex-direction: column; }
    .wt-zt-cta__actions .wt-btn, .wt-zt-cta__ghost { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .wt-zt-invoice, .wt-zt-marquee__track { animation: none !important; }
}
