/* Landing page styles - originalna širina za public stranice */
.landing-container {
    width: min(1800px, 98%);
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Scroll reveal - blage animacije pri skrolovanju */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.reveal-visible,
.reveal-visible .reveal {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered delay za decu - kad roditelj postane vidljiv */
.reveal-visible .role-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .role-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .role-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .zasto-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .zasto-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .zasto-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .license-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .license-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .license-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .license-card:nth-child(4) { transition-delay: 0.18s; }
.reveal-visible .faq-item:nth-child(1) { transition-delay: 0.02s; }
.reveal-visible .faq-item:nth-child(2) { transition-delay: 0.05s; }
.reveal-visible .faq-item:nth-child(3) { transition-delay: 0.08s; }
.reveal-visible .faq-item:nth-child(4) { transition-delay: 0.11s; }
.reveal-visible .faq-item:nth-child(5) { transition-delay: 0.14s; }
.reveal-visible .faq-item:nth-child(6) { transition-delay: 0.17s; }
.reveal-visible .feature-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .feature-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .feature-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .feature-card:nth-child(4) { transition-delay: 0.18s; }
.reveal-visible .chooser-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .chooser-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .step-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .step-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .step-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .step-card:nth-child(4) { transition-delay: 0.18s; }
.reveal-visible .addon-service-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .addon-service-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .addon-service-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .o-sistemu-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .o-sistemu-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .o-sistemu-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .use-tag:nth-child(1) { transition-delay: 0.02s; }
.reveal-visible .use-tag:nth-child(2) { transition-delay: 0.05s; }
.reveal-visible .use-tag:nth-child(3) { transition-delay: 0.08s; }
.reveal-visible .use-tag:nth-child(4) { transition-delay: 0.11s; }
.reveal-visible .use-tag:nth-child(5) { transition-delay: 0.14s; }

/* Veći font na širem ekranu - iPad ostaje na 16px */
@media (min-width: 1101px) {
    html {
        font-size: 18px;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1 0 auto;
}

.landing-header {
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.landing-header .landing-container {
    min-width: 0;
}

.landing-header.header-scrolled-down {
    transform: translateY(-100%);
}

body:has(.landing-header) main {
    padding-top: 68px;
}

/* Scroll progress bar - napredak čitanja stranice */
.scroll-progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(226, 232, 240, 0.5);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.scroll-progress-wrap.is-visible {
    opacity: 1;
    visibility: visible;
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 0 2px 2px 0;
    transition: width 0.15s ease-out;
}
.scroll-progress-msg {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, top 0.2s ease;
    pointer-events: none;
}
.scroll-progress-wrap.is-visible .scroll-progress-msg.is-showing {
    opacity: 1;
    visibility: visible;
    top: -2.25rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    gap: 1rem;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #64748b;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Separator između linkova - kratka vertikalna linija (ne između dugmadi) */
.header-nav > a {
    position: relative;
}
.header-nav > a:not(.btn) + a:not(.btn)::before {
    content: '';
    position: absolute;
    left: -0.375rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1em;
    background: rgba(31, 41, 55, 0.35);
}

/* Desktop - nikad u dva reda (samo kad je full nav vidljiv) */
@media (min-width: 1400px) {
    .header-nav {
        flex-wrap: nowrap;
    }
}

/* Srednji desktop (1400-1800px) - kompaktan nav da stane u jedan red */
@media (min-width: 1400px) and (max-width: 1800px) {
    .header-content {
        gap: 0.75rem;
    }

    .header-nav {
        gap: 0.5rem;
        min-width: 0;
        flex-shrink: 1;
    }

    .header-nav > a:not(.btn) + a:not(.btn)::before {
        left: -0.25rem;
        height: 0.9em;
    }

    .landing-header a {
        font-size: 0.9rem;
    }

    .header-nav a:not(.btn) {
        white-space: nowrap;
    }
}

/* Ispod 1600px - manja dugmad i manji razmaci u meniju */
@media (min-width: 1400px) and (max-width: 1599px) {
    .header-content {
        gap: 0.5rem;
    }

    .header-nav {
        gap: 0.35rem;
    }

    .header-nav > a:not(.btn) + a:not(.btn)::before {
        left: -0.175rem;
        height: 0.85em;
    }

    .header-nav .btn-primary,
    .header-nav .btn-demo,
    .header-nav .btn-prijava {
        padding: 0.25rem 0.45rem !important;
        font-size: 0.8rem !important;
    }
}

/* Backdrop - skriven na desktopu, prikazuje se samo na mobilnom */
.landing-nav-backdrop {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                background 0.2s ease,
                border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.nav-toggle:active {
    transform: scale(0.94);
}
@media (min-width: 1400px) {
    .nav-toggle {
        display: none !important;
    }
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #1f2937;
    border-radius: 1px;
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                opacity 0.3s ease;
}
.nav-toggle-bar:nth-child(1),
.nav-toggle-bar:nth-child(3) {
    transform-origin: left center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.landing-header a {
    font-size: 1.05rem;
}

.header-nav a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
}

.header-nav a:not(.btn) {
    position: relative;
    padding: 0.25rem 0.1rem;
    transition: color 0.2s ease;
}

.header-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: #2563eb;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-nav a:not(.btn):hover,
.header-nav a:not(.btn).is-active {
    color: #2563eb;
}

/* Prostor za 1 događaj - istaknuta boja (najkorišćenija opcija) */
.header-nav a.nav-link-fizicka {
    color: #0d9488;
    font-weight: 600;
}
.header-nav a.nav-link-fizicka:hover,
.header-nav a.nav-link-fizicka.is-active {
    color: #0f766e;
}
.header-nav a.nav-link-fizicka::after {
    background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.header-nav a:not(.btn):hover::after,
.header-nav a:not(.btn).is-active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Sva tri dugmeta (PORUČI, PROBAJ BESPLATNO, Prijava) - isti stil, fluid veličina */
.header-nav .btn-primary,
.header-nav .btn-demo,
.header-nav .btn-prijava {
    padding: clamp(0.25rem, 0.3vw + 0.2rem, 0.4rem) clamp(0.4rem, 0.6vw + 0.25rem, 0.85rem) !important;
    font-size: clamp(0.8rem, 0.35vw + 0.7rem, 1rem) !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    border-radius: 10px;
}

.header-nav .btn-primary,
.header-nav .btn-prijava {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(96, 165, 250, 0.4) !important;
}

.header-nav .btn-demo {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

.header-nav .btn-primary,
.header-nav .btn-demo,
.header-nav .btn-prijava {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}
.header-nav .btn-primary:hover,
.header-nav .btn-prijava:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.5) !important;
    transform: translateY(-2px) !important;
}
.header-nav .btn-demo:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
    transform: translateY(-2px) !important;
}

.hero {
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
    padding: 2rem 0 4rem;
    margin-bottom: -1px;
    background: linear-gradient(160deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 68px;
    display: flex;
    align-items: center;
}

/* Hero pozadinska slika - mutno na početku, bistra tranzicija kad se učita */
.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img-src {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(20px);
    opacity: 0.7;
    transform: scale(1.05);
    transition: filter 1.4s ease-out, opacity 1.2s ease-out, transform 1.4s ease-out;
}

.hero-bg-img.is-loaded .hero-bg-img-src {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-img-src {
        transition-duration: 0.5s;
    }
}

/* Animated gradient blobs - iznad pozadinske slike */
.hero-bg-animation {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    isolation: isolate;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.25;
    animation: hero-blob-float 18s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.7) 0%, rgba(14, 165, 233, 0.25) 45%, transparent 70%);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.6) 0%, rgba(251, 146, 60, 0.2) 45%, transparent 70%);
    top: 25%;
    right: -12%;
    animation-delay: -6s;
    animation-duration: 22s;
}

.hero-blob-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.6) 0%, rgba(16, 185, 129, 0.2) 45%, transparent 70%);
    bottom: -20%;
    left: 15%;
    animation-delay: -12s;
    animation-duration: 20s;
}

