/* === INTER FONT (self-hosted) === */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/inter-800-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/inter-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback sa Inter metrikama — sprječava layout shift dok se font učitava */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    size-adjust: 107%;
    ascent-override: 90%;
    descent-override: 22.5%;
    line-gap-override: 0%;
}

/* === PERFORMANCE === */

/* prefers-reduced-motion: isključi sve animacije za korisnike koji to preferiraju */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    #hero-particles, #aladdin-rider { display: none !important; }
    .lm-bar, .lm-line, .lm-dot, .lm-bg { animation: none !important; opacity: 1 !important; }
}

/* content-visibility: browser preskače render sekcija ispod folda */
.industries-section,
.team,
.solutions-section,
.cases-section,
.process-section,
.testi-section,
.pricing-section,
.contact-section,
.pain-section,
.demo-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* === SCROLL PROGRESS === */
/* --- SCROLL PROGRESS --- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #2148a3, #4a7fd4);
    z-index: 99999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* --- PAGE INTRO --- */
#page-intro {
    position: fixed;
    inset: 0;
    background: #0d1f3c;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    animation: piIn 0.4s ease forwards;
}

#page-intro.pi-exit {
    animation: piOut 0.7s ease forwards;
}

body.intro-active {
    overflow: hidden;
}

.pi-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: piContentIn 0.6s ease forwards 0.2s;
    opacity: 0;
}

.pi-logo {
    animation: piLogoIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.1s;
    opacity: 0;
    transform: scale(0.5);
}

.pi-name {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.pi-name strong {
    color: #4a7fd4;
}

.pi-tagline {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

@keyframes piIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes piOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(1.04); }
}

@keyframes piLogoIn {
    to { opacity: 1; transform: scale(1); }
}

@keyframes piContentIn {
    to { opacity: 1; }
}



/* --- TESTIMONIALS --- */
.testi-section {
    padding: 120px 20px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.testi-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    opacity: 0.5;
}

.testi-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testi-section .section-title {
    color: #fff;
}

.testi-section .section-title::after {
    background: #4a7fd4;
}

.testi-section .pre-title {
    color: rgba(255,255,255,0.4);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

.testi-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.28s, background 0.28s;
}

