/* ==========================================================================
   qlik.si — stili
   ========================================================================== */

:root {
  --green: #009845;
  --green-600: #00843c;
  --green-100: #e3f5ea;
  --teal: #10a5a0;
  --blue: #1f6fb2;
  --navy: #0b1e2d;
  --navy-800: #11293c;
  --navy-700: #1a3650;
  --ink: #15232f;
  --body: #3d4c58;
  --muted: #6b7a86;
  --line: #e2e8ec;
  --soft: #f4f7f6;
  --white: #ffffff;
  --sel-white: #ffffff;
  --sel-gray: #c9ced2;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 30, 45, .06), 0 8px 24px rgba(11, 30, 45, .06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .35);
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

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

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font: 600 16px/1 var(--font);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-600); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--green-100); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; gap: 6px; font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 8px; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.eyebrow-light { color: #5fd38d; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(95, 211, 141, .2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 30, 45, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-mark { width: 28px; height: 28px; color: var(--green); }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.brand-tld { color: var(--green); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 96px 0 112px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(0, 152, 69, .35), transparent 70%),
    radial-gradient(500px 380px at 10% 110%, rgba(16, 165, 160, .25), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1.eyebrow { line-height: 1.6; letter-spacing: .12em; }
.hero-title { color: var(--white); font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; line-height: 1.15; letter-spacing: -.035em; margin: 0 0 24px; }
.hero .hl { background: linear-gradient(90deg, #36d27a, #19c2b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; line-height: 1.6; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* ---------- Demo (asociativni list v slogu Qlik Sense) ---------- */
.demo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--ink); font-size: 14px; }
.demo.q-sheet { margin: 0; padding: 10px; border: 0; background: #f2f2f2; }
.demo .q-side { grid-template-columns: 165px minmax(0, 1fr); }
.demo .q-kpi .q-body { min-height: 56px; }
.demo .q-kpi-value { font-size: 28px; }
.demo-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 4px 0; font: 12px var(--font); color: #6b7a86; }
.demo-legend span { display: inline-flex; align-items: center; gap: 6px; }
.demo-legend em { margin-left: auto; font-style: normal; }
.lg { width: 12px; height: 12px; border-radius: 3px; border: 1px solid #d0d0d0; }
.lg-sel { background: #009845; border-color: #009845; }
.lg-pos { background: #fff; }
.lg-alt { background: #e4e4e4; }
.lg-exc { background: #a9a9a9; border-color: #a9a9a9; }

/* ---------- Strip ---------- */
.strip { background: var(--navy-800); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.06); }
.strip-inner { display: flex; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.strip-label { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: rgba(255,255,255,.45); white-space: nowrap; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; }
.strip li { font-weight: 600; color: rgba(255,255,255,.82); font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.72); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head .sub { font-size: 19px; color: var(--muted); margin: 0; }
.section-dark .section-head .sub { color: rgba(255,255,255,.65); }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex; flex-direction: column;
  min-height: 460px;
}
.pillar h3 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; margin: 24px 0 14px; color: inherit; }
.pillar p { font-size: 17px; }
.pillar-dark { background: var(--navy); color: rgba(255,255,255,.75); }
.pillar-dark h3, .pillar-dark .link-arrow { color: var(--white); }
.pillar-green { background: linear-gradient(140deg, var(--green) 0%, #00805f 100%); color: rgba(255,255,255,.9); }
.pillar-green h3, .pillar-green .link-arrow { color: var(--white); }
.pillar::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.05);
}
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--white); }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-dark .pillar-icon { background: rgba(0,152,69,.2); color: #5fd38d; }

.ticks { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.pillar-dark .ticks li::before { background-color: var(--green); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-num { display: inline-block; font-weight: 800; font-size: 14px; color: var(--green); background: var(--green-100); padding: 4px 10px; border-radius: 999px; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 16px; }

/* ---------- Courses ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; background: var(--white);
  transition: box-shadow .25s, transform .25s;
}
.course:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.course-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.course-meta { font-size: 14px; color: var(--muted); font-weight: 500; }
.course h3 { margin-bottom: 10px; }
.course p { font-size: 16px; }
.course-list { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14.5px; }
.course-list li { padding-left: 18px; position: relative; }
.course-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.course-custom { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.75); }
.course-custom h3 { color: var(--white); }
.course-custom .course-meta { color: rgba(255,255,255,.55); }
.course-custom .btn { margin-top: auto; align-self: flex-start; }

.tag { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.tag-green { background: var(--green-100); color: var(--green-600); }
.tag-teal { background: #dff5f4; color: #0b7a76; }
.tag-blue { background: #e3eef8; color: var(--blue); }
.tag-dark { background: #e6eaee; color: var(--navy-700); }
.tag-light { background: rgba(255,255,255,.12); color: var(--white); }

.formats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.format { background: var(--soft); padding: 22px 26px; display: flex; flex-direction: column; gap: 2px; }
.format strong { color: var(--ink); }
.format span { font-size: 15px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.07);
}
.step::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green), var(--teal));
}
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--green); color: #5fd38d; font-weight: 800; margin-bottom: 22px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15.5px; margin: 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.about-visual {
  position: relative; border-radius: var(--radius-lg); aspect-ratio: 1 / 1; max-height: 480px;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,152,69,.18), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(16,165,160,.18), transparent 55%),
    var(--soft);
  display: grid; place-items: center;
}
.about-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; text-align: center; width: min(320px, 80%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.about-card strong { color: var(--ink); font-size: 20px; }
.about-card > span { color: var(--muted); font-size: 15px; }
.avatar { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: var(--white); background: linear-gradient(140deg, var(--green), var(--teal)); margin-bottom: 14px; }
.about-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.about-tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-600); }
.about-copy h2 { margin-bottom: 22px; }
.values { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.values li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.values strong { color: var(--ink); }
.values span { font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%23009845' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-right: 40px; margin: -6px 0 22px; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 0% 0%, rgba(0,152,69,.28), transparent 70%);
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact h2 { color: var(--white); margin-bottom: 20px; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); font-weight: 600; }
.contact-list a, .contact-list strong { color: var(--white); font-size: 20px; font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: #5fd38d; }

.contact-form { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 36px; display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  font: 400 16px var(--font); color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd8de; border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,152,69,.15); }
.contact-form .invalid { border-color: #d2453b !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.topic { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topic legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.topic label { display: inline-flex; align-items: center; gap: 0; font-weight: 500; cursor: pointer; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic label:has(input) { padding: 8px 16px; border: 1px solid #cfd8de; border-radius: 999px; transition: all .2s; }
.topic label:has(input:checked) { background: var(--green); border-color: var(--green); color: var(--white); }
.topic label:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.contact-form label small { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-template-columns: 20px 1fr !important; align-items: start; gap: 10px !important; font-weight: 400 !important; font-size: 14px !important; color: var(--body); cursor: pointer; border-radius: 8px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }
.consent a { color: var(--green-600); font-weight: 600; }
.consent.invalid { outline: 2px solid #d2453b; outline-offset: 4px; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.form-note:empty { display: none; }
.form-success { background: var(--white); color: var(--body); border-radius: var(--radius-lg); padding: 48px 36px; text-align: center; box-shadow: var(--shadow-lg); }
.form-success h3 { color: var(--ink); font-size: 24px; margin-bottom: 10px; }
.form-success p { margin: 0; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green); }
.success-icon svg { width: 32px; height: 32px; }
[hidden] { display: none !important; }
.form-note.ok { color: var(--green-600); }
.form-note.err { color: #d2453b; }

/* ---------- Legal page ---------- */
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 10px; }
.legal a { color: var(--green-600); font-weight: 600; }
.legal ul { margin: 0 0 1em; padding-left: 22px; display: grid; gap: 6px; }
.legal-meta { color: var(--muted); font-size: 15px; }

/* ---------- Guides: hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 72px; }
.page-hero .hero-glow { opacity: .8; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.03em; max-width: 880px; margin-bottom: 18px; }
.page-hero .lead { max-width: 720px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 22px; color: rgba(255,255,255,.55); }
.breadcrumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span[aria-hidden] { opacity: .5; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.6); }
.article-meta strong { color: rgba(255,255,255,.9); font-weight: 600; }

/* ---------- Guides: listing ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.guide-card h3 { margin: 16px 0 10px; }
.guide-card p { font-size: 16px; margin-bottom: 18px; }
.guide-card .link-arrow { color: var(--green-600); }
.guide-card .course-meta { margin-left: auto; }
.guide-card .course-top { margin-bottom: 0; }

.guide-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.guide-jump a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); transition: border-color .2s, color .2s; }
.guide-jump a:hover { border-color: var(--green); color: var(--green-600); }
.guide-group { margin-top: 56px; scroll-margin-top: 96px; }
.guide-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 20px; }
.guide-group-head h2 { font-size: 26px; }
.guide-group-head p { margin: 0; color: var(--muted); }

/* ---------- Guides: article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14.5px; border-left: 2px solid var(--line); padding-left: 18px; }
.toc strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--body); text-decoration: none; }
.toc a:hover { color: var(--green-600); }

.prose { max-width: 740px; font-size: 17.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 2.2em; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; margin-top: 1.8em; scroll-margin-top: 96px; }
.prose a { color: var(--green-600); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--ink); }
.prose code { font: 500 .88em/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: .1em .4em; color: var(--ink); }
.prose pre {
  position: relative; margin-top: 1.3em; padding: 20px 22px; border-radius: 12px; overflow-x: auto;
  background: #0d1b26; color: #d7e3ea; font: 14.5px/1.65 ui-monospace, "Cascadia Code", Consolas, monospace;
}
.prose code, .prose pre { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.prose pre .c { color: #6f8a9b; }
.prose pre .k { color: #5fd38d; }
.prose pre .s { color: #f2c27b; }
.copy-btn {
  position: absolute; top: 10px; right: 10px; font: 600 12px var(--font); color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 4px 10px; cursor: pointer;
}
.copy-btn:hover { color: var(--white); background: rgba(255,255,255,.14); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 700; }
.prose td code { white-space: nowrap; }
.callout { border-radius: 12px; padding: 18px 22px; background: var(--green-100); border-left: 4px solid var(--green); font-size: 16.5px; }
.callout strong { display: block; margin-bottom: 4px; }
.callout-warn { background: #fff5e6; border-left-color: #e8a33d; }
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; font-size: 14.5px; }
.states div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.states i { display: block; height: 28px; border-radius: 6px; margin-bottom: 8px; border: 1px solid var(--line); }
.states b { display: block; color: var(--ink); }

.cta-box { margin-top: 3em; background: var(--navy); color: rgba(255,255,255,.78); border-radius: var(--radius-lg); padding: 36px; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(0,152,69,.18); }
.cta-box h2, .cta-box h3 { color: var(--white); margin: 0 0 10px; font-size: 26px; }
.cta-box p { margin: 0 0 20px; max-width: 520px; }
.related { margin-top: 3em; }
.related h2 { font-size: 24px; margin-bottom: 18px; }
.related .guide-grid { grid-template-columns: 1fr 1fr; }

@media (max-width: 1080px) {
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; order: -1; margin-bottom: 36px; border-left: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--soft); }
}
@media (max-width: 640px) {
  .guide-grid, .related .guide-grid { grid-template-columns: 1fr; }
  .prose { font-size: 16.5px; }
  .prose pre { margin-left: -16px; margin-right: -16px; border-radius: 0; font-size: 13.5px; }
  .states { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 28px 22px; }
}

/* ---------- Qlik-style charts (vodiči) ---------- */
.q-sheet {
  --q-text: #404040; --q-muted: #808080; --q-line: #e3e3e3; --q-blue: #4477aa; --q-sel: #009845;
  margin-top: 1.4em; padding: 10px; background: #f2f2f2; border: 1px solid var(--line); border-radius: 12px;
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif; color: var(--q-text); line-height: 1.35;
}
.prose .q-sheet { max-width: none; }
.q-grid-2, .q-grid-3, .q-grid-4 { display: grid; gap: 8px; }
.q-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.q-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.q-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.q-side { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px; }
.q-side-wide { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.q-side-wide .q-kpi .q-title { font-size: 13px; overflow-wrap: anywhere; }
.q-stack { display: grid; gap: 8px; min-width: 0; }
.q-sheet > * + * { margin-top: 8px; }
.q-obj { background: #fff; border: 1px solid var(--q-line); border-radius: 3px; padding: 10px 12px 8px; min-width: 0; }
.q-title { font-size: 15px; font-weight: 600; color: var(--q-text); }
.q-subtitle { font-size: 12.5px; color: var(--q-muted); margin-top: 1px; }
.q-body { margin-top: 6px; position: relative; }
.q-body svg { display: block; overflow: visible; }
.q-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; font-size: 12px; color: #595959; margin-bottom: 4px; }
.q-legend span { display: inline-flex; align-items: center; gap: 6px; }
.q-legend i { width: 10px; height: 10px; display: inline-block; }
.q-axis { font: 11.5px "Source Sans 3", "Source Sans Pro", Arial, sans-serif; fill: var(--q-muted); }
.q-axis-title { font: 600 12px "Source Sans 3", "Source Sans Pro", Arial, sans-serif; fill: #595959; }
.q-label { font: 600 11px "Source Sans 3", "Source Sans Pro", Arial, sans-serif; fill: var(--q-text); }
.q-grid { stroke: #ececec; stroke-width: 1; shape-rendering: crispEdges; }
.q-axis-line { stroke: #bfbfbf; shape-rendering: crispEdges; }
.q-bar { shape-rendering: crispEdges; }
.q-band { fill: rgba(68,119,170,.09); }
.q-band-label { font: 600 11px "Source Sans 3", "Source Sans Pro", Arial, sans-serif; fill: var(--q-blue); }
.q-hover { stroke: #999; stroke-dasharray: 2 2; }
.q-dashed { stroke-dasharray: 5 4; }
.q-note { font-size: 12px; color: var(--q-muted); margin-top: 4px; }

.q-kpi .q-body { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 74px; text-align: center; }
.q-kpi-value { font-size: 32px; font-weight: 600; color: var(--q-text); letter-spacing: -.01em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.q-kpi-sub { font-size: 13px; color: var(--q-muted); margin-top: 4px; }
.q-grid-4 .q-kpi-value { font-size: 26px; white-space: nowrap; }

.q-table-wrap { overflow-x: auto; }
.q-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; display: table !important; }
.prose .q-table th, .prose .q-table td { padding: 6px 10px; border-bottom: 1px solid #f0f0f0; background: none; font-size: 13.5px; }
.prose .q-table th { color: var(--q-text); font-weight: 600; border-bottom: 1px solid #d9d9d9; white-space: nowrap; }
.prose .q-table .num { text-align: right; white-space: nowrap; }
.prose .q-table .q-total td { font-weight: 600; border-bottom: 1px solid #d9d9d9; }

.q-filter { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.q-filter-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--q-line); }
.q-filter-head::after { content: ""; width: 13px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='5' fill='none' stroke='%23808080' stroke-width='1.6'/%3E%3Cpath d='M10.5 10.5 15 15' stroke='%23808080' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; }
.prose .q-filter-list, .q-filter-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; max-height: 260px; }
.prose .q-filter-list li + li { margin-top: 0; }
.q-filter-list li { border-bottom: 1px solid #ececec; }
.q-filter-list button { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 4px 10px; font-size: 13.5px; cursor: pointer; }
.q-filter-list button:focus-visible { outline: 2px solid var(--q-sel); outline-offset: -2px; }
.q-filter-list .q-pos button { background: #fff; color: var(--q-text); }
.q-filter-list .q-pos button:hover { background: #f5f5f5; }
.q-filter-list .q-sel button { background: var(--q-sel); color: #fff; }
.q-filter-list .q-alt button { background: #e4e4e4; color: var(--q-text); }
.q-filter-list .q-exc button { background: #a9a9a9; color: #fff; }

.q-filter-search { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 6px 10px; font-size: 13.5px; border-bottom: 1px solid var(--q-line); background: #fafafa; color: var(--q-text); }
.q-filter-search::placeholder { color: #a0a0a0; }
.q-filter-search:focus { background: #fff; box-shadow: inset 0 -2px 0 var(--q-sel); }
.q-filter-actions { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-top: 1px solid var(--q-line); background: #fafafa; margin-top: auto; }
.q-filter-actions button { all: unset; cursor: pointer; font-size: 12px; padding: 3px 8px; border: 1px solid #d0d0d0; border-radius: 3px; background: #fff; color: var(--q-text); }
.q-filter-actions button:hover { border-color: var(--q-sel); color: var(--q-sel); }
.prose .q-table tr.q-strong td { font-weight: 600; border-top: 1px solid #bfbfbf; background: #fafafa; }

/* Posnetki Qlikovega vmesnika (meniji, zaznamki) */
.q-mock-menu { position: relative; }
.q-menu { position: absolute; right: 10px; top: 34px; z-index: 2; background: #fff; border: 1px solid #d9d9d9; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.15); padding: 4px 0; min-width: 190px; font-size: 13.5px; }
.q-menu div { padding: 6px 14px; display: flex; align-items: center; gap: 10px; color: var(--q-text); }
.q-menu div.q-menu-active { background: #ececec; }
.q-menu div.q-menu-sub { padding-left: 34px; }
.q-menu hr { border: 0; border-top: 1px solid #ececec; margin: 4px 0; }
.q-menu i { width: 14px; text-align: center; font-style: normal; color: var(--q-muted); }
.q-dots { position: absolute; right: 10px; top: 8px; width: 22px; height: 22px; border-radius: 3px; background: #ececec; display: grid; place-items: center; font-weight: 700; color: var(--q-text); line-height: 1; }
.q-bm-list { list-style: none; margin: 0; padding: 0; }
.prose .q-bm-list li + li { margin-top: 0; }
.q-bm-list li { border-bottom: 1px solid #ececec; }
.q-bm-list button { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 8px 10px; }
.q-bm-list button:hover { background: #f5f5f5; }
.q-bm-list button.q-bm-active { background: #e8f5ee; box-shadow: inset 3px 0 0 var(--q-sel); }
.q-bm-list b { display: block; font-size: 13.5px; font-weight: 600; }
.q-bm-list span { display: block; font-size: 12px; color: var(--q-muted); }

.q-selbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--q-line); border-radius: 3px; padding: 5px 8px; min-height: 40px; }
.q-selbar-empty { font-size: 13px; color: var(--q-muted); padding-left: 2px; }
.q-selchip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--q-line); border-bottom: 3px solid var(--q-sel); padding: 2px 4px 1px 8px; font-size: 13px; }
.q-selchip small { display: block; font-size: 11px; color: var(--q-muted); margin-right: -4px; }
.q-selchip button { all: unset; cursor: pointer; padding: 0 4px; font-size: 16px; color: var(--q-muted); }
.q-selchip button:hover { color: var(--q-text); }

.q-tooltip { position: fixed; z-index: 1000; display: none; pointer-events: none; background: rgba(64,64,64,.95); color: #fff; border-radius: 4px; padding: 7px 10px; font: 13px/1.4 "Source Sans 3", "Source Sans Pro", Arial, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.q-tooltip-title { font-weight: 700; margin-bottom: 2px; }
.q-tooltip-row { display: flex; align-items: center; gap: 6px; }
.q-tooltip-row i { width: 9px; height: 9px; display: inline-block; }
.q-tooltip-row b { margin-left: auto; padding-left: 14px; font-weight: 600; }

.q-model { background: #f7f7f7 radial-gradient(#dcdcdc 1px, transparent 1px) 0 0/16px 16px; border: 1px solid var(--q-line); border-radius: 3px; padding: 8px; overflow-x: auto; }
.q-model svg { width: 100%; min-width: 560px; height: auto; display: block; font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif; }
.q-mtable rect { fill: #fff; stroke: #bfbfbf; }
.q-mtable .q-mhead { fill: #e9edf2; stroke: none; }
.q-msyn rect { stroke: #e8a33d; }
.q-msyn .q-mhead { fill: #fdeccf; }
.q-mname { font-size: 13px; font-weight: 700; fill: #404040; }
.q-mrows { font-size: 11px; fill: #808080; }
.q-mfield { font-size: 12.5px; fill: #404040; }
.q-mkey { font-weight: 600; }
.q-mkeyrow { fill: rgba(68,119,170,.08) !important; stroke: none !important; }
.q-mkeyicon circle, .q-mkeyicon path { fill: none; stroke: #4477aa; stroke-width: 1.4; }
.q-link { fill: none; stroke: #4477aa; stroke-width: 1.5; opacity: .75; }
.q-link-loose { stroke-dasharray: 5 4; }
.q-link-warn { stroke: #d2453b; opacity: 1; }
.q-caption { font-family: var(--font); font-size: 13.5px; color: var(--muted); margin: 10px 4px 2px; line-height: 1.5; }
.q-caption strong { color: var(--ink); }

@media (max-width: 760px) {
  .q-grid-3, .q-grid-2:not(.q-keep) { grid-template-columns: minmax(0, 1fr); }
  .q-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-side { grid-template-columns: minmax(0, 1fr); }
  .q-side .q-filter-list { max-height: 150px; }
  .q-kpi-value { font-size: 26px; }
}
@media (max-width: 640px) {
  .prose .q-sheet { margin-left: -8px; margin-right: -8px; padding: 6px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #07141e; color: rgba(255,255,255,.6); padding: 56px 0 32px; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { margin: 12px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer-legal p { margin: 0; }
.disclaimer { max-width: 640px; color: rgba(255,255,255,.4); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .demo { max-width: 640px; }
  .grid-3, .courses { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about { gap: 48px; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 17px; }
  .nav .btn { margin-top: 18px; }

  .section { padding: 80px 0; }
  .hero { padding: 64px 0 80px; }
  .pillars, .section-head-split, .about, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .section-head-split { gap: 16px; }
  .faq-wrap, .contact-grid { gap: 40px; }
  .pillar { min-height: 0; padding: 36px 28px; }
  .about-visual { max-height: 340px; aspect-ratio: auto; padding: 40px 0; }
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-3, .courses, .steps, .formats { grid-template-columns: 1fr; }
  .demo .q-side { grid-template-columns: minmax(0, 1fr); }
  .demo .q-side > .q-stack:first-child { grid-template-columns: 1fr 1fr; }
  .demo-legend em { margin-left: 0; width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .values li { grid-template-columns: 1fr; gap: 2px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .card, .course { padding: 24px; }
}
