:root {
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-2xl: 32px;
  --fs-hero: 48px;

  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
}

/* =====================
   RESET & OSNOVE
===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: #222;
  background: #fff;
  padding-top: 60px;
}

p {
  color: #444;
}

/* =====================
   HEADER & NAV
===================== */
header {
  border-bottom: 1px solid #e6e6e6;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-height: 40px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #444;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  display: inline-block;
  line-height: 1;
  transition: border-color 0.3s ease, color 0.2s ease;
}

.nav a:hover {
  border-bottom-color: currentColor;
  color: #111;
}

.nav-cta {
  background: #e63946;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.3s ease;
}

/* =====================
   DROPDOWN
===================== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  list-style: none;
  padding: 8px 0;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: #111;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* =====================
   MOBILE MENU TOGGLE
===================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #111;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================
   HERO
===================== */
.hero {
  text-align: center;
  padding: 50px 20px 70px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  min-height: 420px;
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero p {
  font-size: var(--fs-lg);
  margin-bottom: 36px;
  font-weight: 600;
  color: #1d1d1f;
  background-color: rgb(227, 236, 247);
  padding: 12px 16px;
  border-radius: 8px;
  display: inline-block;
}

.hero p:nth-of-type(2) {
  background-color: rgb(255, 232, 214);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 60px;
}

#hero-text .accent {
  position: relative;
  color: #1d3557;
}

#hero-text .accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: #e63946;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 1s ease forwards;
  animation-delay: 0.6s;
}

.highlight-box {
  display: block;
  width: fit-content;
  max-width: 80%;
  margin: 20px auto -40px;
  background-color: #ffffff;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* =====================
   BUTTONS
===================== */
.btn {
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.call-btn {
  background: #e63946;
  color: #fff;
  border: none;
}

.call-btn i {
  color: #fff;
}

.whatsapp-btn {
  border: 1px solid #111;
  color: #111;
}

.whatsapp-btn i {
  color: #25D366;
  font-size: 20px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.email-btn {
  border: 1px solid #111;
  color: #111;
}

.email-btn i {
  color: #0072c6;
  font-size: 20px;
}

/* =====================
   MAIN CONTENT
===================== */
.main-wrapper {
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-left: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  box-shadow:
    0 1px 1px rgba(0,0,0,0.02),
    0 4px 10px rgba(0,0,0,0.05);
}

.main-wrapper p {
  margin-bottom: 1.4rem;
  line-height: 1.65;
  color: #444;
}

.main-wrapper h2 {
  font-weight: 600;
  font-size: var(--fs-2xl);
  margin-bottom: 16px;
}

.main-wrapper a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

/* =====================
   MAIN OUTER
===================== */
.main-outer {
  background: linear-gradient(180deg, #fff 0%, #ececec 100%);
  padding: 60px 20px;
  min-height: calc(100vh - 60px);
  width: 100%;
  box-sizing: border-box;
}

/* === SLIKA U MAIN-WRAPPER === */
.main-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
/* =====================
   SERVICES
===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  justify-items: center;
}

.service-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 150px;
  text-align: center;
}

.icon-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}

.icon-box ul {
  padding-left: 20px;
  margin: 0;
  text-align: left;
}

.icon-box li {
  margin-bottom: 8px;
  text-align: left;
}

.icon-circle-red {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background-color: #ff4d4d;
  border-radius: 50%;
  margin-bottom: 10px;
  transition: transform 0.3s, background-color 0.3s;
}

.icon-circle-red i {
  color: #fff;
  font-size: 30px;
}

.icon-circle-red:hover {
  background-color: #e60000;
  transform: scale(1.1);
}

.icon-box h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.nested-list {
  padding-left: 20px;
  margin-bottom: 16px;
}

.nested-list li {
  margin-bottom: 6px;
}

/* =====================
   CLIENTS
===================== */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.client-logo {
  height: 80px;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.client-logo img {
  max-height: 40px;
  max-width: 140px;
  opacity: 1;
  transition: transform 0.25s ease;
}

.client-logo:hover img {
  transform: scale(1.05);
}

.clients-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollClients 40s linear infinite;
}

.clients {
  padding: 80px 0;
}

.clients-marquee {
  background: #f5f5f5;
  padding: 40px 0;
  margin-top: 40px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  width: 100%;
  margin-left: 0;
  overflow: hidden;
}

/* =====================
   FAQ CHAT
===================== */
#faqChatWindow {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.msg {
  max-width: 70%;
  padding: 10px 14px;
  margin: 6px 0;
  border-radius: 20px;
  line-height: 1.4;
  word-wrap: break-word;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  animation: fadeIn 0.3s ease-in-out;
}

.msg.user {
  background: #007bff;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.msg.bot {
  background: #e0e0e0;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 0;
}

.msg.typing::after {
  content: '...';
  animation: blink 1s infinite;
}

#faqSuggestions {
  margin-top: 10px;
}

#faqSuggestions button {
  font-size: 16px;
  padding: 8px 12px;
  margin: 5px 4px;
  border-radius: 10px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

#faqSuggestions button:hover {
  background: #e0e0e0;
}

button.copyBtn {
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 12px;
  cursor: pointer;
}

/* =====================
   TRANSLATOR
===================== */
#translator-section h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.forma_jezik,
.swap-btn,
.translate-btn {
  font-size: 16px;
  padding: 8px 12px;
  margin: 5px 4px 10px 0;
  border-radius: 10px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

.forma_jezik:hover,
.swap-btn:hover,
.translate-btn:hover {
  background: #e0e0e0;
}

#input_text,
#output {
  width: 100%;
  height: 140px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
  resize: vertical;
}

#input_text {
  background: #f5f5f5;
}

