﻿/* === Local fonts (WOFF2 + swap) === */
@font-face {
    font-family: "Inter";
    src: url("/fonts/Inter-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/Inter-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat-800.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat-900.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



/* Brand tema – Electric Blue / Deep Navy (usklađeno sa tvojim logotipom) */
:root {
    /* Paleta */
    --brand-bg-1: #0b1220;
    --brand-bg-2: #0e1b2a;
    --brand-surface: #0f1f35;
    --brand-border: rgba(255,255,255,.08);
    /* >>> Tekst sada #D6E2F2 (soft white/hladna) */
    --brand-text: #D6E2F2;
    /* Po zahtevu: muted isto u #D6E2F2 */
    --brand-muted: #D6E2F2;
    /* Glavna plava (osnovna + svetlija “exact” za naslove/dugmad) */
    --brand-primary: #00b7ff; /* baza – ostavljena radi kompatibilnosti */
    --brand-primary-light: #5fe1ff; /* nijansa naslova + dugmeta */
    --brand-primary-600: #39d9ff; /* ivica/hover granica */
    --brand-primary-700: #35d8ff; /* active */

    --brand-accent: #7ce3ff;
    --brand-glow-rgb: 0,183,255;
    /* Bootstrap vezivanje */
    --bs-body-bg: var(--brand-bg-1);
    --bs-body-color: var(--brand-text);
    --bs-border-color: var(--brand-border);
    --bs-link-color: var(--brand-primary-light);
    --bs-link-hover-color: #baf3ff;
    --bs-primary: var(--brand-primary-light);
    --bs-primary-rgb: var(--brand-glow-rgb);
    /* Jedna istina za plavu – naslovi i dugmad */
    --btn-primary-computed: var(--brand-primary-light);
    /* Tekst boje na primarnom dugmetu (traženo: boja pozadine) */
    --btn-primary-text: var(--brand-bg-1);
}

/* === CS alias varijable (globalno) — korišćene u stranicama === */
:root {
    --cs-bg-1: var(--brand-bg-1);
    --cs-bg-2: var(--brand-bg-2);
    --cs-surface: var(--brand-surface);
    --cs-border: var(--brand-border);
    --cs-text: var(--brand-text);
    --cs-muted: var(--brand-muted);
    --cs-primary: var(--btn-primary-computed);
    --cs-primary-rgb: var(--bs-primary-rgb, 0,183,255);
    --cs-accent: var(--brand-accent);
    --cs-glow-rgb: var(--brand-glow-rgb, 0,183,255);
}


/* Pozadina */
body {
    background: radial-gradient(1200px 600px at 10% -10%, rgba(0,183,255,0.12), rgba(0,183,255,0) 60%), radial-gradient(1000px 500px at 100% 20%, rgba(124,227,255,0.08), rgba(124,227,255,0) 60%), linear-gradient(180deg, var(--brand-bg-1), var(--brand-bg-2));
    min-height: 100vh;
}

/* NAVBAR */
.brand-navbar {
    background: linear-gradient(180deg, #0c1426, #0a1324);
    border-bottom: 1px solid var(--brand-border);
}

.navbar-brand, .nav-link {
    color: var(--brand-text) !important; /* meni = #D6E2F2 */
}

    .nav-link.active {
        color: var(--brand-accent) !important;
    }

    .navbar-brand img {
        height: 28px;
        margin-right: .5rem;
    }

/* DUGMAD — identična plava kao naslov + tekst boje pozadine */
.btn-primary {
    /* Bootstrap varijable (za stanja) */
    --bs-btn-bg: var(--btn-primary-computed);
    --bs-btn-border-color: var(--brand-primary-600);
    --bs-btn-hover-bg: #86ecff; /* svetliji hover */
    --bs-btn-hover-border-color: var(--brand-primary-light);
    --bs-btn-active-bg: var(--brand-primary-700);
    --bs-btn-focus-shadow-rgb: var(--brand-glow-rgb);
    /* Forsiranje boja */
    background-color: var(--btn-primary-computed) !important;
    border-color: var(--brand-primary-600) !important;
    color: var(--btn-primary-text) !important;
    box-shadow: 0 0 0 0 rgba(var(--brand-glow-rgb), 0);
    transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

    .btn-primary:hover {
        background-color: #86ecff !important;
        border-color: var(--brand-primary-light) !important;
        color: var(--btn-primary-text) !important;
        box-shadow: 0 0 20px rgba(var(--brand-glow-rgb), .45);
    }

    .btn-primary:active, .btn-primary:focus {
        background-color: var(--brand-primary-700) !important;
        border-color: var(--brand-primary-700) !important;
        color: var(--btn-primary-text) !important;
    }



/* === GLOBALNA TIPOGRAFIJA (naslovi + telo) ======================= */
:root {
    /* Responsive veličine (prilagođene tvom dizajnu) */
    --type-h1: clamp(2.0rem, 1.25vw + 1.6rem, 2.75rem);
    --type-h2: clamp(1.6rem, 0.90vw + 1.3rem, 2.10rem);
    --type-h3: clamp(1.35rem, 0.60vw + 1.15rem, 1.70rem);
    /* OVO JE MERODAVNO ZA NASLOVE TIPa "Key features" (.h4) */
    --type-h4: clamp(1.18rem, 0.45vw + 1.02rem, 1.45rem);
    --type-h5: clamp(1.05rem, 0.35vw + 0.98rem, 1.20rem);
    --type-h6: clamp(0.95rem, 0.25vw + 0.90rem, 1.05rem);
    --type-body: 1rem; /* regularni tekst */
    --type-lead: clamp(1.05rem, 0.25vw + 1rem, 1.15rem);
    --type-small: .9rem;
}
:root {
    color-scheme: dark;
}

/* Naslovi (važi i za Bootstrap .h1… .h6 klase) */
h1, .h1 {
    font-size: var(--type-h1);
    font-family: 'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: .3px;
    color: var(--btn-primary-computed) !important;
    margin-bottom: .35rem;
}

h2, .h2 {
    font-size: var(--type-h2);
    font-family: 'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: .3px;
    color: var(--btn-primary-computed) !important;
    margin-bottom: .35rem;
}

h3, .h3 {
    font-size: var(--type-h3);
    font-family: 'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: .2px;
    color: var(--btn-primary-computed) !important;
    margin-bottom: .35rem;
}

h4, .h4 {
    font-size: var(--type-h4);
    font-family: 'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: .2px;
    color: var(--btn-primary-computed) !important;
    margin-bottom: .35rem;
}

h5, .h5 {
    font-size: var(--type-h5);
    font-family: 'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: .2px;
    color: var(--btn-primary-computed) !important;
    margin-bottom: .3rem;
}

h6, .h6 {
    font-size: var(--type-h6);
    font-family: 'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .15px;
    color: var(--btn-primary-computed) !important;
    margin-bottom: .3rem;
}

/* Telo teksta (isti osećaj kroz sajt) */
body {
    font-size: var(--type-body);
}

.lead {
    font-size: var(--type-lead) !important;
}

small, .small {
    font-size: var(--type-small) !important;
}

/* Naslovi unutar “mekih” box-eva (.section-soft) */
.section-soft .box-title {
    font-weight: 600;
    line-height: 1.3;
    margin-top: -2px;
}

/* (opciono) hero display naslov – samo zategni line-height */
.display-5 {
    line-height: 1.1;
}



/* ===== GLOBALNI TEKST (ne naslovi) → #D6E2F2 ===== */
:where(body) :where(p, ul, ol, li, dl, dd, small, .lead, .card-text, .form-text) {
    color: var(--brand-text) !important;
}

/* KARTICE */
.card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--brand-border);
    backdrop-filter: blur(6px);
    /* Dodato: glatke animacije za ivicu/senku/pomeraj */
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
    /* Naslov u kartici prati globalni naslov (meni-plava) */
    .card .h5 {
        color: var(--btn-primary-computed) !important;
    }


    /* Tekst u kartici = #D6E2F2 */
    .card p {
        color: var(--brand-text) !important;
    }


/* === KOLONA HOVER GLOBAL (svaka .row na sajtu) === */
.row > .col,
.row > [class*="col-"] {
    position: relative;
}

    /* 1) Ako kolona sadrži .card/.feature-card/.section-soft → uokviri to */
    .row > .col:hover > :is(.card, .feature-card, .section-soft),
    .row > [class*="col-"]:hover > :is(.card, .feature-card, .section-soft),
    .row > .col:focus-within > :is(.card, .feature-card, .section-soft),
    .row > [class*="col-"]:focus-within > :is(.card, .feature-card, .section-soft) {
        border-color: var(--brand-primary-600) !important;
        box-shadow: 0 0 0 1px rgba(var(--brand-glow-rgb), .35), 0 10px 24px rgba(0,0,0,.35);
        transform: translateY(-2px);
    }

    /* 2) Ako koristiš univerzalni .hover-outline na nekom elementu u koloni */
    .row > .col:hover > .hover-outline,
    .row > [class*="col-"]:hover > .hover-outline,
    .row > .col:focus-within > .hover-outline,
    .row > [class*="col-"]:focus-within > .hover-outline {
        border-color: var(--brand-primary-600) !important;
        box-shadow: 0 0 0 1px rgba(var(--brand-glow-rgb), .35), 0 10px 24px rgba(0,0,0,.35);
        transform: translateY(-2px);
    }



/* === UNIVERZALNI HOVER OKVIR (za elemente koji nisu .card) === */
.hover-outline {
    /* ako element nema border u startu, daj mu “muted” border */
    border: 1px solid var(--brand-border);
    border-radius: .75rem; /* fino zaobljenje, po želji */
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

    /* radi i van .row (npr. hero panel) */
    .hover-outline:hover,
    .hover-outline:focus-within {
        border-color: var(--brand-primary-600) !important;
        box-shadow: 0 0 0 1px rgba(var(--brand-glow-rgb), .35), 0 10px 24px rgba(0,0,0,.35);
        transform: translateY(-2px);
    }

/* FOOTER */
.brand-footer {
    background: linear-gradient(180deg, #0a1324, #0a1427);
    border-top: 1px solid var(--brand-border);
    color: var(--brand-text); /* #D6E2F2 */
}

/* Badge (ostavljeno kao akcenat) */
.badge-brand {
    background: rgba(var(--brand-glow-rgb), .12);
    color: #bfeaff;
    border: 1px solid rgba(var(--brand-glow-rgb), .35);
}

/* Fokus */
:focus-visible {
    outline: 2px solid rgba(var(--brand-glow-rgb),.7);
    outline-offset: 2px;
}

/* Utility — čista plava gde god treba (bez konture) */
.text-primary-exact {
    color: var(--btn-primary-computed) !important;
    -webkit-text-fill-color: var(--btn-primary-computed) !important;
}

/* Reduced motion: bez lifta animacije ako korisnik traži manje pokreta */
@media (prefers-reduced-motion: reduce) {
    .card {
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .row.g-4 > [class*="col-"]:hover .card,
    .row.g-4 > [class*="col-"]:focus-within .card {
        transform: none;
    }

}

/* ── Shared pills/chips, ghost dugme, kartice, section-soft, checklist ── */
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(124,227,255,.35);
    background: rgba(124,227,255,.08);
    color: #d9f4ff;
    font-size: .92rem;
}

.btn-ghost {
    --bd: rgba(124,227,255,.38);
    color: var(--cs-text);
    border: 1px solid var(--bd);
    background: transparent;
    border-radius: .75rem;
    transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

    .btn-ghost:hover {
        background: rgba(124,227,255,.10);
        border-color: var(--cs-primary);
        color: #fff;
        box-shadow: 0 0 18px rgba(var(--cs-glow-rgb), .35);
    }
    .btn-ghost:focus-visible {
        outline: 2px solid rgba(var(--cs-glow-rgb), .6);
        outline-offset: 2px;
    }

.feature-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    padding: 18px;
    height: 100%;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    backdrop-filter: blur(6px);
}

    .feature-card:hover {
        border-color: var(--cs-primary);
        box-shadow: 0 0 0 1px rgba(var(--cs-glow-rgb), .28), 0 10px 24px rgba(0,0,0,.35);
        transform: translateY(-2px);
    }

.section-soft {
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    padding: 22px;
    /* glatke tranzicije (spojeno sa starim blokom) */
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.check-li {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .check-li li {
        display: flex;
        align-items: flex-start;
        gap: .6rem;
        margin: .55rem 0;
    }

.dot {
    margin-top: .35rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--cs-primary), #7ce3ff);
    box-shadow: 0 0 0 4px rgba(var(--cs-glow-rgb), .18);
    flex: 0 0 10px;
}

.callout {
    background: linear-gradient(90deg, rgba(124,227,255,.10), rgba(0,183,255,.10));
    border: 1px dashed rgba(124,227,255,.35);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--cs-muted);
}

.cta-band {
    background: radial-gradient(800px 600px at 10% 160%, rgba(124,227,255,.20), transparent 60%), radial-gradient(800px 600px at 100% -20%, rgba(0,183,255,.25), transparent 55%), linear-gradient(180deg, var(--cs-bg-1), var(--cs-bg-2));
    color: #EAF6FF;
    border: 1px solid var(--cs-border);
    border-radius: 18px;
}
    /* CTA kao "hover-accent" kartica (border + glow + mali lift) */
    .cta-band.hover-accent {
        /* .cta-band već ima background/border/radius — dodaj samo tranzicije */
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

        .cta-band.hover-accent:hover,
        .cta-band.hover-accent:focus-within {
            border-color: rgba(var(--cs-primary-rgb), .6);
            box-shadow: 0 0 0 3px rgba(var(--cs-primary-rgb), .10), 0 10px 24px rgba(0,0,0,.35);
            transform: translateY(-2px);
        }


.brand-divider {
    height: 2px;
    border: 0;
    margin: 2rem 0 1.2rem;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(var(--cs-glow-rgb), .35) 15%, var(--cs-primary) 35%, rgba(var(--cs-glow-rgb), .35) 55%, rgba(0,0,0,0) 85%);
}

/* Hero osnova + glow (strane mogu dodati svoje modifikatore) */
.hero--brand {
    position: relative;
    overflow: hidden;
    color: #EAF6FF;
    background: radial-gradient(1200px 620px at 12% -10%, rgba(var(--cs-glow-rgb), .16), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 100% 15%, rgba(124,227,255,.10), rgba(0,0,0,0) 55%), linear-gradient(180deg, var(--cs-bg-1), var(--cs-bg-2));
    border: 1px solid var(--cs-border);
}

    .hero--brand .hero-glow {
        position: absolute;
        inset: auto -15% -60% auto;
        width: 700px;
        height: 700px;
        filter: blur(80px);
        background: radial-gradient(closest-side, rgba(var(--cs-glow-rgb), .28), rgba(0,0,0,0) 70%);
        pointer-events: none;
        transform: rotate(-12deg);
    }


/* ── Table Modern (spojeni osnovni stil + hover/outline + reduced-motion) ── */
.table-modern {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--cs-border, var(--brand-border));
    background: var(--cs-surface, var(--brand-surface));
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

    .table-modern thead th {
        background: linear-gradient(180deg, rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .18), rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .05));
        color: #EAF6FF;
        border-bottom: 1px solid var(--cs-border, var(--brand-border));
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        font-size: .88rem;
    }

    .table-modern tbody tr:nth-child(odd) {
        background: rgba(255,255,255,.02);
    }

    .table-modern tbody tr:nth-child(even) {
        background: rgba(255,255,255,.05);
    }

    .table-modern tbody tr {
        transition: background-color .25s ease;
    }

        .table-modern tbody tr:hover {
            background: rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .12);
        }

    .table-modern td, .table-modern th {
        color: var(--cs-text, var(--brand-text, #D6E2F2));
        padding: .75rem .9rem;
        vertical-align: middle;
    }

        .table-modern td code, .table-modern th code {
            color: var(--cs-primary, var(--btn-primary-computed, #5fe1ff));
            background: rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .10);
            padding: .15rem .45rem;
            border-radius: 6px;
            font-size: .85rem;
            font-weight: 600;
        }

    .table-modern tbody tr td:first-child,
    .table-modern tbody tr td:last-child {
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        transition: border-color .25s ease;
    }

    .table-modern tbody tr:hover td:first-child {
        border-left-color: var(--cs-primary, var(--btn-primary-computed));
    }

    .table-modern tbody tr:hover td:last-child {
        border-right-color: var(--cs-primary, var(--btn-primary-computed));
    }

    /* Spoljašnji outline/glow za celu tabelu */
    .table-modern:hover,
    .table-modern:focus-within {
        border-color: var(--cs-primary, var(--brand-primary-600));
        box-shadow: 0 0 0 1px rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .35), 0 10px 24px rgba(0,0,0,.35);
        transform: translateY(-2px);
    }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .table-modern {
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .table-modern:hover, .table-modern:focus-within {
            transform: none;
        }
}

/* ───────────────────────────────────────────────────────────────
   Shared FAQ accordion (brand plava) — radi svuda
   ─────────────────────────────────────────────────────────────── */
.faq-block {
    margin: 0;
    padding: 0;
}

.faq-item {
    border: 1px solid var(--cs-border, var(--brand-border));
    border-radius: 14px;
    background: rgba(255,255,255,.03);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

    .faq-item + .faq-item {
        margin-top: .6rem;
    }

    /* Red klik-zaglavlja (pitanje) */
    .faq-item summary {
        list-style: none;
        cursor: pointer;
        user-select: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 14px 16px;
        color: var(--cs-text, var(--brand-text));
    }
        /* Standards-based: sakrij default marker u svim modernim browserima */
        .faq-item summary::marker {
            content: ""; /* ukloni trokut/strelicu */
            font-size: 0; /* Safari “quirk”: dodatno osigura da se ne vidi */
        }


        /* Pitanje obojeno u istu plavu kao naslovi/dugmad */
        .faq-item summary .q {
            color: var(--cs-primary, var(--btn-primary-computed));
            font-weight: 700;
            letter-spacing: .2px;
        }

        /* Plus/Minus indikator (bez ikon fontova) */
        .faq-item summary::after {
            content: "+";
            font-weight: 700;
            line-height: 1;
            color: var(--cs-primary, var(--btn-primary-computed));
            font-size: 1.1rem;
        }

    .faq-item[open] summary::after {
        content: "–";
    }

    /* Hover/Focus/Opened — isti glow kao kartice/tabele */
    .faq-item:hover,
    .faq-item:focus-within {
        border-color: var(--cs-primary, var(--brand-primary-600)) !important;
        box-shadow: 0 0 0 1px rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .35), 0 10px 24px rgba(0,0,0,.35);
        transform: translateY(-2px);
    }

    .faq-item[open] {
        border-color: var(--cs-primary, var(--brand-primary-600));
    }

        .faq-item[open] summary {
            background: linear-gradient( 180deg, rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .18), rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .05) );
            color: #EAF6FF;
        }

/* Telo odgovora sa lepim “slide” otvaranjem (CSS-only) */
.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease;
}

.faq-item[open] .faq-body {
    grid-template-rows: 1fr;
}

.faq-content {
    overflow: hidden;
    padding: 0 16px 14px 16px;
    border-top: 1px dashed rgba(var(--cs-glow-rgb, var(--brand-glow-rgb, 0,183,255)), .35);
    color: var(--cs-text, var(--brand-text));
}

    .faq-content :where(p,ul,ol) {
        margin: .6rem 0 0;
    }

/* Manje pokreta */
@media (prefers-reduced-motion: reduce) {
    .faq-item {
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .faq-item:hover, .faq-item:focus-within {
            transform: none;
        }

    .faq-body {
        transition: none;
    }
}
/* ── Hover akcenat: zajednička logika za bilo koji blok/kolonu ───────── */
.hover-accent {
    position: relative;
    border: 1px solid var(--brand-border);
    border-radius: .75rem;
    /* blaga podloga, ako već ima background zadržaće se taj */
    background: rgba(255,255,255,.02);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
    .hover-accent:hover,
    .hover-accent:focus-within {
        border-color: var(--brand-primary-600) !important;
        box-shadow: 0 0 0 1px rgba(var(--brand-glow-rgb), .35), 0 10px 24px rgba(0,0,0,.35);
        transform: translateY(-2px);
    }



/* ── NASLOV: animirana plava linija + GLOBALNI TRIGERI ───────────────── */
.title-underline {
    position: relative;
    display: inline-block;
    padding-bottom: .15rem;
}

    .title-underline::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        height: 3px;
        width: 0%; /* start: ne vidi se */
        border-radius: 3px;
        background: linear-gradient(90deg, rgb(var(--cs-primary-rgb)), #7ce3ff);
        transition: width .25s ease;
    }

/* ➊ Pali liniju kada je hover na RODITELJU (hero/kartica/sekcija) */
.hover-outline:hover .title-underline::after,
.hover-outline:focus-within .title-underline::after,
.hover-accent:hover .title-underline::after,
.hover-accent:focus-within .title-underline::after,
.section-soft:hover .title-underline::after,
.section-soft:focus-within .title-underline::after,
.feature-card:hover .title-underline::after,
.feature-card:focus-within .title-underline::after,
.card:hover .title-underline::after,
.card:focus-within .title-underline::after {
    width: 100%;
}

/* ➋ Pali liniju i kada hover ide na SAMU kolonu (za blokove bez posebne klase) */
.row > [class*="col-"]:hover .title-underline::after,
.row > [class*="col-"]:focus-within .title-underline::after {
    width: 100%;
}

/* (ostaviš ako želiš da se pali i kad je hover direktno na naslovu) */
.title-underline:hover::after {
    width: 100%;
}


/* Kartični H3 underline samo na hover te kartice */
.no-col-hover .feature-card:hover .title-underline::after,
.no-col-hover .feature-card:focus-within .title-underline::after {
    width: 100% !important;
}


/* 3) Direktan hover nad samim naslovom i dalje radi svuda */

/* ── Key features: H2 underline i na parent hover i na hover nad karticama ── */

/* A) Parent (prazan deo kontejnera) */
.no-col-hover:hover > .title-underline::after,
.no-col-hover:focus-within > .title-underline::after {
    width: 100% !important;
}

/* B) Ne podvlači H3 na karticama kada je hover SAMO na sekciji (prazan deo) */
.no-col-hover:hover .feature-card .title-underline::after,
.no-col-hover:focus-within .feature-card .title-underline::after {
    width: 0 !important;
}

/* C) Ne podvlači H3 kada je hover samo na koloni (pored kartice) */
.no-col-hover .row > [class*="col-"]:hover .title-underline::after,
.no-col-hover .row > [class*="col-"]:focus-within .title-underline::after {
    width: 0 !important;
}

/* D) H3 na kartici i dalje radi isključivo na hover te kartice
      (ostavljeno iz koraka 1 — ako ga nema, ostavi ovo) */
.no-col-hover .feature-card:hover .title-underline::after,
.no-col-hover .feature-card:focus-within .title-underline::after {
    width: 100% !important;
}

/* ==== KEY FEATURES: FINAL OVERRIDE ===============================
   Cilj: podvuci SAMO karticu koja je pod mišem; H2 može na hover sekcije.
   Ovaj blok mora biti POSLEDNJI u CSS-u da pobedi ranije !important.  */

/* default: ne podvlači naslove u karticama */
#key-features .feature-card .title-underline::after {
    width: 0;
}

/* H2 (naslov sekcije) sme da se podvuče na hover cele sekcije */
#key-features:hover > .title-underline::after,
#key-features:focus-within > .title-underline::after {
    width: 100% !important;
}

/* Ako je hover na praznom delu sekcije ili samo na .col → NE podvlači H3 */
#key-features:hover .feature-card .title-underline::after {
    width: 0 !important;
}

