:root {
    --primary: #f59e0b;
    --primary-glow: rgba(245, 158, 11, 0.5);
    --bg-dark: #120d0b;
    --sidebar-bg: #1c1412;
    --card-bg: #2a1f1c;
    --text-main: #fef3c7;
    --text-muted: #a8a29e;
    --border: rgba(245, 158, 11, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none;
}

.glow-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% -20%, #3d2b26 0%, #120d0b 80%);
    z-index: -1;
    pointer-events: none;
}

.content-area {
    position: relative; 
    z-index: 10;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 100px 20px 80px 20px; 
}

.back-link {
    position: absolute;
    top: 40px;   /* Pozicionira je lepo iznad naslova */
    left: 20px;  /* Poravnava je savršeno sa levom ivicom tvog sadržaja/kartica */
    
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-4px); /* Suptilno se pomeri ulevo na hover, što daje premium osećaj */
}

/* HERO */
.hero-section { text-align: center; margin-bottom: 60px; }
.tagline { font-size: 0.85rem; font-weight: 800; letter-spacing: 4px; color: var(--primary); margin-bottom: 15px; }
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 800; color: #fff; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 20px;}
.course-duration-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245, 158, 11, 0.15); border: 1px solid var(--primary); padding: 8px 16px; border-radius: 50px; font-weight: 600; color: var(--primary); margin-bottom: 20px;}
.hero-subtitle { color: var(--text-muted); font-size: 1.15rem; margin-top: 15px; max-width: 750px; margin-inline: auto; }
.hero-link { color: var(--primary); font-weight: 700; text-decoration: none; transition: 0.3s; }
.hero-link:hover { text-shadow: 0 0 10px var(--primary-glow); color: #fff; }

/* MARQUEE */
.marquee-container {
    margin: 60px 0;
    display: flex; flex-direction: column; gap: 20px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-row { display: flex; overflow: hidden; width: 100%; }
.marquee-content { display: flex; gap: 15px; animation: scroll 35s linear infinite; }
.reverse .marquee-content { animation: scroll-reverse 35s linear infinite; }
.topic-card {
    background: var(--sidebar-bg); border: 1px solid var(--border);
    padding: 15px 35px; border-radius: 12px;
    white-space: nowrap; font-weight: 700; font-size: 1.1rem;
    color: var(--text-main); box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* STRATEGIJA */
.guide-section {
    background: var(--sidebar-bg); border: 1px solid var(--border);
    border-radius: 24px; padding: 50px; margin: 80px 0;
}
.guide-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.small-badge { display: inline-block; font-size: 0.75rem; font-weight: 800; background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 8px; margin-bottom: 15px; letter-spacing: 2px;}
.guide-text h2 { font-size: 2.2rem; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.guide-text p { color: var(--text-muted); margin-bottom: 15px; font-size: 1.05rem; }
.guide-visual { display: flex; align-items: center; gap: 15px; justify-content: center; }
.visual-box {
    background: var(--card-bg); border: 1px solid var(--primary);
    padding: 30px 20px; border-radius: 16px; font-weight: 800; color: var(--primary);
    flex: 1; text-align: center;
}
.visual-box.plus { background: transparent; border: none; font-size: 3rem; flex: 0; padding: 0; color: #fff; }

/* FREE CTA BOX */
.player-wrapper {
    background: var(--sidebar-bg); padding: 50px 30px; border-radius: 24px;
    border: 1px dashed var(--primary); margin-bottom: 100px; text-align: center;
}
.free-cta-box h2 { font-size: 2rem; color: #fff; margin: 15px 0; }
.free-cta-box p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }
.btn-glow {
    background: var(--primary); color: #fff;
    padding: 18px 30px; border-radius: 12px; font-weight: 800;
    border: none; cursor: pointer; text-align: center;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: all 0.3s ease; text-transform: uppercase;
    letter-spacing: 1px; display: inline-block; width: 100%;
    box-sizing: border-box;
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 0 30px var(--primary); }

/* PRICING */
.pricing-section { position: relative; padding: 40px 0; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 50px; color: #fff; }
.pricing-grid { display: grid; gap: 25px; align-items: stretch; }
.single-pricing { display: flex; justify-content: center; }
.pricing-card {
    background: rgba(42, 31, 28, 0.4); backdrop-filter: blur(10px);
    border: 2px solid var(--primary); border-radius: 24px; 
    display: flex; flex-direction: column;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}
.card-inner { padding: 50px 40px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.preorder-badge { background: var(--primary); color: #000; font-weight: 800; font-size: 0.8rem; padding: 6px 15px; border-radius: 50px; display: inline-block; margin-bottom: 20px; }
.price { font-size: 3.5rem; font-weight: 800; color: #fff; margin: 20px 0; }
.currency { font-size: 1.2rem; font-weight: 600; color: var(--text-muted); }

/* MODAL */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 9999; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-container { background: var(--sidebar-bg); border: 1px solid var(--border); padding: 40px; border-radius: 24px; max-width: 500px; width: 90%; position: relative; text-align: center; }
.close-modal { position: absolute; top: -50px; right: 0; font-size: 2rem; cursor: pointer; color: var(--text-muted); transition: 0.3s; }
.close-modal:hover { color: #fff; }
.modal-title { font-size: 1.8rem; margin-bottom: 20px; color: #fff; }
.modal-img { max-width: 100%; border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--border); }
.wa-link { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 15px 25px; border-radius: 12px; text-decoration: none; font-weight: 700; margin-top: 15px; transition: 0.3s; justify-content: center; width: 100%; }
.wa-link:hover { background: #1ebe57; transform: translateY(-2px); }

/* ---------------------------------------------------
   RESPONSIVE (MOBILE) OPTIMIZACIJE
------------------------------------------------------ */
@media (max-width: 768px) {
    /* 1. Opšti layout i razmaci */
    .content-area { 
        padding: 80px 15px 50px 15px; 
    }
    
    .back-link {
        left: 50%;
        transform: translateX(-50%); /* Savršeno centrira strelicu na sredinu ekrana */
        top: 30px; /* Spušta je malo niže od samog vrha ekrana */
        font-size: 0.85rem;
    }
    
    .back-link:hover {
        transform: translateX(-50%) translateY(-2px); /* Lagani efekat nagore umesto ulevo na telefonu */
    }

    /* 2. Hero sekcija */
    h1 { 
        font-size: 2.2rem; 
        margin-bottom: 15px; 
    }
    .hero-subtitle { 
        font-size: 1rem; 
        padding: 0 10px;
    }
    .course-duration-badge { 
        font-size: 0.85rem; 
        padding: 6px 12px; 
        width: 100%;
        justify-content: center;
    }

    /* 3. Marquee */
    .marquee-container { margin: 40px 0; }
    .topic-card { 
        padding: 10px 20px; 
        font-size: 0.95rem; 
    }

    /* 4. Strategija / Info sekcija */
    .guide-section { 
        padding: 35px 20px; 
        margin: 50px 0; 
        border-radius: 20px;
    }
    .guide-content { 
        grid-template-columns: 1fr; 
        gap: 30px; 
        text-align: center; 
    }
    .guide-text h2 { font-size: 1.8rem; }
    .guide-text p { font-size: 0.95rem; text-align: left; }
    
    .guide-visual { 
        gap: 10px; /* Zadržano u jednom redu, ali zbijenije */
    }
    .visual-box { 
        padding: 15px 10px; 
        font-size: 1rem !important; 
        border-radius: 12px; 
    }
    .visual-box.plus { 
        font-size: 1.8rem; 
    }

    /* 5. Free Player sekcija */
    .player-wrapper { 
        padding: 40px 20px; 
        margin-bottom: 60px; 
        border-radius: 20px;
    }
    .free-cta-box h2 { font-size: 1.6rem; }
    .free-cta-box p { font-size: 1rem; }

    /* 6. Cena i Kartica */
    .section-title { font-size: 2rem; margin-bottom: 30px; padding: 0 10px; }
    .card-inner { 
        padding: 35px 20px; 
    }
    .price { 
        font-size: 2.5rem; /* Smanjeno da ne prelama u dva reda na malim ekranima */
        margin: 15px 0;
    }
    .card-inner ul li { 
        font-size: 0.95rem !important; 
        line-height: 1.4;
    }
    .p-card-action button { 
        padding: 15px !important; 
        font-size: 1rem !important; 
    }

    /* 7. Modal za uplatu */
    .modal-container { 
        padding: 30px 20px; 
        width: 95%;
        border-radius: 16px;
    }
    .modal-title { font-size: 1.5rem; }
    .close-modal { 
        top: -45px; /* Pomereno malo niže zbog mobilnog */
        right: 0;
    }
    .wa-link { 
        font-size: 1rem; 
        padding: 12px 15px; 
    }
}

/* Dodatna provera za baš male ekrane (npr. iPhone SE) */
@media (max-width: 380px) {
    h1 { font-size: 1.9rem; }
    .price { font-size: 2.2rem; }
    .guide-visual { flex-direction: column; }
    .visual-box { width: 100%; }
    .visual-box.plus { padding: 5px 0; }
}