/* ============================================================
   Moja udruga — početna stranica (učitava se samo na landing.html)
   ============================================================ */

:root {
    --lp-ink: #0f172a;
    --lp-slate: #1e293b;
    --lp-muted: #64748b;
    --lp-line: #e2e8f0;
    --lp-soft: #f8fafc;
    --lp-blue: #2563eb;
    --lp-blue-dark: #1d4ed8;
    --lp-sky: #38bdf8;
    --lp-green: #16a34a;
    --lp-amber: #d97706;
    --lp-red: #dc2626;
    --lp-radius: 14px;
}

/* Sekcije idu od ruba do ruba iako je sadržaj unutar .isu-container.
   Pozadina je eksplicitna — inače preglednik u tamnom načinu rada
   prikaže tamno platno ispod svijetlih sekcija. */
html, body { background: #fff; }
body { overflow-x: hidden; }

.lp { color: var(--lp-slate); font-family: 'Nunito Sans', sans-serif; background: #fff; }
.lp h1, .lp h2, .lp h3, .lp h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--lp-ink);
    letter-spacing: -.01em;
    margin: 0;
}
.lp p { margin: 0; }

.lp-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}
.lp-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.lp-section { padding: 5rem 0; }
.lp-section--soft { background: var(--lp-soft); }

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lp-blue);
}
.lp-section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.lp-section-head h2 { font-size: 2rem; line-height: 1.2; margin-top: .6rem; }
.lp-section-head p { color: var(--lp-muted); font-size: 1.05rem; margin-top: .8rem; line-height: 1.6; }

