/* uctuj.si – marketing site. Same palette and type as the application (Inter, navy sidebar, blue accent). */
:root {
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --bg: #f4f6f9;
  --bg-elev: #ffffff;
  --bg-sunken: #eceff4;
  --border: #dfe4ec;
  --text: #1a2230;
  --text-muted: #5f6b7d;
  --text-faint: #8f9bad;
  --accent: #1d5fd1;
  --accent-hover: #1850b3;
  --accent-soft: #e6eefc;
  --accent-text: #164a9f;
  --navy: #0f1b2d;
  --navy-2: #16263f;
  --success: #1b8a4a;
  --success-soft: #e3f5ea;
  --warning-soft: #fff4d6;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 27, 45, 0.18);
  --max: 1180px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0f1521;
    --bg-elev: #161d2b;
    --bg-sunken: #0b101a;
    --border: #273246;
    --text: #e4e9f2;
    --text-muted: #97a3b8;
    --text-faint: #67748a;
    --accent: #5b9bf5;
    --accent-hover: #78aef8;
    --accent-soft: #1d2c48;
    --accent-text: #a6c8fb;
    --navy: #0a111d;
    --navy-2: #121c2e;
    --success: #4cc27a;
    --success-soft: #16301f;
    --warning-soft: #3a2f10;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.kbd {
  display: inline-block; font: 600 0.78rem/1.4 var(--font); padding: 1px 7px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg-sunken); color: var(--text); white-space: nowrap;
  box-shadow: inset 0 -1px 0 var(--border);
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 650; font-size: 1rem; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text);
  cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--text); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 1.08rem; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; text-decoration: none !important; }
.logo img { width: 32px; height: 32px; }
.logo small { display: block; font-size: 0.62rem; letter-spacing: 0.12em; font-weight: 600; color: var(--text-muted); text-transform: uppercase; line-height: 1; margin-top: 2px; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--text-muted); font-weight: 550; font-size: 0.95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .btn { padding: 9px 16px; font-size: 0.92rem; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; color: var(--text); cursor: pointer; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-elev); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: none; }
  .nav-toggle { display: inline-flex; }
}

/* hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 0; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 400px at 85% -10%, rgba(91, 155, 245, 0.35), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: #a6c8fb; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5b9bf5; box-shadow: 0 0 0 4px rgba(91, 155, 245, 0.25); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #9cc3ff; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-note { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.hero-note .kbd { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); color: #fff; box-shadow: none; }
.hero-shot { margin: 0; position: relative; }
.browser { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.12); background: #0b101a; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1b2638; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3b4a63; display: inline-block; }
.browser-bar span { margin-left: 10px; flex: 1; font-size: 0.75rem; color: #9fb0c9; background: #0f1b2d; border-radius: 6px; padding: 3px 10px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-stats div strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stats div span { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--accent); }
.section-head .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.section-head p { font-size: 1.1rem; color: var(--text-muted); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
}
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin: 0; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-muted); }
.card li { margin: 4px 0; }

/* modules */
.module { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--border); }
.module:first-of-type { border-top: none; padding-top: 8px; }
.module.flip .module-text { order: 2; }
.module h3 { font-size: 1.6rem; font-weight: 750; margin-bottom: 10px; }
.module .lead { font-size: 1.05rem; color: var(--text-muted); }
.module ul.features { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.module ul.features li { padding-left: 28px; position: relative; color: var(--text); }
.module ul.features li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--success-soft); }
.module ul.features li::after { content: ''; position: absolute; left: 5px; top: 10px; width: 5px; height: 8px; border: solid var(--success); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.module ul.features b { font-weight: 650; }
.module figure { margin: 0; }
.module .browser { box-shadow: var(--shadow); border-color: var(--border); }
.module .browser-bar { background: var(--bg-sunken); }
.module .browser-bar i { background: var(--border); }
.module .browser-bar span { background: var(--bg-elev); color: var(--text-faint); }
.menu-tree { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.menu-tree .card { padding: 18px 20px; }
.menu-tree h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.menu-tree ul { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.menu-tree li { padding: 3px 0; border-bottom: 1px dashed var(--border); }
.menu-tree li:last-child { border-bottom: none; }
.menu-tree li.soon { color: var(--text-faint); }
.menu-tree li.soon::after { content: 'pripravujeme'; font-size: 0.7rem; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--warning-soft); color: var(--text-muted); }
@media (max-width: 960px) {
  .module { grid-template-columns: 1fr; gap: 24px; }
  .module.flip .module-text { order: 0; }
  .menu-tree { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .menu-tree { grid-template-columns: 1fr; } }

/* comparison table */
.table { width: 100%; border-collapse: collapse; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); background: var(--bg-sunken); }
.table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }

/* shortcuts strip */
.shortcuts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.shortcuts span { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.92rem; }

/* faq */
.faq details { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--text-faint); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-muted); padding-bottom: 16px; margin: 0; }

/* CTA band */
.cta { background: linear-gradient(135deg, var(--accent) 0%, #3b7be0 60%, #5b9bf5 100%); color: #fff; border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta .btn { background: #fff; border-color: #fff; color: var(--accent-text); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 32px; } .cta .actions { justify-content: flex-start; } }

/* footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 650; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); vertical-align: middle; margin-left: 6px; }
.badge-soft { background: var(--warning-soft); color: var(--text-muted); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
