/* ============================================================
   AI BOS — prezentačný web (aibos.sk)
   Moderný SaaS dizajn: tmavé hero, gradienty, glass karty
   ============================================================ */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-soft: #3b4a63;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-2: #0ea5e9;
  --teal: #14b8a6;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --green: #059669;
  --red: #dc2626;
  --grad: linear-gradient(100deg, #2563eb 0%, #0ea5e9 55%, #14b8a6 100%);
  --grad-soft: linear-gradient(100deg, rgba(37,99,235,.12), rgba(14,165,233,.12), rgba(20,184,166,.12));
  --shadow-sm: 0 1px 3px rgba(11,18,32,.07), 0 1px 2px rgba(11,18,32,.05);
  --shadow: 0 10px 30px -8px rgba(11,18,32,.16);
  --shadow-lg: 0 24px 60px -16px rgba(11,18,32,.28);
  --radius: 16px;
  --maxw: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Nav (jednotná čierna — ako pozadie erbu) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; color: #fff; letter-spacing: -.02em; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 900;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.brand .logo-img { width: 42px; height: 46px; flex-shrink: 0; object-fit: contain; }
.brand-lockup { height: 70px; width: auto; display: block; border-radius: 12px; }
footer .brand-lockup { height: 84px; margin-bottom: 12px; }
.brand-text { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.05; gap: 2px; }
.brand-text small { font-size: 8.5px; font-weight: 700; color: #8fa1bb; letter-spacing: .01em; white-space: nowrap; text-align: center; }
.brand-services { height: 13px; width: auto; margin-top: 1px; }
footer .brand-text small { color: #8fa1bb; }
footer .brand .brand-services { height: 15px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  color: #b6c2d6; font-weight: 600; font-size: 14.5px;
  padding: 8px 14px; border-radius: 10px; transition: all .18s;
}
.nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-links a.active { color: #93c5fd; background: rgba(37,99,235,.2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 800; font-size: 15px;
  border: none; cursor: pointer; transition: all .18s; text-decoration: none;
}
.btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,.45); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff !important; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.nav-burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { background: #fff; }

/* ---------- Prepínač jazykov ---------- */
.lang-sw { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.22); border-radius: 10px;
  padding: 8px 13px; font-size: 13px; font-weight: 800; color: #cbd5e1;
  cursor: pointer; font-family: inherit; transition: all .18s;
}
.lang-btn:hover { border-color: #60a5fa; color: #fff; }
.lang-code { font-size: 12.5px; letter-spacing: .05em; }
.lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 200;
  background: #111a2e; border: 1px solid #26355c; border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; min-width: 170px;
}
.lang-sw.open .lang-menu { display: block; }
.lang-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: none; border: none; border-radius: 8px; cursor: pointer;
  padding: 9px 12px; font-size: 14px; font-weight: 600; color: #e2e8f0; font-family: inherit;
  text-align: left; transition: background .15s;
}
.lang-item:hover { background: rgba(255,255,255,.07); }
.lang-item.on { background: rgba(37,99,235,.25); color: #93c5fd; font-weight: 800; }
@media (max-width: 680px) {
  .lang-sw { align-self: flex-start; }
  .lang-menu { left: 0; right: auto; }
}
/* Biele — nav je čierny, tmavé pruhy na ňom neboli vidieť (13.8.2026).
   Toto pravidlo je NIŽŠIE než .nav-burger span vyššie, takže vyhráva. */
.nav-burger span { display: block; width: 22px; height: 2.5px; background: #fff; margin: 4.5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% -10%, rgba(37,99,235,.35), transparent 60%),
              radial-gradient(900px 500px at 15% 110%, rgba(20,184,166,.25), transparent 55%),
              #0b1220;
  color: #fff;
  padding: 92px 0 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 75%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; padding: 0 22px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700;
  color: #93c5fd; letter-spacing: .02em;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px); line-height: 1.08; font-weight: 900;
  letter-spacing: -.03em; margin: 26px 0 20px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 2.2vw, 20px); color: #b6c2d6; max-width: 640px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-shot { position: relative; z-index: 2; margin: 0 auto; max-width: 1020px; padding: 0 22px; }
.hero-shot img, .hero-shot svg {
  border-radius: 18px 18px 0 0; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14); border-bottom: none;
}

/* ---------- Stats band ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 34px 0; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.sec-head .chip {
  display: inline-block; background: rgba(37,99,235,.09); color: var(--primary);
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.025em; line-height: 1.15; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 16.5px; }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: all .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37,99,235,.35); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 21px; margin-bottom: 16px; color: #fff;
}
.card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 14.2px; line-height: 1.6; }
.card ul { margin: 10px 0 0 0; padding: 0; list-style: none; }
.card ul li { color: var(--ink-soft); font-size: 13.6px; padding: 5px 0 5px 24px; position: relative; }
.card ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal); font-weight: 900; }

/* ---------- Feature detail rows (funkcie) ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.frow:last-child { border-bottom: none; }
.frow .art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.frow h3 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.frow .tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.frow p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.frow ul { list-style: none; }
.frow ul li { padding: 7px 0 7px 30px; position: relative; color: var(--ink-soft); font-size: 14.6px; }
.frow ul li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 20px; height: 20px;
  border-radius: 7px; background: rgba(20,184,166,.14); color: var(--teal);
  font-size: 12px; font-weight: 900; display: grid; place-items: center;
}
.frow.rev .art { order: 2; }

/* ---------- Guides (návody) ---------- */
.guide {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 18px;
}
.guide summary {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer;
  list-style: none; font-weight: 800; font-size: 16.5px; user-select: none;
}
.guide summary::-webkit-details-marker { display: none; }
.guide summary .gnum {
  min-width: 40px; height: 40px; border-radius: 12px; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900;
}
.guide summary .garrow { margin-left: auto; color: var(--muted); transition: transform .2s; font-size: 20px; }
.guide[open] summary .garrow { transform: rotate(90deg); }
.guide summary small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; margin-top: 2px; }
.guide-body { padding: 4px 24px 26px 80px; }
.guide-body ol { padding-left: 20px; }
.guide-body ol li { padding: 7px 0; color: var(--ink-soft); font-size: 14.8px; }
.guide-body ol li b { color: var(--ink); }
.guide-body .tip {
  margin-top: 16px; background: rgba(245,158,11,.09); border: 1px solid rgba(245,158,11,.3);
  border-radius: 12px; padding: 13px 16px; font-size: 13.8px; color: #92600a;
}
.guide-body .tip b { color: #78500a; }

/* ---------- Video placeholder ---------- */
.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #0b1220; aspect-ratio: 16/9; display: grid; place-items: center;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.video-card .play {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.5); display: grid; place-items: center;
  color: #fff; font-size: 22px; backdrop-filter: blur(4px);
}
.video-card .vc-label { position: absolute; left: 16px; bottom: 14px; color: #cbd5e1; font-size: 13.5px; font-weight: 700; }
.video-card .vc-badge { position: absolute; right: 14px; top: 12px; background: var(--amber); color: #fff; font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }

/* ---------- News (novinky) ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary), var(--teal)); border-radius: 2px; opacity: .35; }
.news {
  position: relative; padding: 0 0 34px 62px;
}
.news .dot {
  position: absolute; left: 8px; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad); border: 4px solid var(--bg); box-shadow: 0 0 0 2px rgba(37,99,235,.25);
}
.news time { font-size: 12.5px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.news h3 { font-size: 19px; font-weight: 900; margin: 6px 0 8px; letter-spacing: -.015em; }
.news .body { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.news .body p { color: var(--ink-soft); font-size: 14.4px; }
.news .body ul { list-style: none; margin-top: 8px; }
.news .body ul li { padding: 4px 0 4px 24px; position: relative; color: var(--ink-soft); font-size: 14px; }
.news .body ul li::before { content: "•"; position: absolute; left: 8px; color: var(--primary); font-weight: 900; }
.news .badge-new { display: inline-block; background: var(--green); color: #fff; font-size: 10.5px; font-weight: 900; padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; letter-spacing: .05em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(800px 400px at 80% 0%, rgba(14,165,233,.4), transparent 60%), #0b1220;
  border-radius: 24px; color: #fff; text-align: center;
  padding: 64px 30px; margin: 30px 0; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.cta-band p { color: #b6c2d6; max-width: 520px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
footer { background: #000; color: #8fa1bb; padding: 54px 0 34px; margin-top: 84px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.foot-brand { max-width: 320px; }
.foot-brand .brand { color: #fff; margin-bottom: 12px; }
.foot-brand p { font-size: 13.8px; line-height: 1.65; }
.foot-col h4 { color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.foot-col a { display: block; color: #8fa1bb; font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 40px; padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: radial-gradient(900px 420px at 70% -20%, rgba(37,99,235,.3), transparent 60%), #0b1220;
  color: #fff; text-align: center; padding: 72px 22px 64px;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; letter-spacing: -.025em; }
.page-hero p { color: #b6c2d6; max-width: 620px; margin: 14px auto 0; font-size: 16.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .frow { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .frow.rev .art { order: 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 82px; left: 0; right: 0;
    background: #000; flex-direction: column; align-items: stretch;
    padding: 12px 18px 18px; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-burger { display: block; }
  .guide-body { padding-left: 24px; }
  .hero { padding-top: 64px; }
}

/* --- smaragd lockup (v9) --- */
.brand-new { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-gem { height: 64px; width: auto; }
.brand-col { display: flex; flex-direction: column; gap: 2px; }
.brand-word { height: 24px; width: auto; align-self: flex-start; }
.brand-tag { font-size: 8px; letter-spacing: 2px; color: #7c8494; font-weight: 700; }
.brand-prov { display: flex; gap: 6px; margin-top: 2px; }
.brand-prov img { height: 15px; width: 15px; border-radius: 4px; }
footer .brand-lockup { height: 84px; }
.brand-hero { display: flex; flex-direction: column; align-items: center; padding: 46px 16px 8px; }
.brand-hero .bh-gem { width: min(240px, 55vw); height: auto; filter: drop-shadow(0 0 34px rgba(16,185,129,.35)); }
.brand-hero .bh-word { width: min(220px, 50vw); height: auto; margin-top: 8px; }
.brand-hero .bh-tag { color: #7c8494; font-size: 11px; letter-spacing: 3px; font-weight: 700; margin-top: 8px; }
.brand-hero .bh-prov { display: flex; gap: 12px; margin-top: 14px; }
.brand-hero .bh-prov img { height: 30px; width: 30px; border-radius: 7px; }
@media (max-width: 700px) { .brand-gem { height: 48px; } .brand-word { height: 18px; } }

.brand-foot { margin-bottom: 12px; }
.brand-foot .brand-gem { height: 84px; }
.brand-foot .brand-word { height: 30px; }
.brand-foot .brand-prov img { height: 18px; width: 18px; }
