/* ============================================================
   AI CONTENT TRUST LAB — MATERIAL DESIGN 3 THEME
   Dizajn: Single Sidebar (Mäkký, organický, dôveryhodný, asymetrický)
   ============================================================ */
:root {
  /* Typografia */
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Farby - Material 3 Light Theme */
  --canvas: #F8F9FA; 
  --surface: #FFFFFF;
  --surface-2: #F0F2F5;
  --line: rgba(0,0,0,0.08); 
  --line-2: rgba(0,0,0,0.04);
  
  --txt: #1F1F1F;
  --muted: #444746;
  --faint: #747775;

  /* Akcenty */
  --accent: #B3261E; 
  --accent-l: #F9DEDC;
  --brand: #005FCC; 
  --brand-l: #D3E3FD;

  --emerald: #146C43;
  --red: #B3261E;
  --gold: #B08D00;
  --teal: #006A60;
  --teal-d: #00201C;
  --teal-c: #74F8E5;
  --on-teal-c: #00201C;
  --violet-c: #EADDFF;
  --md-on-tertiary-container: #21005D;

  /* Štruktúra a tiene (Material 3) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.12);
  --shadow-hover: 0 4px 6px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);

  /* Material Design Overrides pre md-* komponenty */
  --md-sys-color-primary: var(--brand);
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-secondary: var(--accent);
  --md-sys-color-surface: var(--surface);
  --md-sys-color-on-surface: var(--txt);
  --md-sys-color-outline: #747775;
  --md-sys-color-surface-container-low: var(--surface);
  --md-sys-color-surface-container: var(--surface-2);
  --md-sys-color-error-container: #F9DEDC;
  --md-sys-color-on-error-container: #410E0B;
  --md-sys-color-success-container: #C4EED0;
  --md-sys-color-on-success-container: #002114;
  --md-sys-color-warning-container: #FFEFD7;
  --md-sys-color-on-warning-container: #281900;
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--sans); color: var(--txt); background: var(--canvas);
  min-height: 100vh; -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.6; letter-spacing: 0;
}
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 4px; }

/* Typografia */
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0.02em; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
.eyebrow { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--brand); margin-bottom: 8px; display: block; }

/* =========================================================
   SIDEBAR LAYOUT
   ========================================================= */
.layout { display: flex; min-height: 100vh; width: 100%; }

.rail {
  width: 280px; flex-shrink: 0; background: var(--surface); color: var(--txt);
  border-right: 1px solid var(--line-2); position: fixed; left: 0; top: 0; bottom: 0; 
  display: flex; flex-direction: column; z-index: 40;
}
.rail .brand { padding: 24px; margin: 0; background: var(--surface); display: flex; align-items: center; gap: 12px; }
.rail .brand .mk { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 12px; flex-shrink: 0; }
.rail .brand h1 { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--txt); margin: 0; line-height: 1.2; letter-spacing: -0.02em; }

.nav { flex: 1; overflow-y: auto; padding: 12px; }
.nav .grp { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--faint); padding: 16px 16px 8px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 48px; color: var(--muted); font-weight: 500; margin-bottom: 4px; transition: .2s; border-radius: 24px; }
.nav a:hover { color: var(--txt); background: var(--surface-2); }
.nav a.active { background: var(--brand-l); color: var(--brand); font-weight: 600; }
.nav a svg { width: 20px; height: 20px; flex-shrink: 0; }
.railftr { padding: 16px 24px; background: var(--canvas); font-size: 12px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--line-2); }

.main { margin-left: 280px; flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* Mobilná responzivita */
@media(max-width:1024px) { 
  .rail { transform: translateX(-100%); transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-lg); } 
  .rail.open { transform: translateX(0); } 
  .main { margin-left: 0; } 
}

/* =========================================================
   ZVYŠOK STYLOV (Komponenty, Typografia, Tabuľky)
   ========================================================= */
