/* TazBanner AI landing (/ai-banner-generator) — page-specific styles */

/* Buttons — one size for every CTA on the page (matches the hero CTA) */
.tz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 0 40px;
    border-radius: 9999px;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform .15s ease, filter .15s ease;
}
.tz-btn:hover {
    filter: brightness(.95);
    transform: scale(1.02);
}
@media (min-width: 768px) {
    .tz-btn {
        font-size: 20px;
    }
}
.tz-btn-orange {
    background: #eb7c07;
    box-shadow: 0 6px 12px rgba(235, 124, 7, .25);
}
.tz-btn-green {
    background: #2e7d32;
    box-shadow: 0 6px 12px rgba(31, 180, 122, .25);
}
.tz-btn-block {
    width: 100%;
}

.tazbanner-hero-bg {
    background: url(../img/tazbanner-hero-bg.webp) no-repeat center center/cover !important;
}

/* TazBanner — Mobile hero (separate block, dark theme, inline laptop image) */
.tazbanner-hero-mob {
    background: radial-gradient(circle at 50% 0%, #1b1c4b 0%, #0c0d2a 55%, #08081c 100%) !important;
    /* clear the fixed urgency-banner + header stack; .container only sets horizontal padding */
    padding-top: 110px;
    padding-bottom: 16px;
}
.tazbanner-hero-mob .hero-text-trigger {
    margin-top: 6px;
}
.tazbanner-hero-mob .hero-text-trigger span {
    font-size: 11px;
}
.tazbanner-hero-mob h1.tz-grad {
    width: fit-content;
    background: linear-gradient(90deg, #65C03D 0%, #0687EB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}
.tazbanner-hero-mob h2 {
    color: rgba(255, 255, 255, .85) !important;
}
.tazbanner-hero-mob .tz-kicker {
    color: #c4b5fd !important;
}
.tazbanner-hero-mob .tz-kicker .tz-dot {
    background: #c4b5fd !important;
    box-shadow: 0 0 8px #c4b5fd;
}
.tazbanner-hero-mob .hero-text-trigger span {
    color: rgba(255, 255, 255, .9) !important;
}
.tazbanner-hero-mob .cta-subtext {
    color: rgba(255, 255, 255, .55) !important;
}
.tazbanner-hero-mob .hero-mob-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 38vh;
    height: auto;
    margin: 0 auto;
    /* edges are feathered to transparent inside the asset itself, so it blends into the block bg */
}

@media (min-width: 768px) {
    .tazbanner-hero-bg .gradient-overlay {
        background: none !important;
    }
    .tazbanner-hero-bg .tz-kicker {
        background: rgba(124, 58, 237, .15) !important;
        color: #c4b5fd !important;
        border: 1px solid rgba(124, 58, 237, .4);
        padding: 8px 16px;
        border-radius: 9999px;
        backdrop-filter: blur(6px);
    }
    .tazbanner-hero-bg .tz-kicker .tz-dot {
        background: #c4b5fd !important;
        box-shadow: 0 0 8px #c4b5fd;
    }
    .tazbanner-hero-bg .tz-grad {
        width: fit-content;
        background: linear-gradient(90deg, #65C03D 0%, #0687EB 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent !important;
    }
    .tazbanner-hero-bg h2 {
        color: rgba(255, 255, 255, .85) !important;
    }
    .tazbanner-hero-bg .hero-text-trigger span {
        color: rgba(255, 255, 255, .9) !important;
    }
    .tazbanner-hero-bg .cta-subtext {
        color: rgba(255, 255, 255, .55) !important;
    }
}

/* TazBanner — Showcase (auto-scrolling banner marquee) */
.tazbanner-showcase {
    background: #ffffff;
    overflow: hidden;
    position: relative;
}
.tazbanner-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 80%, rgba(235, 124, 7, .06) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(6, 135, 235, .05) 0%, transparent 50%);
}
.showcase-mask {
    position: relative;
    direction: ltr;
}
.showcase-mask::before,
.showcase-mask::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.showcase-mask::before {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}
.showcase-mask::after {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}
.showcase-strip {
    display: flex;
    width: max-content;
    padding: 10px 0;
}
.showcase-mask:hover .showcase-strip {
    animation-play-state: paused;
}
.showcase-row-1 {
    animation: tazbanner-scroll-rtl 40s linear infinite;
}
.showcase-row-2 {
    animation: tazbanner-scroll-ltr 45s linear infinite;
    margin-top: 16px;
}
.showcase-item {
    flex: 0 0 280px;
    width: 280px;
    height: 280px;
    margin-inline-start: 16px;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f7fb;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid rgba(0, 0, 0, .04);
    cursor: pointer;
}
.showcase-item:hover {
    transform: scale(1.07);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.showcase-foot {
    margin-top: 40px;
}
.showcase-foot a {
    color: #0687eb;
    border-bottom: 1px solid rgba(6, 135, 235, .4);
    font-weight: 500;
    padding-bottom: 2px;
}
.showcase-foot a:hover {
    color: #056ec2;
}
.showcase-cta {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}
@keyframes tazbanner-scroll-rtl {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
@keyframes tazbanner-scroll-ltr {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .showcase-row-1,
    .showcase-row-2 {
        animation: none;
    }
}
@media (max-width: 600px) {
    .showcase-item {
        flex: 0 0 220px;
        width: 220px;
        height: 220px;
    }
    .showcase-mask::before,
    .showcase-mask::after {
        width: 56px;
    }
}

/* TazBanner — Showcase lightbox */
.tz-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    direction: ltr;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .9);
    padding: 24px;
}
.tz-lightbox.is-open {
    display: flex;
}
.tz-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    object-fit: contain;
}
.tz-lightbox-close,
.tz-lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    transition: background .2s ease;
}
.tz-lightbox-close:hover,
.tz-lightbox-nav:hover {
    background: rgba(255, 255, 255, .28);
}
.tz-lightbox-close {
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    font-size: 28px;
}
.tz-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 40px;
}
.tz-lightbox-prev {
    left: 20px;
    transform: rotate(180deg);
}
.tz-lightbox-next {
    right: 20px;
    transform: rotate(180deg);
}
.tz-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    direction: ltr;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    letter-spacing: .5px;
}
@media (max-width: 600px) {
    .tz-lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 30px;
    }
    .tz-lightbox-prev { left: 8px; }
    .tz-lightbox-next { right: 8px; }
}

