/* css/landing.css */
:root{
  color-scheme: dark;
}
/* Reset-ish */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(109,40,217,.35), transparent 60%),
    radial-gradient(900px 500px at 85% 25%, rgba(14,165,233,.28), transparent 65%),
    radial-gradient(900px 500px at 60% 85%, rgba(34,197,94,.12), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  line-height: 1.4;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}


/* Header (upgraded) */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,10,18,.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar.isScrolled{
  background: rgba(7,10,18,.72);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  font-weight: 750;
  letter-spacing: .2px;
}
.brandMark{
  width:34px;
  height:34px;
  flex-shrink:0;
  display:block;
  filter: drop-shadow(0 8px 18px rgba(109,40,217,.35));
}

.brandText{ min-width:0; }
.brandName{
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}
.brandTag{
  font-size: 12px;
  color: var(--muted);
  margin-top:2px;
}


.navLinks{
  display:flex;
  gap: 6px;
  align-items:center;
  font-size: 14px;
}
.navLinks a{
  padding: 9px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.78);
}
.navLinks a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.navRight{
  display:flex;
  align-items:center;
  gap: 10px;
}
.btnContact{ padding: 10px 14px; }

.menuBtn{
  display:none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.menuBtn:hover{ background: rgba(255,255,255,.10); }

.menuIcon{
  display:block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: rgba(255,255,255,.88);
  border-radius: 999px;
  position: relative;
}
.menuIcon::before,
.menuIcon::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.88);
  border-radius: 999px;
}
.menuIcon::before{ top: -6px; }
.menuIcon::after{ top: 6px; }

/* Mobile menu drawer */
.mobileMenu{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(7,10,18,.92);
}
.mobileMenuInner{
  padding: 12px 0 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.mobileMenuInner a{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.mobileMenuInner a.btn{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
}

/* Responsive header */
@media (max-width: 920px){
  .navLinks{ display:none; }
  .menuBtn{ display:inline-flex; align-items:center; justify-content:center; }
  .brandTag{ display:none; }
}


.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16)}
.btn:active{transform: translateY(1px)}



.hero{
  padding: 54px 0 26px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
  width: fit-content;
}
.kickerDot{
  width:8px;height:8px;border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.h1{
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.6px;
}
.h1 strong{
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.70));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}

.heroActions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 18px;
}
.heroMeta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;      /* ✅ vraća prelamanje */
  overflow: visible;    /* ✅ nema horizontalnog skrola */
  padding-bottom: 0;
}

.heroMeta::-webkit-scrollbar{ display:none; }

.pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);

}


@media (max-width: 520px){
  .pill{ padding: 8px 10px; font-size: 13px; }
}

.previewCard{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  overflow: hidden;
}


.previewCard:hover {
  transform: translateY(-4px);
}


.previewTop{
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size: 12px;
  color: var(--muted);
  background: rgba(0,0,0,.25);
}

.previewBody{
  padding: 16px;
  overscroll-behavior: contain;
  position: relative;
  z-index: 0;
}
.fakePhone{
  width: 100%;
  max-width: 320px;
  height: 620px;
  margin: 0 auto;

  border-radius: 32px;
  background: linear-gradient(180deg, #0f172a, #020617);
  overflow: hidden;
  position: relative;

  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.fakePhone iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #eef1f6;
}


.fakePhone iframe{
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;

  border: 0;
  display: block;
  background: #eef1f6;

  border-radius: 28px;
  clip-path: inset(0 round 28px);
  transform: translateZ(0);
}

.fakePhone iframe::-webkit-scrollbar {
  display: none;
}




.section{
  padding: 22px 0 44px;
}
.sectionTitle{
  font-size: 20px;
  margin: 0 0 12px;
  letter-spacing: -.2px;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.card h3{
  margin: 0 0 6px;
  font-size: 15px;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ctaBand{
  margin: 18px 0 0;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 240px at 10% 20%, rgba(109,40,217,.25), transparent 60%),
    radial-gradient(700px 220px at 90% 50%, rgba(14,165,233,.18), transparent 65%),
    rgba(255,255,255,.05);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.ctaBand p{margin:0; color: var(--muted)}
.ctaBand strong{color: var(--text)}

.footer{
  padding: 26px 0 38px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--subtle);
  font-size: 13px;
}
.footerRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer a:hover{color: var(--text)}

/* Responsive */
@media (max-width: 920px){
  .heroGrid{grid-template-columns: 1fr; }
  .navLinks{display:none}
}
/* Contact */
.contactGrid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  margin-top: 14px;
}
.contactCard{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  padding: 18px;
  backdrop-filter: blur(8px);
}
.contactAside{
  background: rgba(255,255,255,.03);
}
.contactTitle{
  margin: 0 0 6px 0;
  font-size: 18px;
}
.contactSub{
  margin: 0 0 14px 0;
  opacity: .85;
}

.form{ display:flex; flex-direction:column; gap: 12px; }
.formRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.label{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  opacity: .95;
}

.req{ 
  opacity: .8;
color: #ef4444; /* crvena */
  font-weight: 700;
  margin-left: 2px; }

.input, .textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: inherit;
  padding: 12px 12px;
  outline: none;
}
.textarea{ resize: vertical; min-height: 110px; }

