/* ============================================================
   REALLIO — Landing page
   ============================================================
   Samostatný štýl, nezávislý od app.css — landing nenačítava
   žiadne skripty ani štýly webappky, aby bol čo najľahší.
   Farby a písma zodpovedajú appke.
*/

:root {
  --accent: #F87829;
  --accent-deep: #E0621A;
  --accent-soft: #FEE9DA;
  --ink: #1A1A1A;
  --ink-soft: #55534F;
  --ink-faint: #8B8883;
  --line: #ECEAE4;
  --bg: #FFFFFF;
  --bg-soft: #FAF8F5;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 22px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.lp-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- tlačidlá ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 100px;
  box-shadow: 0 10px 26px rgba(248, 120, 41, 0.28);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.lp-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.lp-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-btn-lg { font-size: 20px; padding: 20px 34px; }
.lp-btn-sm { font-size: 14px; padding: 10px 18px; box-shadow: none; }

.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.10);
  transition: transform .2s, box-shadow .2s;
}
.lp-btn-ghost:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(26,26,26,.14); }
.lp-btn-ghost svg { width: 24px; height: 24px; fill: var(--accent); }

/* ---------- typografia ---------- */
.lp-h1, .lp-h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
.lp-h1 { font-size: clamp(42px, 6vw, 72px); }
.lp-h2 { font-size: clamp(34px, 4.4vw, 56px); }
.lp-h1 em, .lp-h2 em { font-style: normal; color: var(--accent); }
.lp-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); margin: 20px 0 0; max-width: 480px; }

/* ---------- hlavička ---------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0);
}
.lp-header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.lp-logo img { height: 32px; width: auto; }
.lp-nav { display: flex; gap: 26px; margin-left: auto; }
.lp-nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.lp-nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.lp-hero { padding: 40px 0 0; position: relative; z-index: 2; }
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
.lp-rule {
  display: block;
  width: 96px; height: 3px;
  background: var(--accent);
  border-radius: 3px;
  margin: 30px 0 26px;
}
.lp-motto {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  margin: 0;
}
.lp-motto i { font-style: normal; color: var(--accent); }

.lp-robot-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 30px 0 38px;
  max-width: 440px;
}
.lp-robot-line p { margin: 0; font-size: 17.5px; line-height: 1.5; }
.lp-robot-line strong { color: var(--accent); font-weight: 600; }
.lp-robot-avatar {
  flex: 0 0 auto;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: #F4F2EF;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Robot má na obrázku biele pozadie. Násobenie ho zliatie s kruhom,
   takže vyzerá, akoby stál priamo v ňom. */
.lp-robot-avatar img { width: 62px; mix-blend-mode: multiply; }

.lp-hero-visual { display: flex; justify-content: center; }
.lp-hero-visual img {
  width: min(400px, 100%);
  /* Tieň je zapečený priamo v obrázku z návrhu. CSS drop-shadow by sa
     vrhal aj od takmer priehľadných okrajových pixelov a vytvoril
     okolo telefónu sivý obdĺžnik. */
  transform: translateY(24px);
}

/* ---------- oranžový pás ---------- */
.lp-band {
  position: relative;
  background: var(--accent);
  color: #fff;
  padding: 26px 0 70px;
  margin-top: 40px;
}
.lp-wave {
  position: absolute;
  left: 0; right: 0;
  top: -118px;
  width: 100%;
  height: 120px;
  fill: var(--accent);
  z-index: 1;
}
.lp-band .lp-wrap { position: relative; z-index: 3; }

.lp-features {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lp-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
}
.lp-features li + li { border-left: 1px solid rgba(255, 255, 255, 0.35); }
.lp-ficon {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.lp-ficon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.lp-download {
  display: flex;
  align-items: center;
  gap: 36px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 34px;
  margin-top: 34px;
  box-shadow: 0 20px 50px rgba(120, 50, 10, 0.18);
}
.lp-qr {
  flex: 0 0 auto;
  padding: 12px;
  border: 1.5px dashed #D9D6D0;
  border-radius: 16px;
}
.lp-qr img { width: 132px; height: 132px; }
.lp-download-text h2 { margin: 0; font-size: 22px; font-weight: 700; }
.lp-download-text p { margin: 4px 0 16px; color: var(--ink-soft); }
.lp-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-store { display: inline-block; text-decoration: none; }
.lp-store img { height: 46px; width: auto; }
.lp-store-fallback {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.05;
}
.lp-store-fallback small { font-size: 10px; font-weight: 500; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.03em; }
.lp-web-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-faint);
  text-decoration: none;
}
.lp-web-link:hover { color: var(--accent); }

/* ---------- AI sekcia ---------- */
.lp-ai { padding: 100px 0 70px; }
.lp-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.lp-ai-text .lp-btn-ghost { margin-top: 34px; }
.lp-ai-visual { display: flex; justify-content: center; }
.lp-ai-visual img { width: min(520px, 100%); }