/* --------------- Gumbi --------------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.35rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, background .15s;
    white-space: nowrap;
}
.lp-btn:hover { transform: translateY(-1px); text-decoration: none; }
.lp-btn--primary {
    background: var(--lp-blue);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
}
.lp-btn--primary:hover { background: var(--lp-blue-dark); color: #fff; }
.lp-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
}
.lp-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.lp-btn--light { background: #fff; color: var(--lp-blue-dark); }
.lp-btn--light:hover { color: var(--lp-blue-dark); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* --------------- Navigacija (samo za neprijavljene) --------------- */
.lp-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
}
.lp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.lp-nav__brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}
.lp-nav__brand:hover { color: #fff; text-decoration: none; }
.lp-nav__brand img { height: 22px; }
.lp-nav__links { display: flex; align-items: center; gap: 1.6rem; }
.lp-nav__links a {
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}
.lp-nav__links a:hover { color: #fff; }
.lp-nav__links .lp-btn { padding: .5rem 1rem; font-size: .85rem; }

/* --------------- Hero --------------- */
.lp-hero {
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(56, 189, 248, .22), transparent 60%),
        radial-gradient(700px 500px at 5% 90%, rgba(37, 99, 235, .35), transparent 60%),
        linear-gradient(160deg, #0b1224 0%, #0f1b3d 55%, #13265a 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.lp-hero::before {
    /* diskretna mreža u pozadini */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}
.lp-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: center;
    /* samo okomito — bočni razmak dolazi iz .lp-wrap */
    padding-top: 9rem;
    padding-bottom: 6rem;
}
.lp-hero--app .lp-hero__grid { padding-top: 5rem; }
.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    font-size: .8rem;
    font-weight: 600;
    color: #cbd5e1;
}
.lp-pill i { color: var(--lp-sky); }
.lp-hero h1 {
    color: #fff;
    font-size: 3.2rem;
    line-height: 1.08;
    margin-top: 1.3rem;
}
.lp-hero h1 span {
    background: linear-gradient(90deg, #60a5fa, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lp-hero__lead {
    color: #cbd5e1;
    font-size: 1.12rem;
    line-height: 1.65;
    margin-top: 1.3rem;
    max-width: 540px;
}
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.lp-hero__note {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.2rem;
    margin-top: 1.6rem;
    font-size: .85rem;
    color: #94a3b8;
}
.lp-hero__note i { color: #4ade80; margin-right: .3rem; }

/* --------------- Prikaz aplikacije (CSS maketa) --------------- */
.lp-mock {
    position: relative;
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08);
    color: var(--lp-slate);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.lp-mock__bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem .9rem;
    background: #1e293b;
}
.lp-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.lp-mock__bar span:nth-child(1) { background: #f87171; }
.lp-mock__bar span:nth-child(2) { background: #fbbf24; }
.lp-mock__bar span:nth-child(3) { background: #4ade80; }
.lp-mock__bar em {
    margin-left: .8rem;
    font-style: normal;
    font-size: .72rem;
    color: #94a3b8;
    background: #0f172a;
    border-radius: 6px;
    padding: .2rem .7rem;
    flex: 1;
}
.lp-mock__body { padding: 1.2rem; }
.lp-mock__title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 700;
    font-size: .95rem;
    color: var(--lp-ink);
}
.lp-mock__title small { color: var(--lp-muted); font-weight: 600; font-size: .72rem; }
.lp-mock__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-top: .9rem;
}
.lp-stat {
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    padding: .6rem .7rem;
}
.lp-stat b { display: block; font-size: 1.15rem; color: var(--lp-ink); font-family: 'Montserrat', sans-serif; }
.lp-stat small { font-size: .68rem; color: var(--lp-muted); }
.lp-progress {
    height: 8px;
    border-radius: 99px;
    background: #e2e8f0;
    margin-top: .9rem;
    overflow: hidden;
}
.lp-progress i {
    display: block;
    height: 100%;
    width: 78%;
    background: linear-gradient(90deg, var(--lp-blue), var(--lp-sky));
    border-radius: 99px;
}
.lp-rows { margin-top: .9rem; }
.lp-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 0;
    border-top: 1px solid var(--lp-line);
    font-size: .8rem;
}
.lp-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .65rem;
    font-weight: 700;
    color: #fff;
    background: var(--lp-blue);
    flex-shrink: 0;
}
.lp-row strong { flex: 1; color: var(--lp-ink); }
.lp-row span.amt { color: var(--lp-muted); font-variant-numeric: tabular-nums; }
.lp-tag {
    font-size: .65rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 99px;
}
.lp-tag--ok { background: #dcfce7; color: #166534; }
.lp-tag--part { background: #fef3c7; color: #92400e; }
.lp-tag--no { background: #fee2e2; color: #991b1b; }

/* plutajuća kartica s uplatnicom */
.lp-float {
    position: absolute;
    right: -18px;
    bottom: -26px;
    width: 210px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    padding: .8rem .9rem;
    color: var(--lp-slate);
    transform: rotate(3deg);
}
.lp-float__head { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; color: var(--lp-muted); }
.lp-float__amt { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--lp-ink); margin-top: .2rem; }
.lp-float__code {
    /* pravi PDF417 (HUB-3) — generiran iz aplikacije, nije ukras */
    display: block;
    width: 100%;
    height: auto;
    margin-top: .5rem;
    image-rendering: pixelated;
}
.lp-hero__mockwrap { position: relative; padding: 0 1.5rem 1.5rem 0; }

/* --------------- Traka s činjenicama --------------- */
.lp-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
}
.lp-fact {
    background: #fff;
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    border: 1px solid var(--lp-line);
    display: flex;
    gap: .8rem;
    align-items: flex-start;
}
.lp-fact i { color: var(--lp-blue); font-size: 1.2rem; margin-top: .15rem; }
.lp-fact b { display: block; color: var(--lp-ink); font-size: .92rem; }
.lp-fact small { display: block; margin-top: .15rem; color: var(--lp-muted); font-size: .8rem; line-height: 1.4; }

/* --------------- Glavne mogućnosti (izmjenični redovi) --------------- */
.lp-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.lp-feature + .lp-feature { margin-top: 5.5rem; }
.lp-feature--flip .lp-feature__text { order: 2; }
.lp-feature__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-blue), var(--lp-sky));
    box-shadow: 0 10px 24px rgba(37, 99, 235, .3);
}
.lp-feature h3 { font-size: 1.65rem; margin-top: 1.1rem; line-height: 1.25; }
.lp-feature__text > p { color: var(--lp-muted); margin-top: .8rem; line-height: 1.65; font-size: 1.02rem; }
.lp-checks { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.lp-checks li {
    display: flex;
    gap: .65rem;
    padding: .38rem 0;
    line-height: 1.5;
    font-size: .95rem;
}
.lp-checks li i { color: var(--lp-green); margin-top: .28rem; font-size: .8rem; }

.lp-panel {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
    padding: 1.4rem;
}
.lp-section--soft .lp-panel { background: #fff; }

/* maketa kartice člana */
.lp-member__head { display: flex; gap: .9rem; align-items: center; }
.lp-member__head .lp-avatar { width: 46px; height: 46px; font-size: .9rem; }
.lp-member__head b { font-size: 1.05rem; color: var(--lp-ink); display: block; }
.lp-member__head small { color: var(--lp-muted); }
.lp-member__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.lp-member__tags span {
    font-size: .7rem; font-weight: 700;
    padding: .2rem .55rem; border-radius: 6px;
    background: #eff6ff; color: var(--lp-blue-dark);
}
.lp-member__tags span.g { background: #dcfce7; color: #166534; }
.lp-kv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--lp-line);
}
.lp-kv small { display: block; color: var(--lp-muted); font-size: .72rem; }
.lp-kv b { font-size: .88rem; color: var(--lp-ink); }
.lp-timeline { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--lp-line); }
.lp-timeline div { display: flex; justify-content: space-between; font-size: .82rem; padding: .3rem 0; }
.lp-timeline div span { color: var(--lp-muted); }

