/* ============================================================================
   Global Reseller Platform — Public Styles v3 ("Ploče")
   ----------------------------------------------------------------------------
   Paleta: #F4F5FA (nježna podloga) · #D4EAFF (pune plave ploče)
           #F1FF62 (sitni volt detalji) · #112358 (navy — CTA i tamni detalji)
   Pravila dizajna: BEZ bordera (dubina isključivo sjenama i bojom),
   sve blago zaobljeno, Sora (naslovi) + Inter (tekst), pulsirajuće
   registracijsko dugme, pill tabovi s kliznim indikatorom i "repom".
   Sve postojeće klase su sačuvane — markup ostaje kompatibilan.
   ----------------------------------------------------------------------------
   Širina sadržaja: fluid min(1400px, 90%) — prati uređaj na 90% širine,
   s tvrdim plafonom 1400px na velikim monitorima (na 1920px to je ~73%).
   ============================================================================ */

:root {
    /* Paleta */
    --mist:  #F4F5FA;
    --ice:   #D4EAFF;
    --volt:  #F1FF62;
    --navy:  #112358;
    --navy-hover: #1B3576;
    --navy-deep:  #0B1838;

    --primary:       #112358;
    --primary-dark:  #0d1c47;
    --primary-deep:  #0B1838;
    --primary-light: #D4EAFF;
    --secondary:       #1B3576;
    --secondary-light: #E4F1FF;
    --accent:  #F1FF62;
    --success: #16a34a;
    --danger:  #dc2626;
    --warning: #d97706;

    --text-dark:  #112358;
    --text-body:  #4E5B7A;
    --text-muted: #8A94AD;
    --text-light: #C6D3EE;

    --bg-white:  #ffffff;
    --bg-light:  #F4F5FA;
    --bg-subtle: #ECEEF6;
    --border:       transparent; /* bez bordera — zadržano zbog kompatibilnosti */
    --border-light: transparent;

    --radius-sm:  5px;
    --radius:     10px;
    --radius-lg:  10px;
    --radius-xl:  10px;
    --radius-full: 10px;

    --shadow-sm: 0 6px 18px -12px rgba(17, 35, 88, 0.16);
    --shadow:    0 10px 26px -16px rgba(17, 35, 88, 0.16);
    --shadow-md: 0 14px 34px -20px rgba(17, 35, 88, 0.18);
    --shadow-lg: 0 22px 46px -22px rgba(17, 35, 88, 0.24);
    --shadow-xl: 0 30px 64px -26px rgba(17, 35, 88, 0.3);
    --shadow-primary: 0 14px 30px -14px rgba(17, 35, 88, 0.5);

    --font-body:    'Inter', 'Sora', system-ui, -apple-system, sans-serif;
    --font-display: 'Sora', 'Inter', system-ui, sans-serif;

    --transition:      0.2s ease;
    --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text-body); background: var(--mist); }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy-hover); }
img { max-width: 100%; height: auto; }
/* Fluid širina: 90% uređaja, plafon 1400px na velikim ekranima.
   Ploče-sekcije (hero, cjenovnik, CTA, page-hero) nasljeđuju istu širinu —
   sve je poravnato, s prostorom sa strana na svakom uređaju. */
.container { width: min(1400px, 90%); margin: 0 auto; padding: 0; }

::selection { background: var(--volt); color: var(--navy); }

/* Pristupačnost: vidljiv fokus tastature */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 6px; }


.flexdiv {display: flex; align-items: center; gap: 20px;}
.justify-center {justify-content: center; }

/* ============================================================ BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 1; padding: 14px 28px; border-radius: var(--radius-full); border: none; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition); text-decoration: none; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 11px 20px; font-size: 13px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }
.btn-outline { background: var(--bg-white); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--volt); color: var(--navy); }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-light { background: var(--primary-light); color: var(--navy); }
.btn-light:hover { background: var(--navy-hover); color: #fff; }

/* Pulsirajuće registracijsko dugme.
   Default (header, hero — svijetla podloga): TAMNOPLAVI prsten.
   Na navy podlozi (CTA): ŽUTI (volt) prsten — vidi .cta-content niže. */
.btn-pulse { animation: pulseRingNavy 2.4s ease-out infinite; }
.btn-pulse:hover { animation-play-state: paused; box-shadow: 0 0 0 6px rgba(27, 53, 118, 0.28), 0 16px 34px -14px rgba(17, 35, 88, 0.45); }
@keyframes pulseRingNavy {
    0%   { box-shadow: 0 0 0 0 rgba(17, 35, 88, 0.4); }
    60%  { box-shadow: 0 0 0 13px rgba(17, 35, 88, 0); }
    100% { box-shadow: 0 0 0 0 rgba(17, 35, 88, 0); }
}
@keyframes pulseRingVolt {
    0%   { box-shadow: 0 0 0 0 rgba(241, 255, 98, 0.75); }
    60%  { box-shadow: 0 0 0 13px rgba(241, 255, 98, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 255, 98, 0); }
}

