/* ============================================================
   StraniBroj — main.css
   Futuristic dark theme with aurora, glass, marquees, configurator
   ============================================================ */

:root {
    --bg: #06070b;
    --bg-elev: #0a0c14;
    --surface: rgba(255, 255, 255, 0.025);
    --surface-2: rgba(255, 255, 255, 0.055);
    --surface-3: rgba(255, 255, 255, 0.085);
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(139, 111, 255, 0.35);
    --text: #ececf1;
    --text-dim: #9ea2b0;
    --text-muted: #787d92;  /* WCAG AA ~4.7:1 na tamnoj pozadini (bilo #5e6273 ≈ 3.3:1) */
    --accent: #8b6fff;
    --accent-2: #2dd9ff;
    --accent-warm: #ff7a59;
    --success: #22e08a;
    --gradient: linear-gradient(135deg, #8b6fff 0%, #2dd9ff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(139, 111, 255, 0.18) 0%, rgba(45, 217, 255, 0.10) 100%);
    --radius: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-glow: 0 20px 60px -20px rgba(139, 111, 255, 0.35);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 111, 255, 0.4) transparent;
}

/* Globalni scroll stil (isti kao u dropdown-u) na svim stranama */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139, 111, 255, 0.3); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(139, 111, 255, 0.55); background-clip: content-box; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(139, 111, 255, 0.4); color: white; }

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */
.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.025;
    pointer-events: none;
    /*background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");*/
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 70% at top, rgba(0, 0, 0, 0.7), transparent 75%);
}

.bg-aurora {
    position: fixed;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 111, 255, 0.28) 0%, rgba(45, 217, 255, 0.10) 35%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.bg-vignette {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(6, 7, 11, 0.6) 100%);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5.8vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    margin-bottom: 0.5rem;
    letter-spacing: -0.035em;
}

h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 0.95rem; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    padding: 0.92rem 1.65rem;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.97rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 10px 30px -10px rgba(139, 111, 255, 0.55);
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px -10px rgba(139, 111, 255, 0.7);
    filter: brightness(1.08);
}

.btn-primary:hover::before { left: 100%; }

.btn-primary.full { width: 100%; margin-top: 0.5rem; }

.btn-primary.btn-lg {
    padding: 1.05rem 1.85rem;
    font-size: 1rem;
}

.btn-ghost {
    padding: 0.92rem 1.45rem;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.97rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--border-accent);
    color: var(--text);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(6, 7, 11, 0.7);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.logo strong { font-weight: 700; }

.logo-mark {
    display: inline-flex;
    width: 32px;
    height: 32px;
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 1.85rem;
    margin-left: auto;
    margin-right: 0;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient);
    transition: width 0.2s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger dugme — sakriveno na desktopu, vidljivo na mobilnom */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 9px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    cursor: pointer;
    flex: none;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Breadcrumbs (vidljiva putanja na podstranicama) */
.breadcrumb {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.1rem 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .bc-sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--text); }
@media (max-width: 768px) { .breadcrumb { padding: 0.85rem 1.1rem 0; } }

/* Skip-to-content (pristupačnost — vidljiv tek na fokus tastaturom) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 300;
    background: var(--accent-2);
    color: #06070b;
    padding: 0.7rem 1.1rem;
    border-radius: 0 0 10px 0;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}
.skip-link:focus { left: 0; }
#sadrzaj:focus { outline: none; }

.nav-cta {
    padding: 0.55rem 1.15rem;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-cta:hover {
    background: var(--surface-3);
    border-color: var(--border-accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title { margin-bottom: 1.5rem; }

.word-stack {
    display: inline-block;
    height: 1.05em;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
}

.word-rotate {
    display: flex;
    flex-direction: column;
    animation: rotateWords 14s cubic-bezier(0.7, 0, 0.3, 1) infinite;
    animation-delay: 8s;
}

.word-rotate span {
    height: 1.05em;
    line-height: 1.05em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 5 reči + duplikat prve na kraju (vidi index.html): prelaz sa poslednje reči
   na dupliranu prvu je nevidljiv, pa nema naglog "premotavanja" na kraju ciklusa. */