#output {
  background: #fff;
}

.ai-expand {
  margin-bottom: 40px;
}


/* =====================
   CONTACT
===================== */
#contact {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
}

.contact-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.info-wrap {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 40px;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.info-icon i {
  color: #fff;
  font-size: 28px;
}

.info-wrap h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-wrap h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 10px;
}

.info-wrap p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.php-email-form {
  width: 100%;
  max-width: 700px;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.php-email-form input,
.php-email-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  color: #000;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

textarea {
  resize: vertical;
  margin-bottom: 6px;
}

.form-text {
  font-size: 0.85rem;
  color: #777;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.submit-wrap {
  text-align: center;
}

button[type="submit"] {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 12px 36px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #b02a37;
}

label {
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

input[type="number"],
select {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: all 0.25s ease;
}

input[type="number"] {
  width: 200px;
}

select {
  width: 220px;
}

input[type="number"]:focus,
select:focus {
  border-color: #f7931a;
  box-shadow: 0 0 5px rgba(247,147,26,0.5);
  outline: none;
}

/* =====================
   CRYPTO WIDGET
===================== */
.fiat-box {
  margin-bottom: 12px;
}

.fiat-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.fiat-box input,
.fiat-box select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  font-size: 15px;
}

#fiatInput,
#valuta {
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.crypto-widget {
  background: #ffffff;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  max-width: 360px;
  margin: 0 auto;
}

#btc {
  color: #f7931a;
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 0 6px rgba(247,147,26,0.2);
}

/* =====================
   FOOTER
===================== */
#footer {
  position: relative;
  background: #5f6368;
  color: #fff;
  padding: 80px 0 40px;
  margin-top: 4rem;
  overflow: hidden;
}

#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #e63946;
  z-index: 2;
}

#footer .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: flex-start;
}

#footer .container > div {
  flex: 1;
  min-width: 180px;
}

#footer .container > div:first-child {
  flex: 2;
  min-width: 220px;
}

#footer .copyright {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 1rem;
  color: #ffffff;
  font-size: 0.9rem;
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .img-fluid {
  max-height: 50px;
  margin-bottom: 1.5rem;
}

#footer img {
  max-height: 50px;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  transition: opacity 0.3s ease;
  filter: none;
}

#footer img:hover {
  opacity: 1;
}

#footer p {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.6rem 0;
}

#footer a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

#footer a:hover {
  color: #ffffff;
  border-bottom-color: #e63946;
}

#footer h5 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.75rem;
}

#footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #e63946;
}

#footer ul li {
  margin-bottom: 0.8rem;
}

