/* ===== Accessibility: skip link + screen reader text ===== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
            clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
    background-color: #fff;
    clip: auto !important;
    -webkit-clip-path: none;
            clip-path: none;
    color: #0c2545;
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    height: auto;
    left: 8px;
    line-height: 1;
    padding: 12px 18px;
    position: absolute;
    text-decoration: none;
    top: 8px;
    width: auto;
    z-index: 100000;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== GreenFleet — Corporate Classic ===== */
:root {
    --navy: #0c2545;
    --navy-deep: #07182f;
    --navy-light: #1e3a5f;
    --navy-card: #122e54;
    --primary: #1e6fd9;
    --primary-light: #5b9eff;
    --primary-glow: rgba(91, 158, 255, 0.4);
    --gray-50: #f7f9fc;
    --gray-100: #eef2f7;
    --gray-300: #cdd5e0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --ink: #0f172a;
    --accent: #f59e0b;
    --success: #10b981;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: #fff;
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--navy-deep);
    color: var(--gray-300);
    font-size: 0.78rem;
    padding: 8px 0;
}
.top-bar-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: var(--gray-300); transition: color 0.2s; }
.top-bar a:hover { color: #fff; }
.top-bar .left { display: flex; gap: 1.5rem; }
.top-bar .right { display: flex; gap: 1.2rem; align-items: center; }
.top-bar .item { display: flex; align-items: center; gap: 6px; }
.top-bar .status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-weight: 600;
}
.status-dot {
    width: 6px; height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: statusPulse 1.8s ease-out infinite;
}
@keyframes statusPulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ===== HEADER / NAV ===== */
.site-header {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    position: sticky; top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.nav-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

/* WordPress Custom Logo (uploaded via Appearance → Customize → Site Identity) */
.logo-custom .custom-logo-link,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.custom-logo {
    height: 64px;
    width: auto;
    max-width: 260px;
    display: block;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.custom-logo-link:hover .custom-logo { transform: scale(1.03); }
.site-footer .custom-logo { height: 80px; max-width: 300px; }

/* Make header taller to accommodate larger logo */
.site-header { padding: 12px 0; }

/* Text fallback when no custom logo is set */
.logo-text {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: -0.025em;
    line-height: 1;
}
.site-footer .logo-text { color: #fff; }
.logo-text .green-txt { color: var(--primary); }
.site-footer .logo-text .green-txt { color: var(--primary-light); }

/* Desktop: site-nav is just inline container, mobile-only elements hidden */
.site-nav { display: flex; align-items: center; }
.mobile-close,
.mobile-menu-label,
.mobile-menu-extras { display: none; }

.nav-menu { display: flex; gap: 2.2rem; }
.nav-menu a {
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 8px 0;
    position: relative;
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a.active { color: var(--navy); font-weight: 600; }
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -19px; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
}
.header-cta { display: flex; gap: 12px; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}
.btn-link { color: var(--navy); background: transparent; }
.btn-link:hover { color: var(--primary); }
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 111, 217, 0.3);
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3), transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { background: #1855a8; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30, 111, 217, 0.4); }
.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(12, 37, 69, 0.04); }
.btn-arrow { transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px; height: 24px;
    position: relative;
    margin-left: 10px;
}
.mobile-menu-toggle span {
    display: block; width: 100%; height: 2px;
    background: var(--navy);
    position: absolute; left: 0;
    transition: 0.3s;
}
.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 11px; }
.mobile-menu-toggle span:nth-child(3) { bottom: 0; }
body.mobile-nav-active { overflow: hidden; }
body.mobile-nav-active .mobile-menu-toggle span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
body.mobile-nav-active .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
body.mobile-nav-active .mobile-menu-toggle span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 70px 0 100px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black, transparent);
            mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black, transparent);
    opacity: 0.7;
    z-index: 1;
}
.hero::after {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(91, 158, 255, 0.25), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.gps-network {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.5;
}
.gps-network svg { width: 100%; height: 100%; }
.gps-line {
    stroke: rgba(91, 158, 255, 0.3);
    stroke-width: 1;
    stroke-dasharray: 4 6;
    fill: none;
    animation: dashFlow 8s linear infinite;
}
@keyframes dashFlow {
    to { stroke-dashoffset: -120; }
}
.gps-node {
    fill: var(--primary-light);
    filter: drop-shadow(0 0 4px var(--primary-glow));
}
.gps-node-pulse {
    fill: none;
    stroke: var(--primary-light);
    stroke-width: 1;
    transform-origin: center;
    transform-box: fill-box;
    animation: nodePulse 3s ease-out infinite;
}
.gps-node-pulse.d1 { animation-delay: 0.5s; }
.gps-node-pulse.d2 { animation-delay: 1s; }
.gps-node-pulse.d3 { animation-delay: 1.5s; }
.gps-node-pulse.d4 { animation-delay: 2s; }
@keyframes nodePulse {
    0%   { r: 3; opacity: 0.8; }
    100% { r: 20; opacity: 0; }
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}
.hero h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: #fff;
}
.hero h1 .italic {
    color: var(--primary-light);
    font-weight: 700;
    position: relative;
}
.hero h1 .italic::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.4;
}
.hero p.subtitle {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.65;
}
.hero p.subtitle strong { color: #fff; font-weight: 600; }
.hero p.subtitle .accent { color: var(--primary-light); font-weight: 600; }

.hero-cta { display: flex; gap: 12px; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.25); }
.hero-cta .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

