:root {
    --primary:      #030E1F;
    --secondary:    #DDE6F5;
    --accent:       #156EF6;
    --surface:      #132949;
    --surface-2:    #1C2635;
    --muted:        #8A9BB8;
    --border:       rgba(221, 230, 245, 0.10);
    --radius:       16px;
    --radius-sm:    10px;

    /* Desktop grid: 1440 stranica, margin 72, 12 kolona, gutter 24.
       Sadržaj = 1296. Kolona = 86. */
    --page:         1440px;
    --margin:       72px;
    --gutter:       24px;
    --col:          86px;
    --container:    1296px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }

body {
    margin: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary);
    color: var(--secondary);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.accent { color: var(--accent); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-accent {
    background: var(--accent);
    color: var(--secondary);
}
.btn-accent:hover {
    background: #0f5fd6;
    transform: scale(1.04);
    box-shadow: 0 0 12px rgba(21, 110, 246, 0.40);
    color: var(--secondary);
}
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

/* ── HEADER / NAV ─────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 14, 31, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
body { padding-top: 57px; }
.navbar { padding: 0; }
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 57px;
}
.navbar-brand {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: var(--secondary);
    opacity: 0.8;
}
.navbar-brand:hover { opacity: 1; }
.nav-links { gap: 12px; margin-left: auto; }
.nav-links .nav-link {
    color: var(--secondary);
    opacity: 0.8;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    padding: 10px 16px;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-links .nav-link:hover { color: var(--accent); opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 18px; margin-left: 28px; }

/* Figma: 120×39, radius 4 */
.nav-questionnaire {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.nav-questionnaire:hover {
    background: var(--accent);
    color: #fff;
}
.nav-cta {
    background: var(--secondary);
    color: rgba(3, 14, 31, 0.8);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    padding: 10px 20px;
    text-decoration: none;
}
.nav-cta:hover {
    background: var(--secondary);
    color: #030E1F;
    transform: scale(1.04);
    box-shadow: 0 0 12px rgba(21, 110, 246, 0.40);
}

/* Figma: 39×39, opacity 0.6 */
.lang-dropdown { position: relative; }
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--secondary);
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.25s ease, filter 0.25s ease;
}
.lang-toggle:hover { opacity: 1; transform: scale(1.04); filter: drop-shadow(0 0 5px rgba(21, 110, 246, 0.70)); }
.lang-toggle::after { display: none; }
.globe-icon { width: 39px; height: 39px; }
.lang-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px;
    min-width: 150px;
}
.lang-menu .dropdown-item {
    color: var(--secondary);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.88rem;
}
.lang-menu .dropdown-item:hover { background: var(--surface-2); color: var(--secondary); }
.lang-menu .dropdown-item.active { background: var(--accent); color: var(--secondary); }

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23DDE6F5' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── SEKCIJE ──────────────────────────────────────────────────────────────── */
section { padding: 96px 0; position: relative; }
.section-head { margin-bottom: 54px; }
.section-head.text-center { text-align: center; }
.section-label {
    display: inline-block;
    color: var(--secondary);
    opacity: 0.6;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
}
.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.15;
    margin: 0 0 14px;
}
.section-sub {
    color: var(--secondary);
    opacity: 0.6;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* ── HERO — Figma 1440×670 scena ─────────────────────────────────────────── */
/* aspect-ratio umjesto padding-bottom %: poštuje max-width na ekranima > 1440px */
.hero {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    aspect-ratio: 1440 / 670;
    padding: 0;
    overflow: hidden;
    background: var(--primary);
}
.hero-stage {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px;
    height: 670px;
    transform: translateX(-50%) scale(var(--hero-scale, 1));
    transform-origin: top center;
    isolation: isolate;
}
.hero-stage > * { position: absolute; }
.hero-visual { position: absolute; inset: 0; }
.hero-visual > * { position: absolute; }

.hero-glow {
    left: 949px; top: 157px;
    width: 400.65px; height: 368.37px;
    background: #156EF6;
    opacity: 0.30;
    filter: blur(71px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
/* Tri koncentricna prstena, stroke #132949, 3.8px */
.hero-ring {
    border: 3.8px solid var(--surface);
    border-radius: 50%;
}
.hero-ring-3 {
    left: 706.61px; top: 57px; width: 713px; height: 713px;
    -webkit-mask-image: linear-gradient(to top, transparent 15%, black 25%);
    mask-image: linear-gradient(to top, transparent 15%, black 25%);
}
.hero-ring-2 {
    left: 788.88px; top: 139.27px; width: 548.46px; height: 548.46px;
    -webkit-mask-image: linear-gradient(to top, transparent 20%, black 30%);
    mask-image: linear-gradient(to top, transparent 20%, black 30%);
}
.hero-ring-1 {
    left: 871.15px; top: 221.54px; width: 383.92px; height: 383.92px;
    -webkit-mask-image: linear-gradient(to top, transparent 22%, black 32%);
    mask-image: linear-gradient(to top, transparent 22%, black 32%);
}

.hero-photo {
    left: 849.93px; top: 60.85px;
    width: 440.89px; height: 627.55px;
    object-fit: cover;
    object-position: center top;
    z-index: 4;
    /* mask: gornja polovina + krug po konturi prstena — fade u primary */
    -webkit-mask-image:
        linear-gradient(to bottom, black 50%, transparent 50%),
        radial-gradient(circle 262px at 213.18px 352.65px, black 97%, transparent 100%);
    mask-image:
        linear-gradient(to bottom, black 50%, transparent 50%),
        radial-gradient(circle 262px at 213.18px 352.65px, black 97%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
}

/* Kružni overlay — dno foto prelazi u primary duž luka prstena */
.hero-photo-fade {
    left: 801.11px; top: 151.50px;
    width: 524px; height: 524px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent 50%, var(--primary) 95%);
    z-index: 4;
    pointer-events: none;
}

/* Govorni oblačić */
.hero-name-tag {
    left: 1153px; top: 51px;
    background: var(--surface-2);
    color: rgba(221, 230, 245, 0.6);
    font-size: 16px;
    line-height: 20px;
    padding: 7px 12px;
    border-radius: 2px;
    white-space: nowrap;
    z-index: 5;
}
/* Rep oblačića — rotiran 40° CW */
.hero-name-tag::after {
    content: "";
    position: absolute;
    left: 21px;
    bottom: -36px;
    width: 0; height: 0;
    border-top: 34px solid var(--surface-2);
    border-right: 18px solid transparent;
    transform: rotate(40deg);
    transform-origin: 9px -34px;
}

/* Floating tech tagovi — solidan tag + dvije poluprozirne (0.3) podloge */
.float-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--tag);
    color: #FAFAFA;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 4;
}
.float-tag::before,
.float-tag::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    background: var(--tag);
    border-radius: 4px;
    opacity: 0.30;
}
.float-tag::before {
    width: calc(100% + 9px);
    height: calc(100% + 9px);
    transform: translate(-50%, -50%);
    z-index: -1;
}
.float-tag::after {
    width: calc(100% + 19px);
    height: calc(100% + 19px);
    transform: translate(-50%, -50%);
    z-index: -2;
}

