:root {
  --lp-dark: #060B14;
  --lp-dark-2: #0A1524;
  --lp-bg: #FDFDFD;
  --lp-text: #0B1120;
  --lp-muted: #5A6B85;
  --lp-border: #E3E9F2;
  --lp-blue: #2563EB;
  --lp-orange: #E95D2C;
  --lp-radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- NAV ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 32px;
  background: rgba(253, 253, 253, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: 0.4px; }
.lp-brand img { width: 30px; height: 30px; }
.lp-brand strong { color: var(--lp-orange); }
.lp-menu { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; font-weight: 600; color: #33415C; }
.lp-menu a:hover { color: var(--lp-blue); }
.lp-nav-actions { display: flex; align-items: center; gap: 14px; }
.lp-link { font-size: 14.5px; font-weight: 600; color: #33415C; }
.lp-link:hover { color: var(--lp-blue); }

/* ---------- GUMBI ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px;
  background: var(--lp-blue); color: #fff;
  font-size: 15px; font-weight: 700;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.lp-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.lp-btn.small { padding: 9px 18px; font-size: 13.5px; }
.lp-btn.ghost { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }

/* ---------- HERO ---------- */
.lp-hero {
  background: radial-gradient(1100px 500px at 80% -10%, #123A8A 0%, transparent 60%),
    linear-gradient(180deg, var(--lp-dark-2) 0%, var(--lp-dark) 100%);
  color: #fff;
}
.lp-hero-inner { max-width: 1080px; margin: 0 auto; padding: 92px 32px 72px; }
.lp-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.35);
  color: #9BF0B8; font-size: 13px; font-weight: 600;
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2); }
.lp-hero h1 { margin: 22px 0 16px; font-size: clamp(34px, 5vw, 54px); line-height: 1.12; font-weight: 800; letter-spacing: -0.5px; }
.lp-sub { max-width: 620px; color: #AEBAD1; font-size: 17px; }
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.lp-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.lp-hero-stats div { display: grid; gap: 4px; }
.lp-hero-stats strong { font-size: 30px; font-weight: 800; }
.lp-hero-stats span { color: #8FA0BD; font-size: 13.5px; }

/* ---------- FEATURES ---------- */
.lp-section { max-width: 1080px; margin: 0 auto; padding: 80px 32px; }
.lp-kicker { color: var(--lp-blue); font-size: 13px; font-weight: 800; letter-spacing: 2px; }
.lp-section h2 { margin: 10px 0; font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }
.lp-lead { color: var(--lp-muted); font-size: 16px; max-width: 560px; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.lp-card {
  padding: 26px 22px; border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
  background: #fff; box-shadow: 0 10px 26px rgba(11, 17, 32, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 17, 32, 0.09); }
.lp-card svg { width: 26px; height: 26px; color: var(--lp-blue); margin-bottom: 14px; }
.lp-card h3 { font-size: 17px; margin-bottom: 6px; }
.lp-card p { color: var(--lp-muted); font-size: 14.5px; }

/* ---------- TESTIMONIAL ---------- */
.lp-testimonial { background: #F2F5FA; padding: 72px 32px; text-align: center; }
.lp-testimonial blockquote { max-width: 760px; margin: 0 auto; font-size: clamp(19px, 2.4vw, 25px); font-weight: 700; line-height: 1.45; }
.lp-author { margin-top: 18px; color: var(--lp-muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.lp-cta {
  text-align: center; color: #fff; padding: 84px 32px;
  background: radial-gradient(800px 400px at 50% -20%, #123A8A 0%, transparent 60%), linear-gradient(180deg, var(--lp-dark-2), var(--lp-dark));
}
.lp-cta h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; }
.lp-cta p { color: #AEBAD1; margin-top: 10px; }
.lp-cta .lp-hero-actions { justify-content: center; }

/* ---------- FOOTER ---------- */
.lp-footer { background: var(--lp-dark); color: #8FA0BD; padding: 40px 32px; display: grid; gap: 8px; justify-items: start; }
.lp-footer .lp-brand { color: #fff; }
.lp-copy { font-size: 13px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .lp-menu { display: none; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-nav { padding: 12px 16px; gap: 12px; }
  .lp-hero-inner, .lp-section { padding-left: 18px; padding-right: 18px; }
}

/* ---------- HERO LAYOUT ---------- */
.lp-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-hero-copy { min-width: 0; }

/* ---------- HERO VISUAL (dashboard mockup) ---------- */
.lp-hero-visual { position: relative; }
.lp-dash {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}
.lp-dash-top { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #D7E1F2; }
.lp-dash-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--lp-orange); color: #fff; font-size: 12px; font-weight: 900; }
.lp-dash-live { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(74, 222, 128, 0.15); color: #7DE8A4; font-size: 11px; }
.lp-dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-kpi { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.lp-kpi span { color: #8FA0BD; font-size: 12px; }
.lp-kpi strong { color: #fff; font-size: 22px; font-weight: 800; }
.lp-kpi strong.warn { color: #FFA96B; }
.lp-chart { display: flex; align-items: flex-end; gap: 7px; height: 110px; padding: 10px 12px; background: rgba(255, 255, 255, 0.04); border-radius: 12px; }
.lp-chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #3B82F6, #1D4ED8); min-height: 8px; }
.lp-dash-rows { display: grid; gap: 8px; }
.lp-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; }
.lp-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(59, 130, 246, 0.25); color: #A9C8FF; font-size: 12px; font-weight: 800; }
.lp-row-copy { display: grid; gap: 1px; min-width: 0; }
.lp-row-copy b { color: #E7EDF8; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-row-copy small { color: #8FA0BD; font-size: 11.5px; }
.lp-tag { margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(59, 130, 246, 0.2); color: #9DC0FF; }
.lp-tag.warn { background: rgba(233, 93, 44, 0.2); color: #FFB48F; }
.lp-tag.ok { background: rgba(74, 222, 128, 0.16); color: #8CE8AE; }
/* ---------- DEMO MODAL ---------- */
.lp-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(4, 9, 18, 0.72); backdrop-filter: blur(4px); }
.lp-modal[hidden] { display: none; }
.lp-modal-card {
  position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto;
  background: #fff; color: var(--lp-text); border-radius: 18px; padding: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.lp-modal-close { position: absolute; top: 14px; right: 16px; border: none; background: none; font-size: 26px; line-height: 1; color: #7A8BA6; cursor: pointer; }
.lp-modal-card h3 { font-size: 22px; font-weight: 800; }
.lp-modal-sub { color: var(--lp-muted); font-size: 14px; margin: 6px 0 16px; }
.lp-modal-card form { display: grid; gap: 12px; }
.lp-modal-card label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: #33415C; }
.lp-modal-card input, .lp-modal-card textarea {
  padding: 10px 12px; border: 1px solid var(--lp-border); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--lp-text); background: #FBFCFE;
}
.lp-modal-card input:focus, .lp-modal-card textarea:focus { outline: 2px solid rgba(37, 99, 235, 0.35); border-color: var(--lp-blue); }
.lp-form-msg { color: #15803D; font-size: 14px; font-weight: 700; }

@media (max-width: 980px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { max-width: 560px; }
}


/* ---------- CONTACT ---------- */
.lp-contact { background: #F2F5FA; padding: 84px 32px; }
.lp-contact-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  align-items: start;
}
.lp-contact h2 { margin: 10px 0; font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }
.lp-contact-list { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.lp-contact-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #33415C; }
.lp-contact-list svg { width: 19px; height: 19px; color: var(--lp-blue); flex: 0 0 19px; }
.lp-contact-list a:hover { color: var(--lp-blue); }
.lp-contact-form {
  display: grid; gap: 12px;
  background: #fff; border: 1px solid var(--lp-border); border-radius: 18px;
  padding: 26px; box-shadow: 0 16px 40px rgba(11, 17, 32, 0.07);
}
.lp-contact-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: #33415C; }
.lp-contact-form input, .lp-contact-form textarea {
  padding: 10px 12px; border: 1px solid var(--lp-border); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--lp-text); background: #FBFCFE;
}
.lp-contact-form input:focus, .lp-contact-form textarea:focus { outline: 2px solid rgba(37, 99, 235, 0.35); border-color: var(--lp-blue); }

@media (max-width: 860px) {
  .lp-contact-inner { grid-template-columns: 1fr; }
}


/* ---------- HERO SLIKA ---------- */
.lp-hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 6px rgba(255, 255, 255, 0.05),
    0 0 110px rgba(37, 99, 235, 0.3);
  transition: box-shadow 0.35s ease;
}

.lp-hero-img:hover {
  box-shadow:
    0 50px 95px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(255, 255, 255, 0.07),
    0 0 140px rgba(37, 99, 235, 0.42);
}


/* ---------- MOBILE NAV ---------- */
.lp-menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  color: var(--lp-text);
  cursor: pointer;
}
.lp-menu-toggle svg { width: 20px; height: 20px; display: block; }

@media (max-width: 860px) {
  .lp-menu-toggle { display: block; }
  .lp-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(11, 17, 32, 0.14);
  }
  .lp-menu.open { display: flex; }
  .lp-menu a { padding: 10px 12px; border-radius: 10px; color: #33415C; }
  .lp-menu a:hover { background: rgba(37, 99, 235, 0.07); color: var(--lp-blue); }
  .lp-nav { position: relative; }
  .lp-nav-actions { display: none; }
}

/* ---------- POLISH ---------- */
.lp-menu .menu-auth { display: none; }
.lp-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}
.lp-footer-nav { display: flex; gap: 18px; }
.lp-footer-nav a { color: #8FA0BD; font-size: 13.5px; font-weight: 600; }
.lp-footer-nav a:hover { color: #fff; }

@media (max-width: 860px) {
  .lp-menu .menu-auth { display: flex; }
  .lp-footer-top { flex-direction: column; align-items: flex-start; }
  .lp-footer-nav { flex-wrap: wrap; }
}

/* ---------- ANIMACIJE ---------- */
@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes lp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

/* hero ulazak (staggered) */
.lp-hero-copy > * {
  opacity: 0;
  animation: lp-fade-up 0.7s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}
.lp-hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.lp-hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.lp-hero-copy > :nth-child(3) { animation-delay: 0.25s; }
.lp-hero-copy > :nth-child(4) { animation-delay: 0.35s; }
.lp-hero-copy > :nth-child(5) { animation-delay: 0.45s; }

/* hero slika pluta (animira se roditelj — nagib slike ostaje) */
.lp-hero-visual { animation: lp-fade-up 0.9s 0.3s cubic-bezier(0.22, 0.9, 0.3, 1) backwards; }
.lp-hero-img { animation: lp-float 6s ease-in-out 1.2s infinite; }
.lp-hero-img:hover { animation-play-state: paused; }

/* status tocka pulsira */
.lp-dot { animation: lp-pulse 2.2s ease-out infinite; }

/* reveal pri skrolu */
.lp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.lp-reveal.visible { opacity: 1; transform: translateY(0); }

/* poštuj reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .lp-hero-copy > *,
  .lp-hero-visual,
  .lp-hero-img,
  .lp-dot { animation: none !important; opacity: 1; }
  .lp-reveal { opacity: 1; transform: none; transition: none; }
}

.lp-cta { padding-bottom: 84px; }

/* ---------- BLUEPRINT SEKCIJA (slika koncepta) ---------- */
.lp-blueprint {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 32px 60px;
  display: grid;
  gap: 28px;
}
.lp-blueprint-head { max-width: 560px; }
.lp-blueprint h2 { margin: 10px 0 8px; font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }

.lp-blueprint-scene {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.lp-blueprint-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.lp-blueprint-scene:hover .lp-blueprint-img {
  transform: scale(1.02);
  filter: brightness(1.08);
}