.trust-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-check-item {
    display: flex; align-items: center; gap: 10px;
    color: var(--gray-300);
    font-size: 0.88rem;
    transition: color 0.2s;
}
.trust-check-item:hover { color: #fff; }
.trust-check-item .check {
    width: 20px; height: 20px;
    background: rgba(91, 158, 255, 0.15);
    border: 1px solid rgba(91, 158, 255, 0.4);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s;
}
.trust-check-item:hover .check { background: var(--primary-light); color: var(--navy); }

.hero-visual { position: relative; }
.preview-card {
    background: rgba(7, 24, 47, 0.7);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 40px 80px -20px rgba(0,0,0,0.7),
        0 0 60px rgba(91, 158, 255, 0.15);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s ease;
}
.preview-card:hover { transform: translateY(-4px); }
.preview-card img { width: 100%; height: auto; display: block; }

.demo-play {
    position: absolute;
    bottom: 16px; left: 16px;
    background: rgba(7, 24, 47, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 6px 14px 6px 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 5;
    transition: all 0.2s;
}
.demo-play:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.demo-play .play-icon {
    width: 28px; height: 28px;
    background: var(--primary-light);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--navy);
    transition: background 0.2s;
}
.demo-play:hover .play-icon { background: #fff; }

.stat-overlay {
    position: absolute;
    bottom: -36px;
    left: 24px;
    right: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    box-shadow: 0 30px 60px rgba(7, 24, 47, 0.35);
    z-index: 3;
}
.stat-overlay-item {
    text-align: left;
    padding-right: 1rem;
    border-right: 1px solid var(--gray-100);
}
.stat-overlay-item:last-child { border-right: none; }
.stat-overlay-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
    font-feature-settings: "tnum";
}
.stat-overlay-num .unit { color: var(--primary); font-size: 1rem; }
.stat-overlay-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }

.scroll-hint {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 3;
    font-weight: 500;
    animation: fadeBlink 3s ease-in-out infinite 2s;
}
@keyframes fadeBlink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.scroll-hint .arrow-line {
    width: 1px; height: 28px;
    background: linear-gradient(180deg, transparent, var(--primary-light));
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%   { transform: scaleY(0.4); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    50.1%{ transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0.4); transform-origin: bottom; }
}

/* ===== TRUSTED BY ===== */
.trusted-by {
    background: var(--gray-50);
    padding: 80px 0 50px;
    border-bottom: 1px solid var(--gray-100);
    margin-top: 30px;
}
.trusted-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}
.trusted-label {
    font-size: 0.78rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
.trusted-label::before,
.trusted-label::after {
    content: '';
    height: 1px;
    width: 60px;
    background: var(--gray-300);
}
.trusted-marquee {
    overflow: hidden;
    position: relative;
}
.trusted-marquee::before,
.trusted-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.trusted-marquee::before { left: 0; background: linear-gradient(90deg, var(--gray-50), transparent); }
.trusted-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--gray-50), transparent); }
.trusted-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: fit-content;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.trusted-logo {
    font-family: 'Instrument Serif', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--gray-700);
    letter-spacing: -0.03em;
    opacity: 0.55;
    filter: grayscale(1);
    transition: all 0.2s;
    flex-shrink: 0;
}
.trusted-logo:hover { opacity: 1; filter: none; color: var(--navy); }
.trusted-logo.sans {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
}