/* ============================================================ HEADER (plutajući pill) */
.site-header { position: relative; z-index: 1000; background: transparent; padding: 18px 0 8px; }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-full);
    padding: 0 14px 0 26px;
    box-shadow: var(--shadow-md);
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--text-dark); }
.logo:hover { color: var(--text-dark); }
.logo-img { width: 176px; height: auto; max-width: 100%; display: block; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { font-weight: 500; font-size: 14.5px; color: var(--text-body); position: relative; padding: 9px 15px; border-radius: var(--radius-full); transition: background var(--transition), color var(--transition); }
.nav-link::after { display: none; }
.nav-link:hover { background: var(--ice); color: var(--navy); }
.nav-link.active { background: var(--ice); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--text-dark); cursor: pointer; padding: 8px; }

/* LANG SWITCHER */
.lang-switcher { display: flex; gap: 3px; align-items: center; margin-right: 8px; padding: 4px; background: var(--mist); border-radius: var(--radius-full); }
.lang-btn { padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--text-muted); border-radius: var(--radius-full); transition: all var(--transition); }
.lang-btn:hover { color: var(--navy); }
.lang-btn.active { color: var(--navy); background: var(--bg-white); box-shadow: var(--shadow-sm); }

/* LANG DROPDOWN — kompaktni izbornik jezika za mobilnu (pilula kao na desktopu) */
.lang-dropdown { display: none; position: relative; margin-right: 6px; }
.lang-dd-toggle { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--navy); background: var(--mist); border: none; border-radius: var(--radius-full); padding: 10px 14px; cursor: pointer; transition: background var(--transition); }
.lang-dd-toggle:hover { background: var(--ice); }
.lang-dd-arrow { font-size: 10px; transition: transform var(--transition); }
.lang-dropdown.open .lang-dd-arrow { transform: rotate(180deg); }
.lang-dd-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 92px; background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow-xl); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--transition), visibility var(--transition), transform var(--transition); z-index: 1200; }
.lang-dropdown.open .lang-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dd-link { display: block; padding: 9px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--text-body); text-align: center; transition: background var(--transition), color var(--transition); }
.lang-dd-link:hover { background: var(--ice); color: var(--navy); }
.lang-dd-link.active { background: var(--volt); color: var(--navy); }

/* Registracijsko dugme u headeru — na mobilnoj samo ikonica */
.btn-register i { font-size: 14px; }
.btn-login i { font-size: 14px; }

/* ============================================================ HERO (ledena ploča) */
.hero-section { position: relative; padding: 22px 0 12px; overflow: visible; background: transparent; }
.hero-section > .container {
    position: relative; overflow: hidden;
    background:
        radial-gradient(640px 420px at 88% -10%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(520px 380px at -6% 112%, rgba(241, 255, 98, 0.26), transparent 55%),
        var(--ice);
    border-radius: var(--radius-xl);
    padding: 84px 56px 72px;
    text-align: center;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
/* Napomena za posjetioce koji ne preprodaju — link ka global.ba,
   volt kuglica sa strelicom koja se blago miče. */
.hero-notice { display: inline-flex; align-items: center; gap: 12px; background: var(--bg-white); border-radius: var(--radius-full); padding: 9px 22px 9px 10px; margin-bottom: 26px; box-shadow: var(--shadow); text-align: left; transition: transform var(--transition), box-shadow var(--transition); max-width: 100%; }
.hero-notice:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-notice .hn-orb { width: 34px; height: 34px; border-radius: var(--radius-full); flex-shrink: 0; background: var(--volt); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 13px;}
.hero-notice:hover .hn-orb { animation-play-state: paused; }
.hero-notice .hn-text { font-size: 13.5px; color: var(--text-body); line-height: 1.45; }
.hero-notice .hn-text strong { color: var(--navy); font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.hero-notice:hover .hn-text strong { text-decoration: underline; }
@keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: var(--bg-white); color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; border-radius: var(--radius-full); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.hero-content h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 58px); font-weight: 800; line-height: 1.12; color: var(--text-dark); margin-bottom: 22px; letter-spacing: -0.02em; }
.text-gradient {
    background: linear-gradient(180deg, transparent 55%, var(--volt) 55%, var(--volt) 92%, transparent 92%);
    -webkit-background-clip: initial; -webkit-text-fill-color: initial; background-clip: initial;
    color: var(--text-dark);
    border-radius: 8px; padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero-subtitle { font-size: 17.5px; line-height: 1.7; color: var(--text-body); margin: 0 auto 34px; max-width: 660px; }
.hero-buttons { display: flex; gap: 14px; margin-bottom: 44px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: inline-flex; gap: 10px; flex-wrap: nowrap; justify-content: center; background: transparent; box-shadow: none; width: auto; overflow: visible; }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 13px 13px; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stat-number { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-dark); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; color: var(--text-body); font-weight: 500; letter-spacing: 0.02em; }
.hero-bg-shapes { display: none; }
.shape { display: none; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(14px, -18px) scale(1.02); } 66% { transform: translate(-10px, 10px) scale(0.98); } }