.topbar { height: 72px; background: var(--canvas); display: flex; align-items: center; gap: 16px; padding: 0 32px; position: sticky; top: 0; z-index: 30; }
.cmdk { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 12px; background: var(--surface); padding: 0 20px; height: 48px; border-radius: 24px; box-shadow:var(--shadow-sm); transition: .2s; }
.cmdk:focus-within { box-shadow: var(--shadow); }
.cmdk input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15px; color: var(--txt); font-family: var(--sans); }
.cmdk input::placeholder { color: var(--faint); }
.cmdk svg { color: var(--faint); }

.tb-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 0 16px; height: 40px; border-radius: 20px; background: var(--surface); color: var(--txt); box-shadow: var(--shadow-sm); }
.tb-sel { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--txt); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; display: grid;place-items: center; color: var(--muted); cursor: pointer; transition: .2s; }
.iconbtn:hover { background: var(--surface-2); color: var(--txt); }
.burger { display: none; } @media(max-width:1024px) { .burger { display: grid; } }

.page { padding: 32px 48px 96px; max-width: 1420px; margin: 0 auto; width: 100%; }
.phead { margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.phead h2 { font-family: var(--sans); font-size: clamp(32px, 4vw, 40px); font-weight: 600; letter-spacing: -0.02em; color: var(--txt); margin: 4px 0 0; }

/* Asymetrické Gridy a Surface Groups (M3 Flow) */
.grid { display: grid; gap: 24px; }
.grid-asym { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
@media(max-width: 1024px) { .grid-asym { grid-template-columns: 1fr; } }

.surface-group { background: var(--surface-container-low); border-radius: 28px; padding: 32px; margin-bottom: 32px; }
.surface-group-h { font-family: var(--sans); font-size: 20px; font-weight: 600; color: var(--txt); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; letter-spacing: -0.01em; }
.surface-group-h svg { color: var(--brand); }

.panel { background: var(--surface); border-radius: 24px; box-shadow: none; border: 1px solid var(--line-2); position: relative; margin-bottom: 24px; overflow: hidden; }
.panel.pad { padding: 32px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: var(--surface); }
.panel-h .t { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--txt); display: flex; align-items: center; gap: 10px; }

.panel-h .x { font-family: var(--sans); font-size: 12px; color: var(--faint); }

.kcard { background: var(--surface); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); transition: .2s; display: block; }
.kcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.kcat { font-family: var(--sans); font-size: 12px; color: var(--brand); display: inline-block; margin-bottom: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.kcard h4 { font-family: var(--sans); font-size: 20px; font-weight: 600; margin: 0; color: var(--txt); line-height: 1.4; }

.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.tile { background: var(--surface); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-sm);border: 1px solid var(--line-2); }
.tile .lbl { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 500; }
.tile .val { font-family: var(--sans); font-size: 40px; font-weight: 600; margin-top: 12px; color: var(--txt); line-height: 1; letter-spacing: -0.02em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 500; font-size: 14px; padding: 0 24px; height: 44px; border-radius: 22px; border: none; cursor: pointer; transition: .2s; background: var(--surface); color: var(--txt); box-shadow: var(--shadow-sm); }
.btn svg { width: 20px; height: 20px; }
.btn:hover { box-shadow: var(--shadow); background: var(--surface-2); }
.btn-primary, .btn-teal { background: var(--brand); color: #FFF; }
.btn-primary:hover, .btn-teal:hover { background: #0052B3; color: #FFF; }
.btn-ghost { box-shadow: none; background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-l); box-shadow: none; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; border-radius: 28px; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 12px; background: var(--surface-2); color: var(--txt); }
.ai-M0 { background: #F0F2F5; } .ai-M1 { background: #E3F2FD; color: #0D47A1; } .ai-M2 { background: #BBDEFB; color: #0D47A1; } .ai-M3 { background: #90CAF9; color: #0D47A1; } .ai-M4 { background: #64B5F6; color: #0D47A1; }
.sev-high { background: #F9DEDC; color: #410E0B; } .sev-med { background: #FFEFD7; color: #281900; } .sev-low { background: #C4EED0; color: #002114; }
.tag { font-family: var(--sans); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 12px; background: var(--surface-2); color: var(--muted); }
.dotz { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.z-green { background: var(--emerald); } .z-orange { background: var(--gold); } .z-red { background: var(--accent); }

.dash-title { font-family: var(--sans); font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--txt); line-height: 1.1; }
.hero-desc { font-size: 18px; color: var(--muted); max-width: 640px; margin-top: 20px; line-height: 1.6; }
.mrz { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--faint); word-break: break-all; background: var(--surface-2); padding: 16px; border-radius: 16px; }

.ti-hero { background: var(--surface); border-radius: 32px; box-shadow: var(--shadow-lg); padding: 40px; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; }
.ti-foot { display: flex; gap: 40px; justify-content: center; width: 100%; border-top: 1px solid var(--line-2); padding-top: 32px; margin-top: 32px; position: relative; z-index: 2; }
.ti-foot > div { display: flex; flex-direction: column; align-items: center; }
.ti-foot b { font-family: var(--sans); font-size: 28px; font-weight: 600; color: var(--txt); line-height: 1; }
.ti-foot span { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 8px; text-transform: uppercase; font-weight: 500; letter-spacing: 0.05em; }
.dash .hero { display: block; padding: 16px 0 48px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.pillchip { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 24px; background: var(--surface); color: var(--txt); font-size: 15px; font-weight: 500; font-family: var(--sans); box-shadow: var(--shadow-sm); transition: .2s; }
.pillchip svg { width: 20px; height: 20px; color: var(--brand); }
.pillchip:hover { box-shadow: var(--shadow); background: var(--surface-2); }

.seg { display: inline-flex; gap: 4px; padding: 6px; background: var(--surface-2);border-radius: 28px; margin: 16px 0 32px; }
.seg-b { appearance: none; border: none; background: transparent; color: var(--muted); font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 12px 24px; border-radius: 24px; cursor: pointer; transition: .2s; }
.seg-b:hover { color: var(--txt); }
.seg-b.on { background: var(--surface); color: var(--brand); font-weight: 600; box-shadow: var(--shadow-sm); }
.tabpane[hidden] { display: none; }

.secthead { font-family: var(--sans); font-weight: 600; font-size: 24px; color: var(--txt); margin: 0 0 8px; letter-spacing: -0.01em; }
.secsub { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.pbars { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.pbar { background: var(--surface); border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); }
.pb-top { display: flex; align-items: baseline; justify-content: space-between; }
.pb-top span { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); }
.pb-top b { font-family: var(--sans); font-size: 20px; font-weight: 600; color: var(--txt); }
.pb-track { display: block; height: 8px; background: var(--surface-2); border-radius: 4px; margin-top: 12px; overflow: hidden; }
.pb-track i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }

.vsteps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.vstep { background: var(--surface); border-radius: 24px; padding: 24px 16px; text-align: center; transition: .2s; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.vstep.on { border-color: transparent; box-shadow: var(--shadow); background: var(--surface-container-low); }
.vnode { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.vstep.on .vnode { background: var(--brand-l); color: var(--brand); }
.vname { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--txt); }
.vct { font-family: var(--sans); font-size: 28px; font-weight: 600; color: var(--brand); margin-top: 8px; letter-spacing: -0.02em; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-family: var(--sans); font-weight: 600; font-size: 13px; padding: 16px 24px; border-bottom: 1px solid var(--line-2); background: var(--surface); color: var(--muted); }
.tbl td { padding: 16px 24px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.tbl tr:hover td { background: var(--surface-2); }
.linkc { color: var(--brand); font-weight: 500; cursor: pointer; text-decoration: none; }
.linkc:hover { color: #0052B3; text-decoration: underline; }

.feed .it { display: flex; gap: 16px; padding: 16px 0; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #fff; flex-shrink: 0; font-family: var(--sans); }
.feed .tx { font-size: 16px; font-weight: 500; color: var(--txt); text-decoration: none; }
.feed .tx:hover { color: var(--brand); }
.feed .tm { font-size: 13px; color: var(--muted); margin-top: 4px; }

.cert { max-width: 720px; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); position: relative; margin-top: 24px; overflow: hidden; border: 1px solid var(--line-2); }
.cert .top { background: var(--brand); color: #FFF; padding: 48px; position: relative; overflow: hidden; }
.cert .top .eb { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-l); margin-bottom: 12px; }
.cert .top h3 { font-family: var(--sans); font-size: 32px; font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
.cert .seal { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; color: #FFF; }
.cert .body { padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 48px; }
.cert dl { margin: 0; }
.cert .drow { display: flex; justify-content: space-between; padding: 12px 0; }
.cert .drow .k { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--muted); }
.cert .drow .v { font-weight: 500; font-size: 15px; text-align: right; color: var(--txt); }
.cert .ftr { padding: 32px 48px; background: var(--surface-2); }
.cert .stmt { font-size: 14px; font-style: italic; color: var(--muted); background: var(--surface); border-radius: 20px; padding: 24px; margin-top: 24px; font-family: var(--serif); border: 1px solid var(--line-2); }

.helpbox { background: var(--brand-l); border-radius: 24px; padding: 24px 32px; display: flex; gap: 16px; font-size: 15px; margin-bottom: 32px; align-items: flex-start; color: var(--txt); }
.helpbox .hicon { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.helpbox b { font-weight: 600; }
.modeb { border-radius: 24px; padding: 24px 32px; display: flex; gap: 20px; align-items: center; background: var(--surface);box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); }
.modeb.green { background: var(--md-sys-color-success-container); border-color: transparent; } .modeb.green .lab { color: var(--md-sys-color-on-success-container); }
.modeb.orange { background: var(--md-sys-color-warning-container); border-color: transparent; } .modeb.orange .lab { color: var(--md-sys-color-on-warning-container); }
.modeb.red { background: var(--md-sys-color-error-container); border-color: transparent; } .modeb.red .lab { color: var(--md-sys-color-on-error-container); }
.modeb .lab { font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.modeb .tx { font-size: 14px; color: var(--muted); margin-top: 4px; }

.err { background: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container); padding: 16px 24px; border-radius: 16px; font-weight: 500; margin-bottom: 24px; }
.ok { background: var(--md-sys-color-success-container); color: var(--md-sys-color-on-success-container); padding: 16px 24px; border-radius: 16px; font-weight: 500; margin-bottom: 24px; }
.note { font-size: 14px; color: var(--muted); background: var(--surface-2); border-radius: 16px; padding: 16px 24px; font-weight: 500; }

.field { margin-bottom: 24px; display: block; }
.field .l { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 8px; display: block; font-family: var(--sans); }
.inp { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; font-family: var(--sans); font-size: 16px; background: var(--surface); transition: .2s; font-weight: 400; }
.inp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-l); }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media(max-width:680px) { .formgrid { grid-template-columns: 1fr; } }
.sliderow { display: flex; align-items: center; gap: 24px; padding: 12px 0; }
.sliderow .nm { width: 240px; font-size: 15px; font-weight: 500; color: var(--txt); }

.editor-toolbar { border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; padding: 16px; background: var(--surface-2); display: flex; gap: 8px; flex-wrap: wrap; }
.editor-toolbar button { border: none; border-radius: 12px; background: var(--surface); padding: 10px 16px; font-family: var(--sans); font-weight: 500; font-size: 14px; cursor: pointer; box-shadow: var(--shadow-sm); transition: .2s; }
.editor-toolbar button:hover { background: var(--brand-l); color: var(--brand); }
.editor { min-height: 400px; border: 1px solid var(--line); border-radius: 0 0 20px 20px; padding: 32px; font-size: 16px; line-height: 1.8; background: var(--surface); outline: none; transition: .2s; font-family: var(--sans); }
.editor:focus { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-l); }
.editor h2, .prose h2 { font-family: var(--sans); font-size: 28px; font-weight: 600; margin: 40px 0 20px; letter-spacing: -0.01em; }
.editor h3, .prose h3 { font-family: var(--sans); font-size: 22px; font-weight: 600; margin: 32px 0 16px; }
.editor blockquote, .prose blockquote { border-left: 4px solid var(--brand); margin: 24px 0; padding: 16px 0 16px 32px; color: var(--muted); font-family: var(--serif); font-size: 20px; font-style: italic; background: var(--brand-l); border-radius: 0 20px 20px 0; }
.editor p, .prose p { margin: 16px 0; }
.editor a, .prose a { color: var(--brand); text-decoration: none; font-weight: 500; }
.editor a:hover, .prose a:hover { text-decoration: underline; }
.prose { max-width: 760px; font-size: 18px; line-height: 1.8; color: var(--txt); }

.khero { background: var(--surface-container-low); border-radius: 32px; padding: 56px; box-shadow: var(--shadow); margin-bottom: 40px; border: 1px solid var(--line-2); }
.khero h2, .khero h1 { font-family: var(--sans); font-size: 40px; font-weight: 600; margin: 16px 0 0; color: var(--txt); letter-spacing: -0.02em; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line-2); margin-bottom: 32px; flex-wrap: wrap; padding-bottom: 8px; }
.tabs a { padding: 12px 24px; font-size: 15px; font-weight: 500; font-family: var(--sans); color: var(--muted); border-radius: 24px; transition: .2s; }
.tabs a.active { color: var(--brand); background: var(--brand-l); font-weight: 600; }
.tabs a:hover:not(.active) { background: var(--surface-2); color: var(--txt); }

/* Landing Page Overrides */
.lp-nav { background: var(--surface); display: flex; align-items: center; justify-content: space-between; padding: 20px 48px; position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); }
.lp-nav .b { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 600; font-size: 20px; color: var(--txt); letter-spacing: -0.02em; }
.lp-nav .b .mk { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 12px; }
.lp-nav .links { display: flex; gap: 32px; font-weight: 500; font-size: 16px; }
.lp-nav .links a:hover { color: var(--brand); }
@media(max-width:820px) { .lp-nav .links { display: none; } }
.lp-nav .cta { display: flex; gap: 16px; align-items: center; }
.lp-nav .cta a.login { font-weight: 500; font-size: 16px; }

.lp-hero { padding: 120px 48px 140px; background: var(--canvas); }
.lp-hero .wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 0.8fr; gap: 64px; align-items: center; }
@media(max-width:900px) { .lp-hero .wrap { grid-template-columns: 1fr; } .lp-hero { padding: 80px 24px 100px; } }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--brand); background: var(--brand-l); border-radius: 24px; padding: 10px 20px; }
.lp-hero h1 { font-family: var(--sans); font-size: clamp(48px, 6vw, 72px); color: var(--txt); margin: 24px 0 0; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.lp-hero .sub { font-size: 20px; color: var(--muted); max-width: 560px; margin-top: 24px; line-height: 1.6; }
.lp-hero .acts { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.lp-hero .vcard { background: var(--surface); border-radius: 40px; padding: 56px; box-shadow: var(--shadow-lg); text-align: center; border: 1px solid var(--line-2); }
.lp-hero .vcard .cap { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 24px; }

.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: -64px auto 0; position: relative; z-index: 10; padding: 0 48px; }
@media(max-width:760px) { .lp-stats { grid-template-columns: repeat(2, 1fr); } }
.lp-stat { background: var(--surface); border-radius: 32px; padding: 40px 24px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line-2); transition: 0.3s; }
.lp-stat:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.lp-stat .n { font-family: var(--sans); font-size: 56px; font-weight: 600; line-height: 1; color: var(--brand); letter-spacing: -0.02em; }
.lp-stat .l { font-family: var(--sans); font-size: 15px; font-weight: 500; margin-top: 16px; color: var(--muted); }