#footer ul li a {
  color: #ffffff;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.3s ease;
  padding-left: 0;
}

#footer ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
  border-bottom: none;
}

#footer > div:last-child {
  width: 100%;
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.9rem;
}

.email-link {
  color: #4285F4;
  text-decoration: none;
  font-weight: 500;
}

.email-link:hover {
  text-decoration: underline;
}

.whatsapp-link {
  color: #25D366;
  margin-left: 6px;
}

.viber-link {
  color: #8e24aa;
  margin-left: 6px;
}

.copyBtn {
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 12px;
  cursor: pointer;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#footer .footer-cta {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

#footer .circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.14);
  flex: 0 0 auto;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

#footer .circle-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.22);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

#footer .circle-btn.call i {
  color: #f2f2f2;
}

#footer .circle-btn.whatsapp i {
  color: #9af5b5;
}

#footer .circle-btn.email i {
  color: #a9c4ff;
}

/* =====================
   SEO & UTILITY
===================== */
.faq-seo {
  position: absolute;
  left: -9999px;
  height: 1px;
  overflow: hidden;
}

.ms-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms-check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.ms-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='%235e6a7d' stroke-width='1.6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.85;
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes underline {
  to { transform: scaleX(1); }
}

@keyframes scrollClients {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@keyframes wave {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-25%) translateY(20px); }
  100% { transform: translateX(0) translateY(0); }
}

/* =====================
   RESPONSIVE - TABLET & MOBILE (768px)
===================== */
@media (max-width: 768px) {
  /* -------- Mobile menu -------- */
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    max-height: 100vh;
    background: #f3f6f8;
    padding: 80px 0 20px;
    border-top: none;
    box-shadow: 4px 0 12px rgba(0,0,0,0.15);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.active {
    display: flex;
    left: 0;
  }

  .nav a {
    margin: 0;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 400;
    color: #323130;
    border-bottom: 1px solid #e1e3e6;
    width: 100%;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
  }

  .nav a:hover {
    background: #e1e3e6;
    color: #0078d4;
    border-bottom-color: #e1e3e6;
  }

  .nav .nav-cta {
    background: transparent;
    color: #0078d4 !important;
    font-weight: 600;
    border: none;
    border-bottom: 1px solid #e1e3e6;
    border-radius: 0;
    padding: 16px 24px;
    margin: 0;
  }

  .nav .nav-cta:hover {
    background: #e1e3e6;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999;
  }

  .dropdown {
    width: 100%;
    border-bottom: 1px solid #e1e3e6;
  }

  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown > a::after {
    content: "›";
    font-size: 20px;
    color: #605e5c;
    transition: transform 0.2s ease;
  }

  .dropdown.active > a::after {
    transform: rotate(90deg);
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: #e8e8e8;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    font-size: 16px;
    padding: 14px 24px 14px 40px;
    border-bottom: 1px solid #d2d0ce;
    color: #605e5c;
  }

  .dropdown-menu a:hover {
    background: #d2d0ce;
    color: #0078d4;
  }

  /* -------- Ostalo -------- */
  .main-outer {
    padding: 20px 15px;
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  #services .row {
    grid-template-columns: 1fr;
  }

  #contact {
    padding: 40px 0;
  }

  .php-email-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .info-wrap h2 {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }

  .btn i {
    font-size: 18px;
  }

  .email-btn i {
    font-size: 18px;
  }

  #footer {
    background: #5f6368 !important;
    padding: 60px 0 30px;
  }

  #footer .container {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  #footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  #footer ul li a:hover {
    padding-left: 0;
  }

  #footer > .container > div:first-child {
    min-width: 100%;
  }

  #footer > div:last-child {
    margin-top: 2rem;
  }

  #footer p,
  #footer a,
  #footer h5,
  #footer ul li a,
  #footer > div:last-child {
    color: #ffffff !important;
  }
}

/* =====================
   RESPONSIVE - MOBILE SMALL (480px)
===================== */
@media (max-width: 480px) {
  .hero::before {
    background-size: 340px auto;
  }

  .main-outer {
    padding: 15px 10px;
    padding-top: 15px;
    padding-bottom: 30px;
  }

  #footer {
    padding: 40px 0 20px;
  }

  #footer .container {
    gap: 2rem;
    padding: 0 15px;
  }

  #footer img {
    max-height: 40px;
  }

  #footer h5 {
    font-size: 1rem;
  }
}