.testi-card:hover {
    border-color: rgba(74, 127, 212, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.testi-q {
    font-size: 4rem;
    line-height: 0.6;
    color: #4a7fd4;
    font-family: Georgia, serif;
    display: block;
    opacity: 0.8;
}

.testi-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    flex: 1;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2148a3, #4a7fd4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.testi-info strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
    margin-bottom: 2px;
}

.testi-info span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
    .testi-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- ROOT & BASE --- */
:root {
    --navy: #0d1f3c;
    --bg-white: #ffffff;
    --bg-section: #f0f4f9;
    --accent: #2148a3;
    --accent-dark: #183880;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-on-dark: #cbd5e1;
    --text-dim-dark: #94a3b8;
    --border: #dde3ed;
    --border-dark: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    --shadow-hover: 0 10px 36px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 14px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    background: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
}

a:focus-visible,
button:focus-visible {
    outline: 2px dashed var(--accent);
    outline-offset: 4px;
}

/* UTILS */
.highlight {
    color: var(--accent);
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    overflow-x: hidden;
    background: linear-gradient(160deg, #081628 0%, #0d1f3c 45%, #0a1a30 100%);
}

/* Aurora overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: -60%;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(60,0,120,0.28) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 40%, rgba(0,60,140,0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 90%, rgba(0,40,100,0.18) 0%, transparent 50%);
    animation: auroraShift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes auroraShift {
    0%   { transform: rotate(0deg)   scale(1);    opacity: 0.7; }
    33%  { transform: rotate(4deg)   scale(1.08); opacity: 1; }
    66%  { transform: rotate(-3deg)  scale(0.96); opacity: 0.8; }
    100% { transform: rotate(2deg)   scale(1.04); opacity: 0.9; }
}

#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Scramble char */
.sc {
    color: rgba(255, 255, 255, 0.55);
    display: inline-block;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
}

.hero-left-content {
    flex: 0 1 560px;
    width: 100%;
    text-align: left;
    animation: fadeUp 0.9s ease forwards;
}

/* Hero live counter */
.hero-live-counter {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 18px;
    backdrop-filter: blur(10px);
    animation: fadeUp 1s ease forwards 0.6s;
    opacity: 0;
}

.hlc-header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hlc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: liveBlink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

.hlc-stats {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hlc-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hlc-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Courier New', monospace;
    letter-spacing: -0.02em;
    line-height: 1;
}

.hlc-green { color: #22c55e; }

.hlc-lbl {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.hlc-div {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* 3D tilt — disable CSS hover transform na karticama jer JS preuzima */
.card:hover,
.industry-card:hover,
.process-step:hover,
.testi-card:hover {
    transform: none;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hs-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hs-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.3;
}

.hs-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* Live counter — sakrij na mobitelu */
    .hero-live-counter {
        display: none;
    }

    /* Particle canvas — isključen na mobitelu zbog performansi */
    #hero-particles {
        display: none;
    }
}

/* --- HERO TERMINAL --- */
.hero-terminal {
    flex: 0 1 420px;
    min-width: 320px;
    background: rgba(10, 14, 22, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: fadeUp 1s ease forwards 0.4s;
    opacity: 0;
}

.term-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.term-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.term-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.term-dots span:nth-child(1) { background: #ef4444; }
.term-dots span:nth-child(2) { background: #f59e0b; }
.term-dots span:nth-child(3) { background: #22c55e; }

.term-title {
    flex: 1;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    letter-spacing: 0.03em;
}

.term-lang {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(26, 86, 219, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.term-body {
    padding: 16px 18px 18px;
    min-height: 240px;
    position: relative;
}

.term-output {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.75rem;
    line-height: 1.65;
    color: #d4d4d4;
    white-space: pre-wrap;
    margin: 0;
}

.term-line {
    display: block;
    min-height: 1.2em;
}

.term-cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: var(--accent);
    vertical-align: middle;
    margin-left: 1px;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Syntax highlighting */
.t-kw  { color: #569cd6; }
.t-cmt { color: #6a9955; font-style: italic; }
.t-str { color: #ce9178; }
.t-num { color: #b5cea8; }
.t-exec { color: #f59e0b; }

/* Results */
.t-res-head { color: rgba(255,255,255,0.55); font-weight: 600; }
.t-res-sep  { color: rgba(255,255,255,0.15); }
.t-res-row  { color: #4ec9b0; }
.t-res-info { color: rgba(255,255,255,0.4); font-size: 0.7rem; }
.t-res-ok   { color: #22c55e; }

@media (max-width: 1100px) {
    .hero-terminal {
        display: none;
    }
    .hero-container {
        justify-content: flex-start;
    }
}

.hero-left-content h1 {
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 20px;
    font-weight: 800;
    color: #fff;
}

.hero-left-content p {
    color: var(--text-on-dark);
    font-size: 1.08rem;
    max-width: 520px;
    line-height: 1.7;
}

/* LOGO */
.hero-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
}

.hero-logo img {
    height: 76px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.logo-mark {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
    overflow: visible;
}

/* Background glow pulse */
.lm-bg {
    animation: lmBgPulse 5s ease-in-out infinite;
}
@keyframes lmBgPulse {
    0%, 100% { opacity: 0.7; }
    45%, 65% { opacity: 1; }
}

/* Bars slide up */
.lm-bar {
    animation: lmBarUp 5s ease-in-out infinite;
}
.lm-bar-1 { animation-delay: 0s; }
.lm-bar-2 { animation-delay: 0.18s; }
.lm-bar-3 { animation-delay: 0.36s; }

@keyframes lmBarUp {
    0%, 2%    { transform: translateY(14px); opacity: 0; }
    20%       { transform: translateY(0);    opacity: 0.92; }
    65%       { transform: translateY(0);    opacity: 0.92; }
    80%, 100% { transform: translateY(14px); opacity: 0; }
}

/* Trend line draw */
.lm-line {
    animation: lmLineDraw 5s ease-in-out infinite 0.55s;
}
@keyframes lmLineDraw {
    0%, 14% { stroke-dashoffset: 45; opacity: 0; }
    35%     { stroke-dashoffset: 0;  opacity: 0.7; }
    65%     { stroke-dashoffset: 0;  opacity: 0.7; }
    80%, 100% { stroke-dashoffset: 45; opacity: 0; }
}

/* Dots pop in */
.lm-dot { animation: lmDotPop 5s ease-in-out infinite; }
.lm-dot-1 { animation-delay: 0.75s; }
.lm-dot-2 { animation-delay: 0.92s; }
.lm-dot-3 { animation-delay: 1.08s; }

@keyframes lmDotPop {
    0%, 18%   { opacity: 0; }
    30%       { opacity: 0.9; }
    65%       { opacity: 0.75; }
    80%, 100% { opacity: 0; }
}

.brand {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.slogan {
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    color: var(--text-dim-dark);
    text-transform: uppercase;
    margin-top: 5px;
}

/* DUGMAD */
.hero-btns {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    padding: 14px 32px;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    transition: all 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.38);
}

.primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 6px 22px rgba(26, 86, 219, 0.45);
}

.secondary {
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: white;
    background: transparent;
}

.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

/* --- EKSPERTIZA --- */
.skills {
    padding: 80px 40px;
    background: var(--bg-white);
    text-align: center;
}

/* Tableau-style frame */
.tbl-frame {
    max-width: 1360px;
    margin: 0 auto;
    border: 1px solid rgba(33, 72, 163, 0.22);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(33, 72, 163, 0.08), 0 0 0 1px rgba(33, 72, 163, 0.06);
    overflow: visible;
}

.tbl-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: rgba(33, 72, 163, 0.06);
    border-bottom: 1px solid rgba(33, 72, 163, 0.15);
    border-radius: 6px 6px 0 0;
    user-select: none;
}

.tbl-panel-title {
    flex: 1;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(33, 72, 163, 0.6);
    text-align: center;
    letter-spacing: 0.03em;
}

.tbl-drag {
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-template-rows: repeat(2, 4px);
    gap: 3px;
    cursor: grab;
    flex-shrink: 0;
}

.tbl-drag span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a0a8b8;
}

.tbl-panel-title {
    flex: 1;
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.03em;
}

.tbl-controls {
    display: flex;
    gap: 2px;
}

.tbl-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: background 0.2s, color 0.2s;
}

.tbl-btn:hover {
    background: rgba(0, 0, 0, 0.07);
    color: #333;
}

.tbl-body {
    padding: 40px 32px 32px;
}

.tbl-body .container-grid {
    padding: 0;
    max-width: 100%;
    overflow: visible;
}

.tbl-frame .card:hover {
    transform: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(33, 72, 163, 0.15), var(--shadow);
}

.tbl-body .section-title {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .skills {
        padding: 40px 16px;
    }
    .tbl-body {
        padding: 28px 16px 24px;
    }
}

.skills-intro {
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    text-align: center;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 700px;
    margin: 0 auto 52px;
    padding: 0 20px;
}

.skills-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 14px;
    background: rgba(33, 72, 163, 0.06);
    color: var(--accent);
    border-radius: 20px;
    border: 1px solid rgba(33, 72, 163, 0.15);
    letter-spacing: 0.03em;
    transition: background 0.22s, border-color 0.22s;
}

.container-grid {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    overflow-x: auto;
}

.card {
    flex: 1;
    min-width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.card img {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    object-fit: contain;
}

.card-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(33, 72, 163, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 18px;
    transition: background 0.28s;
}

.card:hover .card-icon-wrap {
    background: rgba(33, 72, 163, 0.15);
}

.card h3 {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.card-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    line-height: 1.4;
    display: block;
}

.card h3::after {
    content: ' +';
    color: var(--accent);
    font-size: 0.75em;
    opacity: 0.65;
}

.card.active h3::after {
    content: ' −';
    opacity: 1;
}

.card-details {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.45s ease;
    overflow: hidden;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.card.active .card-details {
    max-height: 160px;
    opacity: 1;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

/* --- TEAM --- */
.team {
    padding: 120px 20px;
    background: var(--bg-section);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.team-text {
    flex: 1.2;
    min-width: 320px;
}

.team-description {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
}

.team-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.team-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.team-features li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.team-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.team-image {
    flex: 1;
    min-width: 320px;
}

.team-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    filter: grayscale(100%);
    transition: filter 0.6s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.team-image:hover img {
    filter: grayscale(0%);
}

/* --- TEAM DASHBOARD --- */
.team-dashboard {
    background: #0b1a30;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: #e2e8f2;
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.dash-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-dots span:nth-child(1) { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #f59e0b; }
.dash-dots span:nth-child(3) { background: #22c55e; }

.dash-title-text {
    flex: 1;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    letter-spacing: 0.03em;
}

.dash-live-badge {
    font-size: 0.62rem;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.dash-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* KPIs */
.dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.dash-kpi {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 10px 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dash-animate .dash-kpi:nth-child(1) { transition-delay: 0.1s; }
.dash-animate .dash-kpi:nth-child(2) { transition-delay: 0.22s; }
.dash-animate .dash-kpi:nth-child(3) { transition-delay: 0.34s; }

.dash-animate .dash-kpi {
    opacity: 1;
    transform: translateY(0);
}

.kpi-lbl {
    display: block;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}

.kpi-val {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1;
}

.kpi-trend {
    font-size: 0.62rem;
    font-weight: 700;
}

.kpi-up { color: #22c55e; }
.kpi-down { color: #ef4444; }

/* Chart sections */
.dash-section-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 12px;
}

.dash-chart-label {
    display: block;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

/* Line chart */
.dash-linechart {
    width: 100%;
    height: 65px;
    display: block;
    overflow: visible;
}

.lc-line {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    transition: stroke-dashoffset 0s;
}

.lc-fill { opacity: 0; }
.lc-dot  { opacity: 0; }

.dash-animate .lc-line {
    animation: drawLC 2s ease forwards 0.5s;
}

.dash-animate .lc-fill {
    animation: fadeInArea 0.6s ease forwards 2s;
}

.dash-animate .lc-dot {
    animation: popDot 0.3s ease forwards 2.3s;
}

@keyframes drawLC {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeInArea {
    to { opacity: 1; }
}

@keyframes popDot {
    0%   { opacity: 0; transform: scale(0); }
    70%  { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Horizontal bars */
.dash-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.dash-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-bar-lbl {
    width: 68px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

.dash-bar-bg {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 3px;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1a56db, #3b82f6);
    border-radius: 3px;
}

.dash-animate .dash-bar-item:nth-child(1) .dash-bar-fill { animation: barFillH 0.8s ease forwards 0.3s; }
.dash-animate .dash-bar-item:nth-child(2) .dash-bar-fill { animation: barFillH 0.8s ease forwards 0.45s; }
.dash-animate .dash-bar-item:nth-child(3) .dash-bar-fill { animation: barFillH 0.8s ease forwards 0.6s; }
.dash-animate .dash-bar-item:nth-child(4) .dash-bar-fill { animation: barFillH 0.8s ease forwards 0.75s; }

@keyframes barFillH {
    to { width: var(--w); }
}

.dash-bar-val {
    width: 28px;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    flex-shrink: 0;
}

/* Footer */
.dash-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

.dash-time {
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* --- NOISE / GRAIN na tamnim sekcijama --- */
.industries-section::after,
.cases-section::after,
.testi-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.038;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grainMove 0.7s steps(2) infinite;
}

@keyframes grainMove {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(2px, -2px); }
    50%  { transform: translate(-2px, 2px); }
    75%  { transform: translate(1px, -1px); }
    100% { transform: translate(-1px, 1px); }
}

/* --- SOLUTIONS SECTION --- */
.pre-title {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: block;
}

.solutions-section {
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-white) 30%);
}

.sol-wrapper {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
}

.sol-left {
    flex: 0 0 42%;
    padding: 120px 60px 80px;
}

.sol-sticky {
    position: sticky;
    top: 120px;
}

.sol-panels {
    position: relative;
    min-height: 480px;
}

.sol-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.sol-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sol-main-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-main);
    margin: 12px 0 28px;
}

/* Sol default panel enrichment */
.sol-mini-stats {
    display: flex;
    gap: 28px;
    margin: 28px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.sms-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sms-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.sms-lbl {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
}

.sol-type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.sol-type-badges span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 13px;
    background: rgba(33, 72, 163, 0.07);
    color: var(--accent);
    border-radius: 20px;
    border: 1px solid rgba(33, 72, 163, 0.16);
    letter-spacing: 0.02em;
}

.sol-scroll-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin: 0;
    animation: hintBounce 2.2s ease-in-out infinite;
}

@keyframes hintBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* Category badge na product panelima */
.sol-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(33, 72, 163, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    border: 1px solid rgba(33, 72, 163, 0.15);
}

.sol-num {
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

.sol-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 22px;
    line-height: 1.2;
}

.sol-divider {
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 22px;
}

.sol-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.sol-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sol-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    background: var(--bg-section);
    color: var(--text-muted);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.sol-right {
    flex: 1;
    padding: 120px 60px 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.sol-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    transition: box-shadow 0.35s, transform 0.35s var(--ease);
}

.sol-item:hover {
    box-shadow: 0 16px 56px rgba(33, 72, 163, 0.18);
    transform: translateY(-4px);
}

.sol-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--ease);
}

.sol-item:hover img {
    transform: scale(1.03);
}

.sol-item-num {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.06em;
    z-index: 2;
}

/* Online / Live products */
.sol-online {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 60px 120px;
    border-top: 1px solid var(--border);
    position: relative;
    background: var(--bg-white);
    z-index: 5;
}

.sol-online-header {
    margin-bottom: 36px;
}

.sol-online-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.sol-online-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-main);
}

.sol-online-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .sol-online-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sol-live-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.28s, transform 0.28s var(--ease);
}

.sol-live-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.sol-live-img {
    height: 160px;
    overflow: hidden;
}

.sol-live-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s var(--ease);
}

.sol-live-card:hover .sol-live-img img {
    transform: scale(1.04);
}

.sol-live-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sol-live-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.sol-live-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 12px;
    flex: 1;
}

.sol-live-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.sol-live-tags span {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    background: var(--bg-section);
    color: var(--text-muted);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.sol-live-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.22s;
    margin-top: auto;
    display: inline-block;
}

.sol-live-link:hover {
    color: var(--accent-dark);
}

/* Sol item meta — vidljiv samo na mobitelu */
.sol-item-meta {
    display: none;
}

@media (max-width: 960px) {
    .sol-wrapper {
        flex-direction: column;
    }

    /* Mobile: sol-left kao statični header, samo default panel */
    .sol-left {
        flex: none;
        padding: 40px 24px 0;
    }

    .sol-sticky {
        position: static;
    }

    .sol-panels {
        min-height: auto;
    }

    /* Sakrij sve panele na mobitelu */
    .sol-panel {
        position: static;
        opacity: 0;
        pointer-events: none;
        display: none;
    }

    /* Pokaži samo default intro panel */
    .sol-panel[data-index="0"] {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
    }

    .sol-main-title {
        font-size: 2rem;
    }

    .sol-right {
        padding: 24px 24px 40px;
        gap: 40px;
    }

    /* Pokaži meta ispod svake slike */
    .sol-item-meta {
        display: block;
        padding: 16px 4px 0;
    }

    .sol-item-meta h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 8px;
    }

    .sol-item-meta p {
        font-size: 0.875rem;
        color: var(--text-muted);
        line-height: 1.68;
        margin-bottom: 12px;
    }

    .sol-online {
        padding: 40px 24px 80px;
    }

    .sol-online-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sol-online-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 120px 20px;
    background: var(--bg-section);
}

.process-container {
    max-width: 1100px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
    position: relative;
}

.process-steps--four {
    grid-template-columns: repeat(4, 1fr);
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(16.67% + 14px);
    right: calc(16.67% + 14px);
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.process-steps--four::before {
    left: calc(12.5% + 14px);
    right: calc(12.5% + 14px);
    background: linear-gradient(90deg, var(--border), rgba(33,72,163,0.2), var(--border));
    height: 1px;
}

@media (max-width: 960px) {
    .process-steps--four {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps--four::before {
        display: none;
    }
}

.process-step {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 42px 28px 38px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.28s, box-shadow 0.28s;
}

.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }

.process-step:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.step-icon-wrap {
    width: 44px;
    height: 44px;
    background: rgba(33, 72, 163, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 16px auto 18px;
    transition: background 0.28s;
}

.process-step:hover .step-icon-wrap {
    background: rgba(33, 72, 163, 0.15);
}

.process-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.72;
    margin-bottom: 16px;
}

.step-delivers {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-align: left;
}

.step-delivers li {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}

.step-delivers li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    top: 1px;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }
}

/* ── Digital Journey Story ── */
#pstory-journey {
    margin-top: 48px;
}

.process-story {
    background: linear-gradient(160deg, #081628 0%, #0d1f3c 100%);
    border: 1px solid rgba(33, 72, 163, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px 28px 16px;
    margin-bottom: 56px;
    position: relative;
    overflow: hidden;
}

.process-story::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(59,130,246,0.1) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.4;
    pointer-events: none;
}

.ps-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.story-svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .process-story {
        display: none;
    }
}

.process-access {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.access-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.access-benefit {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.access-icon {
    width: 48px;
    height: 48px;
    background: rgba(26, 86, 219, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 4px;
}

.access-benefit h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.access-benefit p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.72;
}

.access-quote {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 36px 48px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.access-quote::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 36px;
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
    font-family: Georgia, serif;
    opacity: 0.5;
}

.access-quote > p {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.65;
    text-align: center;
    font-style: italic;
    margin: 0 0 24px;
}

/* Aladdin animation */
.aladdin-stage {
    position: relative;
    height: 115px;
    width: 100%;
}

.aladdin-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carpet-flyer {
    position: absolute;
    top: 8px;
    left: -110px;
    animation: aladdinFly 8s ease-in-out infinite;
    will-change: left, top;
}

@keyframes aladdinFly {
    0%   { left: -110px; top: 55px; transform: rotate(-8deg); opacity: 0; }
    6%   { opacity: 1; }
    20%  { left: 18%;  top: 18px; transform: rotate(-4deg); }
    40%  { left: 38%;  top: 6px;  transform: rotate(2deg); }
    60%  { left: 58%;  top: 12px; transform: rotate(-2deg); }
    80%  { left: 78%;  top: 22px; transform: rotate(-5deg); }
    94%  { opacity: 1; }
    100% { left: calc(100% + 20px); top: 50px; transform: rotate(-8deg); opacity: 0; }
}

@media (max-width: 768px) {
    .access-quote {
        padding: 28px 24px 0;
    }

    .access-quote > p {
        font-size: 1rem;
    }

    .aladdin-stage {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .access-benefits {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .access-quote {
        padding: 28px 24px;
    }

    .access-quote p {
        font-size: 1rem;
    }
}

/* --- STICKY NAV --- */
.main-nav {
    position: fixed;
    top: -70px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: top 0.35s ease;
}

.main-nav.visible {
    top: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.22s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

#lang-btn {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 7px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 700;
    transition: background 0.22s, color 0.22s;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

#lang-btn:hover {
    background: var(--accent);
    color: #fff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    border-radius: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        display: flex;
    }

    .nav-links.open {
        max-height: 360px;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 14px 24px;
        font-size: 0.85rem;
        text-align: left;
    }
}

/* --- INDUSTRIES SECTION --- */
.industries-section {
    padding: 120px 20px;
    background: linear-gradient(160deg, #0a1828 0%, #0d1f3c 45%, #0e2340 100%);
    position: relative;
    overflow: hidden;
}

/* Dot grid */
.industries-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.22) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    animation: dotBreath 5s ease-in-out infinite alternate;
}

/* Floating glow blobs */
.industries-section::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.12) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

@keyframes dotBreath {
    0%   { opacity: 0.35; }
    100% { opacity: 0.75; }
}

@keyframes blobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-60px, 60px) scale(1.15); }
}

.industries-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.industries-section .section-title {
    color: #fff;
}

.industries-section .section-title::after {
    background: var(--accent);
}

.industries-section .pre-title {
    color: rgba(255, 255, 255, 0.5);
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.industry-card {
    flex: 0 1 calc(33.33% - 24px);
    min-width: 260px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.industry-card.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.28s, box-shadow 0.28s;
}

.industry-card:nth-child(2) { transition-delay: 0.08s; }
.industry-card:nth-child(3) { transition-delay: 0.16s; }
.industry-card:nth-child(4) { transition-delay: 0.08s; }
.industry-card:nth-child(5) { transition-delay: 0.16s; }

.industry-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(26, 86, 219, 0.25);
    transform: translateY(-6px);
}

.industry-icon {
    width: 64px;
    height: 64px;
    background: rgba(26, 86, 219, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    transition: background 0.28s;
}

.industry-card:hover .industry-icon {
    background: rgba(26, 86, 219, 0.14);
}

.industry-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.72;
    margin-bottom: 0;
}

/* Industry stat strip */
.istat {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.istat-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.istat-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
    min-width: 52px;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

.istat-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.istat-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #3b82f6);
    border-radius: 2px;
    transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.istat-fill--green {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.ind-animated .istat-fill {
    width: var(--p);
}

.istat-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: block;
}

@media (max-width: 900px) {
    .industry-card {
        flex: 0 1 calc(50% - 24px);
        min-width: 220px;
    }
}

@media (max-width: 560px) {
    .industry-card {
        flex: 0 1 100%;
    }
}

/* --- CASE STUDIES SECTION --- */
.cases-section {
    padding: 120px 20px;
    background: linear-gradient(160deg, #081c38 0%, #0b1e3a 50%, #071428 100%);
    position: relative;
    overflow: hidden;
}

.cases-section .section-title {
    color: #fff;
}

.cases-section .section-title::after {
    background: var(--accent);
}

.cases-section .pre-title {
    color: rgba(255, 255, 255, 0.45);
}

/* Animated bar chart background */
.cases-bars {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 20px;
    pointer-events: none;
    z-index: 0;
}

.cases-bars span {
    display: block;
    flex: 1;
    max-width: 48px;
    background: rgba(26, 86, 219, 0.07);
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: barRise 3.5s ease-in-out infinite alternate;
}

.cases-bars span:nth-child(1)  { animation-delay: 0s;    height: 48%; }
.cases-bars span:nth-child(2)  { animation-delay: 0.35s; height: 72%; }
.cases-bars span:nth-child(3)  { animation-delay: 0.7s;  height: 33%; }
.cases-bars span:nth-child(4)  { animation-delay: 0.2s;  height: 88%; }
.cases-bars span:nth-child(5)  { animation-delay: 0.55s; height: 56%; }
.cases-bars span:nth-child(6)  { animation-delay: 0.9s;  height: 41%; }
.cases-bars span:nth-child(7)  { animation-delay: 0.15s; height: 78%; }
.cases-bars span:nth-child(8)  { animation-delay: 0.5s;  height: 62%; }
.cases-bars span:nth-child(9)  { animation-delay: 0.85s; height: 37%; }
.cases-bars span:nth-child(10) { animation-delay: 0.3s;  height: 92%; }
.cases-bars span:nth-child(11) { animation-delay: 0.65s; height: 52%; }
.cases-bars span:nth-child(12) { animation-delay: 0s;    height: 68%; }
.cases-bars span:nth-child(13) { animation-delay: 0.4s;  height: 29%; }
.cases-bars span:nth-child(14) { animation-delay: 0.75s; height: 81%; }
.cases-bars span:nth-child(15) { animation-delay: 0.1s;  height: 45%; }

@keyframes barRise {
    0%   { transform: scaleY(0.35); opacity: 0.4; }
    100% { transform: scaleY(1);    opacity: 1; }
}

.cases-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* --- CASE VISUAL ANIMATIONS --- */
.case-visual {
    height: 120px;
    background: linear-gradient(160deg, #081628 0%, #0d1f3c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Card 1: Excel → 1 file */
.cv-files-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cv-file-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.cv-xls {
    width: 34px;
    height: 8px;
    border-radius: 2px;
    background: rgba(26, 86, 219, 0.35);
    border: 1px solid rgba(26, 86, 219, 0.5);
    animation: xlsFly 2.8s ease-in-out infinite;
    animation-delay: var(--d);
    transform: translateY(var(--y, 0));
}

@keyframes xlsFly {
    0%   { transform: translateY(var(--y, 0)) translateX(0); opacity: 0.7; }
    50%  { transform: translateY(calc(var(--y, 0) * 0.3)) translateX(20px); opacity: 0.5; }
    80%  { transform: translateY(0) translateX(44px); opacity: 0.1; }
    100% { transform: translateY(var(--y, 0)) translateX(0); opacity: 0.7; }
}

.cv-arrow-anim {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.25);
    animation: arrowPulse 2.8s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.25; }
    50%       { opacity: 0.7; }
}

.cv-single-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    animation: filePop 2.8s ease-in-out infinite;
}

@keyframes filePop {
    0%, 60%  { transform: scale(0.9); opacity: 0.5; }
    80%      { transform: scale(1.08); opacity: 1; }
    100%     { transform: scale(1); opacity: 1; }
}

.cv-single-file span {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
}

/* Card 2: Gauge */
.cv-gauge {
    padding: 8px 0 0;
}

.gauge-svg {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
}

.gauge-pct {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 22px;
    font-weight: 800;
    fill: #fff;
}

.gauge-sub {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 7.5px;
    fill: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Card 3: Counter */
.cv-counter-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cv-count-before, .cv-count-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cv-count-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ef4444;
    line-height: 1;
    transition: color 0.4s ease;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

.cv-count-lbl {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cv-zero-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

.cv-checkmark {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cv-check-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.case-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.28s, transform 0.28s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.case-card.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.28s, border-color 0.28s;
}

.case-card:nth-child(2) { transition-delay: 0.1s; }
.case-card:nth-child(3) { transition-delay: 0.2s; }

.case-card:hover {
    box-shadow: 0 12px 40px rgba(26, 86, 219, 0.22);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.case-header {
    padding: 28px 28px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-category {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(26, 86, 219, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.case-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 2.9em;
}

.case-challenge {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.68;
    flex: 1;
}

.case-results {
    display: flex;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-section);
    margin-top: auto;
}

.case-stat {
    flex: 1;
    padding: 18px 8px;
    text-align: center;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-stat:last-child {
    border-right: none;
}

.case-stat-num {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.35;
    min-height: 2.7em;
}

.case-tech {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    padding: 16px 28px;
}

.case-tech span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    background: var(--bg-section);
    color: var(--text-muted);
    border-radius: 4px;
    border: 1px solid var(--border);
}

@media (max-width: 900px) {
    .cases-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- PAIN / PROBLEM SEKCIJA --- */
.pain-section {
    padding: 100px 20px;
    background: linear-gradient(160deg, #081628 0%, #0d1f3c 100%);
    position: relative;
    overflow: hidden;
}

.pain-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(59,130,246,0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.5;
    pointer-events: none;
}

.pain-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pain-pretitle {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 56px;
}

.pain-list {
    display: flex;
    flex-direction: column;
}

.pain-item {
    display: grid;
    grid-template-columns: 28px 1fr 240px;
    align-items: center;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    cursor: default;
}

.pain-anim {
    flex-shrink: 0;
    width: 240px;
    opacity: 0.9;
}

.pain-anim svg {
    width: 100%;
    height: auto;
    display: block;
}

/* SVG transform fix */
.mg1, .mg2, .mg3, .mg-result,
.kb1, .kb2, .kb3,
.p1-fly, .p1-sel {
    transform-box: fill-box;
    transform-origin: center;
}

@media (max-width: 900px) {
    /* Animacija ide iznad teksta */
    .pain-item {
        display: grid;
        grid-template-columns: 28px 1fr;
        grid-template-rows: auto auto;
        gap: 16px 20px;
    }

    .pain-anim {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        max-width: 260px;
        margin: 0 auto;
        opacity: 0.92;
    }

    .pain-num {
        grid-column: 1;
        grid-row: 2;
    }

    .pain-body {
        grid-column: 2;
        grid-row: 2;
    }
}

.pain-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.pain-item:hover .pain-num {
    color: #fff;
}

.pain-item:hover .pain-body h3 {
    color: #fff;
}

.pain-num {
    font-size: 0.78rem;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.1em;
    padding-top: 6px;
    flex-shrink: 0;
    width: 28px;
    transition: color 0.25s;
}

.pain-body h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(255,255,255,0.88);
    margin-bottom: 10px;
    line-height: 1.2;
    transition: color 0.25s;
}

.pain-body p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.72;
    max-width: 680px;
}

.pain-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.pain-cta span {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.pain-cta strong {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
}

.pain-cta .btn {
    margin-left: auto;
}

@media (max-width: 768px) {
    .pain-section { padding: 60px 20px; }
    .pain-pretitle { margin-bottom: 36px; }
    .pain-body h3 { font-size: 1.15rem; line-height: 1.3; }
    .pain-body p  { font-size: 0.85rem; }
    .pain-item    { padding: 26px 0; gap: 16px; }
    .pain-num     { font-size: 0.7rem; padding-top: 3px; }
    .pain-cta     { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 36px; }
    .pain-cta span, .pain-cta strong { font-size: 1rem; }
    .pain-cta .btn { margin-left: 0; width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 375px) {
    .pain-body h3  { font-size: 1rem; }
    .pain-section  { padding: 48px 16px; }
    .pain-pretitle { margin-bottom: 28px; }
}

/* --- DEMO UŽIVO (Generiši izvještaj) --- */
.demo-section {
    padding: 100px 20px 110px;
    background: linear-gradient(200deg, #0d1f3c 0%, #081628 100%);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(59,130,246,0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.5;
    pointer-events: none;
}

.demo-container {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.demo-pretitle {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #4a7fd4;
    margin-bottom: 14px;
}

.demo-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.demo-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2148a3, #4a7fd4);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(33, 72, 163, 0.45);
    transition: transform 0.25s var(--ease), box-shadow 0.25s, opacity 0.2s;
    animation: demoBtnPulse 2.4s ease-in-out infinite;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 38px rgba(74, 127, 212, 0.55);
}

.demo-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    animation: none;
}

@keyframes demoBtnPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(33, 72, 163, 0.45); }
    50%      { box-shadow: 0 8px 42px rgba(74, 127, 212, 0.75); }
}

.demo-btn-icon {
    display: flex;
    align-items: center;
}

/* Dashboard panel */
.demo-dash {
    background: rgba(8, 13, 22, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.demo-dash--idle {
    opacity: 0.45;
    filter: saturate(0.4);
}

.demo-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ddh-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ddh-dot {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: background 0.3s;
}

.ddh-dot.live {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34,197,94,0.8);
    animation: ddhPulse 1.6s ease-in-out infinite;
}

@keyframes ddhPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

.ddh-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ddh-badge {
    flex-shrink: 0;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.07);
    padding: 4px 11px;
    border-radius: 999px;
    transition: color 0.3s, background 0.3s;
}

.ddh-badge.working { color: #f59e0b; background: rgba(245,158,11,0.12); }
.ddh-badge.done    { color: #22c55e; background: rgba(34,197,94,0.12); }

/* Terminal log during generation */
.demo-log {
    height: 0;
    overflow: hidden;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.72rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    padding: 0 18px;
    transition: height 0.35s ease, padding 0.35s ease;
}

.demo-log.open {
    height: 96px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.demo-log .dl-ok { color: #22c55e; }

/* KPI cards */
.demo-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px;
}

.demo-kpi {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dk-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
}

.dk-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.dk-trend {
    font-size: 0.7rem;
    font-weight: 700;
}

.dk-up { color: #22c55e; }

/* Charts */
.demo-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 18px 18px;
}

.demo-chart {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 14px 16px;
}

.dc-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    margin-bottom: 12px;
}

.demo-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 110px;
}

.db-bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, #4a7fd4, #2148a3);
    border-radius: 3px 3px 0 0;
    opacity: 0.85;
    transform-origin: bottom;
}

.db-bar--hot {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}

.demo-line-svg {
    width: 100%;
    height: 110px;
    display: block;
}

/* Footer status */
.demo-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px 18px;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(34,197,94,0.05);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.df-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22c55e;
    color: #06210f;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}

.demo-footer strong { color: #22c55e; }

.df-vs {
    margin-left: auto;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.35);
    text-decoration: line-through;
}

.demo-punchline {
    margin-top: 26px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.demo-punchline.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .demo-section { padding: 64px 16px 72px; }
    .demo-title { font-size: 1.6rem; }
    .demo-sub { font-size: 0.9rem; }
    .demo-kpis { grid-template-columns: 1fr; padding: 14px; }
    .demo-charts { grid-template-columns: 1fr; padding: 0 14px 14px; }
    .dk-value { font-size: 1.15rem; }
    .ddh-title { font-size: 0.72rem; }
    .df-vs { margin-left: 0; width: 100%; }
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 120px 20px;
    background: var(--bg-section);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.contact-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 12px 0 18px;
    color: var(--text-main);
}

.contact-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-main);
    font-size: 0.92rem;
}

.contact-details li svg {
    color: var(--accent);
    flex-shrink: 0;
}

.contact-details li a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.22s;
}

.contact-details li a:hover {
    color: var(--accent);
}

/* Email contact */
.contact-email-wrap {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-email-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.contact-email-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-email-address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 36px;
    padding: 14px 18px;
    background: rgba(26, 86, 219, 0.06);
    border-radius: var(--radius);
    border: 1px solid rgba(26, 86, 219, 0.15);
}

.contact-email-address svg {
    color: var(--accent);
    flex-shrink: 0;
}

.email-btns {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.email-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 22px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s var(--ease), box-shadow 0.22s;
    letter-spacing: 0.02em;
}

.email-btn:hover {
    transform: translateY(-2px);
}

.gmail-btn {
    background: rgba(234, 67, 53, 0.05);
    color: #c0392b;
    border: 1.5px solid rgba(234, 67, 53, 0.25);
}

.gmail-btn:hover {
    background: rgba(234, 67, 53, 0.1);
    border-color: rgba(234, 67, 53, 0.45);
}

.outlook-btn {
    background: rgba(0, 120, 212, 0.05);
    color: #0066b8;
    border: 1.5px solid rgba(0, 120, 212, 0.25);
}

.outlook-btn:hover {
    background: rgba(0, 120, 212, 0.1);
    border-color: rgba(0, 120, 212, 0.45);
}

.default-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
}

.default-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 768px) {
    .contact-email-wrap {
        padding: 28px 20px;
    }
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-heading {
        font-size: 2.2rem;
    }
}

/* --- SCROLL TO TOP --- */
.scroll-top-btn {
    position: fixed;
    bottom: 110px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--accent);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.22s, color 0.22s;
    box-shadow: var(--shadow-sm);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* --- SIDEBAR PROGRESS --- */
.sidebar-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990;
    pointer-events: auto;
}

.sidebar-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
}

.sidebar-nav ul::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(100, 116, 139, 0.25);
    transform: translateX(-50%);
}

.sn-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(100, 116, 139, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    padding: 0;
}

.sn-dot:hover,
.sn-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
}

.sn-dot::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-white);
    padding: 3px 9px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.sn-dot:hover::before {
    opacity: 1;
}

@media (max-width: 1200px) {
    .sidebar-nav { display: none; }
}

/* --- FOOTER PROJECT CARD --- */
.fp-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 10px;
    text-decoration: none;
    transition: border-color 0.25s, background 0.25s;
    margin-top: 4px;
}

.fp-card:hover {
    border-color: rgba(74, 127, 212, 0.45);
    background: rgba(255, 255, 255, 0.09);
}

.fp-img {
    position: relative;
    flex-shrink: 0;
}

.fp-img img {
    width: 60px;
    height: 44px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    display: block;
}

.fp-live {
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 0.52rem;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.04em;
}

.fp-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fp-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.fp-tech {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
    display: block;
    line-height: 1.3;
}

.fp-link {
    font-size: 0.72rem;
    color: #4a7fd4;
    font-weight: 600;
    display: block;
    margin-top: 4px;
}

/* --- FOOTER --- */
.footer {
    padding: 80px 0 0;
    background: var(--navy);
    border-top: 3px solid var(--accent);
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr 1.1fr;
    gap: 36px;
    padding: 0 20px 60px;
}

.footer-column p {
    color: var(--text-dim-dark);
    font-size: 0.9rem;
    line-height: 1.75;
}

.footer-column h3 {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    color: var(--text-dim-dark);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--border-dark);
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: border-color 0.22s, color 0.22s;
}

.social-icon:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-dim-dark);
    text-decoration: none;
    transition: color 0.22s;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: #fff;
}