@keyframes rotateWords {
    0%,  13% { transform: translateY(0); }
    16%, 29% { transform: translateY(-1.05em); }
    32%, 45% { transform: translateY(-2.1em); }
    48%, 61% { transform: translateY(-3.15em); }
    64%, 77% { transform: translateY(-4.2em); }
    80%, 100% { transform: translateY(-5.25em); }
}

.hero-sub {
    font-size: 1.13rem;
    color: var(--text-dim);
    max-width: 580px;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
    display: flex;
    gap: 0.85rem;
    margin-top: 2.25rem;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.85rem;
    border-top: 1px solid var(--border);
}

.meta-item { flex: 0 0 auto; }

.meta-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.meta-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.meta-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ============================================================
   HERO RIGHT (drži konfigurator)
   ============================================================ */
.hero-right { display: flex; justify-content: flex-end; align-items: flex-start; }

/* ============================================================
   TICKERS (MARQUEE)
   ============================================================ */
.ticker {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 1.1rem 0;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.ticker-1 { margin-top: 1rem; }
.ticker-2 { margin-top: 0; }

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    animation: marquee 100s linear infinite;
    padding-left: 1.5rem;
}

.ticker-reverse { animation-direction: reverse; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ti {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.ti-sep {
    color: var(--accent-2);
    font-size: 0.85rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.ti-app {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.ti-sep-2 {
    color: var(--accent);
    font-size: 0.95rem;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 5.5rem 1.5rem;
}

.section-head {
    margin-bottom: 3rem;
    max-width: 720px;
}

.section-sub {
    color: var(--text-dim);
    margin-top: 0.95rem;
    font-size: 1.02rem;
    max-width: 620px;
}

/* ============================================================
   CONFIGURATOR
   ============================================================ */
.configurator-section { padding-top: 4rem; }

.configurator {
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.06), rgba(45, 217, 255, 0.02));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px -30px rgba(139, 111, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.configurator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    opacity: 0.6;
}

.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

/* Desktop: Zemlja + Aplikacija u gornjem redu, Količina pun red ispod (3 kartice u nizu) */
@media (min-width: 769px) {
    .config-grid > .config-step:nth-child(3) { grid-column: 1 / -1; }
    .config-grid > .config-step:nth-child(3) .qty-picker { grid-template-columns: repeat(3, 1fr); }
}

.config-step { display: flex; flex-direction: column; gap: 0.9rem; }

.step-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
}

.step-num {
    width: 26px;
    height: 26px;
    background: var(--gradient);
    color: white;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px -3px rgba(139, 111, 255, 0.5);
}

.qty-picker {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr;
}

.qp-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
    min-width: 0;
}

.qp-btn:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
}

.qp-btn.active {
    background: linear-gradient(135deg, rgba(139, 111, 255, 0.15), rgba(45, 217, 255, 0.08));
    border-color: var(--border-accent);
    box-shadow: 0 0 0 1px var(--border-accent), 0 8px 20px -8px rgba(139, 111, 255, 0.4);
}

/* ===== Zemlja: combobox (pretraga + lista) — u stilu sajta ===== */
.combo { position: relative; }
.cs-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.7rem 0.85rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.cs-trigger:hover { background: var(--surface-2); border-color: var(--border-strong); }
.cs-trigger:focus-visible { outline: none; border-color: var(--border-accent); box-shadow: 0 0 0 3px rgba(139, 111, 255, 0.2); }
.combo.open .cs-trigger { border-color: var(--border-accent); box-shadow: 0 0 0 1px var(--accent), 0 10px 26px -12px rgba(139, 111, 255, 0.55); }
.cs-current { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
.cs-current .cs-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-current .cs-code { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); margin-left: auto; flex-shrink: 0; }
.cs-flag { font-size: 1.1rem; flex-shrink: 0; }
.cs-caret { color: var(--text-dim); flex-shrink: 0; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s; }
.combo.open .cs-caret { transform: rotate(180deg); color: var(--accent-2); }