/* ============================================================ SECTIONS */
.section { padding: 56px 0; }
.section-header { text-align: center; margin-bottom: 46px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--text-dark); margin-bottom: 12px; letter-spacing: -0.02em; }
.section-header h2 i { color: var(--navy); margin-right: 10px; font-size: 0.75em; }
.section-header p { font-size: 16.5px; color: var(--text-body); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ============================================================ BENEFITS */
.benefits-section { background: transparent; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 32px 26px; transition: transform var(--transition), box-shadow var(--transition); position: relative; box-shadow: var(--shadow); }
.benefit-card::before { display: none; }
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit-card-highlight { background: var(--bg-white); }
.benefit-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; color: var(--navy); border-radius: 18px; font-size: 21px; margin-bottom: 18px; position: relative; }
.benefit-icon::after { content: ''; position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: var(--radius-full); background: var(--volt); }
.benefit-card h3 { font-family: var(--font-display); font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-dark); margin-bottom: 9px; }
.benefit-card p { font-size: 14px; color: var(--text-body); line-height: 1.7; margin-bottom: 12px; }
.benefit-phones { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-dark); padding-top: 12px; }
.benefit-phones strong { font-weight: 600; }

/* ============================================================ CATEGORIES */
.categories-section { background: transparent; position: relative; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.category-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform var(--transition), box-shadow var(--transition); position: relative; box-shadow: var(--shadow); }
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.category-icon { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; color: var(--navy); border-radius: 18px; font-size: 21px; margin-bottom: 18px; }
.category-icon .category-icon-img { width: 100%; height: auto; display: block; }
.category-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; color: var(--text-dark); margin-bottom: 8px; }
.category-card p { min-height: 50px; color: var(--text-body); font-size: 16px; margin-bottom: 16px; line-height: 1.7; }
.category-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy); transition: gap var(--transition), color var(--transition); }
.category-link:hover { gap: 12px; color: var(--navy-hover); }

/* COMING SOON */
.category-coming-soon { opacity: 0.78; cursor: pointer; }
.category-coming-soon:hover { opacity: 1; }
.coming-soon-badge { position: absolute; top: 16px; right: 16px; padding: 6px 13px; background: var(--volt); color: var(--navy); font-family: var(--font-display); font-size: 11px; font-weight: 700; border-radius: var(--radius-full); letter-spacing: 0.03em; }

/* COMING SOON MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(17, 35, 88, 0.5); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--bg-white); border-radius: var(--radius-xl); padding: 48px; text-align: center; max-width: 440px; width: 100%; box-shadow: var(--shadow-xl); }
.modal-icon { width: 66px; height: 66px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; background: var(--volt); color: var(--navy); border-radius: var(--radius-full); font-size: 26px; }
.modal-box h3, .modal-box .modal-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -0.015em; }
.modal-box p { font-size: 15px; color: var(--text-body); margin-bottom: 26px; line-height: 1.7; }

/* ============================================================ PACKAGES */
.packages-section { border-top: none; }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.package-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); box-shadow: var(--shadow); }
.package-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.package-header { padding: 26px 26px 16px; }
.package-header h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; letter-spacing: -0.01em; }
.package-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.package-cycle { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.package-features { padding: 6px 26px 16px; }
.package-features ul { list-style: none; }
.package-features li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--text-body); }
.package-features li i { color: var(--navy); background: var(--ice); border-radius: var(--radius-full); width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; font-size: 10px; flex-shrink: 0; }
.package-prices { padding: 18px 26px 26px; background: var(--mist); }
.prices-header { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 14px; }
.price-level { color: var(--text-body); font-weight: 500; }
.price-amount { font-family: var(--font-display); font-weight: 700; color: var(--text-dark); font-variant-numeric: tabular-nums; }
.no-prices { font-size: 13px; color: var(--text-muted); font-style: italic; }

/* ============================================================ PRICING LEVELS (ledena ploča) */
.pricing-section { background: transparent; padding: 56px 0; }
.pricing-section > .container {
    background:
        radial-gradient(600px 380px at 92% -12%, rgba(255, 255, 255, 0.6), transparent 60%),
        var(--ice);
    border-radius: var(--radius-xl);
    padding: 56px 44px 48px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.pricing-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; transition: transform var(--transition), box-shadow var(--transition); position: relative; box-shadow: var(--shadow); }
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-badge { display: inline-block; padding: 7px 20px; border-radius: var(--radius-full); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-bottom: 20px; letter-spacing: 0.03em; }
.pricing-tier-range { margin-bottom: 14px; }
.tier-number { display: block; font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--text-dark); line-height: 1.08; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tier-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.pricing-desc { font-size: 14px; color: var(--text-body); line-height: 1.7; margin-bottom: 20px; }

