/* =========================================================
   ZOVI — zajednički stilovi za ceo sajt
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #1a0a00;
  --surface: #231000;
  --surface2: #2e1500;
  --border: rgba(245,166,35,0.1);
  --accent: #f5a623;
  --accent2: #ff6b00;
  --text: #fff5e6;
  --muted: #9a7a55;
  --ok: #4aff8a;
  --err: #ff6b6b;
  --radius: 20px;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(26,10,0,0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.logo img { height: 32px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 14px; font-weight: 500; letter-spacing: 0.2px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* ─── LANGUAGE SWITCH ─── */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  background: rgba(245,166,35,0.08);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 6px 4px 10px;
}
.lang-switch .globe { width: 15px; height: 15px; color: var(--muted); margin-right: 4px; flex-shrink: 0; }
.lang-switch button {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 8px; border-radius: 100px; transition: all .2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1a0a00;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none;
  cursor: pointer; padding: 6px; border-radius: 10px; transition: background .2s; z-index: 200;
}
.hamburger:hover { background: rgba(245,166,35,0.08); }
.hamburger span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .35s cubic-bezier(0.4,0,0.2,1), opacity .25s, width .3s; transform-origin: center;
}
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 22px; }
.hamburger.open span:nth-child(1) { width: 22px; transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { width: 22px; transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0;
  background: rgba(26,10,0,0.97); backdrop-filter: blur(24px); z-index: 150;
  padding: 100px 32px 48px; flex-direction: column; gap: 4px;
  transform: translateY(-100%); transition: transform .4s cubic-bezier(0.4,0,0.2,1);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  text-decoration: none; color: var(--muted); font-size: 28px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.5px;
  padding: 12px 0; border-bottom: 1px solid var(--border); transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

/* ─── FOOTER ─── */
footer {
  padding: 28px 60px; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px;
}
footer p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ─── REVEAL ─── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* =========================================================
   HOME (index)
   ========================================================= */
#hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px; padding: 120px 60px 80px; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.18) 0%, transparent 70%);
  top: -100px; left: -100px; pointer-events: none;
}
.hero-glow2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%);
  bottom: 40px; right: 200px; pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.3);
  border-radius: 100px; padding: 6px 14px; font-size: 12px; font-weight: 500; color: #f5c76a;
  margin-bottom: 28px; letter-spacing: 0.4px; text-transform: uppercase;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
h1 {
  font-family: var(--font-display); font-size: clamp(42px, 5vw, 68px);
  font-weight: 800; line-height: 1.1; letter-spacing: -2px; margin-bottom: 22px;
}
h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18px; color: var(--muted); font-weight: 300; max-width: 440px; line-height: 1.7; margin-bottom: 42px; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-store { display: flex; align-items: center; gap: 12px; border-radius: 14px; text-decoration: none; transition: transform .2s; cursor: pointer; }
.btn-store:hover { transform: translateY(-2px); }
.btn-store-icon { width: 160px; height: auto; flex-shrink: 0; }
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.phone-wrap { position: relative; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-16px); } }
.phone {
  width: 270px; height: 560px; border-radius: 44px; background: var(--surface);
  border: 2px solid rgba(255,255,255,0.1); position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 40px 80px rgba(0,0,0,0.6), 0 0 80px rgba(245,166,35,0.15);
  overflow: hidden;
}
.phone::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 28px; background: var(--bg); border-radius: 20px; z-index: 10;
}
.phone-ring {
  position: absolute; inset: -30px; border-radius: 70px;
  background: conic-gradient(from 0deg, var(--accent), var(--accent2), transparent, var(--accent));
  opacity: 0.1; animation: spin 8s linear infinite; z-index: -1;
}
@keyframes spin { to { transform: rotate(360deg); } }

#features { padding: 100px 60px; background: var(--surface); position: relative; }
.section-label {
  text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-title {
  text-align: center; font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; letter-spacing: -1px; margin-bottom: 60px;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.feature-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: border-color .3s, transform .3s;
}
.feature-card:hover { border-color: rgba(245,166,35,0.4); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 22px;
}
.feature-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }

#faq { padding: 100px 60px; }
.accordion { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.acc-item.open { border-color: rgba(245,166,35,0.35); }
.acc-trigger {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; text-align: left; color: var(--text); font-family: var(--font-body);
  font-size: 16px; font-weight: 500; gap: 16px;
}
.acc-icon {
  width: 28px; height: 28px; border-radius: 8px; background: var(--surface2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .3s, transform .3s; font-size: 16px; line-height: 1;
}
.acc-item.open .acc-icon { background: var(--accent); transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(0.4,0,0.2,1), padding .3s; padding: 0 26px; }
.acc-item.open .acc-body { max-height: 320px; padding-bottom: 22px; }
.acc-body p { color: var(--muted); font-size: 14px; line-height: 1.7; }

#contact { padding: 100px 60px; background: var(--surface); text-align: center; }
.contact-card { max-width: 640px; margin: 0 auto; background: var(--bg); border: 1px solid var(--border); border-radius: 28px; padding: 56px 48px; }
.contact-card h2 { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.contact-card p { color: var(--muted); margin-bottom: 36px; max-width: 400px; margin-left: auto; margin-right: auto; }
.contact-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact-link {
  display: flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px;
  background: var(--surface2); border: 1px solid var(--border); color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: border-color .2s, transform .2s;
}
.contact-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-link svg { width: 18px; height: 18px; }

/* =========================================================
   PRAVNE STRANE (politika / uslovi)
   ========================================================= */
.page-header { padding: 140px 60px 60px; border-bottom: 1px solid var(--border); background: var(--surface); }
.page-header-inner { max-width: 780px; margin: 0 auto; }
.page-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; }
.page-header-meta { color: var(--muted); font-size: 13px; }
.content { max-width: 780px; margin: 0 auto; padding: 60px 24px 100px; }
.pp-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.pp-section:last-child { border-bottom: none; }
.pp-section-num { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pp-section h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 16px; }
.pp-section p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.pp-section p:last-child { margin-bottom: 0; }
.pp-intro p { font-style: italic; }
.pp-section ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pp-section ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; line-height: 1.65; }
.pp-section ul li::before { content: '—'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* =========================================================
   RESET LOZINKE
   ========================================================= */
.reset-main { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 120px 20px 60px; }
.card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px 32px; }
.card-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
.card h1 { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.card .intro { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 28px; }
.card label { display: block; color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; margin-top: 18px; }
.pass-wrap { display: flex; align-items: center; background: var(--surface2); border: 1px solid #3a2510; border-radius: 12px; }
.pass-wrap input { flex: 1; background: none; border: none; outline: none; padding: 14px 16px; color: var(--text); font-size: 16px; font-family: var(--font-body); }
.eye { background: none; border: none; cursor: pointer; color: var(--muted); padding: 0 14px; font-size: 13px; font-weight: 600; }
.rule { color: #6a5a45; font-size: 12px; margin-top: 8px; line-height: 1.5; }
button.submit {
  width: 100%; margin-top: 28px; background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1a0a00; border: none; border-radius: 14px; padding: 16px; font-size: 16px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer; transition: opacity .2s;
}
button.submit:disabled { opacity: 0.5; cursor: default; }
.msg { margin-top: 18px; font-size: 14px; line-height: 1.6; border-radius: 12px; padding: 14px 16px; display: none; white-space: pre-line; }
.msg.show { display: block; }
.msg.ok { background: rgba(74,255,138,0.08); border: 1px solid rgba(74,255,138,0.3); color: var(--ok); }
.msg.err { background: rgba(255,107,107,0.08); border: 1px solid rgba(255,107,107,0.3); color: var(--err); }
.msg.info { background: var(--surface2); border: 1px solid var(--border); color: var(--muted); }
.hidden { display: none !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .lang-switch { padding: 3px 5px 3px 8px; }
  .lang-switch button { padding: 4px 6px; font-size: 11px; }

  #hero { grid-template-columns: 1fr; padding: 100px 24px 60px; text-align: center; }
  .hero-text { order: 1; }
  .hero-visual { order: 2; margin-top: 10px; }
  .hero-sub { max-width: 100%; }
  .btn-group { justify-content: center; }
  .phone { width: 210px; height: 440px; }
  .phone::before { width: 70px; height: 22px; }

  #features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  #faq, #contact { padding: 60px 24px; }
  .contact-card { padding: 36px 24px; }

  .page-header { padding: 110px 24px 40px; }
  .content { padding: 40px 24px 60px; }

  footer { flex-direction: column; gap: 12px; padding: 20px 24px; text-align: center; }
}