/* ===== SECTION HEADER (shared) ===== */
.section-header {
    max-width: 760px;
    margin: 0 auto 4.5rem;
    text-align: center;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}
.section-label {
    font-size: 0.78rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.section-label::before,
.section-label::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--primary);
    opacity: 0.4;
}
.section-title {
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}
.section-title .italic {
    color: var(--primary);
    font-weight: 700;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}
.section-subtitle strong { color: var(--navy); font-weight: 600; }

/* ===== PARTNERSTVO ===== */
.section-partnerstvo {
    background: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.section-partnerstvo::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(12, 37, 69, 0.04) 1px, transparent 1.5px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
            mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
    pointer-events: none;
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}
.partner-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.partner-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.partner-card:hover {
    background: #fff;
    border-color: rgba(30, 111, 217, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(7, 24, 47, 0.08);
}
.partner-card:hover::before { transform: scaleX(1); }
.partner-card-num {
    position: absolute;
    top: 1.2rem; right: 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-300);
    line-height: 1;
    opacity: 0.5;
    transition: 0.3s;
    letter-spacing: -0.02em;
}
.partner-card:hover .partner-card-num { color: var(--primary); opacity: 0.6; }
.partner-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--navy), var(--primary));
    border-radius: 12px;
    display: grid; place-items: center;
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(30, 111, 217, 0.25);
    transition: transform 0.3s ease;
}
.partner-card:hover .partner-icon { transform: scale(1.05) rotate(-3deg); }
.partner-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.partner-card p {
    font-size: 0.97rem;
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: gap 0.25s ease;
}
.partner-link:hover { gap: 12px; color: var(--navy); }

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.25s; }
.reveal.d3 { transition-delay: 0.4s; }

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.2s; }
.fade-up.d3 { animation-delay: 0.3s; }
.fade-up.d4 { animation-delay: 0.4s; }
.fade-up.d5 { animation-delay: 0.5s; }
.fade-up.d6 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ===== IZAZOVI ===== */
.section-izazovi {
    background: var(--gray-50);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.izazovi-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 5rem;
    align-items: center;
}
.izazovi-content .section-label { margin-bottom: 1rem; color: #b45309; }
.izazovi-content .section-label::before,
.izazovi-content .section-label::after { background: #b45309; }
.izazovi-content h2 {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}
.izazovi-content h2 .accent { color: var(--primary); }
.izazovi-content > p {
    font-size: 1.08rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 540px;
}
.izazovi-content > p strong { color: var(--navy); font-weight: 600; }

.profit-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 20px 26px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 10px 30px rgba(7, 24, 47, 0.06);
    margin-top: 1.5rem;
}
.profit-card .pc-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--navy), var(--primary));
    border-radius: 10px;
    display: grid; place-items: center;
    color: #fff;
    flex-shrink: 0;
}
.profit-card .pc-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 2px;
}
.profit-card .pc-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.profit-card .pc-value .accent { color: var(--primary); }

.izazovi-visual { position: relative; }