#key-features .row > [class*="col-"]:hover .title-underline::after,
#key-features .row > [class*="col-"]:focus-within .title-underline::after {
    width: 0 !important;
}

/* >>> POSLEDNJE pravilo: ako je hover BAŠ na .feature-card → PODVUCI JE */
#key-features .row > [class*="col-"] .feature-card:hover .title-underline::after,
#key-features .row > [class*="col-"] .feature-card:focus-within .title-underline::after {
    width: 100% !important;
}
/* === UNIFIED BRAND OUTLINE (match hero .hover-outline) ================ */
/* Zalepi OVO na sam kraj CSS fajla (posle svih postojećih pravila) */
:root {
    --cs-ring-border: var(--brand-primary-600);
    --cs-ring-shadow: 0 0 0 1px rgba(var(--brand-glow-rgb), .35), 0 10px 24px rgba(0,0,0,.35);
}

/* Primeni isti ring na sve “box” komponente */
.section-soft:hover,
.section-soft:focus-within,
.feature-card:hover,
.feature-card:focus-within,
.table-modern:hover,
.table-modern:focus-within,
.faq-item:hover,
.faq-item:focus-within,
.card:hover,
.card:focus-within,
.cta-band.hover-accent:hover,
.cta-band.hover-accent:focus-within {
    border-color: var(--cs-ring-border) !important;
    box-shadow: var(--cs-ring-shadow) !important;
    transform: translateY(-2px);
}