/* Tabovi (Domene / Hosting usluge / Licence) — pill traka s indikatorom i repom */
.pricing-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 44px; padding: 6px; background: rgba(255, 255, 255, 0.55); border-radius: var(--radius-full); width: max-content; max-width: 100%; position: relative; }
.pricing-tab-btn { text-align: center; justify-content: center; min-width:200px; position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-body); background: transparent; border: none; border-radius: var(--radius-full); padding: 10px 18px; cursor: pointer; transition: color 0.25s ease; white-space: nowrap; }
.pricing-tab-btn i { font-size: 14px; color: var(--navy); transition: color 0.25s ease; }
.pricing-tab-btn:hover { color: var(--navy); }
.pricing-tab-btn.active { background: transparent; color: #fff; }
.pricing-tab-btn.active i { color: var(--volt); }
/* Klizni indikator — pozicionira ga main.js; bez JS-a aktivni tab dobija navy pozadinu (fallback stila, ne podataka) */
.pricing-tabs.has-indicator .pricing-tab-btn.active { background: transparent; }
.pricing-tabs:not(.has-indicator) .pricing-tab-btn.active { background: var(--navy); }
.pricing-tab-indicator { position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 0; width: 0; background: var(--navy); border-radius: var(--radius-full); transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1)}
.pricing-tab-indicator::after { content: ''; position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); width: 16px; height: 16px; background: var(--navy); clip-path: polygon(50% 100%, 0 0, 100% 0); border-radius: 3px; }
.pricing-tab-panel { display: none; }
.pricing-tab-panel.active { display: block; animation: fadeInTab 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes fadeInTab { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.pricing-notice { display: flex; align-items: center; gap: 12px; padding: 20px 24px; background: var(--bg-white); border-radius: var(--radius); color: var(--text-body); font-size: 15px; box-shadow: var(--shadow-sm); }
.pricing-notice i { color: var(--navy); font-size: 18px; }
.pricing-notice-error { background: #FDF1F1; color: #a02020; }
.pricing-notice-error i { color: var(--danger); }
.pricing-view-all { display: flex; justify-content: center; margin-top: 28px; }
/* SVG ikonice tabova: default varijanta na neaktivnom, hover varijanta (žuta) na aktivnom */
.pricing-tab-btn .tab-ico { width: 36px; height: 36px; display: block; flex-shrink: 0; }
.pricing-tab-btn .tab-ico-active { display: none; }
.pricing-tab-btn.active .tab-ico-default { display: none; }
.pricing-tab-btn.active .tab-ico-active { display: block; }

/* ============================================================ API */
.api-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.api-content > * { min-width: 0; }
.api-info { min-width: 0; }
.api-example { position: sticky; top: 24px; min-width: 0; max-width: 100%; }
.api-feature { display: flex; gap: 16px; margin-bottom: 24px; }
.api-feature i { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--bg-white); color: var(--navy); border-radius: 14px; font-size: 16px; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.api-feature h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; letter-spacing: -0.01em; }
.api-feature p { font-size: 14px; color: var(--text-body); line-height: 1.7; }
.code-block { background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow-lg); max-width: 100%; }
.code-header { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; background: rgba(255, 255, 255, 0.06); gap: 10px; }
.code-lang { font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); background: var(--volt); padding: 4px 12px; border-radius: var(--radius-full); flex-shrink: 0; }
.code-title { font-size: 12px; color: var(--text-light); }
.code-block pre { padding: 20px; overflow-x: auto; max-width: 100%; }
.code-block code { font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace; font-size: 13px; color: var(--ice); line-height: 1.75; }

/* ============================================================ MODULES */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 18px; }
.module-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 34px 30px; transition: transform var(--transition), box-shadow var(--transition); box-shadow: var(--shadow); }
.module-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.module-icon { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; color: var(--volt); border-radius: 18px; font-size: 22px; margin-bottom: 20px; }
.module-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -0.015em; }
.module-card p { font-size: 15px; color: var(--text-body); margin-bottom: 16px; line-height: 1.7; }
.module-features { list-style: none; margin-bottom: 24px; }
.module-features li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--text-body); }
.module-features li i { color: var(--navy); background: var(--volt); border-radius: var(--radius-full); width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }

/* ============================================================ PODRŠKA (navy ploča) */
.support-section { padding: 56px 0; }
.support-panel {
    background:
        radial-gradient(560px 360px at 108% 10%, rgba(212, 234, 255, 0.14), transparent 60%),
        radial-gradient(420px 320px at -6% 110%, rgba(241, 255, 98, 0.10), transparent 55%),
        var(--navy);
    border-radius: var(--radius-xl);
    display: grid; grid-template-columns: 1.15fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.support-text { padding: 60px 24px 60px 52px; color: #fff; }
.support-text h2 { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.02em; }
.support-text > p { color: rgba(255, 255, 255, 0.78); font-size: 16.5px; max-width: 460px; margin-bottom: 30px; line-height: 1.7; }
.phone-pill { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-full); padding: 12px 26px 12px 12px; width: max-content; max-width: 100%; margin-bottom: 12px; transition: background var(--transition), transform var(--transition); color: #fff; }
.phone-pill:hover { background: rgba(255, 255, 255, 0.16); transform: translateX(4px); color: #fff; }
.phone-pill .ph-icon { width: 46px; height: 46px; border-radius: var(--radius-full); flex-shrink: 0; background: var(--volt); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.phone-pill .ph-label { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); display: block; line-height: 1.4; }
.phone-pill .ph-num { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; line-height: 1.3; }
.support-visual { position: relative; min-height: 380px; }
.support-visual .support-img {
    position: absolute; inset: 0;
    background:
        radial-gradient(360px 300px at 60% 35%, rgba(212, 234, 255, 0.22), transparent 65%),
        linear-gradient(200deg, #1B3576 0%, #112358 70%);
    background-size: cover; background-position: center;
}
/* Kad se doda fotografija agenta, ona prekriva gradijent */
.support-visual .support-img.has-photo { background-image: url('/assets/images/podrska-agent.jpg'); background-size: cover; background-position: center; }

/* ============================================================ FAQ */
.faq-section { padding: 56px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--navy); padding: 22px 26px; }
.faq-q .fq-ic { width: 34px; height: 34px; border-radius: var(--radius-full); flex-shrink: 0; background: var(--ice); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: background 0.25s ease, transform 0.3s ease; }
.faq-item.open .fq-ic { background: var(--volt); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-a-inner { padding: 0 26px 24px; color: var(--text-body); font-size: 15px; line-height: 1.75; }

/* ============================================================ CTA (navy ploča) */
.cta-section { position: relative; overflow: visible; padding: 56px 0 64px; background: transparent; }
.cta-section > .container {
    position: relative;
    background:
        radial-gradient(600px 320px at 50% -30%, rgba(212, 234, 255, 0.16), transparent 60%),
        var(--navy);
    border-radius: var(--radius-xl);
    padding: 72px 48px;
    box-shadow: var(--shadow-lg);
}
.cta-content { position: relative; text-align: center; max-width: 660px; margin: 0 auto; }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-content p { font-size: 17px; color: rgba(255, 255, 255, 0.75); margin-bottom: 32px; line-height: 1.7; }
.cta-content .btn-primary { background: var(--volt); color: var(--navy); }
.cta-content .btn-primary:hover { background: #F7FF8F; color: var(--navy); }
.cta-content .btn-pulse { animation-name: pulseRingVolt; }
.cta-content .btn-pulse:hover { box-shadow: 0 0 0 6px rgba(241, 255, 98, 0.5), 0 16px 36px -12px rgba(0, 0, 0, 0.4); }

/* ============================================================ FOOTER */
.site-footer { background: var(--navy); padding: 64px 0 32px; color: var(--text-light); border-top: none; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 14px; letter-spacing: -0.015em; }
.footer-logo .logo-img { width: 180px; }
.footer-desc { font-size: 14px; color: #93A4CB; line-height: 1.75; }
.footer-col h4, .footer-col .footer-col-title { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--volt); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.09em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #93A4CB; font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 26px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #6F80A6; }

/* ============================================================ PAGE HERO (podstranice — ledena ploča) */
.page-hero { position: relative; padding: 22px 0 12px; overflow: visible; background: transparent; }
.page-hero > .container {
    position: relative; overflow: hidden;
    background:
        radial-gradient(640px 380px at 90% -20%, rgba(255, 255, 255, 0.7), transparent 60%),
        radial-gradient(420px 320px at -6% 116%, rgba(241, 255, 98, 0.2), transparent 55%),
        var(--ice);
    border-radius: var(--radius-xl);
    padding: 58px 52px 52px;
}
.page-hero-content { max-width: 760px; }
.page-hero-content h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--text-dark); margin-bottom: 12px; letter-spacing: -0.02em; }
.page-hero-content h1 i { color: var(--navy); margin-right: 10px; font-size: 0.8em; }
.page-hero-content .hero-badge { margin-bottom: 18px; }
.page-hero-subtitle { font-size: 16.5px; color: var(--text-body); line-height: 1.75; }

/* ============================================================ TIER LEGENDA */
.tier-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 32px; padding: 18px 24px; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.tier-legend-item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-dark); white-space: nowrap; }
.tier-dot { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; }
.tier-legend-range { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ============================================================ TABELE CIJENA DOMENA (bez bordera — zebra) */
.domain-pricing-table-wrap { overflow-x: auto; margin-bottom: 40px; border-radius: var(--radius-lg); background: var(--bg-white); box-shadow: var(--shadow-md); }
.domain-pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-white); }
.domain-pricing-table thead th { position: sticky; top: 0; z-index: 2; background: var(--navy); }
.domain-pricing-table th { padding: 16px 20px 14px; text-align: left; font-family: var(--font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }
.domain-pricing-table th.col-price { text-align: center; color: #fff; box-shadow: inset 0 -4px 0 var(--col-color, transparent); }
.domain-pricing-table th .col-range { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.6); text-transform: none; letter-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.domain-pricing-table th.col-desc, .domain-pricing-table td.col-desc { text-align: left; }
.domain-pricing-table td { padding: 15px 20px; font-size: 14px; color: var(--text-body); }
.domain-pricing-table td.col-ext { font-size: 16px; white-space: normal; color: var(--text-dark); min-width: 190px; }
.domain-pricing-table td.col-ext strong { white-space: nowrap; }
/* Mini opis paketa (npr. "25 GB prostora · Besplatan SSL") ide u SVOJ red ispod naziva */
.domain-pricing-table td.col-ext .col-range { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--text-muted); white-space: normal; text-transform: none; letter-spacing: 0; line-height: 1.5; }
.domain-pricing-table td.col-ext strong { font-weight: 700; letter-spacing: -0.01em; }
.domain-pricing-table td.col-price { text-align: center; white-space: nowrap; }
.domain-pricing-table tbody tr { transition: background var(--transition), box-shadow var(--transition); }
.domain-pricing-table tbody tr:nth-child(even) { background: var(--mist); }
.domain-pricing-table tbody tr:hover { background: var(--ice); box-shadow: inset 3px 0 0 var(--volt); }
.domain-price { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--text-dark); display: block; font-variant-numeric: tabular-nums; }
.domain-cycle { font-size: 11px; color: var(--text-muted); }
.domain-na { color: var(--text-muted); }
.domain-price-renewal { margin-top: 7px; font-size: 14px; color: var(--text-body); }
.domain-na-renewal { display: block; margin-top: 7px; }
.featured-star { color: #E4B90C; margin-left: 7px; font-size: 12px; vertical-align: middle; }

.domain-features-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.domain-feat-item { display: flex; align-items: center; gap: 9px; padding: 11px 20px; background: var(--bg-white); border-radius: var(--radius-full); font-size: 14px; color: var(--text-body); box-shadow: var(--shadow-sm); }
.domain-feat-item i { color: var(--navy); background: var(--volt); border-radius: var(--radius-full); width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }

.domains-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.empty-notice { text-align: center; padding: 52px; color: var(--text-muted); }
.empty-notice i { font-size: 32px; margin-bottom: 12px; display: block; color: var(--navy); }

/* ============================================================ KATALOG — PRETRAGA + BROJAČ + UČITAJ JOŠ */
.catalog { margin-bottom: 40px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; }
.catalog-toolbar .catalog-search-wrap { margin: 0; flex: 1 1 300px; }
.catalog-search-wrap { position: relative; max-width: 460px; margin: 0 0 22px; }
.catalog-search-icon { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); color: var(--text-muted); font-size: 14px; pointer-events: none; }
.catalog-search { width: 100%; padding: 15px 20px 15px 48px; font-family: var(--font-body); font-size: 15px; color: var(--text-dark); background: var(--bg-white); border: none; border-radius: var(--radius-full); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.catalog-search:focus { outline: none; box-shadow: 0 0 0 4px rgba(241, 255, 98, 0.7), var(--shadow-md); }
.catalog-search::placeholder { color: var(--text-muted); }
.catalog-count { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; background: var(--navy); border-radius: var(--radius-full); font-family: var(--font-display); font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; box-shadow: var(--shadow-md); font-variant-numeric: tabular-nums; }
.catalog-count i { color: var(--volt); }
.catalog-row-hidden { display: none; }
.catalog-empty-cell { text-align: center; padding: 36px 20px; color: var(--text-muted); font-size: 14px; }
.catalog-empty-cell i { color: var(--navy); margin-right: 6px; }
.catalog-more { display: flex; justify-content: center; margin-top: 8px; }
.load-more-btn.is-hidden { display: none; }

/* Detaljni redovi paketa u katalogu (specifikacije — klik na red) */
.pkg-row { cursor: pointer; }
.pkg-chevron { color: var(--text-muted); font-size: 11px; margin-left: 8px; transition: transform var(--transition); }
.pkg-row.open .pkg-chevron { transform: rotate(90deg); }
.pkg-row .pkg-chevron { margin-left: 0; margin-right: 8px; }
.pkg-detail-row td { background: var(--mist); padding: 0 20px 18px; }
.pkg-detail { display: flex; flex-wrap: wrap; gap: 20px 28px; padding: 14px 4px 2px; }
.pkg-detail-group .pkg-detail-h { margin: 0 0 8px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-dark); display: flex; align-items: center; gap: 6px; }
.pkg-detail-group .pkg-detail-h i { color: var(--navy); }
.pkg-spec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pkg-spec-list li { font-size: 12.5px; padding: 6px 13px; border-radius: var(--radius-full); background: var(--bg-white); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 7px; color: var(--text-body); }
.pkg-spec-list li i { font-size: 10px; color: var(--navy); background: var(--volt); border-radius: var(--radius-full); width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ============================================================ NAV DROPDOWN — "Usluge" */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body); font-weight: 500; font-size: 14.5px; color: var(--text-body); background: none; border: none; cursor: pointer; padding: 9px 15px; border-radius: var(--radius-full); transition: background var(--transition), color var(--transition); }
.nav-dropdown-toggle:hover { background: var(--ice); color: var(--navy); }
.nav-dropdown-toggle.active { background: var(--ice); color: var(--navy); }
.nav-dropdown-arrow { font-size: 11px; transition: transform var(--transition); }
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px; background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow-xl); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--transition), visibility var(--transition), transform var(--transition); z-index: 1100; }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-link { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text-body); transition: background var(--transition), color var(--transition); }
.nav-dropdown-link i { width: 18px; text-align: center; color: var(--navy); }
.nav-dropdown-link:hover { background: var(--ice); color: var(--navy); }
.nav-dropdown-link.active { background: var(--ice); color: var(--navy); }