.hero-blob-4 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.55) 0%, rgba(99, 102, 241, 0.18) 45%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: hero-blob-float-center 25s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes hero-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

@keyframes hero-blob-float-center {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    25% { transform: translate(calc(-50% + 25px), calc(-50% - 30px)) scale(1.08); }
    50% { transform: translate(calc(-50% - 20px), calc(-50% + 15px)) scale(0.92); }
    75% { transform: translate(calc(-50% + 35px), calc(-50% + 25px)) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-blob {
        animation: none;
        opacity: 0.35;
    }
}

@media (min-width: 769px) {
    .hero {
        min-height: calc(100vh - 68px);
        min-height: calc(100dvh - 68px);
        padding: 3rem 0 5rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 3;
}

.hero-grid .hero-copy {
    max-width: 44rem;
    text-align: center;
}

/* Hero entrance animations */
@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-slide-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes header-nav-item-in {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes header-nav-panel-in {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-copy-inner {
    background: rgba(15, 23, 42, 0.92);
    padding: 2rem 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: hero-fade-in 0.6s ease-out;
    isolation: isolate;
}

.hero-title-main {
    animation: hero-slide-up 0.5s ease-out 0.1s both;
}

.hero-title-sub {
    animation: hero-slide-up 0.5s ease-out 0.2s both;
}

.hero-bullets li {
    animation: hero-slide-up 0.4s ease-out both;
    transition: transform 0.2s ease;
}
.hero-bullets li:hover .hero-bullet-icon {
    transform: scale(1.15);
}

.hero-bullets li:nth-child(1) { animation-delay: 0.3s; }
.hero-bullets li:nth-child(2) { animation-delay: 0.35s; }
.hero-bullets li:nth-child(3) { animation-delay: 0.4s; }
.hero-bullets li:nth-child(4) { animation-delay: 0.45s; }
.hero-bullets li:nth-child(5) { animation-delay: 0.5s; }
.hero-bullets li:nth-child(6) { animation-delay: 0.55s; }
.hero-bullets li:nth-child(7) { animation-delay: 0.6s; }
.hero-bullets li:nth-child(8) { animation-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
    .hero-copy-inner,
    .hero-title-main,
    .hero-title-sub,
    .hero-bullets li {
        animation: none;
    }
}

.hero-grid .hero-actions {
    justify-content: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
}

.hero-copy h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero-title-main {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    display: block;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-title-underline {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.hero-title-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: block;
    font-size: 0.9em;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 0;
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.7;
    font-weight: 500;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
    width: 100%;
}

@media (min-width: 520px) {
    .hero-bullets {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 2.5rem;
        justify-items: start;
    }
    .hero-bullets-3col {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.hero-bullets li {
    position: relative;
    padding-left: 1.6rem;
    white-space: nowrap;
}

.hero-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.hero-bullets li:has(.hero-bullet-icon)::before {
    content: none;
}
.hero-bullet-icon {
    position: absolute;
    left: 0;
    width: 1.35em;
    height: 1.35em;
    color: #ffffff;
    transition: transform 0.2s ease;
}

/* Trust badges - hero */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.hero-trust-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
}

/* Sticky CTA - prikazuje se pri skrolu */
button.sticky-cta {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.sticky-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.sticky-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

.feature-card-icon,
.role-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #2563eb;
    flex-shrink: 0;
}
.step-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.step-card-badge {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-card-icon {
    width: 1.5rem;
    height: 1.5rem;
}
.contact-section-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.contact-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.contact-meta-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #64748b;
}
.cta-icon {
    width: 3rem;
    height: 3rem;
    color: #10b981;
    margin-bottom: 0.5rem;
}
/* Zašto Moj organizator? - zelena nijansa za razliku */
.section-zasto {
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 50%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.section-zasto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-zasto .landing-container {
    position: relative;
    z-index: 1;
}

.zasto-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .zasto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .zasto-grid {
        grid-template-columns: 1fr;
    }
}

.zasto-card {
    padding: 1.75rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.zasto-card:nth-child(2) { border-left-color: #3b82f6; }
.zasto-card:nth-child(3) { border-left-color: #8b5cf6; }
.zasto-card:nth-child(4) { border-left-color: #f59e0b; }

.zasto-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
}

.zasto-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.08) 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.zasto-icon {
    width: 22px;
    height: 22px;
    color: #059669;
}

.zasto-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.zasto-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.section-zasto .section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* O Moj organizator sistemu */
.section-o-sistemu {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 30%, #f8fafc 70%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.section-o-sistemu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-o-sistemu .landing-container {
    position: relative;
    z-index: 1;
}

.o-sistemu-container {
    max-width: 960px;
}

.section-o-sistemu .section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 2px;
    margin: 1rem auto 0;
}

.section-o-sistemu .section-header p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.o-sistemu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .o-sistemu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .o-sistemu-grid {
        grid-template-columns: 1fr;
    }
}

.o-sistemu-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.25s ease;
}

.o-sistemu-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.o-sistemu-card-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.06) 100%);
    border-radius: 12px;
}

.o-sistemu-card .o-sistemu-icon {
    width: 24px;
    height: 24px;
    color: #2563eb;
}

.o-sistemu-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.o-sistemu-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.o-sistemu-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.o-sistemu-icon {
    width: 2rem;
    height: 2rem;
    color: #2563eb;
}
.section-icon {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: -0.2em;
    margin-right: 0.35rem;
    transition: transform 0.2s ease;
}
.section-header:hover .section-icon {
    transform: scale(1.1);
}

.hero-copy p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 1.75rem 0 0;
    flex-wrap: wrap;
}

.hero-highlights {
    display: grid;
    gap: 1rem;
}

.highlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Chooser stranica - izbor pravno/fizičko lice */
.chooser-hero {
    min-height: 60vh;
    padding: 3rem 0 4rem;
    background: linear-gradient(160deg, #fafaf9 0%, #f5f5f4 40%, #ebebea 100%);
    background-image: url('../img/wedding-hall-photo.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    scroll-margin-top: 68px;
}

/* Tamni overlay 60-80% - WCAG kontrast (NN/G best practice) */
.chooser-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.chooser-hero .landing-container {
    position: relative;
    z-index: 1;
}

.chooser-hero-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.chooser-hero-icon {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Semi-transparent backdrop za naslov - garantovan kontrast (NN/G, WCAG) */
.chooser-hero-copy-inner {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 2rem;
}

@supports not (backdrop-filter: blur(1px)) {
    .chooser-hero-copy-inner {
        background: rgba(15, 23, 42, 0.75);
    }
}

.chooser-hero-copy-inner h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: #ffffff;
    margin: 0 0 0.5rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chooser-hero-copy-inner p {
    color: rgba(255, 255, 255, 0.98);
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.chooser-cards-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.chooser-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .chooser-cards {
        grid-template-columns: 1fr;
    }
}

.chooser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: center;
    padding: 2.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.chooser-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
    transform: translateY(-6px);
}

.chooser-card-icon {
    width: 56px;
    height: 56px;
    color: #2563eb;
    margin-bottom: 1.25rem;
    padding: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-radius: 14px;
}

.chooser-card h2 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.chooser-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.chooser-cta {
    font-weight: 600;
    color: #2563eb;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.chooser-cta-icon {
    width: 18px;
    height: 18px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    vertical-align: -0.2em;
}

.btn.btn-demo .btn-icon {
    margin-right: 0.25rem;
}

.section {
    padding: 3.5rem 0;
    scroll-margin-top: 68px;
    position: relative;
    margin-bottom: -1px;
    background: #f8fafc;
}

.section:last-of-type {
    margin-bottom: 0;
}

/* Kompaktne sekcije - manje sadržaja */
#roles,
#roles-use-cases {
    padding: 2rem 0;
}

.section-use-cases {
    padding: 5rem 0;
}

.section-use-cases .section-header,
#roles .section-header,
#roles-use-cases .section-header {
    margin-bottom: 1.5rem;
}

/* Sadržajne sekcije - više prostora */
#features,
#primeri,
section.faq-section,
#licenses,
.section-o-sistemu,
.section-zasto,
#roles-cards {
    padding: 3.5rem 0;
}