/* Ako koristiš kolona-hover (globalno pravilo), takođe ga poravnaj */
.row > .col:hover > :is(.card, .feature-card, .section-soft),
.row > [class*="col-"]:hover > :is(.card, .feature-card, .section-soft),
.row > .col:focus-within > :is(.card, .feature-card, .section-soft),
.row > [class*="col-"]:focus-within > :is(.card, .feature-card, .section-soft) {
    border-color: var(--cs-ring-border) !important;
    box-shadow: var(--cs-ring-shadow) !important;
    transform: translateY(-2px);
}

/* (Opcionalno) manji pokret za korisnike koji traže reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .section-soft:hover,
    .section-soft:focus-within,
    .feature-card:hover,
    .feature-card:focus-within,
    .table-modern:hover,
    .table-modern:focus-within,
    .faq-item:hover,
    .faq-item:focus-within,
    .card:hover,
    .card:focus-within,
    .cta-band.hover-accent:hover,
    .cta-band.hover-accent:focus-within {
        transform: none;
    }
}
/* ==== INTEGRATION TIPS: FINAL OVERRIDE =========================
   Cilj: H2 sme da se podvuče na hover cele sekcije,
         H3 u karticama samo na hover te kartice (ne na praznu sekciju / kolonu).
   Ovaj blok postavi NA KRAJ fajla da pobedi ranija pravila. */