.cs-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    z-index: 60;
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.07), rgba(45, 217, 255, 0.025)), var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(139, 111, 255, 0.06);
    padding: 0.5rem;
    overflow: hidden;
    animation: csIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cs-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    opacity: 0.6;
}
@keyframes csIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.cs-search-wrap { position: relative; display: flex; align-items: center; margin-bottom: 0.45rem; }
.cs-search-wrap svg { position: absolute; left: 0.75rem; width: 16px; height: 16px; color: var(--text-muted); pointer-events: none; transition: color 0.18s; }
.cs-search-wrap:focus-within svg { color: var(--accent-2); }
.cs-search {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem 0.7rem 0.65rem 2.2rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.cs-search::placeholder { color: var(--text-muted); }
.cs-search:focus { border-color: var(--border-strong); }
.cs-search:focus, .cs-search:focus-visible { outline: none; }
.cs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 264px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 111, 255, 0.4) transparent;
}
.cs-list::-webkit-scrollbar { width: 10px; }
.cs-list::-webkit-scrollbar-thumb { background: rgba(139, 111, 255, 0.3); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
.cs-list::-webkit-scrollbar-thumb:hover { background: rgba(139, 111, 255, 0.55); background-clip: content-box; }
.cs-group {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    opacity: 0.9;
    padding: 0.6rem 0.65rem 0.3rem;
}
.cs-opt {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.65rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.12s;
}
.cs-opt .cs-oname { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-opt .cs-oname .cs-hl { color: var(--accent-2); font-weight: 700; }
.cs-opt .cs-ocode { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); flex-shrink: 0; }
.cs-opt.active, .cs-opt:hover { background: var(--surface-2); }
.cs-opt[aria-selected="true"] { background: var(--gradient-soft); box-shadow: inset 0 0 0 1px var(--border-accent); }
.cs-opt[aria-selected="true"] .cs-ocode { color: var(--accent-2); }
.cs-opt[aria-selected="true"]::after { content: '✓'; color: var(--accent-2); font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.cs-empty { padding: 1rem 0.75rem; color: var(--text-dim); font-size: 0.88rem; line-height: 1.5; }
.cs-empty a { color: var(--accent-2); text-decoration: none; }
.cs-empty a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .cs-panel { animation: none; } }

/* Ikone u dropdown-u (aplikacije): brend logo ili monogram */
.cs-ico {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cs-mono { background: var(--surface-3); color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; line-height: 1; }
.cs-ico-plus { background: rgba(139, 111, 255, 0.14); color: var(--accent-2); font-weight: 700; font-size: 1rem; line-height: 1; }
.cs-opt-other .cs-oname { color: var(--accent-2); font-weight: 600; }

/* Per-brend stil ikonica (sve su kružići; providnim logoima dodajemo brend pozadinu) */
.cs-ico.ico-w, .app-chip-ic.ico-w { background: #fff; }
.cs-ico.ico-discord, .app-chip-ic.ico-discord { background: #7289da; }
.cs-ico.ico-cover, .app-chip-ic.ico-cover { object-fit: cover; }

/* App "Drugo" — polje za upis (ispod dropdown-a) */
.ap-other-input {
    width: 100%;
    margin-top: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    padding: 0.7rem 0.85rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: box-shadow 0.18s;
}
.ap-other-input::placeholder { color: var(--text-muted); }
.ap-other-input:focus { box-shadow: 0 0 0 3px rgba(139, 111, 255, 0.16); }

/* Pokrivenost: tanka traka (zamena za veliku mrežu zemalja) */
.coverage-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    max-width: 880px;
    margin: 1.6rem auto 0;
}
.cov-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.cov-chip:hover { background: var(--surface-2); border-color: var(--border-accent); transform: translateY(-2px); }
.cov-chip .cov-flag { font-size: 1rem; }
.cov-chip .cov-code { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); }
.cov-more { color: var(--accent-2); border-style: dashed; }

.ap-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}

.qp-btn {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    position: relative;
    gap: 0.15rem;
}

.qp-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.qp-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.qp-price {
    margin-top: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-2);
    font-weight: 600;
}

.qp-price s { color: var(--text-muted); font-weight: 400; margin-left: 0.3rem; font-size: 0.78rem; }