/* Divider - trougasti SVG polygon, sastavni deo sekcije */
.divider {
    display: block;
    width: 100%;
    height: 58px;
    line-height: 0;
    overflow: hidden;
}

/* Unutar sekcije - pozadina sekcije prolazi kroz divider */
.section .divider {
    background: transparent;
}

/* Divider na vrhu sekcije - fiksiran na vrh */
.section > .divider:first-child:not(.divider--bottom) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* Divider na dnu sekcije */
.divider--bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.divider svg polygon {
    fill: currentColor;
}

/* Svi divideri bele boje (za sada) */
.divider--blue-first,
.divider--blue,
.divider--white,
.divider--dark {
    background: #ffffff;
    color: #ffffff;
}

.divider--blue-first svg polygon,
.divider--blue svg polygon,
.divider--white svg polygon,
.divider--dark svg polygon {
    fill: #ffffff;
}

/* Hero - trougao dole, preko cele širine */
.divider--hero {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 58px;
    z-index: 10;
    pointer-events: none;
}

.hero .divider--hero {
    background: transparent;
}

.divider--hero svg polygon {
    fill: #ffffff;
}

.section.muted {
    background: #f8fafc;
}

/* Section backgrounds - jasno vidljiv presek */
#primeri,
#features {
    background: #ffffff;
}

#primeri .landing-container,
#features .landing-container {
    position: relative;
    z-index: 1;
}

/* Plava pozadina - roles (3.), licenses (5.) - hero ima svoju pozadinu sa blobovima */
/* Sekcija izbora - vizuelno posebna, veća visina, atraktivna pozadina */
.section-chooser {
    min-height: 500px;
    min-height: min(70vh, 560px);
    min-height: min(70dvh, 560px);
    padding: 3rem 0 4rem;
    background: linear-gradient(145deg, #eef6ff 0%, #dbeafe 25%, #e0f2fe 50%, #ecfeff 75%, #f0fdfa 100%);
    position: relative;
    overflow: hidden;
}

/* Mesh gradient + suptilna tačkasta tekstura */
.section-chooser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 15% 20%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 80% at 85% 80%, rgba(16, 185, 129, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.1) 0%, transparent 40%),
        radial-gradient(circle at center, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 24px 24px;
    pointer-events: none;
}

.section-chooser .landing-container {
    position: relative;
    z-index: 1;
}

.section-chooser .section-header p {
    color: #334155;
    font-size: 1.1rem;
    font-weight: 500;
}

.section-chooser .section-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* Sekcija "Gde se često koristi" - bela/neutralna za kontrast sa chooser */
.section-use-cases {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.section-use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-use-cases .landing-container {
    position: relative;
    z-index: 1;
}

.section-use-cases .use-case-tags-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.section-use-cases .use-case-tags {
    margin-bottom: 0;
}

#roles,
#licenses {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #f8fafc 70%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

#roles::before,
#licenses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
    pointer-events: none;
}

