/**
 * Laven360 - Marketing sajt (laven360.com)
 * Dizajn prema brand book-u: Manrope, ljubicasta paleta, tamna podloga.
 */

:root {
    --lv-dark: #1E0228;
    --lv-dark-2: #2C1434;
    --lv-purple: #5D0565;
    --lv-purple-deep: #47034E;
    --lv-purple-mid: #7E3285;
    --lv-purple-light: #B36FBF;
    --lv-lilac: #CF8FE5;
    --lv-pink: #EBCCE2;
    --lv-pink-soft: #F6E7F2;
    --lv-white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body.lv {
    background: var(--lv-dark);
    color: #fff;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}
body.lv h1, body.lv h2, body.lv h3, body.lv h4, body.lv h5, body.lv h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
}
.lv a { text-decoration: none; }
.lv .muted { color: rgba(255, 255, 255, .7); }
.lv-section { padding: 96px 0; position: relative; }
.lv-eyebrow {
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 13px;
    font-weight: 600;
    color: var(--lv-lilac);
    margin-bottom: 14px;
}
.lv-title { font-size: clamp(28px, 4vw, 46px); line-height: 1.15; margin-bottom: 14px; }
.lv-lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .78); }

/* --- Dugmad --- */
.lv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 999px;
    font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.lv-btn-primary {
    background: linear-gradient(135deg, var(--lv-purple-mid), var(--lv-purple));
    color: #fff;
    box-shadow: 0 10px 28px rgba(93, 5, 101, .45);
}
.lv-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(93, 5, 101, .6); }
.lv-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.lv-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lv-btn-light { background: var(--lv-pink); color: var(--lv-dark); }
.lv-btn-light:hover { background: #fff; color: var(--lv-dark); }
.lv-btn-sm { padding: 9px 20px; font-size: 13px; }

/* --- Header --- */
.lv-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
    padding: 14px 0;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.lv-header.scrolled {
    background: rgba(30, 2, 40, .93);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 26px rgba(0, 0, 0, .4);
    padding: 9px 0;
}
.lv-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.lv-nav-left, .lv-nav-right { flex: 1 1 0; display: flex; align-items: center; gap: 26px; }
.lv-nav-right { justify-content: flex-end; gap: 10px; }
.lv-nav-center { flex: 0 0 auto; }
.lv-nav a.lv-link {
    color: rgba(255, 255, 255, .88);
    font-weight: 600; font-size: 15px;
    position: relative; padding: 4px 0;
}
.lv-nav a.lv-link::after {
    content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
    background: var(--lv-lilac); transition: right .25s ease;
}
.lv-nav a.lv-link:hover { color: #fff; }
.lv-nav a.lv-link:hover::after { right: 0; }
.lv-logo img { height: 38px; width: auto; display: block; }
.lv-burger {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
    align-items: center; justify-content: center; font-size: 19px;
}
.lv-mobile-menu {
    position: fixed; inset: 0; z-index: 1040;
    background: rgba(30, 2, 40, .985);
    backdrop-filter: blur(10px);
    display: none; flex-direction: column;
    padding: 90px 28px 40px;
    gap: 6px;
}
.lv-mobile-menu.open { display: flex; }
.lv-mobile-menu a {
    color: #fff; font-size: 21px; font-weight: 700;
    padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.lv-mobile-close {
    position: absolute; top: 20px; right: 22px;
    width: 44px; height: 44px; border-radius: 12px; font-size: 22px;
    background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: #fff;
}

@media (max-width: 991px) {
    .lv-nav-left .lv-link, .lv-nav-right .lv-desktop-only { display: none; }
    .lv-nav { justify-content: space-between; }
    /* mobilna: logo levo, dugme "Zakazi DEMO" pa hamburger desno */
    .lv-nav-left { flex: 0 0 auto; order: 1; }
    .lv-nav-center { display: none; }
    .lv-nav-right { order: 2; flex: 0 0 auto; }
    .lv-burger { display: inline-flex; }
    .lv-logo-mobile { display: block !important; }
}
.lv-logo-mobile { display: none; }

/* --- Hero --- */
.lv-hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, #4a0a55 0%, var(--lv-dark) 62%);
}
.lv-hero-media { position: absolute; inset: 0; z-index: 0; }
.lv-hero-media img, .lv-hero-media video {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .38;
    transform: scale(1.04);
}
.lv-hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(30, 2, 40, .72) 0%, rgba(30, 2, 40, .55) 45%, var(--lv-dark) 100%);
}
.lv-hero-content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 90px; }
.lv-hero h1 {
    font-size: clamp(38px, 6.6vw, 84px);
    line-height: 1.02;
    margin-bottom: 20px;
}
.lv-hero h1 .grad {
    background: linear-gradient(100deg, var(--lv-pink), var(--lv-lilac) 55%, #fff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lv-hero p { max-width: 620px; font-size: clamp(16px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); }
.lv-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.lv-hero-badge {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .07);
    border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600;
    backdrop-filter: blur(6px);
}

/* --- Kartice --- */
.lv-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .028));
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 22px;
    padding: 30px;
    height: 100%;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.lv-card:hover {
    transform: translateY(-6px);
    border-color: rgba(207, 143, 229, .6);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .42);
}
.lv-card h3 { font-size: 25px; margin-bottom: 12px; }
.lv-card p { color: rgba(255, 255, 255, .74); font-size: 15px; margin-bottom: 0; }
.lv-card-ico { width: 54px; height: 54px; margin-bottom: 18px; }
.lv-card-ico img { width: 100%; height: 100%; object-fit: contain; }