/* ============================================================ PRAVNE STRANICE (sadržaj iz GM-a) */
.legal-content { max-width: 860px; margin: 0 auto; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 44px 48px; min-height: 220px; }
.legal-content h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-dark); margin: 28px 0 12px; letter-spacing: -0.015em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-dark); margin: 22px 0 10px; }
.legal-content p { font-size: 15px; color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 0 0 14px 22px; }
.legal-content li { font-size: 15px; color: var(--text-body); line-height: 1.8; margin-bottom: 6px; }
.legal-content a { text-decoration: underline; }

/* ============================================================ BACK TO TOP (suptilno) */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: var(--navy);
    border: none; border-radius: var(--radius-full);
    font-size: 14px; cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.back-to-top.visible { opacity: 0.6; visibility: visible; transform: translateY(0); }
.back-to-top:hover { opacity: 1; background: var(--bg-white); box-shadow: var(--shadow-md); }
.back-to-top:active { transform: scale(0.94); }

/* ============================================================ RESPONSIVE */
/* Vrlo veliki monitori: sadržaj ostaje na plafonu 1400px (nikad preširok) */
@media (min-width: 1750px) {
    .container { width: 1400px; }
}

@media (max-width: 1024px) {
    .api-content { grid-template-columns: 1fr; }
    .api-example { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .support-panel { grid-template-columns: 1fr; }
    .support-text { padding: 44px 32px 12px; }
    .support-visual { min-height: 300px; margin: 24px; border-radius: var(--radius-lg); overflow: hidden; }
}

@media (max-width: 768px) {
    /* ---------- Header ---------- */
    .main-nav { display: none; }
    .main-nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 92px; left: 14px; right: 14px; background: var(--bg-white); border-radius: var(--radius-lg); padding: 14px; gap: 6px; box-shadow: var(--shadow-xl); z-index: 1050; }
    .main-nav.open .nav-link { padding: 13px 16px; text-align: center; }
    .mobile-toggle { display: block; }
    .site-header { padding: 12px 0 6px; }
    .header-inner { height: 62px; padding: 0 8px 0 16px; gap: 10px; }
    .logo-img { width: 138px; }

    /* Jezik: pilule van, kompaktni padajući izbornik unutra */
    .lang-switcher { display: none; }
    .lang-dropdown { display: block; }

    /* Registracija: samo ikonica (okrugla, i dalje pulsira) */
    .header-actions { gap: 6px; }
    .header-actions .btn {}
    .header-actions .btn:last-of-type { display: inline-flex; }
    .btn-register { width: 32px; height: 32px; padding: 0; justify-content: center; }
    .btn-register .btn-register-label { display: none; }
    .btn-login i { font-size: 13px; }
    .btn-login { width: 32px; height: 32px; padding: 0; justify-content: center; }
    .btn-login .btn-login-label { display: none; }
    .btn-login i { font-size: 13px; }

    /* ---------- Širine na mobilnoj (prostor sa strana) ---------- */
    .container { width: calc(100% - 32px); }
    .hero-section > .container { padding: 48px 22px 44px; border-radius: 24px; }
    .page-hero > .container { padding: 38px 22px 34px; border-radius: 24px; }
    .pricing-section > .container { padding: 34px 16px 30px; border-radius: 24px; }
    .cta-section > .container { padding: 48px 24px; border-radius: 24px; }

    /* ---------- Hero ---------- */
    .hero-notice { padding: 8px 16px 8px 9px; gap: 10px; }
    .hero-notice .hn-text { font-size: 12.5px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-stats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-item { padding: 12px 10px; border-radius: 16px; }
    .section { padding: 40px 0; }
    .section-header { margin-bottom: 34px; }

    /* ---------- Kartice: centrirano i uredno ---------- */
    .benefits-grid { grid-template-columns: 1fr; }
    .benefit-card { text-align: center; border-radius: 20px; }
    .benefit-icon { margin-left: auto; margin-right: auto; }
    .benefit-phones { align-items: center; }
    .categories-grid { grid-template-columns: 1fr; }
    .category-card { text-align: center; border-radius: 20px; }
    .category-icon { margin-left: auto; margin-right: auto; }
    .pricing-grid, .modules-grid { grid-template-columns: 1fr; }
    .module-card { border-radius: 20px; }
    .module-icon { margin-left: auto; margin-right: auto; }
    .module-card { text-align: center; }
    .module-features li { justify-content: center; }
    .packages-grid { grid-template-columns: 1fr; }
    .package-card { border-radius: 20px; }

    /* ---------- Tabovi: vertikalno, puna širina, bez repa ---------- */
    .pricing-tabs { flex-direction: column; width: 100%; align-items: stretch; border-radius: 22px; padding: 6px; gap: 4px; margin-bottom: 26px; }
    .pricing-tab-btn { justify-content: center; padding: 14px 16px; font-size: 14px; border-radius: 18px; }
    .pricing-tab-indicator { display: none; }
    .pricing-tabs.has-indicator .pricing-tab-btn.active { background: var(--navy); }
    .pricing-tab-btn.active i { color: var(--volt); }

    /* ---------- Tabele -> kartice (bez horizontalnog scrolla) ---------- */
    .domain-pricing-table-wrap { overflow: visible; background: transparent; box-shadow: none; border-radius: 0; margin-bottom: 32px; }
    .domain-pricing-table { min-width: 0; width: 100%; }
    .domain-pricing-table thead { display: none; }
    .domain-pricing-table, .domain-pricing-table tbody { display: block; }
    .domain-pricing-table tbody tr { display: block; background: var(--bg-white); border-radius: 20px; box-shadow: var(--shadow); padding: 8px 0 10px; margin-bottom: 14px; }
    .domain-pricing-table tbody tr:nth-child(even) { background: var(--bg-white); }
    .domain-pricing-table tbody tr:hover { background: var(--bg-white); box-shadow: var(--shadow-lg); }
    .domain-pricing-table tbody tr.catalog-row-hidden { display: none; }
    .domain-pricing-table tbody tr[hidden] { display: none; }
    .domain-pricing-table td { display: block; padding: 10px 18px; font-size: 14px; }
    .domain-pricing-table td.col-ext { font-size: 17px; text-align: center; padding: 14px 18px 10px; margin-bottom: 4px; position: relative; }
    .domain-pricing-table td.col-ext::after { content: ''; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--volt); margin: 10px auto 0; }
    .domain-pricing-table td.col-ext .col-range { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: none; letter-spacing: 0; white-space: normal; }
    .domain-pricing-table td.col-price { position: relative; text-align: right; padding: 10px 18px 10px 46%; min-height: 44px; }
    .domain-pricing-table td.col-price::before { content: attr(data-nivo); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 40%; text-align: left; font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--navy); line-height: 1.35; white-space: normal; }
    .domain-pricing-table td.col-price + td.col-price { box-shadow: inset 0 1px 0 var(--mist); }
    .domain-price { font-size: 15px; }
    .domain-price-renewal { margin-top: 5px; font-size: 13.5px; }
    .catalog-empty-cell { display: block; text-align: center; padding: 26px 16px; }
    .pkg-detail-row td { padding: 0 18px 14px; text-align: left; }
    .pkg-detail { padding: 0; }

    /* ---------- Katalog alatna traka ---------- */
    .catalog-toolbar { flex-direction: column; align-items: stretch; }
    .catalog-search-wrap { max-width: 100%; }
    .catalog-count { width: 100%; justify-content: center; }
    .catalog-more { margin-top: 6px; }

    /* ---------- Podrška / FAQ / CTA ---------- */
    .support-text { padding: 36px 22px 6px;}
    .support-text > p { margin-left: auto; margin-right: auto; text-align: center;  }
    .support-text > h2 { margin-left: auto; margin-right: auto; text-align: center;  }
    .phone-pill { margin-left: auto; margin-right: auto; width: 100%; max-width: 320px; }
    .support-visual { min-height: 240px; margin: 18px 16px 16px; border-radius: 18px; }
    .legal-content { padding: 28px 20px; border-radius: 20px; }
    .faq-q { font-size: 15px; padding: 18px 20px; }
    .faq-a-inner { padding: 0 20px 20px; }

    /* ---------- Ostalo ---------- */
    .back-to-top { right: 14px; bottom: 16px; width: 38px; height: 38px; font-size: 13px; }
    .tier-legend { gap: 10px 16px; padding: 14px 16px; justify-content: center; border-radius: 18px; }
    .domain-features-grid { gap: 8px; justify-content: center; }
    .domain-feat-item { padding: 9px 14px; font-size: 13px; }
    .domains-cta { flex-direction: column; align-items: stretch; }
    .pricing-view-all .btn { width: 100%; justify-content: center; }
    .page-hero-content { text-align: center; }
    .page-hero-content h1 { font-size: 26px; }

    /* API primjer poziva ne smije preći širinu ekrana */
    .code-block pre { padding: 16px 14px; }
    .code-block code { font-size: 11.5px; white-space: pre-wrap; word-break: break-word; }
    .code-header { flex-wrap: wrap; }
    .api-feature { text-align: left; }

    /* ---------- Footer: Usluge + Resursi u redu, Kontakt sam centriran ---------- */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .footer-grid .footer-col:first-child { grid-column: 1 / -1; text-align: center; }
    .footer-grid .footer-col:first-child .footer-logo { justify-content: center; }
    .footer-grid .footer-col { grid-column: 1 / -1; text-align: center; }
    .footer-bottom { padding-top: 22px; }

    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle { width: 100%; justify-content: center; padding: 13px 16px; font-size: 15px; }
    .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 2px 0; min-width: 0; max-height: 0; overflow: hidden; transition: max-height var(--transition); }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown:hover .nav-dropdown-menu { max-height: 0; }
    .nav-dropdown.open .nav-dropdown-menu { max-height: 240px; }
    .nav-dropdown-link { padding: 11px 8px; justify-content: center; }
    
    .catalog-toolbar .catalog-search-wrap { flex: auto; }
    .catalog-search-icon { top: 22px; }
    .btn {font-size: 12px; }
}