#roles .landing-container,
#licenses .landing-container {
    position: relative;
    z-index: 1;
}

/* Alternativna pozadina - features (2.), how (4.) */
#how {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    background-image:
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%),
        radial-gradient(circle at 2px 2px, rgba(59, 130, 246, 0.05) 1px, transparent 0);
    background-size: 100% 100%, 28px 28px;
    position: relative;
}

#how .landing-container {
    position: relative;
    z-index: 1;
}

#contact {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    color: #e2e8f0;
}

#contact .contact-info h2,
#contact .contact-info p {
    color: #e2e8f0;
}

#contact .contact-info p {
    color: #cbd5e1;
}

#contact .contact-meta {
    color: #e2e8f0;
}

#contact .contact-meta span {
    color: #94a3b8;
}

#contact .contact-meta strong {
    color: #f8fafc;
}

#contact .contact-meta a,
#contact .contact-meta .js-reveal-email-link,
#contact .contact-meta .js-reveal-phone-link {
    color: #f8fafc;
    text-decoration: none;
}

#contact .contact-meta a:hover,
#contact .contact-meta .js-reveal-email-link:hover,
#contact .contact-meta .js-reveal-phone-link:hover {
    color: #e2e8f0;
    text-decoration: underline;
}

#contact .contact-form {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

#contact .contact-form h3,
#contact .contact-form label {
    color: #0f172a;
}

#contact .contact-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

#contact .landing-container {
    position: relative;
    z-index: 1;
}

#roles .landing-container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#features .section-header h2 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#features .section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
    margin: 1rem auto 0;
}

.section-header p {
    color: #64748b;
}

/* Prvi paragraf u sekciji Funkcionalnosti */
.features-intro {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
}

.feature-grid-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin: 2.5rem 0 1.25rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.feature-card .feature-card-icon {
    padding: 0.6rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}
.feature-card-links {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-links-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}
.feature-link-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: white !important;
}
.feature-link {
    color: #2563eb;
    text-decoration: none;
}
.feature-link:hover {
    text-decoration: underline;
}

/* Organizacija svečane sale */
.primeri-iz-aplikacije {
    margin-top: 2.5rem;
    padding: 2rem 2rem;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
.primeri-naslov {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}
.primeri-lead {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem;
}
.primeri-single {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.primeri-single:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}
.primeri-single img {
    width: 100%;
    height: auto;
    display: block;
}
.primeri-single:hover img {
    opacity: 0.98;
}
/* Fullscreen image overlay */
.img-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
}
.img-fullscreen-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: default;
}
.img-fullscreen-overlay .img-fullscreen-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1;
}
.img-fullscreen-overlay .img-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.primeri-cta {
    text-align: center;
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}
.primeri-cta a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}
.primeri-cta a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}
.roles-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1rem 3.5rem;
}

.roles-header {
    text-align: center;
    margin-bottom: 2rem;
}

.roles-header h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    color: #0f172a;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.roles-lead-short {
    max-width: 480px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.roles-lead {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.roles-lead p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.roles-lead strong {
    color: #0f172a;
}

.roles-use-cases {
    margin-bottom: 2rem;
}

.roles-use-cases h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
    text-align: center;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.use-tag {
    background: #f8fafc;
    color: #475569;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}

.use-tag:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.roles-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.roles-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.roles-cards:has(.role-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
}

.role-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.role-card:nth-child(2) {
    border-left-color: #059669;
}

.role-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.role-card:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
    border-color: #93c5fd;
    transform: translateY(-4px);
}

.role-card:nth-child(2):hover {
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
    border-color: #6ee7b7;
    transform: translateY(-4px);
}

.role-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.role-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 600;
}

.role-card .role-card-icon {
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    color: #2563eb;
}

.role-card:nth-child(2) .role-card-icon {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
}

.role-card:nth-child(2) ul li::before {
    color: #059669;
}

.role-card:nth-child(2) .role-card-cta {
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
    border-top-color: #6ee7b7;
    color: #065f46;
}

.role-card:nth-child(2):hover .role-card-cta {
    background: linear-gradient(180deg, #d1fae5 0%, #a7f3d0 100%);
    border-top-color: #34d399;
}

.role-card-intro {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.role-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: #475569;
    flex: 1;
}

.role-card ul li {
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.role-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
}

.role-card-cta {
    margin: 1.5rem -2rem -2rem -2rem;
    padding: 1.25rem 2rem;
    background: #f0fdf4;
    border-top: 1px solid #bbf7d0;
    border-radius: 0 0 16px 16px;
    color: #166534;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.25s ease;
}

.role-card:hover .role-card-cta {
    background: #dcfce7;
    border-top-color: #86efac;
}

.role-card-link:hover .role-card-cta {
    color: #166534;
}

.role-card-cta a,
.role-card-cta .btn-link {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

.role-card-cta a:hover,
.role-card-cta .btn-link:hover {
    text-decoration: underline;
    color: #047857;
}

.roles-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem 2rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.roles-cta p {
    margin: 0 0 1rem;
    color: #475569;
    font-weight: 500;
    font-size: 1rem;
}

.roles-cta .btn {
    display: inline-flex;
}

/* CTA blok unutar sekcije - svakih 1-2 ekrana */
.section-cta-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

/* License / pricing grid */
.license-packages-promo {
    position: relative;
    border: 3px solid #10b981;
    border-radius: 14px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.license-promo-badge {
    position: absolute;
    top: -0.6rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.license-packages-promo:has(.license-grid.reveal-visible) .license-promo-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.5s;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1100px) {
    .license-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .license-grid {
        grid-template-columns: 1fr;
    }
}

.license-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.license-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    border-color: #bfdbfe;
    transform: translateY(-2px);
}

.license-card-featured {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.license-card-featured:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.license-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.license-card h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.license-desc {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.license-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.license-price-old {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.license-price-new {
    font-size: 1.9rem;
    font-weight: 800;
    color: #059669;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.license-packages-promo:has(.license-grid.reveal-visible) .license-price-new {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.9s;
}

.license-card .btn-license-request {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.license-packages-promo:has(.license-grid.reveal-visible) .license-card .btn-license-request {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
    .license-promo-badge,
    .license-price-new,
    .license-card .btn-license-request {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.license-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

.license-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.license-features li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: #475569;
}

.license-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
}

.license-note {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.license-note a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.license-note a:hover {
    text-decoration: underline;
}

/* Sekcija: Prostor samo za 1 događaj - PORUČI */
.single-event-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
    padding: 3.5rem 0;
}

.single-event-card {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 3rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.single-event-header {
    margin-bottom: 1.75rem;
}

.single-event-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.6rem 0;
    letter-spacing: -0.02em;
}

.single-event-desc {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.single-event-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    display: inline-block;
}

.single-event-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 1.05rem;
    color: #475569;
}

.single-event-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.single-event-price-block {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.75rem;
    border: 1px solid #bbf7d0;
}

.single-event-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.6rem 0;
    letter-spacing: -0.03em;
}

.single-event-price span {
    font-size: 1.15rem;
    font-weight: 600;
    color: #64748b;
}

.single-event-flow-note {
    font-size: 1rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

.single-event-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.single-event-card .btn {
    margin-top: 0;
    min-width: 160px;
}

.single-event-buttons .btn-order-cta {
    padding: 1.1rem 2.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    min-width: 220px;
}

/* Single event modal - plaćanje IPS / Karticno */
.single-event-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: single-event-modal-fadeIn 0.2s ease-out;
}
@keyframes single-event-modal-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.single-event-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}
.single-event-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: single-event-modal-slideUp 0.3s ease-out;
    border-top: 3px solid #059669;
}
@keyframes single-event-modal-slideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.single-event-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem 0.5rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
}
.single-event-modal-header-text {
    flex: 1;
    min-width: 0;
}
.single-event-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.single-event-modal-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}
.single-event-modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s, background 0.2s;
}
.single-event-modal-close:hover {
    color: #0f172a;
    background: #e2e8f0;
}
.single-event-modal-body {
    padding: 0.75rem 1rem 1rem;
    background: #fafbfc;
}

