:root { --navy: #0d1b2a; --navy-mid: #1a3a5c; }

/* NAVBAR */
.nav-glass {
    background: rgba(13,27,42,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-row1 { min-height: 70px; }
.nav-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    transition: background 0.15s, color 0.15s;
}
.nav-tab:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-tab.active.blue  { background: rgba(13,110,253,0.2); color: #fff; }
.nav-tab.active.amber { background: rgba(217,119,6,0.25); color: #fff; }
.nav-row2 {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 9px 0;
}
.nav-sublink {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}
.nav-sublink:hover { color: #fff; }
section[id] { scroll-margin-top: 90px; }

/* HERO */
.hero {
    background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 55%, #1565c0 100%);
    min-height: 100vh;
    padding-top: 80px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.15; }
.hero-pill {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 5px 16px;
    font-size: 0.78rem;
    color: #90caf9;
    margin-bottom: 1.2rem;
    letter-spacing: 0.4px;
}
.hero-accent { color: #64b5f6; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.15); }

/* PAIN */
.pain-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #fff;
    border-left: 4px solid #fd7e14;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
}
.pain-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; padding-top: 2px; }

/* BENEFIT CARDS */
.benefit-card {
    border: none;
    border-radius: 14px;
    padding: 30px 24px;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(13,110,253,0.12);
}
.benefit-icon {
    width: 54px; height: 54px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* BRAND TEXT LOGO */
.brand-logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    text-decoration: none;
}
.brand-wordmark {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1;
}
.brand-wordmark .w1 { color: #ffffff; }
.brand-wordmark .w2 { color: #2ECC71; }
.brand-icon { height: 34px; width: auto; }
.brand-tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-left: 2px;
}

/* PAKETI */
.paket-card {
    border-radius: 16px;
    padding: 36px 32px;
    height: 100%;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.paket-card:hover { transform: translateY(-4px); }
.paket-card.featured {
    background: linear-gradient(140deg, #0d6efd, #1565c0);
    color: white;
}
.paket-card.base {
    background: white;
    border: 2px solid #e9ecef;
}
.paket-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fd7e14;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.paket-check { color: #198754; }
.paket-check-w { color: #90caf9; }
.paket-plus { color: #0d6efd; font-weight: 700; }
.paket-plus-w { color: #fff; font-weight: 700; }

/* STEPS */
.step-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(13,110,253,0.35);
}

/* CONTACT */
.contact-bg { background: linear-gradient(135deg, #f0f4ff 0%, #e9f2ff 100%); }

/* HERO THUMBNAILS */
.hero-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.hero-thumb, .fin-thumb, .rac-thumb, .pfin-thumb {
    flex: 1 1 0;
    min-width: 0;
    height: 62px;
    border-radius: 7px;
    border: 2px solid rgba(255,255,255,0.15);
    cursor: pointer;
    object-fit: cover;
    transition: border-color 0.18s, transform 0.18s;
}
.fin-thumb {
    border-color: rgba(13,110,253,0.2);
}
.rac-thumb, .pfin-thumb {
    border-color: rgba(217,119,6,0.25);
}
.izvestaji-thumb {
    border-color: rgba(255,255,255,0.15);
}
.portal-thumb {
    flex: 1 1 0;
    min-width: 0;
    height: 54px;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.1);
    cursor: pointer;
    object-fit: cover;
    transition: border-color 0.18s, transform 0.18s;
}
.hero-thumb:hover, .fin-thumb:hover, .portal-thumb:hover, .rac-thumb:hover, .pfin-thumb:hover {
    border-color: #64b5f6;
    transform: scale(1.04);
}
.rac-thumb:hover, .pfin-thumb:hover {
    border-color: #d97706;
}

/* LIGHTBOX */
#lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#lb-overlay.open { display: flex; }
#lb-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    object-fit: contain;
    cursor: zoom-out;
}
.lb-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    width: 48px; height: 48px;
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}
.lb-btn:hover { background: rgba(255,255,255,0.25); }
#lb-prev { left: 16px; }
#lb-next { right: 16px; }
#lb-close {
    position: fixed;
    top: 16px; right: 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    width: 42px; height: 42px;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}
#lb-close:hover { background: rgba(255,255,255,0.25); }
#lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 96px 0 60px; }
}
