@font-face {
  font-family:'Manrope'; font-style:normal; font-display:swap; font-weight:200 800;
  src:url('assets/manrope-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family:'Manrope'; font-style:normal; font-display:swap; font-weight:200 800;
  src:url('assets/manrope-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family:'Inter'; font-style:normal; font-display:swap; font-weight:800;
  src:url('assets/inter-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family:'Inter'; font-style:normal; font-display:swap; font-weight:800;
  src:url('assets/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --color-bg: #1533e8;
  --color-bg-deep: #0d23b8;
  --color-bg-light: #f4f6fd;
  --color-text: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p, dl, dd { margin: 0; }
html, body { background: var(--color-bg); margin: 0; }
html, body, .deck { width: 100%; height: 100dvh; }

body {
  font-family: 'Manrope', sans-serif;
  color: #fff;
  overflow: hidden;
}

.deck { position: relative; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.slide > .content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin-block: auto;
  flex: none;
  padding: max(72px, 5vw) clamp(1.75rem, 5vw, 5rem) max(100px, 6vw);
}

#uvod .content,
#zaver .content {
  text-align: center;
}

.slide-blue { background: #1533e8; }
.slide-light { background: #f4f6fd; color: #0d23b8; }
.slide-light .content { color: #0d23b8; }
.slide-dark { background: #0d23b8; }

/* Vignette and subtle film grain */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.025;
  mix-blend-mode: overlay;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(5,15,100,0.3) 100%);
}

.slide-light::after {
  background: radial-gradient(ellipse at center, transparent 60%, rgba(21,51,232,0.05) 100%);
}

/* Gradient mesh blobs */
@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -40px) scale(1.1); }
  50% { transform: translate(-30px, 35px) scale(0.92); }
  75% { transform: translate(40px, 18px) scale(1.07); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes float-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-45px, -55px) scale(1.13); }
  66% { transform: translate(38px, 28px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

.gradient-mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); animation: float-slow 11s ease-in-out infinite; }
.blob:nth-child(2) { animation: float-drift 15s ease-in-out infinite; }
.blob:nth-child(3) { animation: float-slow 19s ease-in-out infinite reverse; }

.particle-canvas, .particle-canvas-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mouse-spotlight { position: fixed; inset: 0; z-index: 99; pointer-events: none; }
.deco-shape { position: absolute; pointer-events: none; will-change: transform; }

/* Typography */
.logo-hero {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  letter-spacing: -0.03em;
  color: #fff;
  display: inline-block;
  text-shadow: 0 0 80px rgba(255,255,255,0.25);
}

@keyframes logo-glow-pulse {
  0%, 100% { text-shadow: 0 0 40px rgba(255,255,255,0.2), 0 0 80px rgba(255,255,255,0.08); }
  50% { text-shadow: 0 0 60px rgba(255,255,255,0.35), 0 0 120px rgba(255,255,255,0.12); }
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.74);
  margin-bottom: 1rem;
}

.section-label-blue { color: #5264b9; }

h2 {
  font: 800 clamp(2.1rem, 4.8vw, 3.45rem)/1.12 'Inter', sans-serif;
  letter-spacing: -0.022em;
  margin-bottom: 2.1rem;
}

#reseni h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

.statement-heading {
  font-size: clamp(1.65rem, 3.5vw, 2.7rem);
  line-height: 1.22;
  max-width: 25ch;
  margin-bottom: 2rem;
}

#zaver h2 {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

/* Bullet list */
.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: clamp(1.02rem, 1.85vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
}

.bullet-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin-top: 0.55em;
  flex-shrink: 0;
}

.bullet-list-blue li::before { background: #1533e8; }
.bullet-list-blue li { color: #0d23b8; }

/* Cards & Grids */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.card-glass {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: clamp(1.35rem, 2.6vw, 2.1rem);
}

.card-light {
  background: #ffffff;
  border: 1px solid rgba(21,51,232,0.10);
  border-left: 4px solid #1533e8;
  border-radius: 18px;
  padding: clamp(1.35rem, 2.6vw, 2.1rem);
  box-shadow: 0 6px 26px rgba(21,51,232,0.08);
}

/* Slide 4: 3 Bubbles */
.bubbles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.bubble-card {
  background: #ffffff;
  border: 1.5px solid rgba(21,51,232,0.12);
  border-radius: 28px;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  box-shadow: 0 10px 30px rgba(21,51,232,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bubble-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1533e8;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 800 1.05rem/1 'Inter', sans-serif;
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 16px rgba(21,51,232,0.28);
}

.bubble-card h3 {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  font-weight: 800;
  color: #0d23b8;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.bubble-card p {
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  color: #2a3f8f;
  line-height: 1.55;
}

/* Slide 5 & 7: Pricing & Client cards */
.card-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  margin-bottom: 0.55rem;
}

.card-headline {
  font: 800 clamp(1.35rem, 2.5vw, 1.95rem)/1.18 'Inter', sans-serif;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.7rem;
}

.pricing-card p:not(.card-eyebrow),
.client-card p:not(.card-eyebrow) {
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

.tier-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  align-items: end;
  margin-top: 1.35rem;
  height: 46px;
}

.tier-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  font: 800 0.82rem/1 'Inter', sans-serif;
  color: #fff;
}
.tier-pill:nth-child(1) { height: 56%; opacity: 0.72; }
.tier-pill:nth-child(2) { height: 70%; opacity: 0.82; }
.tier-pill:nth-child(3) { height: 85%; opacity: 0.92; }
.tier-pill:nth-child(4) { height: 100%; background: rgba(255,255,255,0.26); }

/* Slide 6: Market */
.market {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.market-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left-color: rgba(21,51,232,0.35);
}

.market-card-now {
  border-left-color: #1533e8;
  background: linear-gradient(135deg, #ffffff 0%, #edf1ff 100%);
  box-shadow: 0 8px 28px rgba(21,51,232,0.12);
}

.market dt {
  color: #2a3f8f;
  font-size: clamp(0.9rem, 1.35vw, 1.02rem);
  font-weight: 600;
  line-height: 1.42;
}

.market dd {
  margin-top: 0.65rem;
  font: 800 clamp(1.3rem, 2.75vw, 2.2rem)/1.15 'Inter', sans-serif;
  letter-spacing: -0.03em;
  color: #0d23b8;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.5rem;
}

.market-card-now dd { color: #1533e8; }

.market-unit {
  font: 600 clamp(0.8rem, 1.15vw, 0.94rem)/1.2 'Manrope', sans-serif;
  letter-spacing: 0;
  color: #5264b9;
}

/* Slide 8: Competition */
.icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(21,51,232,0.10);
  color: #1533e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-headline-blue {
  font: 800 clamp(1.3rem, 2.35vw, 1.8rem)/1.2 'Inter', sans-serif;
  letter-spacing: -0.02em;
  color: #0d23b8;
  margin-bottom: 0.6rem;
}

.advantage-card p {
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  color: #2a3f8f;
  line-height: 1.55;
}

/* Slide 9: Team & Ask */
.ask-card {
  max-width: 760px;
  border-left: 4px solid #fff;
}

.ask-copy {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
}

/* Slide 10: Closing */
.closing-copy {
  font-size: clamp(1.15rem, 2.25vw, 1.6rem);
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
  max-width: 44ch;
  margin-inline: auto;
}

.closing-cta { margin-top: 2.2rem; }

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0d23b8;
  font: 800 clamp(1rem, 1.6vw, 1.2rem)/1 'Manrope', sans-serif;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 36px rgba(0,0,0,0.22), 0 0 40px rgba(255,255,255,0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.28), 0 0 56px rgba(255,255,255,0.28);
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); }
@keyframes enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.slide.active .reveal {
  animation: enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) both;
}
.slide.active .logo-glow {
  animation: enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both, logo-glow-pulse 4s ease-in-out infinite;
}

/* Nav controls */
.nav-controls {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 16px);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
  background: rgba(13,35,184,0.78);
  backdrop-filter: blur(12px);
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.18);
}

