/* ==========================================================================
   PreuzmiLeasing – Landing Pages
   Verzija: 1.0.3
   Scope: .pl-landing  (body class postavlja template)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom properties – jedino mijenjaj ovdje za rebrand
   -------------------------------------------------------------------------- */
:root {
    --pl-orange:       #eb621d;
    --pl-orange-dark:  #d4561a;
    --pl-orange-dim:   rgba(235, 98, 29, 0.15);
    --pl-orange-border:rgba(235, 98, 29, 0.35);

    --pl-bg:           #111111;
    --pl-bg-steps:     #161616;
    --pl-bg-promo:     #0f0e0b;

    --pl-white:        #ffffff;
    --pl-text-muted:   rgba(255, 255, 255, 0.45);
    --pl-text-dim:     rgba(255, 255, 255, 0.25);
    --pl-border:       rgba(255, 255, 255, 0.07);
    --pl-border-step:  rgba(255, 255, 255, 0.07);

    --pl-radius-sm:    6px;
    --pl-radius-md:    10px;
    --pl-radius-pill:  999px;

    --pl-font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & base (scoped na .pl-landing da ne dira ostatak WP)
   -------------------------------------------------------------------------- */
.pl-landing,
.pl-landing *,
.pl-landing *::before,
.pl-landing *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pl-landing {
    font-family: var(--pl-font);
    background: var(--pl-bg);
    color: var(--pl-white);
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
}

/* --------------------------------------------------------------------------
   Wrap
   -------------------------------------------------------------------------- */
.pl-wrap {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    overflow-x: hidden;
    background: var(--pl-bg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.pl-hero {
    padding: 64px 24px 56px;
    text-align: center;
    background: var(--pl-bg);
}

/* Badge */
.pl-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--pl-orange-border);
    background: var(--pl-orange-dim);
    border-radius: var(--pl-radius-pill);
    padding: 6px 16px;
    margin-bottom: 28px;
}

.pl-badge .pl-icon {
    color: var(--pl-orange);
    flex-shrink: 0;
}

/* Heading */
.pl-hero__title {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 700;
    color: var(--pl-white);
    line-height: 1.2;
    margin-bottom: 18px;
    max-width: 580px;
    margin-inline: auto;
}

.pl-hero__accent {
    color: var(--pl-orange);
    font-style: normal;
    display: block;
}

/* Subheadline */
.pl-hero__sub {
    font-size: 15px;
    color: var(--pl-text-muted);
    line-height: 1.75;
    max-width: 420px;
    margin: 0 auto 36px;
}

/* CTA group */
.pl-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Primary button */
.pl-btn--primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--pl-orange);
    color: var(--pl-white);
    font-size: 16px;
    font-weight: 500;
    padding: 15px 36px;
    border-radius: var(--pl-radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s ease;
    line-height: 1;
}

.pl-btn--primary:hover,
.pl-btn--primary:focus-visible {
    background: var(--pl-orange-dark);
    color: var(--pl-white);
    text-decoration: none;
}

.pl-btn--primary:focus-visible {
    outline: 2px solid var(--pl-orange);
    outline-offset: 3px;
}

/* CTA note */
.pl-cta-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--pl-text-dim);
}

.pl-cta-note .pl-icon {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.pl-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--pl-border);
    background: var(--pl-bg-steps);
}

.pl-step {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border: 1px solid var(--pl-border-step);
    border-radius: var(--pl-radius-md);
    background: rgba(255, 255, 255, 0.035);
}

.pl-step:hover {
    border-color: rgba(235, 98, 29, 0.28);
    background: rgba(255, 255, 255, 0.045);
}

.pl-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    height: 30px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--pl-white);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1;
    white-space: nowrap;
    border-radius: var(--pl-radius-pill);
    background: var(--pl-orange);
}

.pl-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--pl-radius-pill);
    background: var(--pl-orange-dim);
    color: var(--pl-orange);
}

.pl-step__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--pl-white);
    margin-bottom: 4px;
    line-height: 1.3;
}

