/* RabTeem — sdílené styly všech stránek (zdroj: docs/RabTeem/html). */
:root {
  --grad: linear-gradient(135deg, #6A5BFF 0%, #2BB3FF 100%);
  --violet: #6A5BFF;
  --blue: #2BB3FF;
  --join: #0A84FF;
  --green: #30D158;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --text: #14151a;
  --muted: #5d6170;
  --card: #ffffff;
  --border: #e4e6ef;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f14;
    --bg-soft: #16171e;
    --text: #f2f3f7;
    --muted: #a2a6b4;
    --card: #1b1c24;
    --border: #2a2c37;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover { color: var(--text); }

.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; font-weight: 600; }
.lang a { padding: 4px 9px; border-radius: 7px; text-decoration: none; color: var(--muted); }
.lang a[aria-current] { background: var(--grad); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(106, 91, 255, .35); }
.btn-ghost { border: 1px solid var(--border); background: var(--card); }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(43, 179, 255, .22), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero-grid > * { min-width: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--violet) 12%, transparent); color: var(--violet);
}
h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0 18px; }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Mockup: menu bar + panel */
.mock { position: relative; }
.desktop {
  border-radius: 20px; padding: 0 0 36px;
  background: linear-gradient(160deg, #3b2f8f 0%, #1f5f9a 55%, #1a2a4a 100%);
  box-shadow: 0 30px 80px rgba(20, 20, 60, .35);
  overflow: hidden;
}
.menubar {
  height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  padding: 0 14px; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden;
  background: rgba(20, 20, 30, .45); backdrop-filter: blur(10px);
}
.menubar .item { opacity: .85; }
.menubar .meetbar {
  display: flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, .18); font-variant-numeric: tabular-nums; opacity: 1;
}
.menubar .meetbar img { width: 20px; height: 20px; filter: invert(1); }
.panel {
  width: min(440px, calc(100% - 32px)); margin: 10px 16px 0 auto;
  background: rgba(36, 36, 40, .94); color: #f2f2f5;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  font-size: 13px; overflow: hidden;
}
.panel-body { padding: 12px; }
.panel-day { color: #a1a1a8; font-size: 13px; margin: 0 0 8px; }
.ev {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; margin-bottom: 6px; border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.ev-time { width: 52px; flex: none; }
.ev-time b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.ev-time small { font-size: 10px; color: #a1a1a8; }
.ev-title { flex: 1; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.ev-join { background: var(--join); color: #fff; font-weight: 500; padding: 6px 10px; border-radius: 5px; white-space: nowrap; }
.panel-foot {
  display: flex; justify-content: center; gap: 22px; padding: 10px; color: #a1a1a8;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.panel-foot svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
section { padding: 84px 0; }
.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; margin-bottom: 16px;
}
.feature .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.providers { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--card); border: 1px solid var(--border);
}
.providers-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: 15px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

.privacy {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 40px;
}
.privacy .shield { width: 88px; height: 88px; border-radius: 24px; background: var(--grad); display: grid; place-items: center; }
.privacy .shield svg { width: 44px; height: 44px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.privacy h2 { margin-bottom: 10px; }
.privacy ul { margin: 0; padding-left: 20px; color: var(--muted); }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.spec { padding: 22px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.spec b { display: block; font-size: 20px; margin-bottom: 4px; }
.spec span { color: var(--muted); font-size: 14px; }

.final { text-align: center; }
.final .box {
  background: var(--grad); color: #fff; border-radius: 28px; padding: 64px 32px;
  box-shadow: 0 24px 60px rgba(106, 91, 255, .3);
}
.final img { width: 84px; height: 84px; margin-bottom: 12px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.2)); }
.final p { font-size: 18px; opacity: .92; margin: 0 auto 28px; max-width: 560px; }
.final .btn-primary { background: #fff; color: #3d35b8; box-shadow: none; }
.final .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.final .cta { justify-content: center; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.foot .brand { font-size: 15px; color: var(--text); }
.foot .brand img { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .hero-grid, .privacy { grid-template-columns: 1fr; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .nav ul { display: none; }
}
@media (max-width: 600px) {
  .grid3, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .menubar .item:first-child { display: none; }
  .panel { margin: 10px 10px 0; width: auto; }
  .ev { gap: 8px; }
  .ev-time { width: 42px; }
  .ev-time b { font-size: 13px; }
  .ev-join { font-size: 11px; padding: 5px 7px; }
  .privacy { padding: 28px; }
}

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 46px); margin: 18px 0 6px; }
.legal .meta { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.legal .lead-in { font-size: 19px; padding: 20px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border); }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p { color: var(--muted); margin: 0 0 12px; }
.legal strong { color: var(--text); }
.legal a { color: var(--violet); }
.back { text-decoration: none; color: var(--muted); font-size: 15px; }

.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border); margin: 8px 0 8px; }
.contact p { margin: 0; }
.contact .btn { padding: 11px 18px; font-size: 15px; }
.legal a.btn { color: #fff; text-decoration: none; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--card); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 16px; }
.faq details p { margin: 0 0 8px; }
.faq kbd { font-family: inherit; font-size: 14px; padding: 1px 6px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-soft); }