.nav-controls a { color: #fff; }

.nav-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 50%;
  font-family: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.nav-btn:hover { background: rgba(255,255,255,0.22); }

.slide-dots { display: flex; gap: 0; }
.slide-dots .dot {
  display: grid;
  place-items: center;
  width: 15px;
  height: 36px;
  cursor: pointer;
}
.dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.25s, transform 0.25s;
}
.dot.active::after {
  background: #fff;
  transform: scale(1.35);
}

.slide-counter {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.82);
  min-width: 46px;
  white-space: nowrap;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Responsive */
@media (max-width: 860px) {
  .bubbles-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 720px) {
  .two-col,
  .market { grid-template-columns: 1fr; gap: 0.85rem; }
}

@media (max-width: 560px) {
  .card-light,
  .card-glass,
  .bubble-card { padding: 1.15rem; }
  .bubble-card { border-radius: 22px; }
  .bubble-badge,
  .icon-bubble { width: 38px; height: 38px; margin-bottom: 0.8rem; }
  .slide > .content { padding: 1.75rem 1.25rem 6.5rem; }
  #uvod .content { padding-block: 5.5rem; }
  .logo-hero { font-size: clamp(2.1rem, 12vw, 3.2rem); }
  h2 { margin-bottom: 1.5rem; }

  .nav-controls {
    gap: 7px;
    padding: 6px 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .nav-btn { width: 32px; height: 32px; font-size: 1.1rem; }
  .slide-dots .dot { width: 12px; height: 32px; }
  .dot::after { width: 6.5px; height: 6.5px; }
  .slide-counter { min-width: 40px; font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.2s !important; }
  .slide, .slide .reveal { transition: none; transform: none; }
  .slide.active .reveal { animation: none; opacity: 1; }
  .blob, .logo-glow { animation: none; }
}

@media print {
  @page { size: landscape; margin: 0; }
  html, body, .deck { height: auto; overflow: visible; }
  .nav-controls, .mouse-spotlight { display: none; }
  .slide {
    position: relative;
    opacity: 1;
    transform: none;
    height: 100vh;
    break-after: page;
    break-inside: avoid;
    overflow: hidden;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .slide:last-child { break-after: auto; }
  .slide .reveal { opacity: 1; transform: none; animation: none; }
  .slide > .content { padding: 2.5rem; }
}