.pl-step__desc {
    font-size: 13px;
    color: var(--pl-text-muted);
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Promo bar
   -------------------------------------------------------------------------- */
.pl-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 28px;
    background: var(--pl-bg-promo);
    border-top: 1px solid var(--pl-orange-border);
}

.pl-promo__left {
    flex: 1 1 auto;
    min-width: 0;
}

.pl-promo__note {
    font-size: 12px;
    color: var(--pl-text-muted);
    margin-bottom: 8px;
}

.pl-promo__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pl-promo__check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.pl-promo__price {
    text-align: right;
    flex-shrink: 0;
}

.pl-promo__eur {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--pl-orange);
    line-height: 1.1;
}

.pl-promo__period {
    font-size: 10px;
    color: var(--pl-text-dim);
}

/* --------------------------------------------------------------------------
   Footer nav
   -------------------------------------------------------------------------- */
.pl-footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 14px 28px;
    background: #0d0d0d;
    border-top: 1px solid var(--pl-border);
}

.pl-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.15s ease;
}

.pl-footer-link:hover,
.pl-footer-link:focus-visible {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.pl-footer-link:focus-visible {
    outline: 2px solid var(--pl-orange);
    outline-offset: 2px;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Shared icon helper
   -------------------------------------------------------------------------- */
.pl-icon {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Responsive – tablet (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .pl-hero {
        padding: 48px 20px 44px;
    }

    .pl-hero__sub {
        font-size: 14px;
    }

    .pl-btn--primary {
        font-size: 15px;
        padding: 14px 28px;
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }

    .pl-steps {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .pl-step {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
    }

    .pl-step__num {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .pl-step__icon {
        width: 36px;
        height: 36px;
    }

    .pl-promo {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }

    .pl-promo__price {
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
   Responsive – mobile (≤ 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .pl-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    .pl-hero__title {
        font-size: 26px;
    }

    .pl-promo__checks {
        gap: 8px;
    }

    .pl-steps {
        padding: 16px;
    }

    .pl-step {
        padding: 16px;
    }

    .pl-footer-nav {
        gap: 8px 16px;
    }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .pl-btn--primary {
        transition: none;
    }

    .pl-footer-link {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Final visual target – jači scope od globalnih/plugin CSS pravila
   -------------------------------------------------------------------------- */
.pl-landing {
    background: #0b0b0b;
}

.pl-landing .pl-wrap {
    max-width: 1400px;
    border-inline: 1px solid rgba(255, 255, 255, 0.06);
    background: #101010;
}

.pl-landing .pl-hero {
    min-height: 720px;
    padding: 108px 36px 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #101010;
}

.pl-landing .pl-badge {
    gap: 12px;
    padding: 10px 28px;
    margin-bottom: 62px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.64);
    background: rgba(235, 98, 29, 0.09);
    border-color: rgba(235, 98, 29, 0.55);
}

.pl-landing .pl-hero__title {
    max-width: 760px;
    margin-bottom: 30px;
    font-size: clamp(48px, 7vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.pl-landing .pl-hero__accent {
    max-width: 620px;
    margin-inline: auto;
    color: #d66d36;
}

.pl-landing .pl-hero__sub {
    max-width: 650px;
    margin-bottom: 72px;
    font-size: 28px;
    font-weight: 650;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.38);
}

.pl-landing .pl-cta-wrap {
    gap: 22px;
}

.pl-landing .pl-btn--primary {
    width: min(100%, 464px);
    min-height: 86px;
    justify-content: center;
    gap: 16px;
    padding: 24px 34px;
    border-radius: 18px;
    background: #d96f36;
    font-size: 28px;
    font-weight: 750;
}

.pl-landing .pl-btn--primary:hover,
.pl-landing .pl-btn--primary:focus-visible {
    background: #eb621d;
}

.pl-landing .pl-btn--primary .pl-icon {
    width: 24px;
    height: 24px;
}

.pl-landing .pl-cta-note {
    max-width: 520px;
    justify-content: center;
    gap: 26px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.12;
    text-align: center;
    color: rgba(255, 255, 255, 0.22);
}

.pl-landing .pl-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #121212;
}

.pl-landing .pl-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
    width: 100%;
    padding: 36px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
}

.pl-landing .pl-step:last-child {
    border-right: 0;
}

.pl-landing .pl-step:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: transparent;
}

.pl-landing .pl-step__num {
    display: block;
    min-width: 0;
    height: auto;
    padding: 0;
    margin-bottom: 28px;
    border-radius: 0;
    background: transparent;
    color: #e8783a;
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2.2px;
}

.pl-landing .pl-step__icon {
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 28px;
    border-radius: 0;
    background: transparent;
    color: #e8783a;
}

.pl-landing .pl-step__icon .pl-icon {
    width: 33px;
    height: 33px;
}

.pl-landing .pl-step__title {
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: 850;
    line-height: 1.2;
}

.pl-landing .pl-step__desc {
    max-width: 220px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.34);
}

.pl-landing .pl-promo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 46px 28px;
    background: #0d0c09;
    border-top: 1px solid rgba(235, 98, 29, 0.28);
}

.pl-landing .pl-promo__note {
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.28);
}

.pl-landing .pl-promo__checks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 34px;
}

.pl-landing .pl-promo__check {
    align-items: flex-start;
    gap: 12px;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.36);
}

.pl-landing .pl-promo__check .pl-icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.pl-landing .pl-promo__price {
    text-align: left;
}

.pl-landing .pl-promo__eur {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: #e8783a;
}

.pl-landing .pl-promo__period {
    margin-top: 8px;
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.24);
}