.input:focus, .textarea:focus{
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}

.formActions{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
  margin-top: 6px;
}
.formNote{
  margin: 0;
  font-size: 13px;
  opacity: .85;
}

.list{
  margin: 10px 0 0 18px;
  opacity: .9;
}
.miniCta{
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 14px;
}
.link{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .95;
}

/* Responsive */
@media (max-width: 900px){
  .contactGrid{ grid-template-columns: 1fr; }
  .formRow{ grid-template-columns: 1fr; }
}
/* Steps */
.steps{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.step{
  display:flex;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.stepNum{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
}
.step h3{
  margin: 0 0 4px 0;
  font-size: 16px;
}
.step p{
  margin: 0;
  opacity: .85;
}

/* Pricing */
.pricingCard{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 16px;
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  padding: 18px;
}
.pricingTitle{
  margin: 0 0 6px 0;
  font-size: 18px;
}
.pricingSub{
  margin: 0 0 12px 0;
  opacity: .85;
}
.pricingList{
  margin: 0 0 0 18px;
  opacity: .9;
}
.pricingCta{
  display:flex;
  flex-direction:column;
  gap: 10px;
  justify-content:center;
  border-left: 1px solid rgba(255,255,255,.10);
  padding-left: 16px;
}
.pricingNote{
  margin: 4px 0 0 0;
  font-size: 13px;
  opacity: .8;
}

@media (max-width: 900px){
  .steps{ grid-template-columns: 1fr; }
  .pricingCard{ grid-template-columns: 1fr; }
  .pricingCta{ border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.10); padding-top: 14px; }
}

.kickerDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 rgba(34,197,94,.0);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse{
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.0), 0 0 0 0 rgba(34,197,94,.0); opacity: .9; }
  50%  { box-shadow: 0 0 0 6px rgba(34,197,94,.18), 0 0 18px 0 rgba(34,197,94,.35); opacity: 1; }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,.0), 0 0 0 0 rgba(34,197,94,.0); opacity: .9; }
}

@media (hover: none) {
  .previewCard:hover { transform: none; }
}

/* Mobile */
@media (max-width: 520px){
  /* Header */
  .nav{ padding: 10px 0; }
  .navLinks{ display: none; }

  /* Hero */
  .hero{ padding: 28px 0 14px; }
  .heroGrid{ grid-template-columns: 1fr; gap: 16px; }

  .h1{ font-size: 32px; line-height: 1.08; }
  .sub{ font-size: 15px; margin: 0 0 12px; }

  .heroActions{ margin: 12px 0 12px; }
  .heroMeta{ padding-bottom: 2px; }

  /* Preview */
  .previewBody{ padding: 12px; }
  .fakePhone{
    width: 100%;
    max-width: 320px;
    height: 520px;
    margin: 0 auto;
  }
  .fakePhone iframe{ border-radius: 20px; }

  /* Layout grids */
  .grid3{ grid-template-columns: 1fr; }
  .ctaBand{ flex-direction: column; align-items: flex-start; }
}


/* iOS/Safari: spriječi da :active / tap highlight “pojede” gradijent */
.btn, .btnPrimary{
  -webkit-tap-highlight-color: transparent;
}

/* Primary button: unified styling for both <a> and <button> */
.btnPrimary{
  border: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: .2px;

  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow:
    0 10px 24px rgba(109,40,217,.25),
    inset 0 1px 0 rgba(255,255,255,.18);

  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.btnPrimary:hover{
  filter: brightness(1.05);
  box-shadow:
    0 14px 32px rgba(109,40,217,.32),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.btnPrimary:active{
  transform: translateY(1px);
  filter: none; /* iOS: ne “gasi” gradijent */
  box-shadow:
    0 8px 18px rgba(109,40,217,.22),
    inset 0 1px 0 rgba(255,255,255,.12);
  opacity: 1;
}

/* Da link ne promijeni boju (visited) */
a.btnPrimary:visited{
  color: var(--text);
}

/* Fokus: nemoj ga gasiti potpuno, samo ga učini “premium” */
.btnPrimary:focus{ outline: none; }
.btnPrimary:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255,255,255,.08),
    0 10px 24px rgba(109,40,217,.25),
    inset 0 1px 0 rgba(255,255,255,.18);
}
a.btnPrimary{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--text);
}

@media (max-width: 920px){
  body{
    background:
      radial-gradient(1200px 600px at 15% 10%, rgba(109,40,217,.28), transparent 60%),
      radial-gradient(900px 500px at 85% 25%, rgba(14,165,233,.24), transparent 65%),
      radial-gradient(900px 500px at 60% 85%, rgba(34,197,94,.10), transparent 65%),
      linear-gradient(180deg, #0b1220, #0e1528);
  }
}
@supports (-webkit-touch-callout: none){
  /* iOS */
}

@supports not (-webkit-touch-callout: none){
  /* Android */
  .topbar{
    background: rgba(18,22,34,.62);
  }
}

.phoneScreen{
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #eef1f6;

  /* stabilno u Chrome/Android */
  clip-path: inset(0 round 24px);
  transform: translateZ(0);
}

.phoneScreen iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #eef1f6;
}