.lp-sec { padding: 120px 48px; max-width: 1200px; margin: 0 auto; }
.lp-sec h2 { font-family: var(--sans); font-size: 48px; margin: 16px 0 0; font-weight: 600; text-align: center; color: var(--txt); letter-spacing: -0.02em; }
.lp-sec .lead { text-align: center; color: var(--muted); font-size: 20px; max-width: 720px; margin: 24px auto 0; line-height: 1.6; }
.lp-eb { display: block; text-align: center; }

/* M3 Flow pre Landing Page - Zrušenie tvrdých gridov */
.lp-flow { display: flex; flex-direction: column; gap: 32px; margin-top: 64px; }
.lp-flow-row { display: flex; gap: 32px; align-items: center; }
.lp-flow-row:nth-child(even) { flex-direction: row-reverse; }
@media(max-width: 900px) { .lp-flow-row, .lp-flow-row:nth-child(even) { flex-direction: column; align-items: stretch; } }

.lp-feat { background: var(--surface); border-radius: 32px; padding: 48px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); flex: 1; transition: .2s; }
.lp-feat:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.lp-feat .ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;color: var(--brand); background: var(--brand-l); margin-bottom: 32px; }
.lp-feat h3 { font-family: var(--sans); font-size: 24px; font-weight: 600; margin: 0 0 16px; color: var(--txt); letter-spacing: -0.01em; }
.lp-feat p { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Horizontálny scroll pre 5P */
.lp-scroll-x { display: flex; gap: 24px; overflow-x: auto; padding: 24px 0 48px; margin-top: 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lp-scroll-x::-webkit-scrollbar { display: none; }
.lp-5p { background: var(--surface-container-low); border-radius: 32px; padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); min-width: 300px; flex: 0 0 auto; scroll-snap-align: start; transition: 0.3s; }
.lp-5p:hover { border-color: var(--brand-l); box-shadow: var(--shadow); }
.lp-5p .p { font-family: var(--sans); font-size: 28px; font-weight: 600; color: var(--brand); margin-bottom: 16px; letter-spacing: -0.02em; }
.lp-5p p { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.6; }

.lp-altsec { background: var(--surface-container-low); border-radius: 48px; margin: 40px 24px; }
.lp-6v { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 56px; }
.lp-6v .v { display: flex; align-items: center; gap: 16px; background: var(--surface); border-radius: 32px; padding: 16px 32px; font-size: 16px; font-weight: 500; box-shadow: var(--shadow-sm); font-family: var(--sans); border: 1px solid var(--line-2); }
.lp-6v .v .nx { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-l); color: var(--brand); font-weight: 600; }

