/*
 * subscription-landing.css — pravila SPECIFICNA samo za ovu stranicu.
 * Zajednicka pravila su u:
 *   - assets/css/sections/landing-page.css (amo_section_css('landing-page'))
 *   - assets/css/sections/landing-static.css (amo_section_css('landing-static'))
 */

/* ── Reset / baza ────────────────────────────────────────────────────── */
.asl-page * { box-sizing: border-box; }

.asl-section {
    padding: 90px 0;
}

.asl-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Zlatni gradient separator */
.asl-gradient-line {
    width: 125px;
    height: 3px;
    background: linear-gradient(to right, #b87432 0%, #d8a852 85%, #ffe0b3 100%);
    margin: 14px auto 36px;
    border: 0;
    border-radius: 2px;
}

/* Naslov sekcije */
.asl-section-title {
    text-align: center;
    font-size: clamp(22px, 2.5vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}

/* Podnaslov sekcije */
.asl-section-subtitle {
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: clamp(14px, 1.4vw, 18px);
    margin-top: 0;
    margin-bottom: 48px;
}

/* Zlatno dugme */
.asl-btn {
    display: inline-block;
    background: linear-gradient(to right, #e0a040, #bf8030);
    color: #fff !important;
    border: none;
    border-radius: 40px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .25s;
}

.asl-btn:hover { opacity: .82; }

/* Disklejmer */
.asl-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    margin: 10px 0 0;
    text-align: center;
}

/* CTA wrap */
.asl-cta-wrap { text-align: center; margin-top: 40px; }

/* Video wrapper 16:9 */
.asl-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 14px;
}

.asl-video-wrapper iframe,
.asl-video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── 1. HERO ─────────────────────────────────────────────────────────── */
.asl-hero {
    background: linear-gradient(320deg, #353535 0%, #2b2b2b 15%, #1c1c1d 80%);
    padding: 80px 0;
}

.asl-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Media levo */
.asl-hero__media { order: 1; }

.asl-hero__img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

/* Tekst desno */
.asl-hero__content { order: 2; }

.asl-hero__title {
    font-size: clamp(28px, 3.2vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 14px;
    background: linear-gradient(to right, #b87432 0%, #d8a852 85%, #ffe0b3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.asl-hero__subtitle {
    font-size: clamp(18px, 1.8vw, 28px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.3;
}

.asl-hero__text {
    color: rgba(255,255,255,.82);
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.75;
    margin-bottom: 22px;
}

/* Hero kartica — info + CTA + disclaimer u jednom boksu (MasterClass stil) */
.asl-hero__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(28, 28, 28, 0.90);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 24px 28px 22px;
    gap: 16px;
    width: 100%;
}

.asl-hero__card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.asl-hero__group-img {
    max-width: 360px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px;
}

.asl-hero__info-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,.92);
    margin: 0;
    line-height: 1.4;
}

.asl-hero__card .asl-btn {
    width: 100%;
    text-align: center;
}

.asl-hero__card .asl-hero__price,
.asl-hero__card .asl-disclaimer {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,.50);
    line-height: 1.5;
}

/* ── FAQ / Third Accordion (isti stil kao Igor Moda landing) ─────────── */
.third-accordion-section {
    margin-bottom: 50px;
}

.third-accordion-section .container h3 {
    font-size: clamp(20px, 1.75vw, 40px);
    font-weight: bold;
    margin-bottom: 14px;
    color: #fff;
}

.third-accordion-section .container .wrapper .accordion .accordion-item .accordion-header button {
    background: transparent;
    font-size: clamp(13px, 1.75vw, 30px);
    color: #fff;
    padding: 0px;
    box-shadow: none;
    transition: all 0.4s ease-in-out;
    text-align: left;
    line-height: normal;
}

.third-accordion-section .container .wrapper .accordion .accordion-item .accordion-button::after {
    height: 39px;
    width: 39px;
    background-size: contain;
    transform: rotate(0deg);
    transition: all 0.4s ease-in-out;
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    flex-shrink: 0;
}

.third-accordion-section .container .wrapper .accordion .accordion-item .accordion-button:not(.collapsed)::after {
    content: "✕";
    background: none;
    font-size: 2rem;
    transform: none;
    height: 39px;
    width: 39px;
    transform: rotate(360deg);
}

@media (max-width: 767px) {
    .third-accordion-section {
        margin-bottom: 30px;
    }
    .third-accordion-section .container .wrapper .accordion .accordion-item .accordion-button:not(.collapsed)::after {
        font-size: 1rem;
        height: 22px;
        width: 22px;
    }
    .third-accordion-section .container .wrapper .accordion .accordion-item .accordion-button::after {
        height: 22px;
        width: 22px;
        font-size: 22px;
    }
    .third-accordion-section .container .wrapper .accordion .accordion-item {
        padding: 20px 15px;
    }
    .third-accordion-section .container .wrapper {
        padding: 20px 0px !important;
    }
    .third-accordion-section .container .gradient-divider {
        margin: 0px auto 30px;
    }}

.asl-hero__cta-wrap { display: flex; flex-direction: column; align-items: flex-start; }

.asl-hero__price {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin: 10px 0 0;
}

.asl-hero__info-badge {
    display: block;
    width: fit-content;
    border: 1px solid rgba(216,168,82,.5);
    color: rgba(255,255,255,.85);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    margin: 0 auto 14px;
}

/* ── 2. SLIDER KURSEVA ───────────────────────────────────────────────── */
.asl-courses {
    background: linear-gradient(320deg, #1c1c1d 0%, #252525 100%);
}

.asl-courses__wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.asl-courses__track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding: 8px 4px 20px;
    flex: 1;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.asl-courses__track::-webkit-scrollbar { display: none; }

/* Strelice */
.asl-courses__arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #d8a852;
    background: rgba(216,168,82,.1);
    color: #d8a852;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s;
    padding: 0;
}

.asl-courses__arrow:hover { background: rgba(216,168,82,.3); }

/* Kartice kurseva — tačno N po redu zavisno od ekrana */
.asl-course-card {
    flex: 0 0 calc(25% - 17px); /* 4 na desktopu, gap=22px → 3*22/4=16.5 */
    background: linear-gradient(160deg, #2e2e2e 0%, #1c1c1d 100%);
    border: 1px solid #D8A852;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}

@media (max-width: 1100px) {
    .asl-course-card { flex: 0 0 calc(33.333% - 15px); } /* 3 po redu */
}

@media (max-width: 767px) {
    .asl-course-card { flex: 0 0 calc(50% - 11px); } /* 2 po redu */
}

@media (max-width: 480px) {
    .asl-course-card { flex: 0 0 calc(100% - 0px); } /* 1 po redu */
}

.asl-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(216,168,82,.15);
}

.asl-course-card__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity .3s;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.asl-course-card:hover .asl-course-card__thumb { opacity: .9; }

.asl-course-card__body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.asl-course-card__title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    flex: 1;
    margin-bottom: 8px;
}

.asl-course-card__price {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to right, #b87432, #d8a852, #ffe0b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WooCommerce ins/del reset unutar kartice */
.asl-course-card__price ins { text-decoration: none; }

.asl-course-card__price del { opacity: .5; font-size: 12px; margin-right: 4px; }

.asl-course-card__btn {
    display: block;
    background: linear-gradient(to right, #e0a040, #bf8030);
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    border-radius: 30px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    transition: opacity .25s;
}

.asl-course-card__btn:hover { opacity: .82; }

/* Dot indikatori */
.asl-courses__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.asl-courses__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(216,168,82,.3);
    border: 0;
    cursor: pointer;
    transition: background .25s, transform .25s;
    padding: 0;
}

.asl-courses__dot.is-active {
    background: #d8a852;
    transform: scale(1.35);
}

/* ── 3. VIDEO SEKCIJA ────────────────────────────────────────────────── */
.asl-video-section {
    background: #111;
}

.asl-video-section__player {
    max-width: 900px;
    margin: 0 auto;
}

/* ── 4. TRI SLIKE ────────────────────────────────────────────────────── */
.asl-features {
    background: linear-gradient(320deg, #1c1c1d 0%, #242424 100%);
}

.asl-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 70px;
}

.asl-feature-item {
    text-align: center;
    transition: transform .4s;
}

.asl-feature-item:hover { transform: translateY(-6px); }

.asl-feature-item__img-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(216,168,82,.25);
    margin-bottom: 16px;
}

.asl-feature-item__img-wrap img {
    width: 100%;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top center;
}

.asl-feature-item__cap {
    color: rgba(255,255,255,.88);
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 600;
    line-height: 1.5;
}

.asl-features__bottom {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.asl-features__bottom-title {
    font-size: clamp(24px, 2.8vw, 44px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}

.asl-features__bottom-text {
    color: rgba(255,255,255,.78);
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.75;
}

/* ── 5. TESTIMONIJALI ────────────────────────────────────────────────── */
.asl-testimonials {
    background: linear-gradient(320deg, #353535 0%, #2b2b2b 15%, #1c1c1d 80%);
}

.asl-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.asl-test-card {
    background: linear-gradient(160deg, #2b2b2b 0%, #1f1f20 100%);
    border: 1px solid rgba(184,116,50,.45);
    border-radius: 20px;
    padding: 42px 28px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}

.asl-test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.asl-test-card__quote {
    position: absolute;
    top: -18px;
    left: 22px;
    width: 38px;
    height: 38px;
    background: linear-gradient(to right, #e0a040, #bf8030);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.asl-test-card__review {
    color: rgba(255,255,255,.88);
    font-size: clamp(13px, 1.25vw, 16px);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
}

.asl-test-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(216,168,82,.2);
    padding-top: 16px;
}

.asl-test-card__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d8a852;
    flex-shrink: 0;
}

.asl-test-card__avatar--empty {
    background: rgba(216,168,82,.2);
}

.asl-test-card__name {
    color: #d8a852;
    font-size: 14px;
    font-weight: 700;
}

/* ── 6. KARTICE PONUDE ───────────────────────────────────────────────── */
.asl-plans {
    background: linear-gradient(320deg, #1c1c1d 0%, #242424 100%);
}

.asl-plans__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 12px;
}

.asl-plans__disclaimer {
    color: rgba(255,255,255,.45);
    font-size: 13px;
    margin-top: 24px;
}

.asl-plan-card {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(160deg, #2b2b2b 0%, #1c1c1d 100%);
    border: 1px solid rgba(216,168,82,.35);
    transition: transform .4s ease, box-shadow .4s ease;
}

.asl-plan-card__price {
    transition: background .4s ease, color .4s ease;
}

.asl-plan-card__period {
    transition: color .4s ease;
}

.asl-plan-card__content ul li {
    transition: color .4s ease;
}

.asl-plan-card__content ul li::before {
    transition: filter .4s ease;
}

.asl-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.asl-plan-card--featured:hover .asl-plan-card__price {
    background: linear-gradient(to right, #212529, #6c757d, #222222);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.asl-plan-card--featured:hover .asl-plan-card__content ul li {
    color: #473427;
}

.asl-plan-card--featured:hover .asl-plan-card__content ul li::before {
    filter: brightness(0.5);
}

.asl-plan-card--featured:hover .asl-plan-card__period {
    color: #473427;
}

/* Istaknuta kartica (featured) */
.asl-plan-card--featured {
    border-color: #d8a852;
    box-shadow: 0 0 0 2px rgba(216,168,82,.3);
}

.asl-plan-card--featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, #b87432, #d8a852, #ffe0b3);
    z-index: -1;
}

/* Badge (npr. "NAJPOPULARNIJE") */
.asl-plan-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #e0a040, #bf8030);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Popust badge — gornji desni ugao */
.asl-plan-card__discount {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #be0d1b;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 8px;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(190,13,27,.35);
}

.asl-plan-card__inner {
    padding: 40px 36px 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.asl-plan-card__title {
    color: #fff;
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.asl-plan-card__price-wrap {
    text-align: center;
    margin-bottom: 6px;
}

.asl-plan-card__price {
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 800;
    background: linear-gradient(to right, #b87432, #d8a852, #ffe0b3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.asl-plan-card__period {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 14px;
    margin-top: 4px;
}

.asl-plan-card__note {
    text-align: center;
    color: rgba(255,255,255,.5);
    font-size: 13px;
    margin-bottom: 6px;
}

.asl-plan-card__divider {
    height: 1px;
    background: rgba(216,168,82,.25);
    margin: 20px 0;
}

/* Sadrzaj liste — WP editor ce generisati <ul> */
.asl-plan-card__content {
    flex: 1;
    margin-bottom: 28px;
}

.asl-plan-card__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.asl-plan-card__content ul li {
    color: rgba(255,255,255,.85);
    font-size: clamp(13px, 1.25vw, 16px);
    padding: 8px 0 8px 30px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
    line-height: 1.5;
}

.asl-plan-card__content ul li:last-child { border-bottom: 0; }

.asl-plan-card__content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d8a852'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 00-1.414 0L8 12.586 4.707 9.293a1 1 0 00-1.414 1.414l4 4a1 1 0 001.414 0l8-8a1 1 0 000-1.414z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.asl-plan-card__cta {
    display: block;
    text-align: center;
    margin-top: auto;
}

/* ── Responsivnost ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .asl-plans__grid {
        gap: 20px;
    }
    .asl-plan-card__inner {
        padding: 32px 24px 28px;
    }
}

@media (max-width: 900px) {
    .asl-testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .asl-features__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .asl-plans__grid {
        gap: 14px;
    }
    .asl-plan-card__inner {
        padding: 28px 16px 22px;
    }
    .asl-plan-card__price {
        font-size: clamp(28px, 6vw, 48px);
    }}

@media (max-width: 575px) {
    .asl-plans__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .asl-plan-card__cta { font-size: 10px; }
    .asl-btn { font-size: 10px; }}

@media (max-width: 768px) {
    .asl-section { padding: 60px 0; }

    .asl-hero { padding: 50px 0; }
    .asl-hero__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .asl-hero__media { order: 1; }
    .asl-hero__content { order: 2; }
    .asl-hero__cta-wrap { align-items: center; }

    /* Hero kartica — na mobilnom puna širina, centrirana */
    .asl-hero__card {
        max-width: 100%;
        align-self: center;
    }
    .asl-hero__group-img { max-width: 260px; }

    .asl-courses__arrow { display: none; }

    .asl-plan-card__inner { padding: 36px 20px 24px; }}

@media (max-width: 480px) {
    .asl-hero__info-label { font-size: 13px; }
    .asl-hero__card        { padding: 18px 16px; }
    .asl-hero__group-img   { max-width: 220px; }}