.btn-mini {
    display: inline-block;
    margin-top: 16px;
    padding: 9px 22px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    transition: all 0.22s ease;
}

.btn-mini:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-dark);
    color: var(--text-dim-dark);
    font-size: 0.78rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-dim-dark);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.22s;
}

.footer-legal a:hover {
    color: #fff;
}

/* --- ALADDIN SCROLL RIDER --- */
#aladdin-rider {
    position: fixed;
    right: 18px;
    top: 10vh;
    width: 66px;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

#aladdin-rider.visible {
    opacity: 1;
}

#aladdin-rider svg {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1300px) {
    #aladdin-rider {
        width: 48px;
        right: 8px;
    }
}

@media (max-width: 768px) {
    #aladdin-rider {
        width: 38px;
        right: 5px;
    }
}

/* --- WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: transform 0.28s var(--ease), box-shadow 0.28s;
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 26px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--navy);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s, visibility 0.22s;
    box-shadow: var(--shadow);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* --- ANIMACIJE --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- REVEAL ANIMATIONS --- */
.skills,
.team,
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.skills.active,
.team.active,
.stat-item.active {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:nth-child(2) { transition-delay: 0.1s; }
.stat-item:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(4) { transition-delay: 0.3s; }

/* --- MOBILNA PRILAGODBA --- */
@media (max-width: 768px) {
    .hero-logo {
        width: 100%;
        left: 0;
        top: 20px;
        justify-content: center;
    }

    .hero-logo img {
        height: 50px;
    }

    .hero-container {
        padding: 0 20px;
        justify-content: center;
        gap: 0;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
    }

    .hero-left-content {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        text-align: center;
        margin-top: 100px;
    }

    .hero-left-content h1 {
        font-size: 2rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-left-content p {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 28px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .container-grid {
        flex-wrap: wrap;
    }

    .card {
        flex: 0 1 100%;
    }

    .main-title {
        font-size: 2.4rem;
        text-align: center;
    }

    .team-container {
        gap: 40px;
    }

    .team-stats {
        gap: 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 40px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ============================================================
   MOBILE UX IMPROVEMENTS
   ============================================================ */

/* 1. Ukloni tap delay i highlight flash na svim uređajima */
* {
    -webkit-tap-highlight-color: transparent;
}

a, button, [onclick], .card, .industry-card,
.case-card, .sol-live-card, .testi-card,
.sn-dot, .email-btn, .nav-links a {
    touch-action: manipulation;
}

/* 2. Nav linkovi — veći tap target na mobilnom */
@media (max-width: 768px) {
    .nav-links a {
        padding: 14px 24px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* 3. Expertise kartice — 2-kolumna grid na mobilnom */
    .container-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        overflow-x: visible;
    }

    .card {
        flex: none;
        min-width: 0;
    }

    /* 4. Smanji section padding na mobilnom (120px → 64px) */
    .skills,
    .industries-section,
    .team,
    .process-section,
    .testi-section,
    .pricing-section,
    .contact-section,
    .cases-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .solutions-section .sol-left {
        padding-top: 48px;
    }

    /* 5. Manji font na hero za 360px i ispod */
    .hero-left-content h1 {
        font-size: 1.85rem;
    }
}

/* 6. Najtanji ekrani — 360px i ispod */
@media (max-width: 375px) {
    .hero-left-content h1 {
        font-size: 1.65rem;
    }

    .hs-num {
        font-size: 1.3rem;
    }

    .hero-stats {
        gap: 8px;
    }

    .hs-sep {
        height: 28px;
    }

    .container-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        font-size: 0.75rem;
        padding: 12px 24px;
    }
}

/* ============================================================
   PRICING / CIJENE
   ============================================================ */
.pricing-section {
    padding: 120px 20px;
    background: var(--bg-white);
}

.pricing-container {
    max-width: 1240px;
    margin: 0 auto;
}

.pricing-intro {
    max-width: 640px;
    margin: -28px auto 56px;
    text-align: center;
    color: var(--text-muted);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}

.price-card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.price-card.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.28s, box-shadow 0.28s;
}

.price-card:nth-child(2) { transition-delay: 0.08s; }
.price-card:nth-child(3) { transition-delay: 0.16s; }
.price-card:nth-child(4) { transition-delay: 0.24s; }

.price-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(26, 86, 219, 0.18);
    transform: translateY(-6px);
}

.price-card--featured {
    border-color: var(--accent);
    box-shadow: 0 10px 36px rgba(33, 72, 163, 0.16);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.price-type {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.price-amount {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 14px;
}

.price-from {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-cur {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.price-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    min-height: 42px;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.price-features li {
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.45;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-weight: 800;
}

.price-time {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(33, 72, 163, 0.07);
    border-radius: var(--radius);
    padding: 7px 12px;
    text-align: center;
    margin-bottom: 16px;
}

.price-time:has(+ .price-maint) {
    margin-bottom: 8px;
}

.price-maint {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    padding: 0 12px;
    margin-bottom: 16px;
}

.price-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    transition: background 0.22s, color 0.22s, transform 0.22s var(--ease);
}

.price-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.price-btn--primary {
    background: var(--accent);
    color: #fff;
}

.price-btn--primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.pricing-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 40px;
}

.pricing-note {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}

.pricing-note h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.pricing-note p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.maint-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.maint-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.maint-list strong {
    color: var(--text-main);
    font-weight: 700;
    margin-right: 4px;
}

/* --- PRICE BUILDER --- */
.builder {
    margin-top: 60px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.builder.active {
    opacity: 1;
    transform: translateY(0);
}

.builder-header {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

.builder-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 6px 0 10px;
}

.builder-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.builder-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

.builder-options {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.builder-stub-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.builder-stub-note {
    margin-top: 10px;
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.builder-choices {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.builder-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.22s, background 0.22s;
}

.builder-choice:has(input:checked) {
    border-color: var(--accent);
    background: rgba(33, 72, 163, 0.05);
}

.builder-choice input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.bc-label {
    flex: 1;
    font-size: 0.88rem;
    color: var(--text-main);
}

.bc-price {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.bc-help {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.22s, color 0.22s;
}

.bc-help:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.bc-included-badge {
    display: none;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.builder-choice.bc-included {
    cursor: default;
    opacity: 0.6;
}

.builder-choice.bc-included:has(input:checked) {
    border-color: var(--border);
    background: var(--bg-white);
}

.builder-choice.bc-included input {
    cursor: default;
}

.builder-choice.bc-included .bc-price {
    display: none;
}

.builder-choice.bc-included .bc-included-badge {
    display: inline-block;
}

.builder-summary {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: sticky;
    top: 100px;
}

.builder-summary > h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 14px;
}

.builder-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    min-height: 8px;
}

.builder-stack-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-section);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: var(--text-main);
}

.builder-stack-item--addon {
    border-left-color: #16a34a;
}

.bsi-price {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.builder-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-bottom: 8px;
}

.builder-total span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.builder-total strong {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
}

.builder-support-line {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.builder-support-line strong {
    color: var(--accent);
}

.builder-disclaimer {
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.builder-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* Mini forma "Zatraži ponudu" */
.builder-quote {
    margin-top: 28px;
    padding: 28px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    scroll-margin-top: 90px;
}

.bq-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.bq-sub {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.bq-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.bq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bq-field--full {
    grid-column: 1 / -1;
}

.bq-field label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-main);
}

.bq-field input,
.bq-field textarea {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
    background: var(--bg-white);
    transition: border-color 0.22s, box-shadow 0.22s;
    outline: none;
    width: 100%;
}

.bq-field input:focus,
.bq-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(33, 72, 163, 0.1);
}

.bq-field textarea {
    resize: vertical;
    min-height: 76px;
    line-height: 1.55;
}

.bq-error {
    display: none;
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #dc2626;
}

.bq-error.visible {
    display: block;
}

.bq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.bq-send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s, color 0.2s;
}

.bq-send:hover {
    transform: translateY(-2px);
}

.bq-send--wa {
    background: #22c55e;
    color: #fff;
}

.bq-send--wa:hover {
    box-shadow: 0 8px 22px rgba(34, 197, 94, 0.4);
}

.bq-send--gmail {
    background: var(--accent);
    color: #fff;
}

.bq-send--gmail:hover {
    box-shadow: 0 8px 22px rgba(33, 72, 163, 0.4);
}

.bq-send--mail {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
}

.bq-send--mail:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 1100px) {
    .builder {
        padding: 32px 24px;
    }

    .builder-grid {
        grid-template-columns: 1fr;
    }

    .builder-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .builder {
        padding: 26px 18px;
    }

    .bc-label {
        font-size: 0.84rem;
    }

    .builder-quote {
        padding: 20px 16px;
    }

    .bq-fields {
        grid-template-columns: 1fr;
    }

    .bq-send {
        width: 100%;
        justify-content: center;
    }
}

/* --- PRICING FAQ --- */
.pricing-faq {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-faq-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 28px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.22s;
}

.faq-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.faq-item:nth-child(2) { transition-delay: 0.06s, 0.06s, 0s; }
.faq-item:nth-child(3) { transition-delay: 0.12s, 0.12s, 0s; }
.faq-item:nth-child(4) { transition-delay: 0.18s, 0.18s, 0s; }
.faq-item:nth-child(5) { transition-delay: 0.24s, 0.24s, 0s; }
.faq-item:nth-child(6) { transition-delay: 0.30s, 0.30s, 0s; }
.faq-item:nth-child(7) { transition-delay: 0.36s, 0.36s, 0s; }
.faq-item:nth-child(8) { transition-delay: 0.42s, 0.42s, 0s; }

.faq-item.active {
    border-color: var(--accent);
}

.faq-item.faq-pulse {
    animation: faqPulse 0.6s ease-in-out 3;
}

@keyframes faqPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(33, 72, 163, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(33, 72, 163, 0); }
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
}

.faq-icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(33, 72, 163, 0.08);
    transition: background 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.4s var(--ease), color 0.32s var(--ease);
}

.faq-item.active .faq-icon-wrap {
    background: var(--accent);
    box-shadow: 0 4px 14px rgba(33, 72, 163, 0.35);
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s var(--ease);
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.pricing-cta {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--navy) 0%, #14305e 100%);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.pricing-cta-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 620px;
}

.pricing-cta-text strong {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
}

.pricing-cta-text span {
    color: var(--text-on-dark);
    font-size: 0.92rem;
}

.pricing-cta .btn.primary {
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-card--featured {
        order: -1;
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-notes {
        grid-template-columns: 1fr;
    }

    .pricing-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    max-width: 420px;
    padding: 20px 22px;
    background: var(--navy);
    color: var(--text-on-dark);
    border: 1px solid var(--border-dark);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    z-index: 1001;
    font-size: 0.86rem;
    line-height: 1.55;
    animation: fadeUp 0.4s ease both;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cookie-link {
    color: var(--text-dim-dark);
    font-size: 0.78rem;
    margin-right: auto;
}

.cookie-link:hover {
    color: #fff;
}

.cookie-btn {
    padding: 9px 20px;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.22s ease;
}

.cookie-btn--ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cookie-btn--ghost:hover {
    border-color: #fff;
}

.cookie-btn--primary {
    background: var(--accent);
    border: 1.5px solid var(--accent);
    color: #fff;
}

.cookie-btn--primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

/* --- PRIVATNOST --- */
.legal-section {
    padding: 120px 20px;
    background: var(--bg-white);
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
}

.legal-container h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin: 36px 0 10px;
}

.legal-container p,
.legal-container li {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.legal-container ul {
    padding-left: 20px;
}

.legal-container a {
    color: var(--accent);
}

.legal-updated {
    font-size: 0.82rem;
    text-align: center;
    margin-top: -28px;
}

@media (max-width: 640px) {
    .legal-section {
        padding: 64px 16px;
    }
}