/* Savings card — custom dashboard mockup */
.savings-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 18px;
    padding: 28px;
    box-shadow:
        0 30px 60px -10px rgba(7, 24, 47, 0.15),
        0 0 0 1px rgba(255,255,255,0.5) inset;
    position: relative;
    overflow: hidden;
}
.savings-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--success));
}
.sc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}
.sc-title {
    font-size: 0.78rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
}
.sc-subtitle {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
}
.sc-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sc-main {
    margin-bottom: 1.5rem;
}
.sc-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    font-feature-settings: "tnum";
    margin-bottom: 6px;
}
.sc-currency {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
}
.sc-num {
    font-size: 3.2rem;
}
.sc-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.sc-chart {
    background: linear-gradient(135deg, rgba(30, 111, 217, 0.04), rgba(16, 185, 129, 0.04));
    border-radius: 12px;
    padding: 18px 16px 12px;
    margin-bottom: 1.5rem;
}
.sc-bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    align-items: end;
    height: 110px;
    margin-bottom: 8px;
}
.sc-bar {
    height: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
}
.sc-bar > span {
    display: block;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 6px 6px 2px 2px;
    transition: height 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 111, 217, 0.2);
}
.savings-card.animate .sc-bar > span {
    height: var(--h);
}
.sc-bar.highlight > span {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.sc-bar.highlight::after {
    content: '€';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}
.sc-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 600;
    font-feature-settings: "tnum";
}
.sc-days span:nth-child(7) { color: var(--success); font-weight: 700; }