.qp-tag {
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--gradient);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ===== Konfigurator u heru (kompaktan, kao na telefonu) ===== */
.configurator--hero {
    max-width: 470px;
    width: 100%;
    margin-left: auto;
    padding: 1.35rem 1.35rem 1.5rem;
}
.hc-head { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 1.05rem; }
.hc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.hc-sub { font-size: 0.82rem; color: var(--text-dim); line-height: 1.45; }
.configurator--hero .config-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    margin-bottom: 1.05rem;
    padding-bottom: 1.05rem;
}
.configurator--hero .config-step { gap: 0.5rem; }
.configurator--hero .qty-picker { grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
.configurator--hero .qp-btn { padding: 0.55rem 0.5rem 0.5rem; gap: 0.05rem; align-items: center; text-align: center; }
.configurator--hero .qp-num { font-size: 1.15rem; }
.configurator--hero .qp-label { display: none; }
.configurator--hero .qp-price { margin-top: 0.15rem; font-size: 0.68rem; }
.configurator--hero .qp-price s { display: none; }
.configurator--hero .qp-tag { top: -8px; right: 4px; font-size: 0.5rem; padding: 0.14rem 0.38rem; }
/* Kompaktna traka za poručivanje: cena levo, dugme desno — umesto ogromnog centriranog bloka.
   Grid sa imenovanim zonama: labela+cena zauzimaju levu kolonu, dugme desnu (spaja oba reda),
   a napomena ide punom širinom ispod. */
.configurator--hero .config-summary { display: block; }
.configurator--hero .summary-left { display: none; }
.configurator--hero .summary-right {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label btn"
        "total btn"
        "note  note";
    align-items: center;
    column-gap: 1rem;
    padding: 0.95rem 1.05rem 1rem 1.2rem;
    text-align: left;
}
.configurator--hero .summary-total-label { grid-area: label; margin: 0 0 0.12rem; }
.configurator--hero .summary-total { grid-area: total; font-size: 1.9rem; margin: 0; }
.configurator--hero #orderBtn {
    grid-area: btn;
    align-self: center;
    width: auto;
    padding: 0.78rem 1.7rem;
    font-size: 0.95rem;
    white-space: nowrap;
}
.configurator--hero .summary-note { grid-area: note; text-align: left; margin-top: 0.7rem; }

/* Summary */
.config-summary {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.summary-left {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.93rem;
}

.summary-line:last-child { border-bottom: none; }

.summary-key {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.summary-val {
    color: var(--text);
    font-weight: 500;
}

.summary-val small {
    font-family: var(--font-mono);
    color: var(--text-dim);
    font-weight: 400;
}

.summary-right {
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.12), rgba(45, 217, 255, 0.04));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.summary-total-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.summary-total {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.2rem;
    transition: transform 0.25s;
}

.summary-total span {
    font-size: 1rem;
    -webkit-text-fill-color: var(--text-dim);
    color: var(--text-dim);
    margin-left: 0.25rem;
    font-weight: 500;
}

.summary-total.pop { animation: popScale 0.35s ease; }

@keyframes popScale {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.summary-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.85rem;
    line-height: 1.4;
}

/* ============================================================
   TRUST BAND (zašto mi — uska traka ispod hero konfiguratora)
   ============================================================ */
.trust-section { padding: 2.75rem 1.5rem; }
.trust-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.05rem 1.15rem;
    transition: border-color 0.2s, background 0.2s;
}
.trust-item:hover { border-color: var(--border-accent); background: var(--surface-2); }
.trust-ic {
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 10px;
    background: rgba(139, 111, 255, 0.12);
    border: 1px solid rgba(139, 111, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
}
.trust-ic svg { width: 20px; height: 20px; }
.trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.18rem;
}
.trust-item span { font-size: 0.82rem; color: var(--text-dim); line-height: 1.45; display: block; }
@media (max-width: 1024px) { .trust-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-band { grid-template-columns: 1fr; } }

/* Apps grid u 4 kolone (istaknute aplikacije na početnoj) */
.apps-grid.apps-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .apps-grid.apps-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .apps-grid.apps-grid--4 { grid-template-columns: 1fr; } }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.step-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity 0.25s;
    z-index: -1;
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
}

.step-card:hover::before { opacity: 1; }

.step-card-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-2);
    margin-bottom: 1rem;
    letter-spacing: 0.12em;
}