/* stvarna uplatnica iz generatora */
.lp-slip-shot { margin: 0; }
.lp-slip-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .14), 0 0 0 1px var(--lp-line);
}
.lp-slip-shot figcaption {
    margin-top: .8rem;
    font-size: .8rem;
    color: var(--lp-muted);
    text-align: center;
}

/* maketa web stranice */
.lp-browser { border-radius: 12px; overflow: hidden; border: 1px solid var(--lp-line); }
.lp-browser .lp-mock__bar em { background: #334155; color: #e2e8f0; }
.lp-site__hero {
    padding: 1.6rem 1.3rem;
    color: #fff;
    background: linear-gradient(135deg, #065f46, #0d9488);
}
.lp-site__hero b { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; display: block; }
.lp-site__hero small { opacity: .85; }
.lp-site__nav { display: flex; gap: 1rem; padding: .6rem 1.3rem; font-size: .75rem; font-weight: 700; color: var(--lp-muted); border-bottom: 1px solid var(--lp-line); }
.lp-site__news { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: 1rem 1.3rem 1.3rem; }
.lp-site__news div { border: 1px solid var(--lp-line); border-radius: 8px; padding: .6rem; }
.lp-site__news i { display: block; height: 46px; border-radius: 5px; background: linear-gradient(135deg, #ccfbf1, #e0f2fe); margin-bottom: .45rem; }
.lp-site__news b { font-size: .75rem; color: var(--lp-ink); display: block; }
.lp-site__news small { font-size: .65rem; color: var(--lp-muted); }

/* --------------- Mreža ostalih mogućnosti --------------- */
.lp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}
.lp-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.lp-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}
.lp-card__icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: var(--lp-blue);
    font-size: 1.05rem;
}
.lp-card h4 { font-size: 1.02rem; margin-top: 1rem; }
.lp-card p { color: var(--lp-muted); font-size: .9rem; line-height: 1.55; margin-top: .45rem; }

/* --------------- Koraci --------------- */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    counter-reset: step;
    position: relative;
}
.lp-step { position: relative; text-align: center; padding: 0 .8rem; }
.lp-step__num {
    width: 56px; height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--lp-blue);
    background: #fff;
    border: 2px solid #bfdbfe;
    box-shadow: 0 0 0 6px #eff6ff;
    position: relative;
    z-index: 1;
}
.lp-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    border-top: 2px dashed #bfdbfe;
}
.lp-step h4 { font-size: 1.05rem; margin-top: 1.2rem; }
.lp-step p { color: var(--lp-muted); font-size: .92rem; line-height: 1.55; margin-top: .5rem; }