/* sekcija sa svetlom (roze) podlogom */
.lv-section-light {
    background: linear-gradient(115deg, #F2D9EC 0%, #FBF3F9 45%, #F7EAF4 100%);
    color: var(--lv-dark);
}
.lv-section-light h1, .lv-section-light h2, .lv-section-light h3,
.lv-section-light h4, .lv-section-light h5, .lv-section-light p,
.lv-section-light li, .lv-section-light strong { color: var(--lv-dark); }
.lv-section-light .lv-eyebrow { color: var(--lv-purple-mid); }
.lv-section-light .lv-lead { color: rgba(30, 2, 40, .74); }
.lv-section-light .lv-card {
    background: rgba(255, 255, 255, .72);
    border-color: rgba(93, 5, 101, .16);
}
.lv-section-light .lv-card p { color: rgba(30, 2, 40, .72); }

/* --- Koraci --- */
.lv-steps { position: relative; }
.lv-step-num {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--lv-purple); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.lv-section-light .lv-step-line {
    height: 2px; background: linear-gradient(90deg, var(--lv-purple-mid), rgba(93, 5, 101, .1));
    margin: 26px 0;
}

/* --- Rezultati --- */
.lv-stats-wrap {
    background: linear-gradient(110deg, var(--lv-purple-deep) 0%, var(--lv-purple) 48%, #6d1275 100%);
    border-radius: 40px;
    padding: 54px 30px;
}
.lv-stat-num {
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 800; line-height: 1;
    letter-spacing: -.04em;
}
.lv-stat-txt { font-size: 15px; color: rgba(255, 255, 255, .9); margin-top: 10px; }

/* --- Funkcionalnosti (carousel) --- */
.lv-feat-track {
    display: flex; gap: 22px; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 6px 2px 22px;
    scrollbar-width: none;
}
.lv-feat-track::-webkit-scrollbar { display: none; }
.lv-feat {
    scroll-snap-align: start;
    flex: 0 0 min(400px, 84vw);
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(93, 5, 101, .16);
    border-radius: 22px; overflow: hidden;
    display: flex; flex-direction: column;
}
.lv-feat img { width: 100%; height: 210px; object-fit: cover; background: #fff; }
.lv-feat-body { padding: 24px; flex: 1 1 auto; }
.lv-feat h3 { font-size: 21px; margin-bottom: 8px; }
.lv-feat p { font-size: 14.5px; margin-bottom: 12px; }
.lv-feat ul { padding-left: 18px; margin: 0; font-size: 13.8px; }
.lv-feat ul li { margin-bottom: 5px; }
.lv-feat-nav { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.lv-arrow {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--lv-purple-deep); color: #fff; border: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 21px;
    transition: transform .2s ease, background .2s ease;
}
.lv-arrow:hover { background: var(--lv-purple); transform: scale(1.07); color: #fff; }

/* --- Cenovnik --- */
.lv-toggle {
    display: inline-flex; align-items: center; gap: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px; padding: 7px 16px;
}
.lv-switch { position: relative; width: 54px; height: 28px; }
.lv-switch input { opacity: 0; width: 0; height: 0; }
.lv-switch span {
    position: absolute; inset: 0; cursor: pointer;
    background: rgba(255, 255, 255, .28); border-radius: 999px; transition: background .25s ease;
}
.lv-switch span::before {
    content: ''; position: absolute; height: 22px; width: 22px; left: 3px; top: 3px;
    background: #fff; border-radius: 50%; transition: transform .25s ease;
}
.lv-switch input:checked + span { background: var(--lv-lilac); }
.lv-switch input:checked + span::before { transform: translateX(26px); }
.lv-save-badge {
    background: rgba(46, 204, 113, .18); color: #7ef0ad;
    border: 1px solid rgba(46, 204, 113, .5);
    border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700;
}

.lv-plan {
    background: linear-gradient(170deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 26px; padding: 30px; height: 100%;
    display: flex; flex-direction: column;
}
.lv-plan.featured {
    border-color: var(--lv-lilac);
    background: linear-gradient(170deg, rgba(126, 50, 133, .55), rgba(93, 5, 101, .3));
    box-shadow: 0 20px 60px rgba(93, 5, 101, .5);
}
.lv-plan-name { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; color: var(--lv-pink); font-weight: 700; }
.lv-plan-price { font-size: 46px; font-weight: 800; line-height: 1.05; margin: 8px 0 2px; }
.lv-plan-per { font-size: 13px; color: rgba(255, 255, 255, .62); margin-bottom: 22px; }
.lv-plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1 1 auto; }
.lv-plan ul li { padding: 9px 0 9px 26px; position: relative; font-size: 14.5px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.lv-plan ul li::before {
    content: '✓'; position: absolute; left: 0; top: 9px;
    color: var(--lv-lilac); font-weight: 800;
}
.lv-plan ul li small { display: block; color: rgba(255, 255, 255, .6); font-size: 12.5px; margin-top: 2px; }
.lv-plan-note {
    background: rgba(255, 255, 255, .1); border-radius: 12px;
    padding: 9px 13px; font-size: 12.5px; color: rgba(255, 255, 255, .8); margin-bottom: 18px;
}

/* --- Analiza troskova --- */
.lv-cost-col { border-radius: 24px; padding: 26px; height: 100%; }
.lv-cost-old { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.lv-cost-new { background: linear-gradient(165deg, rgba(126, 50, 133, .5), rgba(71, 3, 78, .55)); border: 1px solid var(--lv-purple-light); }
.lv-cost-head {
    display: inline-block; text-transform: uppercase; letter-spacing: .18em;
    font-size: 12px; font-weight: 700; border-radius: 999px; padding: 7px 18px; margin-bottom: 18px;
}
.lv-cost-old .lv-cost-head { background: rgba(255, 255, 255, .12); color: #fff; }
.lv-cost-new .lv-cost-head { background: var(--lv-purple-light); color: var(--lv-dark); }
.lv-cost-row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, .06);
    border-radius: 12px; padding: 11px 15px; margin-bottom: 9px; font-size: 14.5px;
}
.lv-cost-new .lv-cost-row { background: rgba(255, 255, 255, .09); }
.lv-cost-row .x { color: #ff6b6b; font-weight: 800; margin-right: 7px; }
.lv-cost-row .v { color: #6ff0a8; font-weight: 800; margin-right: 7px; }
.lv-cost-val { font-weight: 700; white-space: nowrap; }
.lv-cost-old .lv-cost-val { color: #ff8a8a; }
.lv-cost-new .lv-cost-val { color: #7ef0ad; }
.lv-cost-total { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 17px; font-weight: 800; }

/* --- CTA --- */
.lv-cta {
    background: linear-gradient(110deg, var(--lv-purple-deep), #6d1275 55%, var(--lv-purple));
    border-radius: 40px;
    padding: 56px 34px;
    text-align: center;
}
.lv-cta h2 { font-size: clamp(24px, 3.2vw, 40px); margin-bottom: 24px; }

/* --- Forma --- */
.lv-form {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px; padding: 32px;
}
.lv-form label { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85); margin-bottom: 6px; display: block; }
.lv-form .form-control, .lv-form .form-select {
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff; border-radius: 12px; padding: 12px 15px;
}
.lv-form .form-control:focus, .lv-form .form-select:focus {
    background: rgba(0, 0, 0, .45); color: #fff;
    border-color: var(--lv-purple-light);
    box-shadow: 0 0 0 .2rem rgba(179, 111, 191, .22);
}
.lv-form .form-control::placeholder { color: rgba(255, 255, 255, .42); }
.lv-form .form-select option { background: var(--lv-dark-2); color: #fff; }

/* --- Footer --- */
.lv-footer { background: #150120; padding: 66px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lv-footer a { color: rgba(255, 255, 255, .72); }
.lv-footer a:hover { color: #fff; }
.lv-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 38px; padding-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.lv-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.lv-socials a {
    width: 44px; height: 44px; display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px;
    color: rgba(255, 255, 255, .78); transition: .25s ease;
}
.lv-socials a svg { width: 20px; height: 20px; display: block; }
.lv-socials a:hover { color: #fff; background: var(--accent-dark, #7E3285); border-color: var(--accent-dark, #7E3285); transform: translateY(-2px); }

/* --- Parallax traka --- */
.lv-band {
    position: relative; min-height: 460px;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
}
@media (min-width: 992px) { .lv-band { background-attachment: fixed; } }
.lv-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 2, 40, .92) 0%, rgba(30, 2, 40, .55) 60%, rgba(30, 2, 40, .85) 100%); }
.lv-band .container { position: relative; z-index: 2; }

/* --- Animacije pri skrolu --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 767px) {
    .lv-section { padding: 64px 0; }
    .lv-stats-wrap { padding: 34px 18px; border-radius: 26px; }
    .lv-cta { padding: 38px 20px; border-radius: 26px; }
}

/* --- Mockup uređaja + talasna linija (sekcija „Sve za vaš projekat") --- */
.lv-devices {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 0 44px;
    min-height: 320px;
}
.lv-device-line {
    position: absolute;
    left: -6vw; right: -6vw; top: 50%;
    transform: translateY(-50%);
    height: 120px;
    pointer-events: none;
}
.lv-device-line svg { width: 100%; height: 100%; display: block; }
.lv-device {
    position: relative;
    z-index: 2;
    height: auto;
    filter: drop-shadow(0 22px 46px rgba(0, 0, 0, .55));
}
.lv-device-phone  { width: min(250px, 26vw); }
.lv-device-laptop { width: min(430px, 42vw); }

@media (max-width: 767px) {
    .lv-devices { flex-direction: column; min-height: 0; gap: 8px; margin-bottom: 30px; }
    .lv-device-line { display: none; }
    .lv-device-phone  { width: 200px; }
    .lv-device-laptop { width: 300px; }
}

/* --- Fotografije koraka u sekciji „Kako radi" --- */
.lv-step-img {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 18px;
    aspect-ratio: 1 / 1;
    background: rgba(93, 5, 101, .08);
    box-shadow: 0 16px 38px rgba(71, 3, 78, .18);
}
.lv-step-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.lv-step-img:hover img { transform: scale(1.05); }
.lv-step-img .lv-step-num {
    position: absolute; left: 16px; bottom: 16px; margin: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
}
@media (max-width: 767px) { .lv-step-img { aspect-ratio: 16 / 10; } }

/* --- Strelice karusela sa strane --- */
.lv-feat-wrap { position: relative; }
.lv-arrow-side {
    position: absolute; top: 118px; z-index: 4;
    box-shadow: 0 10px 26px rgba(71, 3, 78, .35);
}
.lv-arrow-prev { left: -26px; }
.lv-arrow-next { right: -26px; }
@media (max-width: 1199px) {
    .lv-arrow-prev { left: 4px; }
    .lv-arrow-next { right: 4px; }
}
@media (max-width: 767px) {
    .lv-arrow-side { top: auto; bottom: -6px; }
    .lv-arrow-prev { left: 8px; }
    .lv-arrow-next { right: 8px; }
    .lv-feat-track { padding-bottom: 62px; }
}

/* --- Ispravka kontrasta u svetlim sekcijama ---
   (body.lv h1..h6 je imao veću specifičnost od .lv-section-light h1..h6) --- */
body.lv .lv-section-light h1,
body.lv .lv-section-light h2,
body.lv .lv-section-light h3,
body.lv .lv-section-light h4,
body.lv .lv-section-light h5,
body.lv .lv-section-light h6,
body.lv .lv-section-light p,
body.lv .lv-section-light li,
body.lv .lv-section-light strong,
body.lv .lv-section-light span:not(.lv-step-num):not(.badge),
body.lv .lv-feat h3,
body.lv .lv-feat p,
body.lv .lv-feat li,
body.lv .lv-feat strong { color: var(--lv-dark); }

body.lv .lv-section-light .lv-eyebrow { color: var(--lv-purple-mid); }
body.lv .lv-section-light .lv-lead { color: rgba(30, 2, 40, .74); }
body.lv .lv-section-light .lv-step-num,
body.lv .lv-section-light .lv-btn-primary,
body.lv .lv-section-light .lv-btn-primary span { color: #fff; }
body.lv .lv-section-light .lv-btn-light { color: var(--lv-dark); }
body.lv .lv-feat ul li { color: rgba(30, 2, 40, .82); }
