/* =========================================================
   Advok-like SEO theme (dark, cards, subtle neon accents)
   Put to: /public/assets/seo.css
   ========================================================= */

:root {
  --bg0: #0b0f14;
  --bg1: #0f1520;
  --panel: rgba(20, 28, 42, 0.70);
  --panel2: rgba(14, 20, 32, 0.72);
  --stroke: rgba(120, 160, 220, 0.16);
  --stroke2: rgba(255, 255, 255, 0.08);

  --txt: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted2: rgba(255, 255, 255, 0.52);

  --accent: #28a8ff;     /* Advok modrá */
  --accent2: #00d3ff;    /* jemná cyan */
  --good: #39d98a;
  --warn: #ffcc66;

  --shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  --shadow2: 0 10px 22px rgba(0, 0, 0, 0.35);

  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;

  --max: 1180px;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans";
  color: var(--txt);
  background:
    radial-gradient(1200px 600px at 25% -10%, rgba(40,168,255,0.18), transparent 60%),
    radial-gradient(900px 500px at 85% 15%, rgba(0,211,255,0.10), transparent 55%),
    radial-gradient(900px 650px at 50% 120%, rgba(40,168,255,0.12), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 75%);
  letter-spacing: 0.2px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* =========================================================
   Topbar (similar vibe as app topbar)
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 22, 0.72);
  border-bottom: 1px solid var(--stroke2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--txt);
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), transparent 60%),
    linear-gradient(135deg, rgba(40,168,255,0.25), rgba(0,211,255,0.10));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title small {
  color: var(--muted2);
  font-weight: 600;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: rgba(255,255,255,0.82);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover {
  text-decoration: none;
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.nav .sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.14);
  margin: 0 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.90);
  box-shadow: none;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  user-select: none;
}

.btn:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}

.btn:active { transform: translateY(1px); }

.btn.primary {
  background: linear-gradient(135deg, rgba(40,168,255,0.95), rgba(0,211,255,0.72));
  border-color: rgba(40,168,255,0.45);
  color: #061018;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(40,168,255,0.18);
}

.btn.primary:hover {
  background: linear-gradient(135deg, rgba(40,168,255,1), rgba(0,211,255,0.82));
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 26px 0 18px;
}

.hero-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(40,168,255,0.95);
  font-weight: 700;
  letter-spacing: .2px;
  text-align: center;
}

.hero-line::before,
.hero-line::after {
  content: "";
  display: block;
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(40,168,255,0.55), transparent);
  opacity: 0.9;
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  text-align: center;
}

.hero p.lead {
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pill {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

/* =========================================================
   Grid & Cards (like home panels)
   ========================================================= */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
  padding: 18px 0 26px;
}

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

@media (max-width: 980px) {
  .col-4, .col-6, .col-8 { grid-column: span 12; }
  .hero-line::before, .hero-line::after { width: 70px; }
}

.card {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20,28,42,0.74), rgba(12,16,26,0.78));
  border: 1px solid var(--stroke2);
  box-shadow: var(--shadow2);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(40,168,255,0.14), transparent 55%),
    radial-gradient(500px 220px at 90% 20%, rgba(0,211,255,0.08), transparent 60%);
  opacity: 0.9;
}

.card-inner {
  position: relative;
  padding: 18px 18px 16px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h2 .icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: rgba(40,168,255,0.10);
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list a.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.86);
}

.list a.item:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border-color: rgba(40,168,255,0.22);
}

.item .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bullet {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(40,168,255,0.08);
  color: rgba(40,168,255,0.9);
  font-weight: 900;
}

.badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
}

/* =========================================================
   Content typography
   ========================================================= */
.content {
  padding: 8px 0 26px;
}

.content h2 {
  margin: 22px 0 10px;
  font-size: 18px;
}

.content h3 {
  margin: 18px 0 8px;
  font-size: 15px;
  color: rgba(255,255,255,0.90);
}

.content ul {
  margin: 0 0 12px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.note {
  border-radius: var(--r-md);
  border: 1px solid rgba(40,168,255,0.20);
  background: rgba(40,168,255,0.06);
  padding: 12px 14px;
  color: rgba(255,255,255,0.84);
  line-height: 1.6;
}

/* =========================================================
   FAQ details
   ========================================================= */
details {
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 10px 12px;
  margin: 10px 0;
}

summary {
  cursor: pointer;
  color: rgba(255,255,255,0.90);
  font-weight: 650;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 14, 22, 0.55);
  margin-top: 24px;
  padding: 16px 0;
  color: rgba(255,255,255,0.62);
}

.footer a { color: rgba(255,255,255,0.72); }
.footer a:hover { color: rgba(40,168,255,0.95); text-decoration: none; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.small {
  font-size: 12px;
  color: rgba(255,255,255,0.56);
}