/* --------------- Sigurnost --------------- */
.lp-security {
    background: linear-gradient(160deg, #0b1224, #13265a);
    color: #cbd5e1;
}
.lp-security .lp-section-head h2 { color: #fff; }
.lp-security .lp-section-head p { color: #94a3b8; }
.lp-security .lp-eyebrow { color: var(--lp-sky); }
.lp-sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.lp-sec {
    padding: 1.4rem;
    border-radius: var(--lp-radius);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
}
.lp-sec i { font-size: 1.3rem; color: var(--lp-sky); }
.lp-sec h4 { color: #fff; font-size: 1rem; margin-top: .9rem; }
.lp-sec p { font-size: .88rem; line-height: 1.55; margin-top: .5rem; color: #94a3b8; }
.lp-roles { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.lp-roles span {
    font-size: .68rem; font-weight: 700;
    padding: .15rem .5rem; border-radius: 5px;
    background: rgba(56, 189, 248, .12); color: #7dd3fc;
}

/* --------------- Za koga --------------- */
.lp-audience { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.lp-audience span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--lp-line);
    font-weight: 600;
    font-size: .9rem;
    color: var(--lp-slate);
}
.lp-audience i { color: var(--lp-blue); }

/* --------------- Završni poziv --------------- */
.lp-cta {
    border-radius: 20px;
    padding: 3.2rem 2.5rem;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(600px 240px at 90% 0%, rgba(56, 189, 248, .35), transparent 60%),
        linear-gradient(135deg, var(--lp-blue-dark), #1e40af);
    box-shadow: 0 30px 70px rgba(29, 78, 216, .3);
}
.lp-cta h2 { color: #fff; font-size: 2rem; }
.lp-cta p { color: #dbeafe; margin: .8rem auto 0; max-width: 560px; line-height: 1.6; }
.lp-cta .lp-hero__cta { justify-content: center; }

/* --------------- Podnožje --------------- */
.lp-footer { border-top: 1px solid var(--lp-line); padding: 2.2rem 0 2.6rem; }
.lp-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
    color: var(--lp-muted);
}
.lp-footer__brand { display: flex; align-items: center; gap: .6rem; color: var(--lp-ink); font-weight: 700; }
.lp-footer__brand img { height: 20px; }
.lp-footer a { color: var(--lp-blue); }

/* --------------- Responzivno --------------- */
@media (max-width: 1000px) {
    .lp-hero__grid { grid-template-columns: 1fr; padding-top: 7.5rem; padding-bottom: 5rem; gap: 3rem; }
    .lp-hero--app .lp-hero__grid { padding-top: 3.5rem; }
    .lp-mock { transform: none; }
    .lp-facts { grid-template-columns: repeat(2, 1fr); }
    .lp-feature { grid-template-columns: 1fr; gap: 2.2rem; }
    .lp-feature--flip .lp-feature__text { order: 0; }
    .lp-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .lp-section { padding: 3.5rem 0; }
    .lp-nav__links a:not(.lp-btn) { display: none; }
    .lp-hero h1 { font-size: 2.3rem; }
    .lp-hero__lead { font-size: 1rem; }
    .lp-hero__mockwrap { padding: 0 .6rem 1.8rem 0; }
    .lp-float { right: -6px; width: 170px; }
    .lp-mock__stats { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
    .lp-facts, .lp-grid, .lp-sec-grid, .lp-steps { grid-template-columns: 1fr; }
    .lp-step:not(:last-child)::after { display: none; }
    .lp-section-head h2, .lp-cta h2 { font-size: 1.55rem; }
    .lp-feature h3 { font-size: 1.35rem; }
    .lp-cta { padding: 2.4rem 1.3rem; }
}

/* --------------- Besplatno --------------- */
.lp-pill--free {
    background: rgba(74, 222, 128, .12);
    border-color: rgba(74, 222, 128, .35);
    color: #bbf7d0;
}
.lp-pill--free i { color: #4ade80; }

.lp-price {
    max-width: 440px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
}
.lp-price__amount {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1;
    color: var(--lp-ink);
}
.lp-price__label { color: var(--lp-green); font-weight: 700; margin-top: .4rem; }
.lp-price .lp-checks { text-align: left; margin: 1.5rem 0 1.8rem; }
.lp-price .lp-btn { justify-content: center; width: 100%; white-space: normal; }