/* ---------- porovnanie ---------- */
.lp-compare { padding: 60px 0 90px; }
.lp-compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: start;
}
.lp-col-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 30px;
  position: relative;
  padding-bottom: 14px;
}
.lp-col-title::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 44px; height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transform: translateX(-50%);
}
.lp-portals { margin: 0 auto; width: min(540px, 100%); }
.lp-vs {
  align-self: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26,26,26,0.10);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  margin-top: 60px;
}
.lp-cons { list-style: none; padding: 0; margin: 22px 0 0 20px; }
.lp-cons li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
.lp-cons li::before {
  content: '✕';
  width: 24px; height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.lp-reallio-side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.lp-rphone { width: 220px; filter: drop-shadow(0 20px 30px rgba(26,26,26,.16)); }
.lp-pros { list-style: none; padding: 0; margin: 0; }
.lp-pros li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.lp-picon {
  width: 56px; height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(26,26,26,0.09);
  display: grid;
  place-items: center;
}
.lp-picon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.lp-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 50px;
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 28px);
  text-align: center;
}
.lp-banner svg { width: 30px; height: 30px; fill: #fff; flex: 0 0 auto; }

/* ---------- partnerstvo ---------- */
.lp-partner {
  padding: 90px 0;
  background: linear-gradient(180deg, #FBF4EE 0%, #F7EDE4 100%);
}
.lp-partner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}
.lp-partner-visual img {
  width: 100%;
  border-radius: var(--radius);
}
.lp-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.lp-heart { color: var(--accent); }
.lp-partner-sub {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  margin: 10px 0 0;
  color: var(--ink-soft);
}
.lp-partner-text .lp-lead a { color: var(--accent); font-weight: 600; text-decoration: none; }
.lp-partner-text .lp-btn { margin-top: 30px; }

/* ---------- záver ---------- */
.lp-final { padding: 90px 0; text-align: center; }
.lp-final .lp-h2 { max-width: 760px; margin: 0 auto 34px; }

/* ---------- pätička ---------- */
.lp-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0));
  font-size: 14px;
  color: var(--ink-faint);
}
.lp-footer-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.lp-footer img { height: 26px; width: auto; }
.lp-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.lp-footer a { text-decoration: none; color: var(--ink-soft); }
.lp-footer a:hover { color: var(--accent); }
.lp-footer p { margin: 0 0 0 auto; }

/* ============================================================
   MOBIL
   ============================================================ */
@media (max-width: 900px) {
  .lp-nav { display: none; }
  .lp-header-inner { justify-content: space-between; height: 62px; }
  .lp-logo img { height: 28px; }

  .lp-hero { padding-top: 20px; }
  .lp-hero-grid,
  .lp-ai-grid,
  .lp-partner-grid { grid-template-columns: 1fr; gap: 20px; }
  .lp-hero-text { text-align: center; }
  .lp-rule { margin-left: auto; margin-right: auto; }
  .lp-robot-line { margin: 26px auto 30px; text-align: left; }
  .lp-hero-visual img { width: min(300px, 78%); transform: translateY(40px); }

  .lp-band { margin-top: 20px; padding-top: 40px; }
  .lp-wave { top: -58px; height: 60px; }
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .lp-features li { padding: 8px 10px; font-size: 14.5px; gap: 10px; }
  .lp-features li + li { border-left: none; }
  .lp-ficon { width: 44px; height: 44px; }
  .lp-ficon svg { width: 22px; height: 22px; }

  .lp-download { flex-direction: column; text-align: center; gap: 18px; padding: 26px 20px; }
  .lp-stores { justify-content: center; }

  .lp-ai { padding: 70px 0 40px; }
  .lp-ai-text { text-align: center; }
  .lp-ai-text .lp-lead { margin-left: auto; margin-right: auto; }

  .lp-compare-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-vs { margin: 0 auto; }
  .lp-cons { width: max-content; margin: 22px auto 0; }
  .lp-reallio-side { flex-direction: column; gap: 26px; }
  .lp-rphone { width: 200px; }
  .lp-banner { margin-top: 40px; }

  .lp-partner { padding: 60px 0; }
  .lp-partner-text { text-align: center; }
  .lp-partner-text .lp-lead { margin-left: auto; margin-right: auto; }

  .lp-final { padding: 70px 0; }
  .lp-footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .lp-footer p { margin: 0; }
}

/* Na telefóne je QR zbytočný — telefónom sa nenaskenuje sám seba.
   Nechávame len tlačidlá obchodov. */
@media (max-width: 600px) {
  .lp-qr { display: none; }
  .lp-btn-lg { font-size: 18px; padding: 18px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-btn, .lp-btn-ghost { transition: none; }
}