.lp-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 64px; }
.lp-mod { display: flex; align-items: center; gap: 20px; background: var(--surface); border-radius: 28px; padding: 24px 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); transition: .2s; }
.lp-mod:hover { box-shadow: var(--shadow); background: var(--surface-container-low); }
.lp-mod .ic { color: var(--brand); flex-shrink: 0; }
.lp-mod b { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--txt); }
.lp-mod span { font-size: 15px; color: var(--muted); margin-left: 12px; }

.lp-cta { background: var(--brand); border-radius: 48px; padding: 100px 48px; text-align: center; color: #fff; margin: 64px auto; max-width: 1000px; box-shadow: var(--shadow-lg); }
.lp-cta h2 { font-family: var(--sans); font-size: 48px; font-weight: 600; margin: 0; color: #fff; letter-spacing: -0.02em; }

.lp-foot { background: var(--surface); padding: 80px 48px 48px; }
.lp-foot .wrap { max-width: 1200px; margin: 0 auto; }
.lp-foot .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); padding-bottom: 48px; }
.lp-foot .sign { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--muted); max-width: 720px; margin-top: 32px; line-height: 1.6; }
.lp-foot a { color: var(--txt); font-weight: 500; } .lp-foot a:hover { color: var(--brand); }
.cookiebar { position: fixed; left: 24px; right: 24px; bottom: 24px; max-width: 600px; margin: 0 auto; background: var(--surface); border-radius: 24px; padding: 24px 32px; display: flex; gap: 24px; align-items: center; z-index: 60;box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); }
.cookiebar p { font-size: 15px; font-weight: 400; color: var(--txt); margin: 0; flex: 1; line-height: 1.6; }