#integration-tips .feature-card .title-underline::after {
    width: 0; /* default: ne podvlači naslove u karticama */
}

/* H2 (naslov sekcije) sme da se podvuče na hover cele sekcije */
#integration-tips:hover > .title-underline::after,
#integration-tips:focus-within > .title-underline::after {
    width: 100% !important;
}

/* Ako je hover na praznom delu sekcije ili samo na .col → NE podvlači H3 */
#integration-tips:hover .feature-card .title-underline::after {
    width: 0 !important;
}

#integration-tips .row > [class*="col-"]:hover .title-underline::after,
#integration-tips .row > [class*="col-"]:focus-within .title-underline::after {
    width: 0 !important;
}

/* >>> Konačno: ako je hover baš na .feature-card → podvuci njen H3 */
#integration-tips .row > [class*="col-"] .feature-card:hover .title-underline::after,
#integration-tips .row > [class*="col-"] .feature-card:focus-within .title-underline::after {
    width: 100% !important;
}
/* === HERO TITLES & LEAD — unified & smaller (global) ================== */
:root {
    /* Manji naslov u hero sekciji i ujednačen lead na svim stranicama */
    --type-hero: clamp(1.84rem, 1.08vw + 1.35rem, 2.36rem);
    --type-hero-lead: clamp(1.04rem, 0.35vw + 1.02rem, 1.14rem);
}