.step-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(139, 111, 255, 0.12);
    border: 1px solid rgba(139, 111, 255, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    margin-bottom: 1rem;
}

.step-card-icon svg { width: 22px; height: 22px; }

.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { color: var(--text-dim); font-size: 0.94rem; }

.how-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 122, 89, 0.06);
    border: 1px solid rgba(255, 122, 89, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.93rem;
    color: var(--text-dim);
}

.how-note strong { color: var(--accent-warm); }

.how-note-icon {
    width: 28px;
    height: 28px;
    background: var(--accent-warm);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-family: var(--font-display);
}

/* ============================================================
   COUNTRY CARDS
   ============================================================ */
.country-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.65rem;
}

.cc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1rem 0.85rem;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.cc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 111, 255, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.cc:hover {
    background: var(--surface-2);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.cc:hover::before { opacity: 1; }

.cc-code {
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.55rem;
    text-shadow: 0 0 16px rgba(139, 111, 255, 0.3);
}

.cc:hover .cc-code {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.cc-meta {
    font-size: 0.82rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.cc-flag { font-size: 1rem; }

.cc-more {
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.1), transparent);
    border-color: var(--border-accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.cc-more .cc-code {
    color: var(--accent-2);
    font-weight: 300;
    font-size: 1.8rem;
}

/* ============================================================
   APPS GRID — uniform 3x2 with real brand icons
   ============================================================ */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.app-tile {
    padding: 1.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.app-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.app-tile:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
    transform: translateY(-3px);
}

.app-tile:hover::before { opacity: 0.7; }

.app-tile-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-tile:hover .app-tile-icon { transform: scale(1.06) rotate(-3deg); }

.app-tile-icon img,
.app-tile-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.app-tile-icon-gmail {
    background: #fff;
    padding: 8px;
}
.app-tile-icon-gmail svg { width: 100%; height: 100%; }

.app-tile h3 {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.app-tile p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ===== "I sve ostalo" marquee (forica) ===== */
.chip-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.chip-track {
    display: flex;
    gap: 0.5rem;
    width: max-content;
    animation: marquee 42s linear infinite;
}
.chip-marquee:hover .chip-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .chip-track { animation: none; flex-wrap: wrap; } }

.apps-more {
    margin-top: 1.5rem;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 111, 255, 0.06), rgba(45, 217, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.apps-more-label {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.apps-more-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.app-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--text);
}
.app-chip-ic {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    object-fit: contain;
    overflow: hidden;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.pricing-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin: 0 auto;
}

.price-card {
    padding: 2.25rem 1.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.3s, background 0.25s;
}

.price-card:hover {
    transform: translateY(-8px) scale(1.025);
    border-color: var(--border-accent);
    background: var(--surface-2);
    box-shadow: 0 25px 50px -20px rgba(139, 111, 255, 0.4);
}

.price-card.featured {
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.1), rgba(45, 217, 255, 0.04));
    border: 1px solid var(--border-accent);
    box-shadow: 0 20px 60px -20px rgba(139, 111, 255, 0.4);
}

.price-card.featured:hover {
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.16), rgba(45, 217, 255, 0.07));
    box-shadow: 0 30px 70px -20px rgba(139, 111, 255, 0.55);
}

.featured-tag {
    position: absolute;
    top: -11px;
    left: 1.85rem;
    background: var(--gradient);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.price-tag {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.price-num {
    font-family: var(--font-display);
    font-size: 2.85rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.035em;
}

.price-currency {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 500;
}

.price-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    margin-bottom: 1.85rem;
}

.price-features li {
    padding: 0.55rem 0;
    color: var(--text-dim);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 1.3rem;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.55rem;
    color: var(--success);
    font-weight: 700;
}

.price-features li:last-child { border-bottom: none; }

/* ============================================================
   FAQ — 2 column on desktop with Q numbers
   ============================================================ */
.faq {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    align-items: start;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item[open] {
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.07), rgba(45, 217, 255, 0.02));
    border-color: var(--border-accent);
    box-shadow: 0 10px 30px -15px rgba(139, 111, 255, 0.4);
}