/* Utilities */
.chartbox { padding: 24px; }
.fadein { animation: fade .4s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qrbox { width: 120px; height: 120px; border-radius: 20px; padding: 8px; background: #FFF; margin: 0 auto; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); }
.qrbox img, .qrbox canvas { width: 100% !important; height: 100% !important; display: block; }

/* Material Web Components prisposobenie pre M3 */
md-outlined-text-field, md-outlined-select { 
  width: 100%; 
  --md-sys-typescale-body-large-font: var(--sans);
  --md-sys-typescale-body-large-weight: 400;
  --md-outlined-text-field-input-text-font: var(--sans);
  --md-outlined-select-text-field-input-text-font: var(--sans);
}
md-slider { --md-slider-active-track-color: var(--brand); --md-slider-handle-color: var(--brand); --md-slider-focus-handle-color: var(--brand); --md-slider-label-container-color: var(--brand); flex: 1; }
md-filled-button, md-outlined-button, md-text-button { --md-filled-button-label-text-font: 'Inter'; --md-outlined-button-label-text-font: 'Inter'; --md-filled-button-label-text-weight: 500; --md-outlined-button-label-text-weight: 500; }
md-icon { --md-icon-font: 'Material Symbols Rounded'; font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; }
html { scroll-behavior: smooth; }
.lp-sec[id], section[id] { scroll-margin-top: 84px; }
@media print { .rail, .topbar, .noprint { display: none !important; } .main { margin: 0; } .page { padding: 0; } #cert-print, #cert-print * { visibility: visible; } body * { visibility: hidden; } #cert-print { position: absolute; left: 0; top: 0; border: none; box-shadow: none; } }

/* =========================================================
   CONTEXTUAL HELP SYSTEM (Bubliny) - PREMIUM UI
   ========================================================= */
.help-wrap { position: relative; display: inline-flex; align-items: center; margin-left: 8px; vertical-align: middle; }
.help-btn { width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--brand-l); display: grid; place-items: center; color: var(--brand); cursor: pointer; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 0; position: relative; }
.help-btn svg { width: 18px; height: 18px; }
.help-dot { position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; border: 2px solid var(--surface); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(179, 38, 30, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(179, 38, 30, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(179, 38, 30, 0); } }
.help-btn:hover, .help-btn.active { transform: scale(1.1); background: var(--brand); color: #fff; }
.help-btn:hover .help-dot, .help-btn.active .help-dot { display: none; }

.help-bubble { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px) scale(0.95); width: max-content; max-width: 300px; background: #1A1C1E; border-radius: 16px; padding: 16px 20px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2), 0 10px 10px -5px rgba(0,0,0,0.1); z-index: 9999; font-size: 14px; font-weight: 400; color: #FFFFFF; text-transform: none; letter-spacing: normal; opacity: 0; visibility: hidden; transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: none; line-height: 1.6; font-family: var(--sans); text-align: left; }
.help-bubble.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); pointer-events: auto; }

/* =========================================================
   AUTH MODAL
   ========================================================= */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 100; display: none; place-items: center; padding: 24px; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.show { display: grid; opacity: 1; }
.modal-card { background: var(--surface); width: 100%; max-width: 440px; border-radius: 32px; box-shadow: var(--shadow-lg); position: relative; transform: translateY(20px); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; border: 1px solid var(--line-2); }
.modal-overlay.show .modal-card { transform: translateY(0); }
.modal-close { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--surface-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.2s; z-index: 10; }
.modal-close:hover { background: var(--line); color: var(--txt); }

.modal-card .hd { padding: 48px 40px 24px; text-align: center; background: var(--surface); }
.modal-card .hd .mk { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 20px; }
.modal-card .hd h2 { font-family: var(--sans); font-size: 28px; font-weight: 600; margin: 0; color: var(--txt); letter-spacing: -0.02em; }
.modal-card .hd p { font-size: 15px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }

.modal-card .bd { padding: 0 40px 40px; }
.authtabs { display: flex; gap: 8px; margin-bottom: 24px; background: var(--surface-2); padding: 6px; border-radius: 24px; }
.auth-tab { flex: 1; text-align: center; padding: 10px; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 18px; transition: 0.2s; border: none; background: transparent; cursor: pointer; }
.auth-tab.active { background: var(--surface); color: var(--txt); font-weight: 600; box-shadow: var(--shadow-sm); }

.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 48px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--txt); font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer; transition: 0.2s; text-decoration: none; box-shadow: var(--shadow-sm); }
.btn-google:hover { background: var(--surface-2); box-shadow: var(--shadow); }

.auth-divider { display: flex; align-items: center; text-align: center; margin: 24px 0; color: var(--faint); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--line-2); }
.auth-divider span { padding: 0 12px; }

@media(max-width: 600px) {
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-card { border-radius: 32px 32px 0 0; margin-top: auto; transform: translateY(100%); }
}