/* Smanji .display-5 kad je u hero-u (i generalno ako je h1.display-5) */
.hero--brand .display-5,
h1.display-5 {
    font-size: var(--type-hero) !important;
    font-weight: 900 !important; /* zadrži “hero” težinu */
    line-height: 1.12;
}

/* Ujednači lead ispod naslova na svim stranicama */
.hero--brand .lead,
h1 + .lead {
    font-size: var(--type-hero-lead) !important;
    max-width: 980px;
    color: var(--cs-text) !important; /* jedna istina za boju lead teksta */
}
/* ==== GLOBAL PREMIUM BUTTON — Magnetic Ghost (override) ================== */
/* Radi nad SVIM .btn.btn-primary (CTA) bez menjanja HTML-a */
.btn.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* zadrži tvoju geometriju; radius usklađen sa karticama */
    border-radius: 16px;
    /* boje u idle (plavo) – koristi postojeće promenljive */
    background: var(--cs-primary, var(--btn-primary-computed)) !important;
    border: 1px solid var(--brand-primary-600) !important;
    color: var(--btn-primary-text, var(--brand-bg-1)) !important;
    font-weight: 600;
    letter-spacing: .1px;
    cursor: pointer;
    /* tranzicije + priprema za magnet */
    transition: transform .25s cubic-bezier(.22,.8,.24,1), background .35s ease, border-color .35s ease, color .25s ease, box-shadow .35s ease;
    will-change: transform, box-shadow;
}

    /* Hover = GHOST (transparent + svetao tekst + plavi glow) */
    .btn.btn-primary:hover {
        background: rgba(255,255,255,.02) !important;
        border-color: var(--cs-primary, #00b7ff) !important;
        color: var(--cs-text, #D6E2F2) !important;
        box-shadow: 0 0 18px rgba(var(--cs-primary-rgb, 0,183,255), .35);
    }

    /* Focus prsten u brend plavoj (slaže se sa ostatkom sajta) */
    .btn.btn-primary:focus-visible {
        outline: 2px solid rgba(var(--cs-primary-rgb, 0,183,255), .7);
        outline-offset: 2px;
    }

    /* Suptilan "press" */
    .btn.btn-primary:active {
        transform: scale(.98);
    }

    /* (Opcionalno) Arrow nudge ako u dugmetu imaš .arrow span/svg */
    .btn.btn-primary .arrow {
        display: inline-flex;
        width: 1.1rem;
        height: 1.1rem;
        margin-left: .4rem;
        transition: transform .25s ease;
    }

    .btn.btn-primary:hover .arrow {
        transform: translateX(4px);
    }

/* Poštuj korisnike sa reduced-motion preferencijom */
@media (prefers-reduced-motion: reduce) {
    .btn.btn-primary {
        transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    }
}

/* ==== OPT-OUT: dodaj .no-magnet na dugme da ugasiš magnet samo negde ==== */
.btn.no-magnet {
    will-change: auto;
}

/* (Opciono) blaga usklađenost ghost dugmeta da izgleda isto na hover */
.btn-ghost:hover {
    border-color: var(--cs-primary) !important;
    box-shadow: 0 0 18px rgba(var(--cs-primary-rgb), .35);
}
/* === Starlight Sweep AUTO za “crna” dugmad (bez .btn-primary) ========== */
/* Ciljamo: .btn-ghost, .btn-dark, (opciono) outline varijante koje izgledaju tamno */
:root {
    --btn-sweep-speed: .6s;
}

/* 1) Baza: pozicioniranje i clipping za SVA ciljna dugmad */
.btn.btn-ghost,
.btn.btn-dark,
.btn.btn-outline-dark,
.btn.btn-outline-secondary,
.btn.btn-outline-light {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    /* 2) Sjajna traka (pseudo-element) */
    .btn.btn-ghost::after,
    .btn.btn-dark::after,
    .btn.btn-outline-dark::after,
    .btn.btn-outline-secondary::after,
    .btn.btn-outline-light::after {
        content: "";
        position: absolute;
        inset: -32% -22%;
        background: linear-gradient( 125deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 60% );
        transform: translateX(-50%) rotate(10deg);
        transition: transform var(--btn-sweep-speed) ease;
        pointer-events: none;
        opacity: .9;
        filter: blur(1px);
        border-radius: inherit;
    }

    /* 3) Aktivacija na hover/focus */
    .btn.btn-ghost:hover::after,
    .btn.btn-ghost:focus-visible::after,
    .btn.btn-dark:hover::after,
    .btn.btn-dark:focus-visible::after,
    .btn.btn-outline-dark:hover::after,
    .btn.btn-outline-dark:focus-visible::after,
    .btn.btn-outline-secondary:hover::after,
    .btn.btn-outline-secondary:focus-visible::after,
    .btn.btn-outline-light:hover::after,
    .btn.btn-outline-light:focus-visible::after {
        transform: translateX(50%) rotate(10deg);
    }

/* 4) Poštuj reduced motion */
@media (prefers-reduced-motion: reduce) {
    .btn.btn-ghost::after,
    .btn.btn-dark::after,
    .btn.btn-outline-dark::after,
    .btn.btn-outline-secondary::after,
    .btn.btn-outline-light::after {
        transition: none !important;
    }
}

/* 5) “Kill switch” ako negde NE želiš efekat */
.btn.no-sweep::after {
    content: none !important;
}
/* === GLOBAL TABLE SCROLL FIX ===================================== */
/* Omogući horizontalni skrol i na iOS (momentum) */
.table-responsive.table-modern {
    overflow-x: auto !important; /* ključ: vrati skrol */
    overflow-y: hidden; /* zadrži klipovanje po Y da ostanu zaobljeni uglovi */
    -webkit-overflow-scrolling: touch;
}

    /* Tabela treba da može da bude šira od wrapper-a da bi se pojavio skrol */
    .table-responsive.table-modern > table {
        width: max-content; /* raste koliko trebaju kolone */
        min-width: 100%; /* ali nikad manje od wrapper-a */
        border-collapse: separate; /* radi lepšeg rendera uz border-radius wrapper-a */
        border-spacing: 0;
    }

    /* Header obično ne želiš da prelama reči */
    .table-responsive.table-modern thead th {
        white-space: nowrap;
    }

/* Prijatnija i vidljivija “traka” (skrolbar) */
.table-responsive.table-modern {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(124,227,255,.55) rgba(255,255,255,.08); /* Firefox */
}

    .table-responsive.table-modern::-webkit-scrollbar {
        height: 10px; /* visina DONJE trake */
    }

    .table-responsive.table-modern::-webkit-scrollbar-track {
        background: rgba(255,255,255,.06);
        border-radius: 8px;
    }

    .table-responsive.table-modern::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, rgba(124,227,255,.35), rgba(0,183,255,.45));
        border-radius: 8px;
    }

        .table-responsive.table-modern::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(90deg, rgba(124,227,255,.55), rgba(0,183,255,.65));
        }