.faq-item summary {
    padding: 1.1rem 1.35rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.97rem;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-2);
    background: rgba(45, 217, 255, 0.08);
    border: 1px solid rgba(45, 217, 255, 0.2);
    padding: 0.18rem 0.45rem;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.faq-text { flex: 1; }

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--accent-2);
    transition: transform 0.2s;
    font-weight: 300;
    margin-left: auto;
    flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding: 0 1.35rem 1.35rem 3.2rem;
    color: var(--text-dim);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* FAQ unutar vodiča: .legal-body nema .faq grid (gap), pa stavkama treba razmak */
.legal-body .faq-item { margin-bottom: 0.7rem; }
.legal-body .faq-item:last-child { margin-bottom: 0; }
.legal-body .faq-item + .faq-item { margin-top: 0; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-form {
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.06), rgba(45, 217, 255, 0.02));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    opacity: 0.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.form-label small {
    color: var(--text-muted);
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
}

.form-field input,
.form-field select,
.form-field textarea {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.18s;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px rgba(139, 111, 255, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
}

.form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239ea2b0' stroke-width='2'%3E%3Cpath d='m3 5 3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-field select option { background: #14171f; color: var(--text); }

.form-submit { margin-top: 0.5rem; }

.form-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.4rem;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.cs-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    transition: all 0.2s;
    display: grid;
    grid-template-columns: 38px 1fr;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.95rem;
    align-items: center;
}

.cs-card:hover {
    background: var(--surface-2);
    border-color: var(--border-accent);
    transform: translateX(3px);
}

.cs-icon {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, rgba(139, 111, 255, 0.15), rgba(45, 217, 255, 0.08));
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.cs-title {
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.98rem;
    line-height: 1.2;
    align-self: end;
}

.cs-text {
    font-size: 0.83rem;
    color: var(--text-dim);
    line-height: 1.45;
    align-self: start;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.35);
}

/* Main grid */
.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.logo-lg { font-size: 1.4rem; gap: 0.7rem; }
.logo-lg .logo-img { width: 40px; height: 40px; }

.footer-brand p {
    color: var(--text-dim);
    margin-top: 1rem;
    max-width: 360px;
    font-size: 0.93rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.soc-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.2s;
}

.soc-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.soc-btn:hover {
    background: var(--surface-3);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -6px rgba(139, 111, 255, 0.4);
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 0.9rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--accent-2);
    line-height: 1.4;
}

.footer-col a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    padding: 0.35rem 0;
    font-size: 0.92rem;
    transition: color 0.15s, transform 0.15s;
}

.footer-col a:hover {
    color: var(--text);
    transform: translateX(3px);
}

/* Payment chips */
.footer-pay {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-pay-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    flex-shrink: 0;
}

.footer-pay-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pay-chip {
    padding: 0.35rem 0.85rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    transition: all 0.2s;
}