.single-event-form-intro {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 0.75rem;
    line-height: 1.45;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    border-left: 3px solid #059669;
}

@media (min-width: 768px) {
    .single-event-modal-content {
        max-width: 560px;
    }
}

@media (min-width: 1024px) {
    .single-event-modal-content {
        max-width: 600px;
    }
    .single-event-modal-body {
        padding: 0.85rem 1.25rem 1.1rem;
    }
    .single-event-modal-header {
        padding: 0.85rem 1.25rem 0.6rem;
    }
}
.single-event-modal-body .single-event-form .form-row {
    margin-bottom: 0.65rem;
}
.single-event-modal-body .single-event-form .form-row-floating-pair {
    margin-bottom: 0.35rem;
}
.single-event-modal-body .single-event-form .form-row:last-of-type {
    margin-bottom: 0;
}
/* Floating label - email i datum u modalu */
.single-event-modal-body .single-event-form .form-floating {
    position: relative;
}
.single-event-modal-body .single-event-form .form-floating input {
    padding-top: 1.25rem;
}
.single-event-modal-body .single-event-form .form-floating label {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    pointer-events: none;
    transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.single-event-modal-body .single-event-form .form-floating input:focus ~ label,
.single-event-modal-body .single-event-form .form-floating input:not(:placeholder-shown) ~ label {
    top: 0.4rem;
    transform: translateY(0);
    font-size: 0.7rem;
    color: #059669;
}
.single-event-modal-body .single-event-form .date-picker-wrap.form-floating label {
    padding-right: 2rem;
}
.single-event-modal-body .single-event-form .form-row-actions {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    gap: 0.5rem;
    display: flex;
    flex-wrap: wrap;
}
.single-event-modal-body .single-event-form .form-row-actions .btn-primary {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}
.single-event-modal-body .single-event-form .form-row-actions .btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.single-event-modal-body .single-event-form .form-row-actions .btn {
    flex: 0 1 auto;
    min-width: 90px;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
}
.single-event-modal-body .single-event-form .form-policy-note {
    font-size: 0.7rem;
    color: #94a3b8;
    margin: 0.25rem 0 0;
    line-height: 1.35;
}
.single-event-modal-payment-label {
    font-weight: 600;
    color: #334155;
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
}
.single-event-modal-payment-hint {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
}
.single-event-modal-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.single-event-payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.single-event-payment-option:hover {
    border-color: #bfdbfe;
    background: #f8fafc;
}
.single-event-payment-option:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}
.single-event-payment-option-recommended:has(input:checked) {
    border-color: #059669;
    background: #f0fdf4;
}
.single-event-payment-option input[type="radio"] {
    flex-shrink: 0;
}
.single-event-payment-option span {
    font-size: 0.95rem;
    color: #334155;
}
.btn-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.btn-link:hover {
    text-decoration: underline;
}

.single-event-form-wrap {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.single-event-form-panel {
    background: #f8fafc;
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}
.single-event-modal-body .single-event-form-panel {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
}

.single-event-form-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 1.25rem 0;
    text-align: center;
    line-height: 1.5;
}

.single-event-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.single-event-form .form-row .form-label {
    flex: 0 0 100%;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.single-event-modal-body .single-event-form .form-row .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.single-event-form .form-row:last-of-type {
    margin-bottom: 0;
}

.single-event-form .form-row-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    gap: 0.75rem;
}

.single-event-form .form-group {
    flex: 1;
    min-width: 140px;
}

.single-event-form .form-group-wide {
    flex: 1 1 100%;
}

.single-event-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.4rem;
}

.single-event-modal-body .single-event-form input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    min-height: 38px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-event-form input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.single-event-form input::placeholder {
    color: #94a3b8;
}

/* Date picker wrapper - Flatpickr */
.single-event-form .date-picker-wrap {
    position: relative;
}
.single-event-form .date-picker-wrap input {
    padding-right: 2.5rem;
    background: #fff;
}
.single-event-form .date-picker-wrap input[readonly] {
    background: #fff;
}
.single-event-form .date-picker-wrap .date-picker-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
    opacity: 0.6;
}

/* Izbor paketa u modalu */
.single-event-form .package-options-grid {
    display: grid;
    gap: 0.5rem;
}