@media (max-width: 480px) {
    .container { width: calc(100% - 28px); }
    .hero-content h1 { font-size: 27px; }
    .hero-subtitle { font-size: 15px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .section-header h2 { font-size: 23px; }
    .section-header p { font-size: 14.5px; }
    .modal-box { padding: 28px; border-radius: 24px; }
    .page-hero-subtitle { font-size: 14px; }
    .domain-pricing-table td.col-price { padding-left: 50%; }
    .domain-pricing-table td.col-price::before { width: 44%; }
    .pricing-tab-btn { padding: 13px 14px; font-size: 13px; }
    .catalog-search { font-size: 14px; padding: 13px 14px 13px 44px; }
    .hero-notice { align-items: center; }
    .hero-notice .hn-orb { margin-top: 2px; }
}

/* ============================================================ REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn-pulse, .hero-notice .hn-orb { animation: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}



/* =============================================================================
   LICENCE — filter kategorija i oznaka kategorije u tabeli
   ========================================================================== */

.lic-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.lic-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-white);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color var(--transition), color var(--transition),
                background var(--transition), box-shadow var(--transition),
                transform var(--transition);
}

.lic-cat:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.lic-cat.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.lic-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-full);
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    transition: background var(--transition), color var(--transition);
}

.lic-cat:hover .lic-cat-count {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.lic-cat.active .lic-cat-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* Oznaka kategorije uz naziv licence u tabeli */
.lic-chip {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    vertical-align: middle;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .lic-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        margin-bottom: 18px;
    }
    .lic-cats::-webkit-scrollbar { display: none; }

    .lic-cat { padding: 7px 12px; font-size: 12px; }

    .lic-chip {
        display: block;
        margin: 5px 0 0;
        width: fit-content;
    }
}