.pay-chip:hover {
    color: var(--text);
    border-color: var(--border-accent);
    background: var(--surface-3);
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.85rem 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* ============================================================
   LEGAL PAGES (privacy.html, terms.html)
   ============================================================ */
.legal {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}

.legal-head {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.legal-head h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin: 0.8rem 0 0.4rem;
}

.legal-updated {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.75rem;
}

.legal-body {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.75;
}

.legal-body h2 {
    color: var(--text);
    font-size: 1.4rem;
    margin: 2.5rem 0 0.9rem;
    letter-spacing: -0.02em;
    scroll-margin-top: 90px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p {
    margin-bottom: 1rem;
}

.legal-body ul {
    margin: 0.5rem 0 1.25rem 1.25rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
    padding-left: 0.35rem;
}

.legal-body li::marker {
    color: var(--accent-2);
}

.legal-body a {
    color: var(--accent-2);
    text-decoration: underline;
    text-decoration-color: rgba(45, 217, 255, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s;
}

.legal-body a:hover {
    text-decoration-color: var(--accent-2);
}

.legal-body strong {
    color: var(--text);
    font-weight: 600;
}

.legal-body em {
    color: var(--text-dim);
    font-style: italic;
}

.legal-back {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* ============================================================
   CONFIRMATION MODAL
   ============================================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(6, 7, 11, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: modalFadeIn 0.25s ease;
}

.modal-backdrop[hidden] { display: none; }

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: linear-gradient(165deg, #14171f, #0d0f17);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.25rem 2rem;
    max-width: 460px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.85),
        0 0 80px rgba(139, 111, 255, 0.25);
    animation: modalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from { transform: translateY(20px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    line-height: 1;
    transition: all 0.18s;
    font-family: inherit;
}

.modal-close:hover {
    background: var(--surface-2);
    color: var(--text);
}

.modal-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 224, 138, 0.2), rgba(34, 224, 138, 0.08));
    border: 1px solid rgba(34, 224, 138, 0.35);
    color: var(--success);
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px -8px rgba(34, 224, 138, 0.4);
}

.modal-check svg { width: 30px; height: 30px; }

.modal h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.modal p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.modal p strong { color: var(--text); }

.modal-actions {
    display: flex;
    justify-content: center;
}

.modal-actions .btn-primary {
    min-width: 200px;
}

.modal-note {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Kad se element jednom pojavi, skloni will-change da ne troši GPU memoriju bez potrebe */
.reveal.shown { will-change: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr 400px; gap: 2rem; }
    .configurator--hero { padding: 1.2rem 1.1rem 1.35rem; }
    /* Uža leva kolona: bez vertikalnih crtica, meta stavke se lome u red umesto da se seku */
    .hero-meta { gap: 1.1rem 1.75rem; }
    .hero-meta .meta-sep { display: none; }
    .annot { display: none; }
    .config-grid { grid-template-columns: 1fr 1fr; }
    .config-grid .config-step:first-child { grid-column: span 2; }
    .apps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
    .nav-inner { padding: 0.85rem 1.1rem; gap: 0.5rem; }
    .nav-toggle { display: flex; }
    .nav-cta { padding: 0.5rem 0.95rem; font-size: 0.85rem; margin-left: auto; }
    .logo { font-size: 1.08rem; }

    /* Padajući mobilni meni */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0 1.1rem;
        max-height: 0;
        overflow: hidden;
        background: rgba(6, 7, 11, 0.97);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid transparent;
        transition: max-height 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
    }
    .nav.open .nav-links {
        max-height: 80vh;
        padding: 0.4rem 1.1rem 1rem;
        border-bottom-color: var(--border);
    }
    .nav-links a {
        padding: 0.9rem 0.2rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links a::after { display: none; }

    .hero { padding: 3rem 1.1rem 2.5rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; text-align: left; }
    .configurator--hero { max-width: none; margin-left: 0; }

    .hero-title { font-size: clamp(2.1rem, 9vw, 3rem); }
    .hero-sub { font-size: 1rem; }
    .hero-meta { gap: 1rem; flex-wrap: wrap; }
    .meta-sep { display: none; }
    .meta-num { font-size: 1.3rem; }

    .section { padding: 4rem 1.1rem; }

    .ticker { padding: 0.85rem 0; }
    .ticker-track { gap: 1rem; animation-duration: 70s; }
    .ti { font-size: 0.82rem; }
    .ti-app { font-size: 1rem; }

    .configurator { padding: 1.4rem; }
    .config-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .config-grid .config-step:first-child { grid-column: span 1; }
    .qty-picker { grid-template-columns: 1fr; }

    .config-summary {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .steps { grid-template-columns: 1fr; }

    .country-cards {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    .cc { padding: 0.85rem; }
    .cc-code { font-size: 1.2rem; }
    .cc-meta { font-size: 0.75rem; }

    .apps-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .app-tile { padding: 1.4rem; }
    .apps-more { padding: 1rem 1.15rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }

    .pricing, .pricing-2 { grid-template-columns: 1fr; max-width: none; }

    .faq { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-form { padding: 1.4rem; }
    .form-row { grid-template-columns: 1fr; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: span 2; }
    .footer-pay {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
        align-items: center;
    }

    .summary-total { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
}

@media (max-width: 420px) {
    h1 { font-size: 2rem; }
    .qp-num { font-size: 1.5rem; }
    .country-cards { grid-template-columns: repeat(2, 1fr); }
    .ticker-track { animation-duration: 50s; }
}

/* Reduce motion — kad korisnik traži manje animacija (Windows/macOS podešavanje).
   VAŽNO: bez `animation-iteration-count: 1` beskonačne animacije (tickeri,
   rotirajući naslov, pulsevi) bi se pri trajanju 0.01ms izvršavale hiljadama
   puta u sekundi i "strobovale" (baš onaj bug: naslov i tickeri jure ludom
   brzinom). Zato ih ovde i kapiramo na 1 ponavljanje i eksplicitno gasimo. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .ticker-track, .word-rotate { animation: none !important; }
    /* prikaži samo prvu reč u rotatoru (ostale ostaju van .word-stack okvira) */
    .word-rotate { transform: none !important; }
    /* reveal ne sme da sakrije sadržaj kad su animacije isključene */
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   PERFORMANSE NA DODIRNIM / UŽIM EKRANIMA
   Živi backdrop-filter (blur) na sticky nav-u i tickerima je najveći uzrok
   trzanja pri skrolu na telefonima: svaki frejm mora ponovo da kompozituje
   zamućenu pozadinu iza njih. Na dodirnim uređajima (i uskim ekranima) ga
   menjamo skoro neprozirnom pozadinom — na tamnoj temi razlika je jedva
   primetna, a skrol postaje osetno glađi. Auroru skidamo sa stalnog GPU
   sloja (parallax radi samo na mišu, na dodiru se ionako ne pomera) i malo
   je smanjujemo → manje GPU memorije i paint troška.
   ============================================================ */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
    .nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(8, 9, 14, 0.94);
    }
    .ticker {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(9, 10, 16, 0.72);
    }
    .configurator {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .bg-aurora {
        will-change: auto;
        width: 620px;
        height: 620px;
        filter: blur(64px);
    }
}

/* ============================================================
   FLOATING ACTIONS (WhatsApp / Telegram) — injektuje app.js
   ============================================================ */
.fab-stack {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.fab {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s, box-shadow 0.2s;
}
.fab svg { width: 27px; height: 27px; }
.fab:hover { transform: translateY(-2px) scale(1.05); }
.fab-wa { background: #25D366; }
.fab-tg { background: #229ED9; }
.fab-wa::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    z-index: -1;
    animation: fabPulse 2.4s infinite;
}
/* transform+opacity (kompozitovano na GPU) umesto animiranog box-shadow-a (paint) */
@keyframes fabPulse {
    0%   { transform: scale(1);   opacity: 0.5; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}
.fab-label {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(10, 12, 20, 0.92);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.fab:hover .fab-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 768px) {
    .fab-stack { right: 14px; bottom: 16px; }
    .fab { width: 52px; height: 52px; }
    .fab-label { display: none; }
}

/* ============================================================
   SOCIAL PROOF / RECENZIJE
   ============================================================ */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}
.proof-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    transition: border-color 0.2s, transform 0.2s;
}
.proof-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.proof-stars { color: #ffc24b; letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 0.7rem; }
.proof-text { color: var(--text-dim); font-size: 0.97rem; line-height: 1.6; }
.proof-who { margin-top: 1.1rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); }
.proof-av {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--gradient); display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: 0.85rem;
}
@media (max-width: 768px) { .proof-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RATING / OCENI (stranica /oceni — ocena bez naloga)
   ============================================================ */
.rating-card {
    max-width: 520px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(139, 111, 255, 0.06), rgba(45, 217, 255, 0.02));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 14px;
}
.rating-stars:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 6px; }
.star {
    background: none;
    border: none;
    cursor: pointer;
    font-size: clamp(2.2rem, 9vw, 2.8rem);
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
    padding: 0 0.12rem;
    transition: transform 0.12s ease, color 0.12s ease, text-shadow 0.12s ease;
}
.star:hover { transform: scale(1.14); }
.star.on { color: #ffc24b; text-shadow: 0 0 14px rgba(255, 194, 75, 0.5); }
.rating-hint {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: -0.35rem;
    min-height: 1.3em;
}

/* ============================================================
   POLISH: anchor scroll offset (sticky nav) + a11y fokus
   ============================================================ */
html { scroll-padding-top: 84px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.fab:focus-visible,
.qp-btn:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

/* kartice koje su postale linkovi (Aplikacije / Zemlje) */
a.app-tile, a.cc { text-decoration: none; color: inherit; cursor: pointer; }