.single-event-form .package-options-grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .single-event-form .package-options-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .single-event-form .package-options-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.single-event-form .package-options-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .single-event-form .package-options-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.single-event-form .package-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    min-width: 0;
    padding: 0.6rem 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.single-event-form .package-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.single-event-form .package-option:has(input:checked) {
    border-color: #059669;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.single-event-form .package-option-popular {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.single-event-form .package-option-popular:has(input:checked) {
    border-color: #059669;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.single-event-form .package-option-badge {
    position: absolute;
    top: -0.65rem;
    right: 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    white-space: nowrap;
}

.single-event-form .package-option input[type="radio"] {
    appearance: none;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.single-event-form .package-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 0;
}

.single-event-form .package-option-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    white-space: nowrap;
}

.single-event-form .package-option-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.single-event-form .single-event-selected-package {
    margin-bottom: 0;
}

.single-event-form .package-option-selected {
    cursor: default;
    border-color: #059669;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
    display: inline-flex;
}

.single-event-form .package-option-selected .package-option-inner {
    flex-direction: row;
    gap: 0.5rem;
}

.single-event-form .package-option-selected:hover {
    border-color: #059669;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

/* Način plaćanja - opcije */
.single-event-form .payment-method-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.single-event-form .payment-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.single-event-form .payment-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.single-event-form .payment-option:has(input:checked) {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.single-event-form .payment-option-recommended:has(input:checked) {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.single-event-form .payment-option input[type="radio"] {
    appearance: none;
    width: 1rem;
    height: 1rem;
    margin: 0.25rem 0 0 0;
    flex-shrink: 0;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.single-event-form .payment-option input[type="radio"]:hover {
    border-color: #94a3b8;
}

.single-event-form .payment-option input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.single-event-form .payment-option input[type="radio"]:checked:focus-visible {
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.single-event-form .payment-option-recommended input[type="radio"]:checked:focus-visible {
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(5, 150, 105, 0.4);
}

.single-event-form .payment-option input[type="radio"]:checked {
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: inset 0 0 0 2px #fff;
}

.single-event-form .payment-option-recommended input[type="radio"]:checked {
    border-color: #059669;
    background: #059669;
}

.single-event-form .payment-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.single-event-form .payment-option-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.single-event-form .payment-option-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

/* Fallback za stari markup (npr. span sa strong) */
.single-event-form .payment-option span:not(.payment-option-text) {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.single-event-form .payment-method-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 0.35rem 0;
    line-height: 1.4;
}

/* Logotipi plaćanja u modalu - zahtev trgovca */
.single-event-modal-body .modal-payment-logos-row {
    margin-bottom: 0.5rem;
}
.single-event-modal-body .modal-payment-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
}
.single-event-modal-body .modal-payment-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.single-event-modal-body .modal-payment-separator {
    width: 1px;
    height: 20px;
    background: rgba(148, 163, 184, 0.35);
    flex-shrink: 0;
}
.single-event-modal-body .modal-payment-logo img {
    height: 22px;
    width: auto;
    object-fit: contain;
}
.single-event-modal-body .modal-payment-link {
    color: #64748b;
    text-decoration: none;
}
.single-event-modal-body .modal-payment-link:hover {
    color: #475569;
}
@media (max-width: 480px) {
    .single-event-modal-body .modal-payment-logos {
        flex-direction: column;
        gap: 0.5rem;
    }
    .single-event-modal-body .modal-payment-separator {
        width: 50%;
        max-width: 80px;
        height: 1px;
    }
}

/* Flatpickr theme - uklapa se u single-event formu */
.flatpickr-calendar {
    font-family: inherit !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #10b981 !important;
    border-color: #10b981 !important;
}
.flatpickr-day:hover {
    background: #d1fae5 !important;
    border-color: #d1fae5 !important;
}
.flatpickr-months .flatpickr-month {
    background: #f8fafc !important;
    color: #0f172a !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-current-month .numInputWrapper:hover {
    background: #e2e8f0 !important;
}
.flatpickr-weekdays span {
    color: #64748b !important;
}
.flatpickr-day.flatpickr-disabled {
    color: #cbd5e1 !important;
}

.single-event-form .checkbox-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #475569;
}
.single-event-form .checkbox-inline input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #059669;
}
.single-event-form .terms-preview-link {
    cursor: pointer;
    color: #059669;
    text-decoration: underline;
    font-weight: 600;
}
.single-event-form .terms-preview-link:hover {
    color: #047857;
}

.single-event-form .form-message,
.single-event-form-wrap .form-message,
.single-event-modal-body .form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.single-event-modal-body .form-message-top {
    margin-top: 0;
    margin-bottom: 0.6rem;
    border-radius: 10px;
}

.single-event-form .form-message.success,
.single-event-form-wrap .form-message.success,
.single-event-modal-body .form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 1rem 1.25rem;
}

.single-event-form-wrap .form-message.success a.btn {
    margin-top: 0.5rem;
}

.single-event-form .form-message.error,
.single-event-form-wrap .form-message.error,
.single-event-modal-body .form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 600px) {
    .single-event-section {
        padding: 3.5rem 0;
    }
    .single-event-card {
        padding: 2rem 1.5rem;
    }
    .single-event-card h2 {
        font-size: 1.5rem;
    }
    .single-event-price {
        font-size: 2.1rem;
    }
    .single-event-form-panel {
        padding: 1.5rem;
    }
    .single-event-form .form-group {
        min-width: 100%;
    }
    .single-event-form .form-row-actions {
        flex-direction: column;
    }
    .single-event-form .form-row-actions .btn {
        width: 100%;
    }
}

/* Dodatne usluge sekcija - posebna sekcija sa zelenim akcentom */
section.addon-services-section {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.addon-services-section .section-header h2 {
    color: #0f172a;
}

.addon-services-section .section-header p {
    color: #64748b;
}

.addon-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .addon-services-grid {
        grid-template-columns: 1fr;
    }
}

.addon-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #bbf7d0;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.06);
    transition: all 0.25s ease;
}
.addon-service-card:hover {
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
    border-color: #86efac;
    transform: translateY(-2px);
}

.addon-service-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.addon-service-header {
    margin-bottom: 0.5rem;
}

.addon-service-header h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin: 0;
}

.addon-service-card .addon-service-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.addon-service-why {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border-left: 3px solid #059669;
}

.addon-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    color: #475569;
}

.addon-service-features li {
    padding: 0.2rem 0;
    padding-left: 1rem;
    position: relative;
}

.addon-service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #059669;
}

