/* Rental Manager – intro page „Připravujeme“ (web pod heslem) */
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/poppins-latin-ext-500-normal.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+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/poppins-latin-500-normal.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:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/poppins-latin-ext-600-normal.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+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/poppins-latin-600-normal.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:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/poppins-latin-ext-700-normal.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+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/poppins-latin-700-normal.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-weight:400;font-display:swap;src:url(../fonts/inter-latin-ext-400-normal.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+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.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-weight:500;font-display:swap;src:url(../fonts/inter-latin-ext-500-normal.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+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.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-weight:600;font-display:swap;src:url(../fonts/inter-latin-ext-600-normal.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+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-latin-600-normal.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 { --ink: #111111; --paper: #F3F0FD; --green: #1DF37D; --muted-dark: #B9B5C7; --red: #E0675C; --display: 'Poppins', 'Segoe UI', system-ui, sans-serif; --body: 'Inter', 'Segoe UI', system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.gate { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden; color: var(--paper); font: 400 16px/1.6 var(--body);
  background: radial-gradient(900px 520px at 50% -8%, rgba(29,243,125,.16), transparent 62%), radial-gradient(700px 480px at 100% 100%, rgba(124,104,255,.10), transparent 60%), var(--ink); }
body.gate::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(243,240,253,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(243,240,253,.045) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.g-top, .g-main, .g-foot { position: relative; z-index: 1; }

/* top bar */
.g-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; }
.g-brand { display: inline-flex; align-items: center; font: 700 17px/1 var(--display); letter-spacing: -.01em; opacity: 0; animation: gFade .6s ease 3.9s forwards; }
.g-brand b { font-weight: inherit; } .g-brand .g { color: var(--green); }
.g-mark { width: 34px; height: 34px; border-radius: 10px; background: #1E1D23; border: 1px solid rgba(243,240,253,.16); display: grid; place-items: center; margin-right: 10px; }
.g-mark svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-enter { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; cursor: pointer; font: 600 14.5px var(--display); color: var(--paper);
  background: rgba(243,240,253,.06); border: 1.5px solid rgba(243,240,253,.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .15s, color .15s, background .15s, transform .15s; }
.g-enter svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-enter:hover { border-color: var(--green); color: var(--green); background: rgba(29,243,125,.08); transform: translateY(-1px); }
.g-enter:focus-visible, .g-go:focus-visible, .g-x:focus-visible, .g-pw input:focus-visible, .g-contact a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* main */
.g-main { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 5vh 20px 0; }

/* animated lockup – same animation as the web hero */
.g-lock { display: grid; gap: 22px; justify-items: start; margin-bottom: 34px; }
.g-rm { display: flex; align-items: center; gap: 22px; }
.g-tile { width: 112px; height: 112px; border-radius: 30px; background: #1E1D23; border: 1px solid rgba(243,240,253,.16); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(29,243,125,.06), 0 20px 50px rgba(0,0,0,.45), 0 0 80px rgba(29,243,125,.22); animation: gTile .7s cubic-bezier(.3,1.5,.5,1) .2s both; }
.g-tile svg { width: 66px; height: 66px; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.g-tile svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.g-tile .d1 { animation: gDraw .8s ease .6s forwards; }
.g-tile .d2 { animation: gDraw .5s ease 1.2s forwards; }
.g-tile .d3 { stroke-width: 2.2; animation: gDraw .45s ease 1.6s forwards; }
.g-name { display: grid; text-align: left; font: 700 46px/1 var(--display); letter-spacing: -.02em; }
.g-name b { font-weight: inherit; display: block; clip-path: inset(0 100% 0 0); animation: gWipe .6s cubic-bezier(.6,0,.2,1) forwards; }
.g-name b:first-child { animation-delay: 1.85s; }
.g-name b:last-child { animation-delay: 2.05s; color: var(--green); }
.g-by { display: flex; align-items: center; gap: 12px; padding-left: 4px; }
.g-line { width: 48px; height: 2px; background: rgba(243,240,253,.35); transform-origin: left; transform: scaleX(0); animation: gGrow .5s ease 2.6s forwards; }
.g-txt { font: 500 15px var(--body); color: var(--muted-dark); opacity: 0; animation: gFade .4s ease 2.85s forwards; }
.g-hex { position: relative; width: 40px; aspect-ratio: 258 / 244; }
.g-hex img { position: absolute; opacity: 0; transform: scale(.2); animation: gPop .45s cubic-bezier(.3,1.7,.5,1) forwards; }
.g-hex .ha { left: .4%; top: 2%; width: 45.4%; animation-delay: 3.0s; }
.g-hex .hb { left: 53.9%; top: .4%; width: 45.4%; animation-delay: 3.15s; }
.g-hex .hc { left: 27.9%; top: 48%; width: 46.5%; animation-delay: 3.3s; }
.g-word { height: 25px; width: auto; opacity: 0; transform: translateX(-10px); animation: gSlide .5s ease 3.55s forwards; }

.g-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(29,243,125,.4); background: rgba(29,243,125,.08);
  color: var(--green); font: 600 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; opacity: 0; animation: gUp .6s ease 2.3s forwards; }
.g-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: gPulse 1.8s ease-out infinite; }
.g-main h1 { margin: 18px 0 0; max-width: 18ch; font: 700 clamp(34px, 5.4vw, 62px)/1.07 var(--display); letter-spacing: -.025em; text-wrap: balance; opacity: 0; animation: gUp .7s ease 2.45s forwards; }
.g-lead { margin: 18px 0 0; max-width: 620px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--muted-dark); text-wrap: pretty; opacity: 0; animation: gUp .7s ease 2.6s forwards; }
.g-bar { width: 220px; height: 3px; margin-top: 30px; border-radius: 3px; background: rgba(243,240,253,.12); overflow: hidden; opacity: 0; animation: gFade .6s ease 2.8s forwards; }
.g-bar i { display: block; height: 100%; width: 38%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--green), transparent); animation: gRun 1.9s ease-in-out infinite; }
.g-contact { margin: 22px 0 0; font-size: 15px; color: var(--muted-dark); opacity: 0; animation: gFade .6s ease 2.9s forwards; }
.g-contact a { color: var(--paper); font-weight: 500; text-decoration-color: rgba(29,243,125,.6); text-underline-offset: 3px; }
.g-contact a:hover { color: var(--green); }

/* device with the real Business Central loop */
.g-dev { position: relative; width: min(900px, 100%); margin-top: 52px; opacity: 0; animation: gRise 1s cubic-bezier(.2,.8,.2,1) 3.1s forwards;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 98%); mask-image: linear-gradient(#000 62%, transparent 98%); }
.g-screen { background: #000; border: 1px solid #2A2A2A; border-radius: 16px 16px 6px 6px; padding: 12px 12px 14px; box-shadow: 0 -10px 80px rgba(29,243,125,.10), 0 40px 80px rgba(0,0,0,.5); }
.g-screen video { display: block; width: 100%; height: auto; border-radius: 4px; background: #fff; }
.g-base { height: 16px; margin: 0 -4%; background: linear-gradient(#D7D5DE, #A9A7B2); border-radius: 0 0 14px 14px; }
.g-toast { position: absolute; right: -14px; top: 18%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.4); font-size: 13px; line-height: 1.3; opacity: 0; transform: translateX(20px); animation: gToast 7s ease 4.4s infinite; }
.g-toast b { display: block; font: 600 13.5px var(--display); } .g-toast small { color: #55535E; font-size: 12px; }
.g-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224,103,92,.2); flex: none; }

.g-foot { padding: 0 20px 22px; text-align: center; font-size: 12.5px; color: rgba(185,181,199,.7); }

/* password dialog */
.g-dlg { width: min(400px, calc(100% - 32px)); padding: 0; border: 1px solid rgba(243,240,253,.14); border-radius: 22px; background: #1E1D23; color: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.g-dlg::backdrop { background: rgba(8,8,10,.62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.g-dlg[open] { animation: gDlg .25s ease; }
.g-dlg form { position: relative; display: grid; gap: 14px; padding: 30px 28px 28px; text-align: left; }
.g-dlg h2 { margin: 2px 0 0; font: 700 23px/1.2 var(--display); }
.g-dlg p { margin: 0; font-size: 14.5px; color: var(--muted-dark); }
.g-dlg-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(29,243,125,.1); border: 1px solid rgba(29,243,125,.35); }
.g-dlg-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted-dark); font-size: 26px; line-height: 1; cursor: pointer; }
.g-x:hover { background: rgba(243,240,253,.08); color: var(--paper); }
.g-pw { display: grid; gap: 6px; margin-top: 4px; font: 500 13px var(--body); color: var(--muted-dark); }
.g-pw input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid rgba(243,240,253,.2); background: #141318; color: var(--paper); font: 500 16px var(--body); }
.g-pw input:focus { border-color: var(--green); outline: none; }
.g-err { padding: 10px 12px; border-radius: 10px; background: rgba(224,103,92,.14); color: #FFB4AC !important; font-size: 14px; }
.g-go { margin-top: 4px; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--green); color: var(--ink); font: 600 15.5px var(--display); cursor: pointer; box-shadow: 0 8px 24px rgba(31,227,100,.28); transition: transform .15s; }
.g-go:hover { transform: translateY(-1px); }

@keyframes gTile { from { opacity: 0; transform: translateY(-24px) scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes gDraw { to { stroke-dashoffset: 0; } }
@keyframes gWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes gGrow { to { transform: scaleX(1); } }
@keyframes gFade { to { opacity: 1; } }
@keyframes gPop { to { opacity: 1; transform: none; } }
@keyframes gSlide { to { opacity: 1; transform: none; } }
@keyframes gUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes gRise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes gRun { from { transform: translateX(-110%); } to { transform: translateX(290%); } }
@keyframes gPulse { 0% { box-shadow: 0 0 0 0 rgba(29,243,125,.7); } 100% { box-shadow: 0 0 0 10px rgba(29,243,125,0); } }
@keyframes gToast { 0% { opacity: 0; transform: translateX(20px); } 6%, 60% { opacity: 1; transform: none; } 68%, 100% { opacity: 0; transform: translateX(20px); } }
@keyframes gDlg { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .g-top { padding: 14px 16px; }
  .g-brand { font-size: 0; } .g-brand b { display: none; } .g-brand .g-mark { margin: 0; }
  .g-enter { padding: 10px 16px; font-size: 14px; }
  .g-main { padding: 3vh 16px 0; }
  .g-lock { gap: 16px; margin-bottom: 26px; }
  .g-rm { gap: 14px; }
  .g-tile { width: 76px; height: 76px; border-radius: 22px; } .g-tile svg { width: 46px; height: 46px; }
  .g-name { font-size: 31px; }
  .g-dev { margin-top: 40px; }
  .g-screen { padding: 6px 6px 8px; border-radius: 10px 10px 4px 4px; } .g-base { height: 10px; }
  .g-toast { right: 6px; top: auto; bottom: 34%; padding: 9px 12px; } .g-toast small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gate *, .gate *::before, .gate *::after { animation: none !important; }
  .g-tile svg * { stroke-dashoffset: 0; } .g-name b { clip-path: none; } .g-line { transform: none; }
  .g-brand, .g-txt, .g-hex img, .g-word, .g-chip, .g-main h1, .g-lead, .g-bar, .g-contact, .g-dev { opacity: 1; transform: none; }
}