.sc-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.sc-kpi {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--gray-50);
    border-radius: 10px;
    transition: all 0.25s ease;
}
.sc-kpi:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(7, 24, 47, 0.06);
    transform: translateY(-2px);
}
.sc-kpi-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.sc-kpi-icon.fuel { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.sc-kpi-icon.route { background: rgba(91, 158, 255, 0.12); color: var(--primary); }
.sc-kpi-icon.safety { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.sc-kpi-val {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    font-feature-settings: "tnum";
    margin-bottom: 2px;
}
.sc-kpi-val.down { color: var(--success); }
.sc-kpi-val.up { color: var(--primary); }
.sc-kpi-lab {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.alert-badge {
    position: absolute;
    background: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(7, 24, 47, 0.18);
    z-index: 3;
}
.alert-badge .ab-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    font-weight: 700;
}
.alert-badge.warning .ab-icon { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.alert-badge.success .ab-icon { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.alert-badge .ab-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}
.alert-badge.warning .ab-value { color: #d97706; }
.alert-badge.success .ab-value { color: var(--success); }
.alert-badge .ab-label {
    font-size: 0.72rem;
    color: var(--gray-500);
    margin-top: 2px;
}
.alert-badge.warning { top: -16px; right: 24px; animation: floatY 5s ease-in-out infinite; }
.alert-badge.success { bottom: -16px; left: 24px; animation: floatY 5s ease-in-out infinite 1.5s; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== SHOWCASE ===== */
.section-showcase {
    background: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.section-showcase::before {
    content: '';
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(30, 111, 217, 0.06) 0%, transparent 55%);
    pointer-events: none;
    filter: blur(40px);
    z-index: 0;
}

/* Horizontal pill tabs */
.showcase-tabs-row {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 50px;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(7, 24, 47, 0.04);
    position: relative;
    z-index: 2;
    /* Center the row */
    display: flex;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    max-width: 100%;
}
.showcase-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    border-radius: 50px;
    background: transparent;
    border: none;
    color: var(--gray-500);
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    white-space: nowrap;
    position: relative;
}
.showcase-tab:hover {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.7);
}
.showcase-tab.active {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 6px 16px rgba(7, 24, 47, 0.25);
}
.showcase-tab .st-icon {
    width: 18px; height: 18px;
    display: grid; place-items: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

/* Description below tabs */
.showcase-desc {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.95rem;
    margin: 1.25rem auto 3rem;
    max-width: 500px;
    padding: 0 32px;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}
.showcase-desc.changing { opacity: 0.3; }

/* Preview area */
.showcase-preview {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}
.showcase-preview-inner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-50);
    box-shadow:
        0 50px 100px -30px rgba(7, 24, 47, 0.3),
        0 20px 40px -20px rgba(30, 111, 217, 0.15),
        0 0 0 1px rgba(7, 24, 47, 0.04);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.showcase-preview-inner:hover { transform: translateY(-6px); }
.showcase-preview-inner img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease;
}
.showcase-preview.changing .showcase-preview-inner img { opacity: 0.3; }

/* Glow behind preview */
.showcase-glow {
    position: absolute;
    inset: -10% 5% -20% 5%;
    background: radial-gradient(ellipse at 50% 100%, rgba(30, 111, 217, 0.35), transparent 60%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

/* Phone variant — render small phone-shaped frame */
.showcase-preview-inner.phone {
    max-width: 320px;
    margin: 0 auto;
    border-radius: 40px;
    background: #1a1a1a;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(7, 24, 47, 0.4),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}
.showcase-preview-inner.phone img {
    border-radius: 28px;
}

/* ===== RJEŠENJA ===== */
.section-rjesenja { background: #fff; padding: 120px 0; position: relative; }
.rj-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.rj-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.rj-card:hover {
    background: #fff;
    border-color: rgba(30, 111, 217, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(7, 24, 47, 0.08);
}
.rj-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding: 4px 10px;
    background: rgba(30, 111, 217, 0.08);
    border-radius: 50px;
}
.rj-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.rj-card p {
    font-size: 0.97rem;
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.rj-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}
.rj-benefit::before { content: '✓'; font-weight: 700; }
.rj-visual {
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 12px;
    color: #fff;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rj-vis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.live-mini {
    width: 6px; height: 6px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 6px var(--success);
}
.mini-chart { width: 100%; height: 60px; display: block; }
.mini-chart-line { fill: none; stroke: var(--primary-light); stroke-width: 2; stroke-linecap: round; }
.mini-chart-area { fill: url(#chartGrad); }
.rj-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.rj-stat-item {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
}
.rj-stat-val {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.rj-stat-lab {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.score-ring {
    width: 80px; height: 80px;
    margin-right: 1rem;
    flex-shrink: 0;
    position: relative;
}
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .score-num {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-light);
}
.driver-row { display: flex; align-items: center; gap: 1rem; }
.driver-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.driver-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
}
.driver-bar-row span:first-child { width: 56px; flex-shrink: 0; }
.driver-bar {
    flex: 1; height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}
.driver-bar > div { height: 100%; border-radius: 3px; }
.service-list { display: flex; flex-direction: column; gap: 6px; }
.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 7px;
    font-size: 0.8rem;
}
.service-item .si-icon { width: 18px; text-align: center; flex-shrink: 0; }
.service-item .si-info { flex: 1; }
.service-item .si-info strong { display: block; color: #fff; font-size: 0.78rem; line-height: 1.3; }
.service-item .si-info span { color: rgba(255,255,255,0.5); font-size: 0.7rem; }
.service-item.done { border-left: 2px solid var(--success); }
.service-item.warning { border-left: 2px solid #fbbf24; }
.service-item.upcoming { border-left: 2px solid var(--primary-light); }
.iot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.iot-cell {
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.iot-cell-icon { font-size: 1.1rem; margin-bottom: 4px; }
.iot-cell-val { font-size: 0.9rem; font-weight: 800; color: var(--primary-light); display: block; }
.iot-cell-lab { font-size: 0.65rem; color: rgba(255,255,255,0.5); }
.iot-cell-status {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 6px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 4px;
}
.iot-cell-status.ok { background: rgba(16,185,129,0.15); color: var(--success); }
.iot-cell-status.alert { background: rgba(239,68,68,0.15); color: #f87171; }

/* ===== APLIKACIJA ===== */
.section-aplikacija {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 120px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-aplikacija::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
            mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    opacity: 0.6;
}
.aplikacija-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.apl-content h2 {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}
.apl-content h2 .italic {
    color: var(--primary-light);
    font-weight: 700;
}
.apl-content p {
    font-size: 1.08rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 500px;
}
.apl-content p strong { color: #fff; }

.apl-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
    padding: 0;
}
.apl-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-300);
    font-size: 0.97rem;
    font-weight: 500;
}
.af-check {
    width: 22px; height: 22px;
    background: rgba(91, 158, 255, 0.18);
    border: 1px solid rgba(91, 158, 255, 0.35);
    border-radius: 6px;
    display: grid; place-items: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.apl-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 1.5rem; }

.apl-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-300);
}
.apl-stars {
    display: inline-flex;
    gap: 2px;
    color: #fbbf24;
}
.apl-rating-val { color: #fff; font-weight: 700; }
.apl-rating-sep { color: rgba(255,255,255,0.3); }
.apl-rating-lab { color: var(--gray-300); }
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: #fff;
    color: var(--navy);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.store-btn.dark { background: #000; color: #fff; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.store-btn .sb-icon { font-size: 1.5rem; }
.store-btn .sb-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.store-btn .sb-top { font-size: 0.65rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }
.store-btn .sb-bot { font-size: 1.05rem; font-weight: 700; }

.apl-phone-wrap {
    position: relative;
    text-align: center;
    perspective: 1500px;
}
.apl-phone {
    display: inline-block;
    border: 8px solid #1a1a1a;
    border-radius: 36px;
    overflow: hidden;
    box-shadow:
        0 50px 100px -20px rgba(0,0,0,0.6),
        0 0 60px rgba(91, 158, 255, 0.2);
    position: relative;
    transform: rotateY(-12deg) rotateX(4deg);
    transition: transform 0.5s ease;
    max-width: 280px;
}
.apl-phone:hover { transform: rotateY(-5deg) rotateX(2deg); }
.apl-phone::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 22px;
    background: #1a1a1a;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 5;
}
.apl-phone img { width: 100%; height: auto; display: block; }

/* Floating push notifications around phone */
.apl-notif {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(7, 24, 47, 0.05);
    z-index: 5;
    min-width: 240px;
    text-align: left;
    animation: notifFloat 5s ease-in-out infinite;
}
.notif-1 {
    top: 12%;
    left: -50px;
    animation-delay: 0s;
}
.notif-2 {
    bottom: 18%;
    right: -50px;
    animation-delay: 1.5s;
}
@keyframes notifFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.apl-notif-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.apl-notif-icon.ok { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.apl-notif-icon.warn { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.apl-notif-text { display: flex; flex-direction: column; gap: 2px; }
.apl-notif-text strong {
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}
.apl-notif-text span {
    font-size: 0.72rem;
    color: var(--gray-500);
    line-height: 1.3;
}

@media (max-width: 992px) {
    .apl-notif { display: none; }
}

/* ===== ZAŠTO MI ===== */
.section-zasto { background: #fff; padding: 120px 0; text-align: center; }
.zasto-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.zasto-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.zasto-card:hover {
    background: #fff;
    border-color: rgba(30, 111, 217, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(7, 24, 47, 0.08);
}
.zasto-icon {
    width: 70px; height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--navy), var(--primary));
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(30, 111, 217, 0.25);
    transition: transform 0.3s;
}
.zasto-card:hover .zasto-icon { transform: scale(1.08) rotate(-4deg); }
.zasto-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.zasto-card p {
    font-size: 0.97rem;
    color: var(--gray-700);
    line-height: 1.65;
}

/* ===== KONTAKT ===== */
.section-kontakt { background: var(--gray-50); padding: 120px 0; position: relative; }
.kontakt-card {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(7, 24, 47, 0.1);
}
.kontakt-left {
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: #fff;
    position: relative;
    overflow: hidden;
}
.kontakt-left::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
}
.kontakt-left > * { position: relative; z-index: 2; }
.kontakt-left .section-label { color: var(--primary-light); margin-bottom: 1rem; }
.kontakt-left .section-label::before,
.kontakt-left .section-label::after { background: var(--primary-light); }
.kontakt-left h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}
.kontakt-left h2 .italic {
    color: var(--primary-light);
    font-weight: 700;
}
.kontakt-left > p {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 420px;
}
.kontakt-info { display: flex; flex-direction: column; gap: 1.25rem; }
.ki-item { display: flex; align-items: center; gap: 14px; }
.ki-icon {
    width: 44px; height: 44px;
    background: rgba(91, 158, 255, 0.15);
    border: 1px solid rgba(91, 158, 255, 0.3);
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--primary-light);
    flex-shrink: 0;
}
.ki-label {
    font-size: 0.7rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
}
.ki-value { font-size: 1.05rem; font-weight: 600; color: #fff; }

.kontakt-right { padding: 3.5rem 3rem; background: #fff; }
.form-group { margin-bottom: 1.1rem; }
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-100);
    border-radius: 8px;
    font-size: 0.98rem;
    font-family: inherit;
    color: var(--navy);
    background: #fff;
    transition: all 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 111, 217, 0.1);
}
.form-input::placeholder { color: var(--gray-500); }
.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem;
    box-shadow: 0 6px 18px rgba(30, 111, 217, 0.3);
    position: relative;
}
.form-submit:hover { background: #1855a8; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(30, 111, 217, 0.4); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn-loader {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-hint {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 1rem;
    text-align: center;
}
.form-status {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    display: none;
}
.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy-deep);
    color: var(--gray-300);
    padding: 80px 0 0;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 60px;
}
.footer-brand .logo { color: #fff; margin-bottom: 1.25rem; }
.footer-brand .logo .green-txt { color: var(--primary-light); }
.footer-brand p {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    display: grid; place-items: center;
    color: var(--gray-300);
    transition: all 0.2s;
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
    color: var(--gray-300);
    font-size: 0.92rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--gray-500);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--gray-500); transition: 0.2s; }
.footer-legal a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav-menu { gap: 1.5rem; }
    .nav-menu a { font-size: 0.88rem; }
}
@media (max-width: 992px) {
    .top-bar .left { gap: 0.8rem; }
    .top-bar .left .item:last-child { display: none; }

    /* Mobile menu — slide-in drawer from right */
    .site-nav {
        position: fixed;
        top: 0; right: 0;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
        display: flex;
        flex-direction: column;
        padding: 70px 28px 32px;
        overflow-y: auto;
        z-index: 200;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 60px rgba(0,0,0,0.4);
    }
    body.mobile-nav-active .site-nav {
        transform: translateX(0);
    }

    /* Lift the header above the backdrop so drawer (nested inside) stays sharp */
    body.mobile-nav-active .site-header {
        z-index: 250;
    }

    /* Backdrop overlay — solid dark, no blur (blur caused drawer rendering issues) */
    body.mobile-nav-active::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(7, 24, 47, 0.65);
        z-index: 150;
        animation: drawerBackdrop 0.3s ease;
    }
    @keyframes drawerBackdrop {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Subtle GPS network pattern in drawer bg */
    .site-nav::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
        background-size: 40px 40px;
        -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
                mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
        opacity: 0.6;
        pointer-events: none;
    }

    /* Close button */
    .mobile-close {
        display: grid;
        place-items: center;
        position: absolute;
        top: 18px; right: 18px;
        width: 40px; height: 40px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 10px;
        color: #fff;
        cursor: pointer;
        transition: all 0.25s ease;
        z-index: 2;
    }
    .mobile-close:hover {
        background: rgba(255,255,255,0.12);
        transform: rotate(90deg);
    }

    /* Section label "MENI" */
    .mobile-menu-label {
        display: block;
        font-size: 0.7rem;
        color: var(--primary-light);
        text-transform: uppercase;
        letter-spacing: 2.5px;
        font-weight: 700;
        margin-bottom: 1.25rem;
        position: relative;
        z-index: 2;
    }

    /* Nav links — large, with arrows */
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        list-style: none;
        flex: 1;
        position: relative;
        z-index: 2;
    }
    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-menu li:last-child {
        border-bottom: none;
    }
    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 0;
        font-size: 1.15rem;
        color: #fff;
        font-weight: 500;
        position: static;
    }
    .nav-menu a::after {
        content: '→';
        position: static;
        opacity: 0.3;
        transition: all 0.25s ease;
        font-size: 1.1rem;
        background: none;
        transform: none;
        height: auto;
        width: auto;
        font-weight: 300;
    }
    .nav-menu a:hover {
        color: var(--primary-light);
        padding-left: 6px;
    }
    .nav-menu a:hover::after {
        opacity: 1;
        transform: translateX(4px);
    }
    .nav-menu a.active {
        color: var(--primary-light);
        font-weight: 700;
    }
    .nav-menu a.active::after {
        opacity: 0.9;
    }

    /* Extras — CTA + contact */
    .mobile-menu-extras {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 1.75rem;
        margin-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.08);
        position: relative;
        z-index: 2;
    }
    .mobile-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 22px;
    }
    .mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .mc-item {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--gray-300);
        font-size: 0.92rem;
        font-weight: 500;
        transition: color 0.2s;
    }
    .mc-item:hover { color: var(--primary-light); }
    .mc-icon {
        width: 36px; height: 36px;
        background: rgba(91, 158, 255, 0.12);
        border: 1px solid rgba(91, 158, 255, 0.2);
        border-radius: 8px;
        display: grid; place-items: center;
        color: var(--primary-light);
        flex-shrink: 0;
    }

    .mobile-menu-toggle { display: block; }
    .header-cta .btn-link, .header-cta .btn-primary { display: none; }

    .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-cta { justify-content: center; }
    .trust-checks { justify-content: center; }
    .hero p.subtitle { margin-left: auto; margin-right: auto; }
    .scroll-hint { display: none; }

    /* Hero visual: lift the image away from navy so it pops on mobile */
    .hero-visual {
        margin-top: 1rem;
    }
    .preview-card {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.2);
    }
    .demo-play { display: none; }

    /* Stats: keep 3-column horizontal, slightly smaller */
    .stat-overlay {
        position: relative;
        left: auto; right: auto; bottom: auto;
        margin: 1.5rem auto 0;
        max-width: 100%;
        padding: 16px 18px;
        gap: 0.5rem;
    }
    .stat-overlay-num { font-size: 1.4rem; }
    .stat-overlay-label { font-size: 0.72rem; }
    .stat-overlay-num .unit { font-size: 0.85rem; }
    .stat-overlay-item { padding-right: 0.5rem; }

    .partner-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .section-partnerstvo,
    .section-izazovi,
    .section-showcase,
    .section-rjesenja,
    .section-aplikacija,
    .section-zasto,
    .section-kontakt { padding: 80px 0; }
    .section-header { margin-bottom: 3rem; }
    .izazovi-container { grid-template-columns: 1fr; gap: 3rem; }
    .showcase-wrap { grid-template-columns: 1fr; gap: 2rem; }
    .showcase-display { min-height: auto; }
    .rj-grid { grid-template-columns: 1fr; }
    .aplikacija-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .apl-content p { margin-left: auto; margin-right: auto; }
    .apl-buttons { justify-content: center; }
    .zasto-grid { grid-template-columns: 1fr; }
    .kontakt-card { grid-template-columns: 1fr; }
    .kontakt-left, .kontakt-right { padding: 2.5rem 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
    .top-bar { display: none; }
    .nav-wrap { padding: 0 20px; }
    .custom-logo { height: 48px; max-width: 200px; }
    .site-footer .custom-logo { height: 64px; max-width: 240px; }
    .logo-text { font-size: 1.4rem; }

    /* Tighten container paddings everywhere on small screens */
    .hero-container,
    .izazovi-container,
    .aplikacija-container,
    .partner-grid,
    .rj-grid,
    .zasto-grid,
    .footer-wrap,
    .section-header,
    .showcase-preview,
    .showcase-desc { padding-left: 20px; padding-right: 20px; }

    /* Stat overlay: keep 3-col horizontal, smaller */
    .stat-overlay {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 12px 14px;
        gap: 0.4rem;
    }
    .stat-overlay-item { padding-right: 0.4rem; }
    .stat-overlay-num { font-size: 1.15rem; }
    .stat-overlay-num .unit { font-size: 0.75rem; }
    .stat-overlay-label { font-size: 0.65rem; }

    /* Izazovi paragraphs full width */
    .izazovi-content > p { max-width: 100%; }
    .profit-card { padding: 16px 20px; width: 100%; box-sizing: border-box; }
    .profit-card .pc-value { font-size: 1.1rem; }

    /* Savings card: shrink everything to fit narrow viewport */
    .savings-card { padding: 18px; }
    .sc-header { flex-wrap: wrap; gap: 10px; }
    .sc-trend { font-size: 0.68rem; padding: 4px 8px; }
    .sc-amount { font-size: 2.4rem; }
    .sc-currency { font-size: 1.4rem; }
    .sc-chart { padding: 14px 12px 10px; }
    .sc-bars { gap: 5px; height: 90px; }
    .sc-days { gap: 5px; font-size: 0.62rem; }
    .sc-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .sc-kpi {
        padding: 8px;
        gap: 6px;
        min-width: 0;
    }
    .sc-kpi-icon { width: 28px; height: 28px; }
    .sc-kpi-val { font-size: 0.85rem; }
    .sc-kpi-lab { font-size: 0.6rem; }

    .rj-card { padding: 2rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
}