.addon-service-price {
    margin-top: auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.addon-price-table {
    width: 100%;
    font-size: 0.9rem;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.addon-price-table th,
.addon-price-table td {
    padding: 0.35rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.addon-price-table th {
    font-weight: 600;
    color: #64748b;
}

.addon-price-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #059669;
}

.addon-price-note {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.addon-services-note {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.addon-services-note a {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

.addon-services-note a:hover {
    text-decoration: underline;
}

/* FAQ sekcija - plava nijansa za razliku od ostalih */
section.faq-section {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 40%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

section.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

section.faq-section .landing-container {
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.06);
}

.faq-item[open] {
    border-color: rgba(5, 150, 105, 0.4);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.1);
}

.faq-question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    margin-left: auto;
    color: #64748b;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}
.step-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.step-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.step-number {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: #ffffff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta .landing-container {
    position: relative;
    z-index: 1;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-content h2 {
    margin-bottom: 0.5rem;
}

.contact-section {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.contact-info p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-meta {
    display: grid;
    gap: 1rem;
    color: #475569;
}

.contact-meta span {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
}

.contact-form .form-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}

.contact-form h3 {
    margin-bottom: 1rem;
}

.contact-form textarea.form-input {
    resize: vertical;
    min-height: 140px;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.contact-social-link:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-social-icon {
    width: 22px;
    height: 22px;
}

/* Contact consent - koristi checkbox-inline kao na filterima (override .form-group label) */
.form-group.contact-consent-group label.checkbox-inline {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* Login page - centered card with subtle pattern */
.login-centered {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 280px);
    padding: 3rem 1rem;
}

.login-section-pattern {
    position: relative;
    width: 100%;
    max-width: 420px;
}
@media (min-width: 768px) {
    .login-section-pattern {
        max-width: 520px;
    }
}
@media (min-width: 1200px) {
    .login-section-pattern {
        max-width: 560px;
    }
}

/* Subtle dot pattern background */
.login-section-pattern::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f8fafc;
    background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: -1;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
    animation: loginCardFade 0.5s ease-out;
}

@keyframes loginCardFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card h3 {
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
}

.login-card-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.login-card .form-group {
    margin-bottom: 1.25rem;
}

.login-card .form-input {
    padding: 0.75rem 1rem;
    min-height: 44px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-card .form-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.login-card .form-input::placeholder {
    color: #94a3b8;
}

.login-card .btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.login-forgot-wrap {
    margin-top: 0.5rem;
}

.login-card .login-forgot-link,
.login-card a[href*="forgot"] {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.login-card .login-forgot-link:hover,
.login-card a[href*="forgot"]:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Demo page - wider content */
.demo-page .demo-container {
    max-width: min(1800px, 98%);
    width: 100%;
    padding-top: 68px; /* ispod fixed header-a */
}

.demo-page .landing-header .landing-container {
    width: min(1800px, 98%);
}

.landing-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
}

.footer-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.footer-brand p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.footer-col h4 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: #f8fafc;
}

.footer-col a,
.footer-col span {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-col a.footer-link-fizicka {
    color: #5eead4;
    font-weight: 600;
}
.footer-col a.footer-link-fizicka:hover {
    color: #99f6e4;
}

.footer-demo-link .btn-icon {
    margin-right: 0.25rem;
}
.footer-demo-link {
    color: #34d399 !important;
    font-weight: 600;
}

.footer-demo-link:hover {
    color: #6ee7b7 !important;
}

.footer-contact-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}
.footer-contact-item {
    margin-bottom: 0.35rem;
}
.footer-contact-address {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Payment logos - zahtev trgovca: platni instrumenti | banka + Monri (sredina) | sigurnosni procesi */
.footer-payment-section {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.footer-payment-section-inner {
    text-align: center;
}
.footer-payment-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-payment-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
}
.footer-payment-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-payment-separator {
    width: 1px;
    height: 28px;
    background: rgba(148, 163, 184, 0.35);
    flex-shrink: 0;
}
.footer-payment-logo {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #94a3b8;
}
.footer-payment-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
}
.footer-payment-link {
    color: #94a3b8;
    text-decoration: none;
}
.footer-payment-link:hover {
    color: #cbd5e1;
}
@media (max-width: 640px) {
    .footer-payment-logos {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-payment-separator {
        width: 60%;
        max-width: 120px;
        height: 1px;
    }
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 1rem;
    color: #cbd5e1;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-bottom .footer-legal-link {
    color: #cbd5e1;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer-bottom .footer-legal-link:hover {
    color: #f8fafc;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-social-icon {
    width: 20px;
    height: 20px;
}

/* Hamburger meni - na širini manjoj od 1400px */
@media (max-width: 1399px) {
    body:has(.landing-header) main {
        padding-top: 60px;
    }

    .section-chooser {
        min-height: min(70vh, 480px);
        min-height: min(70dvh, 480px);
    }

    .header-content {
        padding: 0.45rem 0;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0;
        align-items: center;
    }

    .header-content .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .header-content .nav-toggle {
        grid-column: 2;
        grid-row: 1;
        margin-left: 0.5rem;
    }

    .header-content .header-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 0.75rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Full-screen backdrop kad je mobilni meni otvoren - ispod navbar-a (brand + hamburger) */
    .landing-nav-backdrop {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 98;
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    .landing-header.is-open .landing-nav-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 16px;
        padding: 0.5rem;
        width: 100%;
        box-sizing: border-box;
        box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2),
                    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
        max-height: min(85vh, 520px);
        overflow-y: auto;
        z-index: 99;
        position: relative;
    }

    .landing-header.is-open .header-nav {
        display: flex;
        animation: header-nav-panel-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    /* Hamburger → X animacija + rotacija kada je meni otvoren */
    .landing-header.is-open .nav-toggle {
        transform: rotate(90deg);
        background: #f1f5f9;
        border-color: #94a3b8;
    }
    .landing-header.is-open .nav-toggle:active {
        transform: rotate(90deg) scale(0.94);
    }
    .landing-header.is-open .nav-toggle .nav-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(4px, 2px);
    }
    .landing-header.is-open .nav-toggle .nav-toggle-bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .landing-header.is-open .nav-toggle .nav-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -2px);
    }

    /* Staggered animacija stavki menija kad se otvori */
    .landing-header.is-open .header-nav > a {
        animation: header-nav-item-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        opacity: 0;
    }
    .landing-header.is-open .header-nav > a:nth-child(1) { animation-delay: 0.03s; }
    .landing-header.is-open .header-nav > a:nth-child(2) { animation-delay: 0.06s; }
    .landing-header.is-open .header-nav > a:nth-child(3) { animation-delay: 0.09s; }
    .landing-header.is-open .header-nav > a:nth-child(4) { animation-delay: 0.12s; }
    .landing-header.is-open .header-nav > a:nth-child(5) { animation-delay: 0.15s; }
    .landing-header.is-open .header-nav > a:nth-child(6) { animation-delay: 0.18s; }
    .landing-header.is-open .header-nav > a:nth-child(7) { animation-delay: 0.21s; }
    .landing-header.is-open .header-nav > a:nth-child(8) { animation-delay: 0.24s; }
    .landing-header.is-open .header-nav > a:nth-child(9) { animation-delay: 0.27s; }

    /* Mobilni dropdown - linkovi */
    .header-nav a {
        font-size: 0.95rem !important;
        padding: 0.65rem 1rem !important;
        border-radius: 10px;
        transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    }
    .header-nav a:not(.btn):hover {
        background: rgba(37, 99, 235, 0.08);
        color: #2563eb;
    }
    .header-nav a:not(.btn):active {
        transform: scale(0.98);
    }

    /* Mobilni dropdown - CTA dugmad (PROBAJ BESPLATNO, Prijava) */
    .header-nav .btn-primary,
    .header-nav .btn-demo,
    .header-nav .btn-prijava {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem !important;
        justify-content: center;
        text-align: center;
        border-radius: 12px;
        margin-top: 0.25rem;
        transition: transform 0.15s ease, box-shadow 0.2s ease !important;
    }
    .header-nav .btn-primary:active,
    .header-nav .btn-demo:active,
    .header-nav .btn-prijava:active {
        transform: scale(0.97) !important;
    }

    .header-nav {
        padding: 0.75rem;
        gap: 0.15rem;
        flex-wrap: nowrap;
    }

    /* Mobilni dropdown - separator između linkova (ne između dugmadi) */
    .header-nav > a + a::before {
        display: none;
    }
    .header-nav > a:not(.btn) + a:not(.btn) {
        border-top: 1px solid rgba(31, 41, 55, 0.08);
        padding-top: 0.5rem;
        margin-top: 0.15rem;
    }
    /* Veći razmak pre CTA dugmadi */
    .header-nav > a.btn-demo,
    .header-nav > a.btn-primary,
    .header-nav > a.btn-prijava {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(31, 41, 55, 0.12);
    }

    .hero-copy h1 {
        font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
    }

    .hero {
        padding-top: 0.5rem;
        scroll-margin-top: 60px;
    }

    #primeri,
    #features,
    #licenses,
    #roles,
    #roles-use-cases,
    #roles-cards,
    #how,
    #faq,
    #contact {
        scroll-margin-top: 60px;
    }

    .demo-page .demo-container {
        padding-top: 60px;
    }
}

@media (max-width: 828px) {
    .landing-container {
        width: 100%;
        padding: 0 1rem;
    }

    .hero {
        padding-top: 2rem;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-copy h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        order: 1;
    }

    .hero-bullets {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem 1rem;
        margin-bottom: 1rem;
        order: 2;
    }

    .hero-bullets li {
        margin-bottom: 0;
        padding-left: 1.25rem;
        font-size: 0.95rem;
    }

    .hero-copy .hero-actions {
        order: 3;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .hero-copy p {
        order: 4;
    }

    .hero-copy .hero-highlights {
        order: 5;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .landing-container {
        padding: 0 0.75rem;
    }

    .hero {
        padding-top: 0.5rem;
    }

    .hero-grid {
        gap: 1rem;
    }

    .hero-copy-inner {
        padding: 1.5rem 1.25rem;
    }

    .hero-bullets {
        grid-template-columns: 1fr;
        gap: 0.4rem 0;
        font-size: 0.95rem;
    }

    .hero-bullets li {
        padding-left: 1.4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .roles-cards {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 0.5rem;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem 1rem 1.5rem;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .footer-bottom span:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 0.5rem;
    }

    .footer-legal-sep {
        display: none;
    }

    .footer-legal-link {
        white-space: nowrap;
    }

    .footer-bottom span:last-child .footer-legal-link:not(:first-of-type)::before {
        content: " · ";
        color: #cbd5e1;
        margin-right: 0.25em;
    }
}

@media (max-width: 540px) {
    .landing-footer {
        padding: 2rem 0 1rem;
    }

    .landing-footer .landing-container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .footer-grid {
        gap: 1.25rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-brand p {
        font-size: 0.875rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .footer-bottom span:last-child {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom span:last-child .footer-legal-link:not(:first-of-type)::before {
        content: none;
    }
}

/* Uslovi korišćenja u dijalogu */
.dialog-content-body {
    line-height: 1.7;
}
.dialog-content-body h1 {
    color: #0f172a;
    border-bottom: 3px solid #0ea5e9;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    font-size: 1.25rem;
}
.dialog-content-body h2 {
    color: #0f172a;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-size: 1.1rem;
}
.dialog-content-body h3 {
    color: #475569;
    margin-top: 1em;
    font-size: 1rem;
}
.dialog-content-body ul,
.dialog-content-body ol {
    margin: 0.75em 0;
    padding-left: 1.5em;
}
.dialog-content-body li {
    margin: 0.35em 0;
}
.dialog-content-body .highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 1em;
    margin: 1em 0;
    border-radius: 0 8px 8px 0;
}
.dialog-content-body .warning-box {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 1em;
    margin: 1em 0;
    border-radius: 0 8px 8px 0;
}
.dialog-content-body .contact-info {
    background: #f8fafc;
    padding: 1em;
    border-radius: 8px;
    margin: 1em 0;
}
.dialog-content-body .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75em;
    margin: 1em 0;
}
.dialog-content-body .service-card {
    background: #f8fafc;
    padding: 1em;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}
.dialog-content-body .legal-footer-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}
.dialog-content-body .legal-footer-links a {
    color: #0ea5e9;
    text-decoration: none;
}
.dialog-content-body .legal-footer-links a:hover {
    text-decoration: underline;
}
.dialog-content-body a {
    color: #0ea5e9;
}