.tag-webflow { --tag: #156EF6; left: 780.69px;  top: 146.69px; transform: rotate(20.57deg); }
.tag-api     { --tag: #8468DF; left: 1290.95px; top: 163.24px; transform: rotate(-17.46deg); font-size: 19px; }
.tag-figma   { --tag: #F24E1E; left: 778.47px;  top: 381.47px; transform: rotate(-18.45deg); }
.tag-mysql   { --tag: #00758F; left: 1284.60px; top: 378.65px; transform: rotate(31.5deg); font-size: 15px; font-weight: 700; }
.tag-aspnet  { --tag: #512BD4; left: 695.92px;  top: 548.91px; transform: rotate(3.27deg); font-size: 15px; }

.hero-copy { left: 72px; top: 88px; width: 550px; z-index: 6; }

.badge-pill {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.hero-heading {
    width: 550px;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
    margin: 0 0 16px;
}
.hero-sub {
    width: 478px;
    color: var(--secondary);
    opacity: 0.8;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 68px;
}

.hero-actions { display: flex; gap: 24px; margin-bottom: 40px; }
.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 48px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    flex: 1 1 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hero-primary {
    background: linear-gradient(93.78deg, #156EF6 0%, #113AC2 102.39%);
    color: var(--secondary);
}
.btn-hero-primary:hover {
    color: var(--secondary);
    transform: scale(1.04);
    box-shadow: 0 0 12px rgba(21, 110, 246, 0.40);
}
.btn-hero-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid rgba(221, 230, 245, 0.3);
}
.btn-hero-secondary:hover {
    color: var(--secondary);
    transform: scale(1.04);
    box-shadow: 0 0 12px rgba(21, 110, 246, 0.40);
}
.btn-hero-secondary img { width: 22px; height: auto; }

.hero-proof { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; align-items: center; }
.avatars img,
.avatar-more {
    width: 42.31px; height: 42.31px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-left: -23px;
    object-fit: cover;
}
.avatars img:first-child { margin-left: 0; }
.avatar-more {
    display: flex; align-items: center; justify-content: center;
    background: var(--secondary);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}
.proof-text {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

/* ── WORK ─────────────────────────────────────────────────────────────────── */
.work { background: var(--primary); padding: 96px 0; overflow: hidden; }
/* 3 kartice 416 + 2 gutter 24 = 1296 — stanu tačno, hover scale ne biva odrezan */
.work .container { max-width: 1440px; padding: 0 72px; position: relative; z-index: 1; }
.work .section-sub { max-width: 312px; margin-left: auto; margin-right: auto; }

.work-carousel { display: block; }
/* padding+negativna margina: ostavlja 20px prostora za hover scale */
.carousel-viewport { overflow: hidden; padding: 20px; margin: -20px -20px 0; }
.carousel-track {
    display: flex;
    gap: var(--gutter);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.work-card {
    /* 4 kolone = 416; 3 kartice + 2 guttera = 1296 (cijeli sadržaj) */
    flex: 0 0 416px;
    height: 615px;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.work-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(21, 110, 246, 0.40);
}
.work-card-img {
    position: relative;
    flex: 0 0 277px;
    height: 277px;
    background: var(--surface-2);
    overflow: hidden;
}
.work-card-img img { width: 100%; height: 100%; object-fit: cover; }
/* Sve kartice osim HRIS/Web (klasa, ne nth-child — carousel klonira kartice):
   cijela slika, smanjena 10%, centrirana */
.work-card-img img.work-card-photo--sm {
    object-fit: contain;
    object-position: center;
    transform: scale(0.9);
}
.work-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(19, 41, 73, 0.6);
    z-index: 1;
    pointer-events: none;
}
/* Badge: najduži red = "in AddWare Solutions" → white-space nowrap, 2 reda */
.work-badge {
    position: absolute;
    right: 12px; bottom: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--secondary);
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    z-index: 2;
}
.work-badge strong { display: block; font-size: 12px; font-weight: 700; }
.work-badge span { font-size: 9px; opacity: 0.9; }
a.work-badge:hover { color: var(--secondary); }
/* body = 615 − 277 = 338px */
.work-card-body { padding: 26px 24px 24px; flex: 0 0 338px; height: 338px; overflow: hidden; display: flex; flex-direction: column; }
.work-card-title { font-size: 32px; font-weight: 700; color: var(--secondary); opacity: 0.75; line-height: 1.5; margin: 0 0 14px; }
.work-card-desc { color: rgba(221, 230, 245, 0.8); opacity: 0.75; font-size: 16px; font-weight: 400; line-height: 1.5; margin: 0 0 22px; }
.work-techs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.tech-tag {
    background: var(--accent);
    color: #FAFAFA;
    font-size: 16px;
    font-weight: 600;
    padding: 8px;
    border-radius: 4px;
}

.work-carousel { position: relative; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--secondary);
    font-size: 1.8rem;
    line-height: 1;
    padding-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.carousel-btn.prev { left: -18px; }
.carousel-btn.next { right: -18px; }
.carousel-btn:hover { background: var(--accent); color: var(--secondary); transform: translateY(-50%) scale(1.04); box-shadow: 0 0 12px rgba(21, 110, 246, 0.40); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn:disabled:hover { background: var(--surface); color: var(--secondary); border-color: var(--border); transform: translateY(-50%); }

/* ── ABOUT — Figma 1440×748 scena ────────────────────────────────────────── */
.about {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    aspect-ratio: 1440 / 748;
    padding: 0;
    overflow: hidden;
    background: var(--primary);
}
.about-stage {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px;
    height: 748px;
    transform: translateX(-50%) scale(var(--fig-scale, 1));
    transform-origin: top center;
}
.about-stage > * { position: absolute; }
.ab-visual { position: absolute; inset: 0; }
.ab-visual > * { position: absolute; }

.ab-glow {
    left: 177px; top: 118px;
    width: 510px; height: 510px;
    background: #156EF6;
    opacity: 0.10;
    filter: blur(150px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.ab-ring {
    border: 6px solid rgba(28, 38, 53, 0.6);
    border-radius: 50%;
    z-index: 1;
}
.ab-ring-2 { left: 123px;    top: 65px;    width: 619px;    height: 619px; }
.ab-ring-1 { left: 153.71px; top: 95.72px; width: 557.57px; height: 557.57px; }
.ab-photo {
    left: 183.5px; top: 126.43px;
    width: 497.06px; height: 497.06px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-2);
    z-index: 3;
}
.ab-photo img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: scaleX(-1);
}
.ab-go {
    left: 143px; top: 208px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--secondary);
    border: none;
    padding: 4px 10px;
    z-index: 6;
    transform: rotate(-30deg);
    transition: box-shadow 0.25s ease, filter 0.25s ease;
}
.ab-go span { display: inline-block; font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.ab-linkedin {
    left: 180px; top: 534px;
    width: 102px; height: 102px;
    display: grid;
    place-items: center;
    z-index: 6;
}
/* Hover mijenja samo plavi krug (::before); logo (rect + sign) stoji staticki
   u sredini pa nema razdvajanja elemenata tokom animacije */
.ab-linkedin::before {
    content: "";
    grid-area: 1 / 1;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.40);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ab-linkedin:hover::before { transform: scale(1.06); box-shadow: 0 0 14px rgba(21, 110, 246, 0.45); }
.ab-li-rect { grid-area: 1 / 1; width: 63px; height: 63px; position: relative; z-index: 1; }
.ab-li-sign { grid-area: 1 / 1; width: 47px; height: 42px; position: relative; z-index: 1; }

/* Govorni oblačić — koordinate relativne prema ab-copy (842px, 91px u about-stage) */
.ab-msg {
    position: absolute;
    left: 241.76px; top: -10px;
    width: 146.1px; height: 34.38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2);
    border-radius: 2px;
    z-index: 5;
}
.ab-msg span { font-size: 16px; line-height: 20px; color: rgba(221, 230, 245, 0.6); white-space: nowrap; }
.ab-msg::after {
    content: "";
    position: absolute;
    left: 21px;
    bottom: -36px;
    width: 0; height: 0;
    border-top: 34px solid var(--surface-2);
    border-right: 18px solid transparent;
    transform: rotate(40deg);
    transform-origin: 9px -34px;
}

.ab-intro { left: 842px; top: 91px; width: 527px; z-index: 4; }
.ab-copy  { left: 842px; top: 350px; width: 527px; z-index: 4; }
.ab-label {
    display: block;
    font-size: 14px; font-weight: 400; line-height: 1.5;
    text-transform: uppercase;
    color: var(--secondary); opacity: 0.6;
    margin: 0 0 8px;
}
.ab-title { font-size: 48px; font-weight: 700; line-height: 1.5; color: var(--secondary); margin: 0 0 20px; }
.ab-desc { width: 526px; font-size: 20px; font-weight: 400; line-height: 1.5; color: rgba(221, 230, 245, 0.8); margin: 0 0 48px; }

.ab-highlights { display: flex; flex-direction: column; width: 417px; margin: 0 0 64px; }
.ab-hl {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--accent);
    /* odsijeca leading line-height-a da se okvir poklopi sa slovima (cap-to-baseline),
       pa simetricni razmaci centriraju liniju izmedju cistog teksta */
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}
.ab-hl:not(:last-child) {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--surface);
}
.ab-hl:last-child { color: var(--secondary); }

.ab-actions { display: flex; gap: 23px; }
.ab-btn-primary,
.ab-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 48px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    flex: 1 1 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ab-btn-primary {
    background: linear-gradient(93.78deg, #156EF6 0%, #113AC2 102.39%);
    color: var(--secondary);
}
.ab-btn-primary:hover { color: var(--secondary); transform: scale(1.04); box-shadow: 0 0 12px rgba(21, 110, 246, 0.40); }
.ab-btn-secondary {
    height: 51px;
    background: transparent;
    color: var(--secondary);
    border: 2px solid rgba(221, 230, 245, 0.3);
}
.ab-btn-secondary:hover { color: var(--secondary); transform: scale(1.04); box-shadow: 0 0 12px rgba(21, 110, 246, 0.40); }
.ab-btn-secondary img { width: 18px; height: 18px; }

/* ── PROCESS ──────────────────────────────────────────────────────────────── */
/* Elipsa 984×434, gradijent, rotacija -24.53°, opacity .08, blur 150 */
.process { overflow: hidden; }
.process::before {
    content: "";
    position: absolute;
    top: 263px; left: calc(50% - 150px);
    width: 984px; height: 434px;
    transform: translate(-50%, 0) rotate(-24.53deg);
    background: linear-gradient(251.89deg, #156EF6 8.31%, rgba(21, 110, 246, 0.3) 63.65%);
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(150px);
    z-index: 0;
    pointer-events: none;
}
.process .container { position: relative; z-index: 1; max-width: var(--page); padding: 0 72px; }
.process .section-head { margin-bottom: 32px; }

.process-wrap { position: relative; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 363px);
    column-gap: 103.5px;
    row-gap: 46px;
    width: 1296px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    align-items: stretch;
}
.process-card {
    position: relative;
    overflow: visible;
    background: var(--surface);
    border: none;
    border-radius: 4px;
    padding: 30px 16px 16px 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
/* Kartice 2, 6, 10 — skracene za 5px odozdo (originalno 16px) */
.process-grid > .process-card:nth-child(2),
.process-grid > .process-card:nth-child(6),
.process-grid > .process-card:nth-child(10) {
    padding-bottom: 11px;
}

.process-card--collapsed { display: none; }
.process-grid.expanded .process-card--collapsed { display: block; }

.process-toggle {
    display: inline-flex;
    align-items: center;
    align-self: start;
    justify-self: end;
    grid-column: 3;
    grid-row: 2;
    margin-top: -10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    padding: 10px 8px;
    transition: text-shadow 0.25s ease;
}
.process-grid.expanded .process-toggle { grid-row: 4; }
.process-toggle span { text-decoration: underline; text-underline-offset: 4px; }
.process-toggle:hover span:first-child { text-shadow: 0 0 12px rgba(21, 110, 246, 0.80); }
.process-toggle .toggle-icon {
    width: 7.85px;
    height: 13.33px;
    margin-left: 10px;
    background: url("../images/icons/open.png") center / contain no-repeat;
}
.process-toggle.open .toggle-icon { background-image: url("../images/icons/close.png"); }

/* Opcioni koraci (8, 9, 11): gradient border maska koja se klipuje na primary */
.process-card--optional {
    border: none;
    padding: 31px 17px 17px 17px;
    background-image:
        linear-gradient(to right,  var(--primary), transparent 20px, transparent calc(100% - 20px), var(--primary)),
        linear-gradient(to bottom, var(--primary), transparent 26%,  transparent 85%, var(--primary));
    background-color: var(--surface);
}
.process-card--optional .step-title,
.process-card--optional .step-desc {
    position: relative;
    z-index: 2;
}
.process-card--optional:hover {
    box-shadow: 0 0 12px rgba(21, 110, 246, 0.40);
}
/* Pseudo-element popunjava pozadinu na hover (pokrije gradient masku) */
.process-card--optional::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: var(--surface);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.25s ease;
}
.process-card--optional:hover::after {
    opacity: 1;
}
.process-card:hover {
    transform: scale(1.04);
    box-shadow: 0 0 12px rgba(21, 110, 246, 0.40);
}
/* Krug: 30×30, centar tačno na gornjem-desnom ćošku */
.step-num {
    position: absolute;
    top: 0; right: 0;
    transform: translate(50%, -50%);
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--secondary);
    font-size: 16px;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    z-index: 3;
}
/* Chip vertikalno centriran NA gornjoj liniji kartice, lijeva margina 12 */
.step-tag {
    position: absolute;
    top: 0; left: 12px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    background: var(--surface-2);
    color: rgba(221, 230, 245, 0.8);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 8px;
    border-radius: 2px;
    margin: 0;
    z-index: 3;
}
.step-title { font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--secondary); margin: 0 0 16px; }
.step-desc { color: rgba(221, 230, 245, 0.8); opacity: 0.75; font-size: 16px; line-height: 1.3; margin: 0; }
.step-cta {
    width: 100%;
    margin-bottom: 16px;
    background: linear-gradient(93.78deg, #156EF6 0%, #113AC2 102.39%);
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
}
.step-cta:hover { background: linear-gradient(93.78deg, #156EF6 0%, #113AC2 102.39%); transform: none; box-shadow: none; }

/* ── IMPROVE ──────────────────────────────────────────────────────────────── */
/* clip-path drži sadržaj unutar 1296px bez vidljivih overflow efekata */
.improve { clip-path: inset(-500px calc(50% - 648px) 0px calc(50% - 648px)); padding-bottom: 48px; }
.improve .container { max-width: 1440px; padding: 0 72px; position: relative; }
.improve .section-sub { font-size: 24px; }
.improve-glow { display: none; }

/* Tri koncentrična kruga, stroke 4, promjeri 514/382/247 */
.improve-rings {
    position: absolute;
    top: -290px;
    right: -90px;
    width: 514px;
    height: 514px;
    border: 4px solid rgba(19, 41, 73, 0.2);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.improve-rings::before,
.improve-rings::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(19, 41, 73, 0.2);
    border-radius: 50%;
}
.improve-rings::before { width: 382px; height: 382px; }
.improve-rings::after  { width: 247px; height: 247px; }
.improve-grid {
    display: grid;
    grid-template-columns: repeat(3, 416px);
    justify-content: space-between;
    align-items: start;
    position: relative;
    z-index: 1;
}
.improve-col { display: flex; flex-direction: column; }

/* Gornji bar: 416×89, donji stroke 2 razdvaja od liste */
.improve-bar {
    position: relative;
    width: 416px;
    min-height: 89px;
    height: auto;
    background: var(--surface);
    padding: 24px 24px 35px 24px;
    border-bottom: 2px solid var(--surface-2);
}
.improve-heading { font-size: 20px; font-weight: 700; color: var(--secondary); margin: 0; line-height: 1.2; }

/* Toggle: abs. unutar bara, dole-desno */
.improve-toggle {
    position: absolute;
    right: 16px;
    bottom: -4px;
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: text-shadow 0.25s ease;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    padding: 10px 8px;
}
.improve-toggle span { text-decoration: underline; text-underline-offset: 4px; }
.improve-toggle:hover span:first-child { text-shadow: 0 0 12px rgba(21, 110, 246, 0.80); }
.improve-toggle .toggle-icon {
    width: 7.85px;
    height: 13.33px;
    margin-left: 10px;
    background: url("../images/icons/open.png") center / contain no-repeat;
}
.improve-toggle.open .toggle-icon { background-image: url("../images/icons/close.png"); }

.improve-body { width: 416px; background: var(--surface); }
.check-group { margin: 0 0 12px 24px; padding: 0; }
.improve-body .check-group:first-child { margin-top: 8px; }
.check-group:not(:first-child) { border-top: 1px solid var(--border); padding-top: 12px; }
.check-group-title {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 1;
    margin: 0 0 12px 0;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--secondary);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
    cursor: pointer;
}
.check-item input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 18px; height: 18px;
    margin-top: 2px;
    border: 1.5px solid var(--muted);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.15s ease;
}
.check-item input:checked {
    background: var(--accent);
    border-color: var(--accent);
}
.check-item input:checked::after {
    content: "";
    position: absolute;
    left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.analyze-row {
    display: flex;
    justify-content: flex-end;
    padding: 8px 12px 0;
}
.analyze-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    padding: 10px 8px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: text-shadow 0.25s ease;
}
.analyze-btn:hover { text-shadow: 0 0 12px rgba(21, 110, 246, 0.80); }

/* Ocjena: frame 392×40, border accent, centriran tekst */
.score-box {
    width: 392px;
    min-height: 40px;
    margin: 24px 12px 16px 12px;
    border: 1px solid var(--accent);
    border-radius: 2px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px 10px;
}
.score-text {
    color: var(--secondary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

/* ── PRICING ──────────────────────────────────────────────────────────────── */
.pricing { padding: 96px 0; background: var(--primary); }
.pricing .container { max-width: 1440px; padding: 0 72px; position: relative; }
.pricing .section-sub { max-width: 560px; }

.pricing-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pricing-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(21, 110, 246, 0.10);
    border: 1px solid rgba(21, 110, 246, 0.35);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}
.pricing-tag::before { content: "✓"; color: var(--accent); font-weight: 700; }

.pricing-carousel { position: relative; }

.pricing-card {
    flex: 0 0 416px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px 24px 24px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pricing-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(21, 110, 246, 0.40);
}
.pricing-card--featured {
    border-color: var(--accent);
}
.pricing-card--featured:hover {
    border-color: var(--accent);
}

.pricing-badge {
    position: absolute;
    top: -1px; right: 24px;
    transform: translateY(-100%);
    background: var(--accent);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px 4px 0 0;
}

.pricing-head { margin-bottom: 24px; }
.pricing-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    margin: 0 0 8px;
}
.pricing-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin: 0;
    line-height: 1.1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pricing-features li {
    font-size: 15px;
    color: rgba(221, 230, 245, 0.8);
    line-height: 1.4;
    padding-left: 20px;
    position: relative;
}
.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
}

.pricing-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-warranty {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}
.pricing-cta {
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.pricing-cta-block {
    margin-top: 56px;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-cta-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 12px;
}
.pricing-cta-text {
    font-size: 16px;
    color: rgba(221, 230, 245, 0.8);
    margin: 0 0 24px;
    line-height: 1.5;
}
.pricing-cta-btn {
    display: inline-block;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s ease, color 0.2s ease;
}
.pricing-cta-btn:hover {
    background: var(--accent);
    color: var(--secondary);
}

.pricing-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 24px;
    margin-bottom: 0;
}

.selected-package-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(21, 110, 246, 0.12);
    border: 1px solid var(--accent);
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.selected-package-tag[hidden] { display: none; }
.selected-package-tag button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 0; }
.selected-package-tag button:hover { color: var(--secondary); }

/* ── CONTACT (Last CTA) ───────────────────────────────────────────────────── */
.contact { padding: 32px 0 96px; }
.contact .container { max-width: var(--page); padding: 0 72px; }
.cta-card {
    position: relative;
    overflow: hidden;
    min-height: 441px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 24px;
    background: linear-gradient(93.78deg, #156EF6 0%, #113AC2 102.39%);
    border-radius: 8px;
}
.cta-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cta-circle {
    position: absolute;
    top: 495px; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border-style: solid;
    border-color: #DDE6F5;
}
.cta-circle.c1 { width: 858px;    height: 858px;    border-width: 3.98px;  opacity: 0.03; }
.cta-circle.c2 { width: 605.59px; height: 605.59px; border-width: 7.95px;  opacity: 0.04; }
.cta-circle.c3 { width: 370.58px; height: 370.58px; border-width: 11.93px; opacity: 0.05; }

.cta-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    text-align: center;
}
.cta-title { font-size: 48px; font-weight: 700; line-height: 1.2; color: var(--secondary); margin: 0 0 16px; }
.cta-sub { font-size: 24px; font-weight: 400; line-height: 1.2; color: var(--secondary); margin: 0 0 28px; }
.cta-form {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.cta-form input {
    flex: 1 1 300px;
    max-width: 345px;
    height: 56px;
    background: transparent;
    border: 1px solid #DDE6F5;
    border-radius: 4px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 16px;
    color: var(--secondary);
}
.cta-form input::placeholder { color: var(--secondary); opacity: 0.9; }
.cta-form input:focus { outline: none; border-color: var(--secondary); }
.cta-submit {
    flex: 0 0 auto;
    height: 50px;
    padding: 0 48px;
    background: var(--secondary);
    color: var(--accent);
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cta-submit:hover { background: var(--secondary); transform: scale(1.04); box-shadow: 0 0 12px rgba(21, 110, 246, 0.40); }
.cta-note { font-size: 14px; font-family: 'Roboto', sans-serif; color: var(--secondary); opacity: 0.4; margin: 24px 0 0; }
.contact-result {
    margin: 18px auto 0;
    max-width: 600px;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 0.92rem;
    font-weight: 500;
}
.contact-result.ok { background: rgba(255, 255, 255, 0.95); color: #0c7a3e; }
.contact-result.err { background: rgba(255, 255, 255, 0.95); color: #c0392b; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--primary);
    border-top: 2px solid var(--surface);
    padding: 40px 0;
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand { font-weight: 700; font-size: 32px; line-height: 40px; color: var(--secondary); }
.footer-nav { display: flex; gap: 100px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--secondary); font-size: 16px; font-weight: 700; }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 24px; align-items: center; }
.footer-social img { width: 28px; height: 28px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; transition: transform 0.25s ease, filter 0.25s ease; }
/* LinkedIn: 33×33 kvadrat, radius 2, glyph 25×22 */
.footer-social a[aria-label="LinkedIn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    background: var(--secondary);
    border-radius: 2px;
    flex-shrink: 0;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.footer-social a[aria-label="LinkedIn"] img { width: 25px; height: 22px; }
.footer-social a:hover { transform: scale(1.04); filter: drop-shadow(0 0 5px rgba(21, 110, 246, 0.70)); }
.footer-social a[aria-label="LinkedIn"]:hover { transform: scale(1.04); filter: drop-shadow(0 0 5px rgba(21, 110, 246, 0.70)); }

.footer-divider { border: none; border-top: 1px solid var(--surface); margin: 60px 0 0; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 16px;
    opacity: 0.6;
}
.footer-bottom a, .footer-copy { color: var(--secondary); font-size: 14px; }
.footer-bottom a { text-decoration: underline; }
.footer-bottom a:hover { color: var(--accent); }

/* ── COOKIE MODAL ─────────────────────────────────────────────────────────── */
.cookie-modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--secondary);
}
.cookie-modal .modal-header { border-bottom: 1px solid var(--border); }
.cookie-modal .modal-title { color: var(--secondary); font-weight: 700; }
.cookie-modal .modal-footer { border-top: 1px solid var(--border); }

/* ── LEGAL PAGES ──────────────────────────────────────────────────────────── */
.legal { padding: 60px 0 90px; min-height: 60vh; }
.legal-back { color: var(--muted); font-size: 0.9rem; display: inline-block; margin-bottom: 24px; }
.legal-back:hover { color: var(--accent); }
.legal h1 { font-size: 2.2rem; font-weight: 800; color: var(--secondary); margin: 0 0 24px; }
.legal-content { max-width: 760px; }
.legal-content h3 { font-size: 1.15rem; font-weight: 600; color: var(--secondary); margin: 26px 0 8px; }
.legal-content p { color: var(--muted); margin: 0 0 12px; }
.legal-content a { color: var(--accent); }
.legal-updated { font-size: 0.85rem; opacity: 0.7; margin-top: 30px; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .work-card { flex: 0 0 calc((100% - 26px) / 2); }
    .process-grid { grid-template-columns: repeat(2, 1fr); column-gap: 20px; row-gap: 25px; width: 100%; }
    .process-toggle { grid-column: auto; grid-row: auto; justify-self: end; }
    .process-grid.expanded .process-toggle { grid-row: auto; }
}

@media (max-width: 991px) {
    /* Nav */
    .navbar-collapse {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-top: 14px;
        padding: 18px;
    }
    .nav-links { flex-direction: column; align-items: center; gap: 8px; margin-left: 0; margin-bottom: 14px; }
    .nav-links .nav-link { text-align: center; }
    .nav-right { flex-direction: column; align-items: center; gap: 12px; margin-left: 0; }
    .nav-questionnaire { width: 100%; text-align: center; }
    .nav-cta { width: 50%; }
    .lang-dropdown { align-self: center; }

    /* Grid: 8 kolona, margin 36px, gutter 20px */
    .container { padding: 0 36px; }
    .work .container,
    .improve .container,
    .contact .container,
    .process .container { padding: 0 36px; }

    section { padding: 60px 0; }
    .improve { clip-path: none; }

    /* Font scale — tablet */
    .hero-heading { font-size: 40px; width: auto; }
    .hero-sub { font-size: 16px; width: auto; margin-bottom: 44px; }
    .section-title { font-size: 32px; }
    .ab-title { font-size: 32px; }
    .ab-desc { font-size: 15px; width: auto; margin-bottom: 32px; }
    .section-sub { font-size: 15px; }
    .improve .section-sub { font-size: 18px; }
    .step-title { font-size: 18px; }
    .step-desc { font-size: 14px; }
    .step-tag { font-size: 13px; }
    .proof-text { font-size: 14px; }
    .badge-pill { font-size: 12px; padding: 6px 10px; }
    .work .section-sub { max-width: none; }
    .section-head { text-align: center; margin-bottom: 40px; }

    /* Hero — 2 reda na tabletu */
    .hero { aspect-ratio: unset; height: auto; overflow: hidden; }
    .hero-stage {
        position: relative;
        left: auto; top: auto;
        transform: none;
        width: 100%; height: auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .hero-stage > * { position: static; }
    .hero-copy {
        position: static !important;
        left: auto; top: auto; width: auto;
        padding: 60px 36px 40px;
        order: 1;
        text-align: center;
    }
    .hero-actions { gap: 20px; flex-wrap: nowrap; justify-content: center; margin-bottom: 28px; }
    .btn-hero-primary,
    .btn-hero-secondary { flex: 0 0 calc(37.5% - 12.5px); padding: 16px 20px; }
    .hero-proof { justify-content: center; flex-wrap: wrap; }
    .hero-visual {
        position: relative !important;
        left: 0; transform: none;
        width: calc(100% - 72px);
        margin: 0 36px;
        height: 590px;
        order: 2;
    }
    .hero-visual > * { position: absolute; }
    .float-tag   { font-size: 13px; padding: 8px; }
    .tag-api     { font-size: 15px; }
    .tag-mysql   { font-size: 12px; }
    .tag-aspnet  { font-size: 12px; }
    .hero-glow      { left: calc(50% - 88px);  top: 97px;  width: 309px; height: 284px; }
    .hero-ring-3    { left: calc(50% - 275px); top: 20px;  width: 550px; height: 550px; }
    .hero-ring-2    { left: calc(50% - 212px); top: 84px;  width: 423px; height: 423px; }
    .hero-ring-1    { left: calc(50% - 148px); top: 147px; width: 296px; height: 296px; }
    .hero-photo {
        left: calc(50% - 164px); top: 24px;
        width: 340px; height: 484px;
        -webkit-mask-image:
            linear-gradient(to bottom, black 50%, transparent 50%),
            radial-gradient(circle 202px at 164px 272px, black 97%, transparent 100%);
        mask-image:
            linear-gradient(to bottom, black 50%, transparent 50%),
            radial-gradient(circle 202px at 164px 272px, black 97%, transparent 100%);
    }
    .hero-photo-fade { left: calc(50% - 202px); top: 93px;  width: 404px; height: 404px; }
    .hero-name-tag   { left: calc(50% + 69px);  top: 10px; font-size: 14px; padding: 6px 10px; }
    .tag-webflow { left: calc(50% - 218px); top: 89px; }
    .tag-api     { left: calc(50% + 176px); top: 102px; }
    .tag-figma   { left: calc(50% - 220px); top: 270px; }
    .tag-mysql   { left: calc(50% + 171px); top: 268px; }
    .tag-aspnet  { left: calc(50% - 283px); top: 399px; }

    /* About — visual vrh, copy ispod */
    .about { aspect-ratio: unset; height: auto; }
    .about-stage {
        position: relative;
        left: auto; top: auto;
        transform: none;
        width: 100%; height: auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .about-stage > * { position: static; }
    .ab-visual {
        position: relative !important;
        left: 0; transform: none;
        width: calc(100% - 72px);
        margin: -10px 36px 0;
        height: 530px;
        order: 2;
    }
    .ab-visual > * { position: absolute; }
    .ab-glow { left: 50%; top: 50%; width: 393px; height: 393px; transform: translate(-50%, -50%); }
    .ab-ring-2 { left: 50%; top: 50%; width: 478px; height: 478px; transform: translate(-50%, -50%); }
    .ab-ring-1 { left: 50%; top: 50%; width: 430px; height: 430px; transform: translate(-50%, -50%); }
    .ab-photo { left: 50%; top: 50%; width: 383px; height: 383px; transform: translate(-50%, -50%); }
    .ab-go { left: calc(50% - 229px); top: calc(50% - 134px); }
    .ab-linkedin { left: calc(50% - 194px); top: calc(50% + 123px); width: 79px; height: 79px; }
    .ab-li-rect { width: 49px; height: 49px; }
    .ab-li-sign { width: 37px; height: 37px; }
    .ab-msg {
        position: relative !important;
        left: auto; top: auto;
        margin: 13px auto 3px calc(60% + 4px);
        width: 124px;
        height: 30px;
    }
    .ab-msg span { font-size: 14px; }
    .ab-intro {
        position: static !important;
        left: auto; top: auto; width: auto;
        padding: 40px 36px 0;
        order: 1;
        text-align: center;
    }
    .ab-copy {
        position: static !important;
        left: auto; top: auto; width: auto;
        padding: 0 36px 40px;
        order: 3;
        text-align: center;
    }
    .ab-desc { width: auto; }
    .ab-highlights { width: auto; margin-bottom: 40px; }
    .ab-actions { flex-wrap: wrap; justify-content: center; }

    /* Vertikalni razmaci */
    .hero { padding-bottom: 30px; }
    .work { padding-top: 30px; padding-bottom: 40px; }
    .about { padding-top: 40px; }
    .contact { padding-bottom: 20px; }
    .tech-tag { font-size: 13px; padding: 8px; }

    /* Work — 4 od 8 kolona = 2 po redu */
    .work-card { flex: 0 0 calc(50% - 10px); height: auto; }
    .work-card-body { flex: none; height: auto; overflow: visible; }
    .carousel-track { gap: 20px; }

    /* Process — 2 kartice po redu na tabletu */
    .process-grid { grid-template-columns: repeat(2, 1fr); column-gap: 20px; row-gap: 25px; width: 100%; }

    /* Pricing — 2 kartice po redu na tabletu */
    .pricing-card { flex: 0 0 calc(50% - 10px); }

    /* Improve — 4 od 8 kolona: 2+1 raspored */
    .improve-grid { display: flex; flex-wrap: wrap; gap: 20px; }
    .improve-col { flex: 0 0 calc(50% - 10px); }
    .improve-bar,
    .improve-body { width: 100%; }
    .score-box { width: calc(100% - 24px); }

    /* Contact — stacked, centiran */
    .cta-form { flex-direction: column; align-items: center; gap: 20px; }
    .cta-form input { flex: none; width: calc(75% - 5px); max-width: none; }
    .cta-submit { flex: none; width: calc(50% - 10px); padding: 0 24px; }
    .cta-card { padding: 66px 24px; min-height: auto; }

    .footer-brand { font-size: 26px; }
    .footer-nav { gap: 40px; }
    .footer-nav a { font-size: 14px; }
    .footer-social img { width: 24px; height: 24px; }
    .footer-social a[aria-label="LinkedIn"] { width: 28px; height: 28px; }
    .footer-social a[aria-label="LinkedIn"] img { width: 21px; height: 19px; }
}

@media (max-width: 640px) {
    section { padding: 30px 0; }
    .improve { clip-path: none; }

    /* Grid: 4 kolone, margin 20px, gutter 20px */
    .container { padding: 0 20px; }
    .work .container,
    .improve .container,
    .contact .container,
    .process .container { padding: 0 20px; }

    /* Font scale — mobilni */
    .hero-heading { font-size: 28px; width: auto; }
    .hero-sub { font-size: 15px; width: auto; margin-bottom: 32px; }
    .section-title { font-size: 24px; }
    .ab-title { font-size: 24px; }
    .ab-desc { font-size: 14px; width: auto; margin-bottom: 24px; }
    .section-sub { font-size: 14px; }
    .improve .section-sub { font-size: 16px; }
    .step-title { font-size: 16px; }
    .badge-pill { font-size: 11px; padding: 5px 8px; }
    .step-tag { font-size: 12px; }
    .proof-text { font-size: 13px; }
    .work .section-sub { max-width: none; }

    /* Naslovi i podnaslov centrirani */
    .section-head { text-align: center; margin-bottom: 28px; }

    /* Footer */
    .footer-top { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 12px 16px; }
    .footer-brand { font-size: 26px; line-height: 1.2; }
    .footer-nav { flex-direction: row; gap: 40px; align-items: center; }
    .footer-nav a { font-size: 14px; }
    .footer-social { flex: 0 0 100%; justify-content: flex-end; gap: 24px; }
    .footer-social img { width: 24px; height: 24px; }
    .footer-social a[aria-label="LinkedIn"] { width: 28px; height: 28px; }
    .footer-social a[aria-label="LinkedIn"] img { width: 21px; height: 19px; }
    .footer-divider { margin: 28px 0 0; }
    .footer-bottom { gap: 14px; }

    /* Questionnaire */
    .q-container { padding: 24px 16px; }
    .q-actions { flex-direction: column; gap: 12px; }
    .q-btn { width: 100%; justify-content: center; }

    /* Hero — copy iznad, vizual ispod */
    .hero { aspect-ratio: unset; height: auto; overflow: hidden; }
    .hero-stage {
        position: relative;
        left: auto; top: auto;
        transform: none;
        width: 100%; height: auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .hero-stage > * { position: static; }
    .hero-copy {
        position: static !important;
        left: auto; top: auto; width: auto;
        padding: 40px 20px 28px;
        order: 1;
        text-align: center;
    }
    .hero-actions { flex-direction: column; gap: 12px; align-items: stretch; margin-bottom: 20px; }
    .btn-hero-primary,
    .btn-hero-secondary { flex: none; width: 100%; padding: 16px 24px; }
    .hero-proof { justify-content: center; flex-wrap: wrap; }
    .avatars img,
    .avatar-more { aspect-ratio: 1 / 1; }
    /* Hero — visual manji */
    .hero-visual { width: calc(100% - 40px); margin: 0 20px; height: 426px; }
    .float-tag   { font-size: 10px; padding: 6px; }
    .tag-api     { font-size: 12px; }
    .tag-mysql   { font-size: 9px; }
    .tag-aspnet  { font-size: 9px; }
    .hero-glow      { left: calc(50% - 57px);  top: 105px; width: 200px; height: 184px; }
    .hero-ring-3    { left: calc(50% - 178px); top: 55px;  width: 356px; height: 356px; }
    .hero-ring-2    { left: calc(50% - 137px); top: 96px;  width: 274px; height: 274px; }
    .hero-ring-1    { left: calc(50% - 96px);  top: 137px; width: 192px; height: 192px; }
    .hero-photo {
        left: calc(50% - 106px); top: 58px;
        width: 220px; height: 313px;
        -webkit-mask-image:
            linear-gradient(to bottom, black 50%, transparent 50%),
            radial-gradient(circle 131px at 106px 176px, black 97%, transparent 100%);
        mask-image:
            linear-gradient(to bottom, black 50%, transparent 50%),
            radial-gradient(circle 131px at 106px 176px, black 97%, transparent 100%);
    }
    .hero-photo-fade { left: calc(50% - 131px); top: 102px; width: 262px; height: 262px; }
    .hero-name-tag   { left: calc(50% + 45px);  top: 17px;  font-size: 12px; padding: 5px 8px; }
    .tag-webflow { left: calc(50% - 141px); top: 100px; }
    .tag-api     { left: calc(50% + 114px); top: 108px; }
    .tag-figma   { left: calc(50% - 142px); top: 217px; }
    .tag-mysql   { left: calc(50% + 110px); top: 216px; }
    .tag-aspnet  { left: calc(50% - 183px); top: 301px; }

    /* About — visual manji, copy ispod */
    .ab-visual { width: calc(100% - 40px); margin: -10px 20px 0; height: 372px; }
    .ab-glow { width: 254px; height: 254px; }
    .ab-ring-2 { width: 309px; height: 309px; }
    .ab-ring-1 { width: 278px; height: 278px; }
    .ab-photo { width: 248px; height: 248px; }
    .ab-go { left: calc(50% - 150px); top: calc(50% - 89px); }
    .ab-linkedin { left: calc(50% - 127px); top: calc(50% + 79px); width: 51px; height: 51px; }
    .ab-li-rect { width: 31px; height: 31px; }
    .ab-li-sign { width: 24px; height: 24px; }
    .ab-msg { width: 104px; height: 26px; margin: 18px auto 3px calc(60% + 14px); }
    .ab-msg span { font-size: 12px; }
    .ab-intro { padding: 28px 20px 0; }
    .ab-copy { padding: 0 20px 28px; }
    .ab-desc { width: auto; }
    .ab-highlights { width: auto; margin-bottom: 28px; }
    .ab-actions { flex-direction: column; gap: 12px; align-items: center; }
    .ab-btn-primary,
    .ab-btn-secondary { flex: none; width: calc(75% - 5px); height: auto; padding: 14px 16px; }

    /* Vertikalni razmaci */
    .hero { padding-bottom: 18px; }
    .work { padding-top: 18px; padding-bottom: 10px; }
    .contact { padding-bottom: 10px; }
    .tech-tag { font-size: 10px; padding: 6px; }

    /* Work — 4 kolone = puna sirina */
    .work-card { flex: 0 0 100%; height: auto; }
    .work-card-body { flex: none; height: auto; overflow: visible; }

    /* Process — 1 kartica po redu na mobilnom */
    .process-grid { grid-template-columns: 1fr; gap: 25px; }
    .process-toggle { grid-column: auto; grid-row: auto; justify-self: center; }
    .process-grid.expanded .process-toggle { grid-row: auto; }

    /* Pricing — 1 kartica po redu na mobilnom */
    .pricing-card { flex: 0 0 100%; }

    /* Improve — svaka lista puna sirina */
    .improve-col { flex: 0 0 100%; }
    .improve-bar,
    .improve-body { width: 100%; }
    .score-box { width: calc(100% - 24px); }

    /* Contact — stacked, puna sirina */
    .cta-form input { flex: none; width: 100%; max-width: none; }
    .cta-submit { flex: none; width: 100%; padding: 0 24px; }
    .cta-card { padding: 66px 24px; min-height: auto; }

    /* Nav — hamburger meni raspored mobilni */
    .nav-links { margin-bottom: 16px; }
    .nav-cta { width: 50%; }

    /* Footer — centrirano */
    .footer-brand { display: none; }
    .footer-top { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 17px; }
    .footer-nav { justify-content: center; }
    .footer-social { flex: 0 0 100%; justify-content: center; }
}

/* ── QUESTIONNAIRE ────────────────────────────────────────────────────────── */
.q-page {
    min-height: 100vh;
    padding: 60px 0 80px;
    background: var(--primary);
}

.q-container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.q-container.q-message {
    text-align: center;
    padding: 60px 48px;
}

.q-message h1 { font-size: 1.8rem; margin-bottom: 16px; }
.q-message p { color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.q-message a { color: var(--accent); }

.q-header { margin-bottom: 32px; }
.q-title { font-size: 2rem; font-weight: 700; margin: 0 0 8px; }
.q-subtitle { color: var(--muted); margin: 0; }

.q-progress-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.q-progress-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.q-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 33%;
}

.q-progress-label { font-size: 13px; color: var(--muted); white-space: nowrap; }

.q-step-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 32px; color: var(--accent); }

.q-field { margin-bottom: 32px; }

.q-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
}

.q-hint {
    font-size: 13px;
    color: var(--muted);
    margin: -6px 0 10px;
    line-height: 1.5;
}

.q-hint--group { font-size: 14px; font-weight: 600; color: var(--secondary); opacity: 0.7; margin: 12px 0 8px; }
.q-hint--sub { font-size: 14px; font-weight: 600; color: var(--secondary); opacity: 0.7; margin: 16px 0 8px; }
.q-hint-inline { font-size: 13px; font-weight: 400; color: var(--muted); }

.q-required { color: var(--accent); }
.q-optional { font-size: 13px; font-weight: 400; color: var(--muted); }

.q-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.q-input:focus { border-color: var(--accent); }

.q-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A9BB8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.q-select:focus { border-color: var(--accent); }

.q-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s;
}

.q-textarea:focus { border-color: var(--accent); }

.q-other-input { margin-top: 10px; resize: vertical; }

.q-radio-group, .q-check-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.q-radio-label, .q-check-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.q-radio-label:hover, .q-check-label:hover { border-color: var(--accent); }

.q-radio-label input, .q-check-label input {
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.q-exclusive { border-color: rgba(138, 155, 184, 0.3); }

.q-group-header {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin: 20px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.q-group-header:first-child { margin-top: 0; }

.q-features-global { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

.q-conditional { margin-top: 12px; }

.q-ranking { display: flex; flex-direction: column; gap: 10px; }

.q-ranking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.q-ranking-label { font-size: 15px; }

.q-rank-select {
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--secondary);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    width: 60px;
}

.q-rank-error { color: #e05; font-size: 13px; margin: 4px 0 0; }

.q-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.q-actions--first { justify-content: flex-end; }

.q-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.q-btn:hover { transform: scale(1.02); }

.q-btn--next, .q-btn--submit {
    background: linear-gradient(93.78deg, #156EF6 0%, #113AC2 102.39%);
    color: #fff;
}

.q-btn--back {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
}

.q-btn--back:hover { color: var(--secondary); border-color: var(--secondary); }

.q-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.q-input.q-invalid, .q-select.q-invalid { border-color: #e05; }

.q-opt-out-wrap {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(30, 58, 95, 0.3);
    text-align: center;
}

.q-opt-out-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.7;
    transition: opacity .15s;
}

.q-opt-out-btn:hover { opacity: 1; color: #ff6b7a; }

.q-optional-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.q-optional-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin: 0 0 8px;
}

.q-optional-hint {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 24px;
}

.q-opt-out-done {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.q-done { text-align: center; padding: 40px 0; }
.q-done-title { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.q-done-text { color: var(--muted); line-height: 1.7; margin-bottom: 12px; font-size: 16px; }

/* Drop zone */
.q-dropzones-row {
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
}

.q-dropzones-row .q-dropzone { flex: 1; min-width: 0; }

.q-dropzone {
    border: 1.5px dashed var(--border, #1e3a5f);
    border-radius: var(--radius-sm, 10px);
    padding: 24px 16px;
    cursor: pointer;
    text-align: center;
    transition: border-color .15s, background .15s;
    position: relative;
    user-select: none;
}

.q-dropzone:hover,
.q-dropzone--over { border-color: var(--accent, #156EF6); background: rgba(21,110,246,.04); }

.q-dropzone--inline {
    padding: 14px 16px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.q-dropzone-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.q-dropzone--inline .q-dropzone-idle {
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.q-dropzone-icon {
    font-size: 28px;
    color: var(--muted, #8A9BB8);
    line-height: 1;
}

.q-dropzone--inline .q-dropzone-icon { font-size: 20px; }

.q-dropzone-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary, #DDE6F5);
    margin: 4px 0 0;
}

.q-dropzone-hint-text {
    font-size: 13px;
    color: var(--muted, #8A9BB8);
}

.q-dropzone-formats {
    font-size: 11px;
    color: var(--muted, #8A9BB8);
    opacity: 0.7;
    letter-spacing: 0.03em;
}

.q-dropzone-input { display: none; }

.q-dropzone-progress {
    font-size: 13px;
    color: var(--muted, #8A9BB8);
    padding: 4px 0;
}

.q-dropzone-done {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.q-dropzone--inline .q-dropzone-done { justify-content: flex-start; }

.q-dz-check {
    color: #4caf7d;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.q-dropzone-filename {
    font-size: 13px;
    color: var(--secondary, #DDE6F5);
    word-break: break-all;
}

.q-dropzone-err {
    font-size: 13px;
    color: #ff6b7a;
    padding: 4px 0;
}

@media (max-width: 600px) {
    .q-dropzones-row { flex-direction: column; }
}