.pl-landing .pl-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 26px 42px;
    background: #101010;
}

.pl-landing .pl-footer-link {
    justify-content: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.26);
}

@media (max-width: 768px) {
    .pl-landing .pl-wrap {
        max-width: 676px;
    }

    .pl-landing .pl-hero {
        min-height: 720px;
        padding: 108px 36px 76px;
    }

    .pl-landing .pl-badge {
        font-size: 18px;
    }

    .pl-landing .pl-hero__title {
        font-size: 61px;
    }

    .pl-landing .pl-hero__sub {
        font-size: 27px;
    }
}

@media (max-width: 560px) {
    .pl-landing .pl-hero {
        min-height: 640px;
        padding: 62px 24px 54px;
    }

    .pl-landing .pl-badge {
        margin-bottom: 44px;
        padding: 9px 18px;
        font-size: 13px;
        letter-spacing: 1.4px;
    }

    .pl-landing .pl-hero__title {
        max-width: 390px;
        margin-bottom: 24px;
        font-size: 40px;
    }

    .pl-landing .pl-hero__sub {
        max-width: 390px;
        margin-bottom: 48px;
        font-size: 18px;
    }

    .pl-landing .pl-btn--primary {
        min-height: 58px;
        border-radius: 12px;
        font-size: 19px;
    }

    .pl-landing .pl-cta-note {
        gap: 12px;
        font-size: 14px;
    }

    .pl-landing .pl-step {
        padding: 24px 16px;
    }

    .pl-landing .pl-step__num {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .pl-landing .pl-step__icon {
        margin-bottom: 20px;
    }

    .pl-landing .pl-step__icon .pl-icon {
        width: 24px;
        height: 24px;
    }

    .pl-landing .pl-step__title {
        margin-bottom: 14px;
        font-size: 18px;
    }

    .pl-landing .pl-step__desc {
        font-size: 16px;
    }

    .pl-landing .pl-promo {
        padding: 24px 28px;
    }

    .pl-landing .pl-promo__note,
    .pl-landing .pl-promo__check,
    .pl-landing .pl-footer-link {
        font-size: 15px;
    }

    .pl-landing .pl-promo__eur {
        font-size: 32px;
    }

    .pl-landing .pl-footer-nav {
        padding: 18px 20px;
    }
}