/* TazBanner — Trust bar */
.tazbanner-trust {
    background: #f4f8fd;
    padding: 56px 0;
    border-top: 1px solid #e7eef5;
    border-bottom: 1px solid #e7eef5;
}
.tazbanner-trust .trust-counter {
    text-align: center;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    color: #0b1f35;
    margin: 0 0 28px;
}
.tazbanner-trust .trust-counter .num {
    color: #0687eb;
    font-family: Montserrat, Heebo, sans-serif;
    font-weight: 800;
    font-size: 1.2em;
}
.tazbanner-trust .trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.tazbanner-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #e7eef5;
    font-weight: 600;
    font-size: 15px;
    color: #0b1f35;
    box-shadow: 0 4px 10px rgba(15, 42, 68, .04);
}
.tazbanner-trust .trust-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.tazbanner-trust .trust-icon.green {
    background: linear-gradient(135deg, #65c03d, #3b9f1e);
}
.tazbanner-trust .trust-icon.blue {
    background: linear-gradient(135deg, #0687eb, #0360a8);
}
.tazbanner-trust .trust-icon.orange {
    background: linear-gradient(135deg, #eb7c07, #c26204);
}
.tazbanner-trust .trust-icon.purple {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}
.tazbanner-trust .trust-icon svg {
    width: 24px;
    height: 24px;
}
@media (max-width: 900px) {
    .tazbanner-trust .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .tazbanner-trust .trust-items {
        grid-template-columns: 1fr;
    }
}

/* TazBanner — Problem / Solution */
.tazbanner-ps {
    background: #ffffff;
}
.tazbanner-ps .ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}
.tazbanner-ps .ps-card {
    padding: 36px;
    border-radius: 18px;
    border: 1px solid;
}
.tazbanner-ps .ps-card.red {
    background: #fef2f2;
    border-color: #fecaca;
}
.tazbanner-ps .ps-card.green {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.tazbanner-ps .ps-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 22px;
}
.tazbanner-ps .ps-card.red h3 {
    color: #b91c1c;
}
.tazbanner-ps .ps-card.green h3 {
    color: #15803d;
}
.tazbanner-ps .ps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tazbanner-ps .ps-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.5;
    color: #353535;
    font-size: 15.5px;
}
.tazbanner-ps .ps-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.tazbanner-ps .ps-card.red .ps-icon {
    background: #fee2e2;
    color: #dc2626;
}
.tazbanner-ps .ps-card.green .ps-icon {
    background: #dcfce7;
    color: #16a34a;
}
.tazbanner-ps .ps-icon svg {
    width: 12px;
    height: 12px;
}
@media (max-width: 820px) {
    .tazbanner-ps .ps-grid {
        grid-template-columns: 1fr;
    }
}

/* TazBanner — How it works (dark steps section) */
.tazbanner-how {
    background: #0b1f35;
    color: #cdd7e3;
}
.tazbanner-how .min-header {
    color: #ffffff;
}
.tazbanner-how .min-header.how-sub {
    color: #9aa9ba;
}
.tazbanner-how .steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}
.tazbanner-how .step-card {
    background: #162d49;
    border-radius: 18px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 25px rgba(15, 42, 68, .10);
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #e3eaf3;
}
.tazbanner-how .step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 42, 68, .14);
}
.tazbanner-how .step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eb7c07, #c26204);
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Montserrat, Heebo, sans-serif;
    box-shadow: 0 6px 14px rgba(6, 135, 235, .28);
}
.tazbanner-how .step-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 4px 0 0;
}
.tazbanner-how .step-card p {
    font-size: 14px;
    line-height: 1.55;
    color: #9aa9ba;
    margin: 0;
}
@media (max-width: 1100px) {
    .tazbanner-how .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 680px) {
    .tazbanner-how .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* TazBanner — Video (click-to-load facade) */
.tazbanner-video {
    background: #fdf8f3;
}
.tazbanner-video .video-wrap {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 42, 68, .18);
    aspect-ratio: 16 / 9;
    position: relative;
    background: #000000;
}
.tazbanner-video .video-facade {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .2s ease;
}
.tazbanner-video .video-facade:hover {
    filter: brightness(.9);
}
.tazbanner-video .video-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 0, 0, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    transition: transform .15s ease;
}
.tazbanner-video .video-facade:hover .video-play {
    transform: scale(1.08);
}
.tazbanner-video .video-play svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    margin-inline-start: 4px;
}
.tazbanner-video .video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* TazBanner — Features */
.tazbanner-features {
    background: #ffffff;
}
.tazbanner-features .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tazbanner-features .feature-card {
    background: #fafcff;
    border-radius: 18px;
    padding: 28px 22px;
    border: 1px solid #e7eef5;
    box-shadow: 0 10px 25px rgba(15, 42, 68, .10);
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.tazbanner-features .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 42, 68, .14);
}
.tazbanner-features .feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 42, 68, .1);
}
.tazbanner-features .feature-icon svg {
    width: 34px;
    height: 34px;
}
.tazbanner-features .feature-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.tazbanner-features .feature-icon.blue {
    background: linear-gradient(135deg, #0687eb, #0360a8);
}
.tazbanner-features .feature-icon.green {
    background: linear-gradient(135deg, #65c03d, #15803d);
}
.tazbanner-features .feature-icon.orange {
    background: linear-gradient(135deg, #eb7c07, #c26204);
}
.tazbanner-features .feature-icon.red {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}
.tazbanner-features .feature-icon.yellow {
    background: linear-gradient(135deg, #eab308, #a16207);
}
.tazbanner-features .feature-icon.indigo {
    background: linear-gradient(135deg, #6366f1, #4338ca);
}
.tazbanner-features .feature-icon.check {
    background: linear-gradient(135deg, #22c55e, #15803d);
}
.tazbanner-features .feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0b1f35;
    margin: 0;
}
.tazbanner-features .feature-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: #6b7b8a;
    margin: 0;
}
@media (max-width: 1024px) {
    .tazbanner-features .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .tazbanner-features .features-grid {
        grid-template-columns: 1fr;
    }
}

/* TazBanner — Pricing (credit packs on shared .tarif cards) */
.tazbanner-pricing {
    background: linear-gradient(180deg, #f4f8fd 0%, #ffffff 100%);
}
.tazbanner-pricing .pricing-grid {
    max-width: 960px;
    margin: 85px auto 0;
}
.tazbanner-pricing .tarif {
    background: #ffffff;
}
.tazbanner-pricing .pricing-cta-wrap {
    margin-top: 40px;
}
@media (max-width: 820px) {
    .tazbanner-pricing .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        grid-row-gap: 24px;
    }
    .tazbanner-pricing .pricing-grid .grid-item:nth-of-type(2) {
        margin-top: 77px;
    }
}

/* TazBanner — Testimonials (dark section) */
.tazbanner-testimonials {
    background: #0b1f35;
    color: #cdd7e3;
}
.tazbanner-testimonials .min-header {
    color: #ffffff;
}
.tazbanner-testimonials .testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.tazbanner-testimonials .testi-card {
    background: #162d49;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 10px 25px rgba(15, 42, 68, .10);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    color: #ffffff;
}
.tazbanner-testimonials .testi-quote-mark {
    font-family: Montserrat, Heebo, sans-serif;
    font-weight: 900;
    font-size: 60px;
    line-height: .8;
    color: rgba(6, 135, 235, .15);
    position: absolute;
    top: 18px;
    left: 22px;
}
.tazbanner-testimonials .testi-quote {
    font-size: 17px;
    line-height: 1.65;
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    position: relative;
}
.tazbanner-testimonials .testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}
.tazbanner-testimonials .testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0687eb, #0060a8);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}
.tazbanner-testimonials .testi-avatar.green {
    background: linear-gradient(135deg, #65c03d, #16a34a);
}
.tazbanner-testimonials .testi-avatar--photo {
    background: none;
    overflow: hidden;
}
.tazbanner-testimonials .testi-avatar--photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.tazbanner-testimonials .testi-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 15px;
}
.tazbanner-testimonials .testi-role {
    color: #9aa9ba;
    font-size: 13px;
}
@media (max-width: 820px) {
    .tazbanner-testimonials .testi-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

/* TazBanner — WhatsApp CTA */
.tazbanner-wa-cta {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 70px 0;
}
.tazbanner-wa-cta .container {
    text-align: center;
}
.tazbanner-wa-cta h2 {
    color: #0b1f35;
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    margin: 0 0 12px;
}
.tazbanner-wa-cta p {
    color: #3a4a5e;
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto 28px;
}
.tazbanner-wa-cta .wa-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

/* TazBanner — Final CTA */
.tazbanner-final-cta {
    background: linear-gradient(135deg, #0687eb 0%, #5286e3 50%, #7c3aed 100%);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.tazbanner-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(235, 124, 7, .18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .08) 0%, transparent 50%);
    pointer-events: none;
}
.tazbanner-final-cta .container {
    text-align: center;
    position: relative;
    z-index: 1;
}
.tazbanner-final-cta h2 {
    color: #ffffff;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 900;
    margin: 0 0 14px;
    letter-spacing: -.01em;
}
.tazbanner-final-cta p {
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
    max-width: 460px;
    margin: 0 auto 32px;
}
.tazbanner-final-cta .cta-subtext-light {
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    margin: 14px auto 0;
}