/* ===== AI VS HUMAN 2026 ===== */
.ai-vs-human {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.ai-vs-human h2 {
    text-align: center;
    color: #0f0f23;
    margin-bottom: 50px;
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ai-vs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.ai-column,
.human-column {
    padding: 35px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* ISTE BOJE NA DESKTOPU I MOBILNOM */
.ai-column {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

.ai-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.human-column {
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.human-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #f87171);
}

.ai-column h3,
.human-column h3 {
    margin-bottom: 25px;
    font-size: 1.25em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-column h3 {
    color: #1e40af;
}

.human-column h3 {
    color: #991b1b;
}

/* LISTE — bez tacaka i štikliranja */
.ai-column ul,
.human-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-column li,
.human-column li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    font-size: 0.95em;
}

.ai-column li:last-child,
.human-column li:last-child {
    border-bottom: none;
}

/* Ikone preko CSS */
.ai-column li::before {
    content: '?';
    color: #3b82f6;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.human-column li::before {
    content: '?';
    color: #dc2626;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* Negativne stavke */
.ai-column li.negative::before,
.human-column li.negative::before {
    content: '×';
    font-size: 1.2em;
    line-height: 1;
}

/* Pozitivne stavke */
.ai-column li.positive::before,
.human-column li.positive::before {
    content: '?';
    font-size: 1.1em;
}

.note {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 0.9em;
    color: #64748b;
    font-style: normal;
    line-height: 1.5;
}

/* ===== MOBILNA — ZADRŽANE ISTE BOJE ===== */
@media (max-width: 768px) {
    .ai-vs-human {
        margin: 50px auto;
        padding: 0 15px;
    }

    .ai-vs-human h2 {
        font-size: 1.7em;
        margin-bottom: 35px;
    }

    .ai-vs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ai-column,
    .human-column {
        padding: 25px;
        /* ISTE BOJE KAO NA DESKTOPU — nema promene */
    }

    .ai-column li,
    .human-column li {
        padding: 10px 0;
        font-size: 0.92em;
    }
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
    .ai-column {
        background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
        border-color: #334155;
    }
    .human-column {
        background: linear-gradient(145deg, #450a0a 0%, #1a0505 100%);
        border-color: #7f1d1d;
    }
    .ai-vs-human h2 {
        color: #f8fafc;
    }
    .ai-column h3 {
        color: #60a5fa;
    }
    .human-column h3 {
        color: #f87171;
    }
    .ai-column li,
    .human-column li {
        border-color: rgba(255,255,255,0.08);
        color: #cbd5e1;
    }
    .note {
        color: #94a3b8;
        border-color: rgba(255,255,255,0.08);
    }
}

/* ===== KALKULATOR CENE ===== */
.kalkulator-section {
    background: #f0f4f8;
    padding: 40px 20px;
    margin: 30px 0;
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.kalkulator-section h2 {
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 30px;
}

.kalkulator-box {
    display: grid;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.kalkulator-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.kalkulator-box input,
.kalkulator-box select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.kalkulator-result {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #e63946;
}

.kalkulator-result .label {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.kalkulator-result .price-din {
    margin: 10px 0 0 0;
    font-size: 2em;
    font-weight: bold;
    color: #1a1a2e;
}

.kalkulator-result .price-eur {
    margin: 5px 0 0 0;
    color: #888;
    font-size: 0.85em;
}

.kalkulator-result .note {
    margin: 5px 0 0 0;
    color: #888;
    font-size: 0.85em;
}

.kalkulator-btn {
    background: #e63946;
    color: #ffffff !important;  /* ? BELO, sa !important za sigurnost */
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    display: block;
    transition: background 0.3s ease, transform 0.2s ease;
}

.kalkulator-btn:hover {
    background: #b02a37;
    color: #ffffff !important;  /* ? BELO i na hover */
    transform: translateY(-2px);
}

/* ===== MOBILNA ===== */
@media (max-width: 768px) {
    .kalkulator-section {
        padding: 25px 15px;
        margin: 20px 0;
    }

    .kalkulator-section h2 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .kalkulator-box input,
    .kalkulator-box select {
        padding: 10px;
        font-size: 15px;
    }

    .kalkulator-result .price-din {
        font-size: 1.6em;
    }

    .kalkulator-result .price-eur {
        display: block;
        font-size: 0.9em;
    }
}

/* =====================
   LOGO + SUBTITLE
===================== */
.logo {
  display: inline-flex;
  align-items: center;      /* vertikalno centriran */
  gap: 10px;
  text-decoration: none;
}

.logo img {
  max-height: 40px;
  display: block;
}

.swan-subtitle {
  font-size: 14px;
  font-weight: 400;           /* tanja slova */
  color: #b0b0b0;             /* suptilno siva */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 10px;
}

/* Hover efekat */
.logo:hover .swan-subtitle {
  color: #111;
}

/* Mobilna */
@media (max-width: 768px) {
  .logo img {
    max-height: 34px;
  }
  
  .swan-subtitle {
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-top: 10px;
  }
}

/* Hover efekat */
.logo:hover .swan-subtitle {
  color: #111;
}

/* Mobilna */
@media (max-width: 768px) {
  .logo img {
    max-height: 34px;
  }
  
  .swan-subtitle {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}

/* === OSNOVNO === */
.main-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.7;
  color: #4a4a4a;
}

/* === TIPOGRAFIJA === */
.lead {
  font-size: 1.15rem;
  color: #5c4b37;
  margin-bottom: 0.5rem;
}

.hero-sub {
  opacity: 0.9;
  font-size: 0.95rem;
  color: #6b5b4f;
}

h2 {
  color: #3d3d3d;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h3 {
  color: #4a4a4a;
  margin-top: 2rem;
}

h4 {
  margin-top: 0;
  color: #e07a5f;
  font-size: 1.2rem;
}

/* === DETAILS / EXPAND === */
.ai-expand {
  background: #faf8f5;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.ai-expand summary {
  cursor: pointer;
  font-weight: 600;
  color: #6b5b4f;
  list-style: none;
}

.ai-expand summary::-webkit-details-marker {
  display: none;
}

/* === TABELA TRANSKREACIJE === */
.transcreation-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.transcreation-table thead tr {
  background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
}

.transcreation-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #2d5016;
}

.transcreation-table td {
  padding: 1rem;
}

.transcreation-table tbody tr:nth-child(1) {
  background: #fff9f0;
}

.transcreation-table tbody tr:nth-child(1) td {
  border-bottom: 1px solid #f0e6d3;
  color: #5c4b37;
}

.transcreation-table tbody tr:nth-child(2) {
  background: #f0f7ff;
}

.transcreation-table tbody tr:nth-child(2) td {
  border-bottom: 1px solid #d3e0f0;
  color: #3a4a5c;
}

.transcreation-table tbody tr:nth-child(3) {
  background: #fff0f5;
}

.transcreation-table tbody tr:nth-child(3) td {
  color: #5c3745;
}

.term-staking { color: #e07a5f; }
.term-gas { color: #3d85c6; }
.term-hodl { color: #c27ba0; }

/* === LISTA USLUGA === */
.services-list {
  list-style: none;
  padding: 0;
}

.services-list li {
  padding: 0.6rem 0 0.6rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0 8px 8px 0;
}

.services-list li:nth-child(1) {
  border-left: 4px solid #a8e6cf;
  background: #f8fdf5;
}

.services-list li:nth-child(2) {
  border-left: 4px solid #ffd3b6;
  background: #fff8f3;
}

.services-list li:nth-child(3) {
  border-left: 4px solid #ffaaa5;
  background: #fff5f4;
}

.services-list li:nth-child(4) {
  border-left: 4px solid #ff8b94;
  background: #fff0f1;
}

.services-list li:nth-child(5) {
  border-left: 4px solid #a8d8ea;
  background: #f5fbfd;
}

.services-list li:nth-child(6) {
  border-left: 4px solid #aa96da;
  background: #f8f5ff;
}

.services-list li:nth-child(7) {
  border-left: 4px solid #fcbad3;
  background: #fff5f8;
}

.services-list li:nth-child(8) {
  border-left: 4px solid #ffffd2;
  background: #fffef5;
}

.services-list li:nth-child(9) {
  border-left: 4px solid #96ceb4;
  background: #f5faf7;
}

/* === INTERAKTIVNI TERMINI === */
.section-note {
  font-size: 0.9rem;
  opacity: 0.8;
  color: #6b5b4f;
}

.terminology-explorer {
  background: linear-gradient(135deg, #e0f7fa 0%, #f3e5f5 100%);
  padding: 1.5rem;
  border-radius: 16px;
  margin: 1.5rem 0;
}

.term-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.term-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 20px;
  background: #fff;
  color: #5c4b37;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.term-buttons button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

#term-display {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  min-height: 120px;
}

.term-placeholder {
  color: #888;
  font-style: italic;
  margin: 0;
}

.term-grid {
  display: grid;
  gap: 0.8rem;
}

.term-card {
  padding: 0.8rem 1rem;
  border-radius: 8px;
}

.term-sr {
  background: #fff9f0;
  border-left: 4px solid #ffd3b6;
}

.term-de {
  background: #f0f7ff;
  border-left: 4px solid #a8d8ea;
}

.term-jp {
  background: #fff0f5;
  border-left: 4px solid #fcbad3;
}

/* === KALKULATOR === */
.calculator-box {
  background: linear-gradient(135deg, #fff9f0 0%, #f0f7ff 100%);
  padding: 1.5rem;
  border-radius: 16px;
  margin: 1.5rem 0;
  max-width: 400px;
}

.calculator-box label {
  display: block;
  margin-bottom: 0.3rem;
  color: #5c4b37;
  font-size: 0.9rem;
}

.calculator-box input,
.calculator-box select {
  width: 100%;
  padding: 0.6rem;
  border: 2px solid #e0d5c5;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
  box-sizing: border-box;
}

.btc-result {
  font-size: 1.1rem;
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  text-align: center;
}

.btc-result strong {
  color: #e07a5f;
}

.btc-result span {
  font-family: monospace;
  font-size: 1.2rem;
  color: #3d3d3d;
}

/* === BITCOIN SIMBOL === */
.btc-symbol {
  color: #F7931A;
  display: inline-block;
  transform: rotate(14deg);
  font-size: 2rem;
  vertical-align: middle;
}

.why-matters {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 1rem;
  padding: 1rem;
  background: #faf8f5;
  border-radius: 8px;
  border-left: 4px solid #ffd3b6;
}

/* === FAQ === */
.faq {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.2rem;
  border-radius: 12px;
  border-left: 4px solid;
}

.faq-item h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.faq-green {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-color: #81c784;
}

.faq-green h3 { color: #2e7d32; }

.faq-blue {
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
  border-color: #64b5f6;
}

.faq-blue h3 { color: #1565c0; }

.faq-purple {
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
  border-color: #ba68c8;
}

.faq-purple h3 { color: #6a1b9a; }

.faq-orange {
  background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
  border-color: #ffb74d;
}

.faq-orange h3 { color: #e65100; }

.faq-indigo {
  background: linear-gradient(135deg, #f3e5f5 0%, #e8eaf6 100%);
  border-color: #7986cb;
}

.faq-indigo h3 { color: #283593; }

.faq-teal {
  background: linear-gradient(135deg, #e0f7fa 0%, #e8f5e9 100%);
  border-color: #4db6ac;
}

.faq-teal h3 { color: #00695c; }

/* === CTA === */
.cta-box {
  background: linear-gradient(135deg, #ffe0b2 0%, #ffccbc 100%);
  padding: 2.5rem;
  margin: 2rem 0;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cta-box h3 {
  margin-top: 0;
  color: #5d4037;
  font-size: 1.3rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
  color: #6d4c41;
}

.btn-cta {
  background: #e07a5f;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(224,122,95,0.3);
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(224,122,95,0.4);
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .main-wrapper {
    padding: 1rem;
  }
  
  .transcreation-table {
    font-size: 0.85rem;
  }
  
  .transcreation-table th,
  .transcreation-table td {
    padding: 0.6rem;
  }
  
  .term-buttons {
    justify-content: center;
  }
  
  .calculator-box {
    max-width: 100%;
  }
}

/* --- Kimi Avatar --- */
.kimi-avatar {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 72px;
  height: 72px;
  z-index: 99999;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kimi-avatar:hover {
  transform: scale(1.12);
}

.kimi-avatar:active {
  transform: scale(0.95);
}

/* --- Face --- */
.kimi-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgb(227, 236, 247);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 24px rgba(180, 195, 215, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.06),
    inset -4px -4px 12px rgba(0, 0, 0, 0.04),
    inset 4px 4px 12px rgba(255, 255, 255, 0.6);
  position: relative;
  animation: kimiFloat 4s ease-in-out infinite;
}

/* --- Eyes Container --- */
.kimi-avatar .eyes {
  display: flex;
  gap: 14px;
  transform: translateY(-2px);
  position: relative;
  z-index: 2;
}

/* --- Eye (white sclera) --- */
.kimi-avatar .eye {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  --px: 0px;
  --py: 0px;
}

/* --- Eyelid (for realistic blinking) --- */
.kimi-avatar .eye::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(200, 212, 230);
  border-radius: 50%;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.12s ease;
  z-index: 3;
}

.kimi-avatar .eye.blinking::before {
  transform: scaleY(1);
}

/* --- Pupil --- */
.kimi-avatar .eye::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #1a1a2e;
  border-radius: 50%;
  top: calc(50% + var(--py));
  left: calc(50% + var(--px));
  transform: translate(-50%, -50%);
  transition: top 0.15s ease, left 0.15s ease;
}

/* --- Eye highlight --- */
.kimi-avatar .eye > span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  top: 3px;
  right: 3px;
  z-index: 2;
  pointer-events: none;
}

/* --- Animations --- */
@keyframes kimiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- FAQ Chat Popup — VIŠI PROZOR --- */
.faq-chat-popup {
  position: fixed;
  bottom: 90px;
  right: 15px;
  width: calc(100vw - 30px);
  max-width: 520px;
  max-height: 85vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 99998;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.faq-chat-popup.active {
  display: flex;
}

.faq-chat-popup .faq-chat-header {
  background: #e6e4e8; /* pastel zelena */
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #c8e6c9;
  flex-shrink: 0;
}

.faq-chat-popup .faq-chat-header .close-btn {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0 4px;
  -webkit-tap-highlight-color: transparent;
}

/* --- CHAT WINDOW — veca visina --- */
.faq-chat-popup #faqChatWindow {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  max-height: 55vh;
  min-height: 120px;
  border: none;
  border-radius: 0;
  -webkit-overflow-scrolling: touch;
}

/* --- PORUKE --- */
.faq-chat-popup .msg {
  max-width: 85%;
  padding: 12px 16px;
  margin: 8px 0;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 15px;
  word-wrap: break-word;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  animation: fadeIn 0.25s ease-in-out;
}

.faq-chat-popup .msg.user {
  background: #007bff;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.faq-chat-popup .msg.bot {
  background: #f0f0f0;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.faq-chat-popup .msg.typing::after {
  content: '...';
  animation: blink 1s infinite;
}

/* --- SUGESTIJE — povecan font pitanja --- */
.faq-chat-popup .faq-suggestions {
  padding: 12px 14px;
  border-top: 1px solid #eee;
  background: #e6e4e8;
  flex-shrink: 0;
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.faq-chat-popup .faq-suggestions button {
  font-size: 15px;                     /* ? bilo 13px */
  padding: 10px 16px;                  /* ? bilo 8px 14px */
  margin: 5px 4px;                     /* ? bilo 4px 3px */
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  white-space: normal;
  text-align: left;
  line-height: 1.5;                    /* ? bilo 1.4 */
  max-width: 100%;
}

.faq-chat-popup .faq-suggestions button:hover,
.faq-chat-popup .faq-suggestions button:active {
  background: rgb(227, 236, 247);
  border-color: rgb(180, 200, 225);
}

/* --- Overlay --- */
.faq-chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
  z-index: 99997;
  display: none;
}

.faq-chat-overlay.active {
  display: block;
}

/* --- Desktop --- */
@media (min-width: 769px) {
  .faq-chat-popup {
    width: 480px;
    right: 25px;
    bottom: 110px;
    max-height: 80vh;
  }

  .faq-chat-popup #faqChatWindow {
    max-height: 50vh;
  }

  .faq-chat-popup .faq-suggestions {
    max-height: 200px;
  }

  /* Desktop: još malo veci font */
  .faq-chat-popup .faq-suggestions button {
    font-size: 15px;
    padding: 10px 16px;
  }

  .faq-chat-popup .msg {
    max-width: 80%;
    font-size: 15px;
  }
}

/* --- Mobilni small --- */
@media (max-width: 480px) {
  .faq-chat-popup {
    bottom: 85px;
    right: 10px;
    width: calc(100vw - 20px);
    max-height: 88vh;
  }

  .faq-chat-popup #faqChatWindow {
    max-height: 58vh;
  }

  .faq-chat-popup .faq-suggestions {
    max-height: 200px;
  }

  /* Mobilni: font pitanja povecan */
  .faq-chat-popup .faq-suggestions button {
    font-size: 14px;                   /* ? bilo 12px */
    padding: 9px 14px;                 /* ? bilo 7px 12px */
  }

  .faq-chat-popup .msg {
    max-width: 90%;
    font-size: 14px;
    padding: 10px 14px;
  }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .kimi-avatar {
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: calc(20px + env(safe-area-inset-right));
  }

  .faq-chat-popup {
    bottom: calc(90px + env(safe-area-inset-bottom));
  }
}

.en-summary,
.de-summary,
.fr-summary,
.it-summary,
.sv-summary,
.nl-summary,
.es-summary,
.ru-summary,
.pl-summary,
.ro-summary,
.el-summary,
.hu-summary {
  display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.prevod-tabela {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.prevod-tabela th,
.prevod-tabela td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.prevod-tabela th {
    background: #f5f5f5;
    font-weight: 600;
}

.prevod-tabela td[lang="en"] {
    font-style: italic;
}

.prevod-napomena {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.why-matters {
    background: #fff8f0;
    border-left: 4px solid #f7931a;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}
.why-matters p { margin: 0; color: #e65100; font-weight: 600; }
.why-matters p:last-child { margin: 8px 0 0 0; font-weight: normal; color: #333; }

  .jezici-section {
    padding: 40px 0;
  }
  .jezici-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 600;
  }
  .jezik-kartica {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0e8f4 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .jezik-kartica:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  }
  .jezik-kartica h4 {
    color: #5a4fcf;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .jezik-kartica h4 i {
    font-size: 1.3rem;
    color: #7b68ee;
  }
  .jezik-lista {
    list-style: none;
    padding: 0;
    margin: 0;
  }
.jezik-lista li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(90, 79, 207, 0.15);
  font-size: 1.05rem;   /* ? bilo 0.95rem, sad malo vece */
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}
  .jezik-lista li:last-child {
    border-bottom: none;
  }
  .jezik-lista li::before {
    content: "?";
    color: #7b68ee;
    font-weight: bold;
    font-size: 0.8rem;
  }
  .jezik-lista li.nema-tumaca {
    color: #c0392b;
  }
  .jezik-lista li.nema-tumaca::before {
    content: "?";
    color: #e74c3c;
  }
.nema-tumaca-badge {
  background: #fdeaea;
  color: #c0392b;
  font-size: 0.75rem;    /* ? bilo 0.7rem */
  padding: 3px 10px;     /* ? malo veci padding da ne bude zbijeno */
  border-radius: 12px;
  margin-left: auto;
  font-weight: 500;
  border: 1px solid #f5c6cb;
}
  .info-bar {
    background: linear-gradient(90deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #f39c12;
    border-radius: 12px;
    padding: 18px 24px;
    margin-top: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.1);
  }
  .info-bar i {
    color: #e67e22;
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
  }
  .info-bar p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .info-bar strong {
    color: #d35400;
  }
  @media (max-width: 768px) {
    .jezik-kartica {
      padding: 18px;
    }
  }
  
@media (max-width: 600px) {
  .why-us .services-grid {
    grid-template-columns: 1fr !important;
  }
}