/* =========================================================
   gamecam.cloud · landing page
   Standalone styles — žádný framework, žádný build step.

   Vizuální jazyk „Značka“:
   hluboké barevné pole nese hlavičku i hero, zbytek stránky je
   papír. Cyan je jediný akcent a mimo pole dostane jen linky,
   čísla a tlačítka. Jeden poloměr, jedna rozteč, žádné stíny
   na plochách — hloubku dělá barva, ne rozostření.
   ========================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Barevné pole — kotva značky. V obou režimech stejné. */
  --field-1:    #0B5A6E;
  --field-2:    #063947;
  --field-glow: rgba(18, 180, 220, .30);
  --on-field:   #FFFFFF;
  --on-field-2: rgba(255, 255, 255, .76);
  --on-field-3: rgba(255, 255, 255, .55);
  --on-field-line: rgba(255, 255, 255, .28);
  --field-btn-ink: #0A3F4E;
  --glow:       #12B4DC;

  /* Akcent na papíře */
  --accent:       #0B7E9B;
  --accent-hover: #096781;
  --accent-soft:  rgba(11, 126, 155, .09);
  --accent-ink:   #FFFFFF;

  /* Stav */
  --success: #15803D;
  --warning: #B45309;
  --danger:  #B91C1C;

  /* Papír */
  --bg:        #FCFBF9;
  --surface:   #F4F2ED;
  --rule:      #E7E4DE;
  --rule-soft: #EFEDE8;

  /* Text */
  --ink:    #0F1720;
  --ink-2:  #47535E;
  --ink-3:  #7C8891;

  /* Míry */
  --r:     8px;
  --nav-h: 72px;
  --pad:   32px;
  --max:   1120px;

  --font:      Archivo, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --accent:       #25B6DA;
  --accent-hover: #45C8E8;
  --accent-soft:  rgba(37, 182, 218, .12);
  --accent-ink:   #04222B;

  --success: #4ADE80;
  --warning: #FBBF24;
  --danger:  #F87171;

  --bg:        #0B1116;
  --surface:   #121A21;
  --rule:      #1E2831;
  --rule-soft: #172028;

  --ink:    #E9EEF2;
  --ink-2:  #A6B3BC;
  --ink-3:  #77858F;

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent:       #25B6DA;
    --accent-hover: #45C8E8;
    --accent-soft:  rgba(37, 182, 218, .12);
    --accent-ink:   #04222B;

    --success: #4ADE80;
    --warning: #FBBF24;
    --danger:  #F87171;

    --bg:        #0B1116;
    --surface:   #121A21;
    --rule:      #1E2831;
    --rule-soft: #172028;

    --ink:    #E9EEF2;
    --ink-2:  #A6B3BC;
    --ink-3:  #77858F;

    color-scheme: dark;
  }
}

/* ---------- ZÁKLAD ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body.landing {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
img, svg, picture { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  border-radius: 0 0 var(--r) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.icn { width: 20px; height: 20px; flex: none; }
.icn-sm { width: 15px; height: 15px; }

/* ---------- BAREVNÉ POLE ---------- */
.field {
  position: relative;
  isolation: isolate;
  color: var(--on-field);
  background:
    radial-gradient(120% 140% at 78% 6%, var(--field-glow) 0%, rgba(18, 180, 220, 0) 58%),
    linear-gradient(162deg, var(--field-1) 0%, var(--field-2) 100%);
}
/* Zrno — plochý přechod vypadá jako výplň, zrno z něj udělá materiál. */
.field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- NAVIGACE ---------- */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.025em;
  text-decoration: none;
  color: var(--on-field);
}
.brand-mark { display: flex; }

.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--on-field-2); }
.nav-links a:hover { color: var(--on-field); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.lang-switch { display: flex; gap: 1px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.lang-switch a {
  padding: 4px 7px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--on-field-3);
}
.lang-switch a:hover { color: var(--on-field); }
.lang-switch a[aria-current] { background: rgba(255, 255, 255, .14); color: var(--on-field); }

.theme-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: var(--on-field);
  background: none;
  border: 1px solid var(--on-field-line);
  border-radius: var(--r);
}
.theme-toggle:hover { background: rgba(255, 255, 255, .1); }
.theme-toggle .icn { width: 17px; height: 17px; }
.theme-toggle .icn-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icn-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icn-sun  { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icn-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icn-sun  { display: block; }
}

/* ---------- TLAČÍTKA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { font-size: 14.5px; padding: 9px 16px; }
.btn-lg { font-size: 15.5px; padding: 13px 22px; }
.btn-xl { font-size: 15.5px; padding: 14px 26px; }

/* v barevném poli */
.field .btn-primary { background: var(--on-field); color: var(--field-btn-ink); }
.field .btn-primary:hover { background: rgba(255, 255, 255, .88); }
.field .btn-ghost,
.field .btn-outline {
  background: none;
  color: var(--on-field);
  box-shadow: inset 0 0 0 1px var(--on-field-line);
  font-weight: 500;
}
.field .btn-ghost:hover,
.field .btn-outline:hover { background: rgba(255, 255, 255, .1); }

/* na papíře */
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline, .btn-ghost {
  background: none;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.btn-outline:hover, .btn-ghost:hover { background: var(--surface); }
.btn-on-white { background: var(--on-field); color: var(--field-btn-ink); }
.btn-on-white:hover { background: rgba(255, 255, 255, .88); }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--pad) 88px;
}
@media (min-width: 980px) {
  .hero { padding: 64px var(--pad) 96px; }
}

.hero-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 20px;
}
.hero h1 {
  font-weight: 600;
  font-size: clamp(33px, 4.1vw, 50px);
  line-height: 1.08;
  letter-spacing: -.028em;
  margin-bottom: 20px;
  max-width: 17ch;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.58;
  max-width: 46ch;
  color: var(--on-field-2);
}
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 28px;
  font-size: 14px;
  color: var(--on-field-3);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }


/* ---------- SEKCE ---------- */
.landing-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px var(--pad);
  border-bottom: 1px solid var(--rule);
}
.landing-section:last-of-type { border-bottom: none; }

.section-head { margin-bottom: 48px; max-width: 58ch; }
.section-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.section-title {
  font-weight: 600;
  font-size: clamp(26px, 2.9vw, 34px);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin-bottom: 12px;
  max-width: 20ch;
}
.section-lead { color: var(--ink-2); font-size: 17px; }

/* ---------- JAK TO FUNGUJE ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 820px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.step { border-top: 2px solid var(--accent); padding-top: 18px; }
.step-n { display: none; }
.step-title { font-weight: 600; font-size: 17.5px; letter-spacing: -.015em; margin-bottom: 8px; }
.step-lead { color: var(--ink-2); font-size: 16px; }

/* ---------- PŘEHLED SNÍMKŮ ---------- */
.shot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .shot-grid { grid-template-columns: repeat(3, 1fr); } }

.shot-tile { margin: 0; }
.shot-tile img {
  display: block;
  width: 100%;
  /* Atributy width/height v HTML se mapují na presentation hints, takže bez
     height:auto by výška zůstala 563 px a aspect-ratio by se neuplatnil. */
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r);
  /* Tři snímky z různých kamer a denních dob — společná korekce
     z nich udělá výstup jednoho systému, ne tři náhodné obrázky. */
  filter: saturate(.82) contrast(1.04) brightness(1.02);
}
.shot-tile figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.shot-name { font-weight: 600; font-size: 15px; }
.shot-conf { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); margin-left: 7px; }
.shot-time { font-size: 13.5px; color: var(--ink-3); }

/* ---------- PRO KOHO ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 880px) { .feature-grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; } }

.feature-col {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 32px;
}
.feature-col-title { font-weight: 600; font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.feature-col-lead { color: var(--ink-2); font-size: 16px; }
.feature-col-hero { padding-bottom: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  padding: 9px 0;
  font-size: 15.5px;
  color: var(--ink-2);
}
.feature-list .icn { color: var(--accent); margin-top: 4px; }

/* ---------- FOTOPASTI ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 620px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }

.brand-card {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 14px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}
.brand-card-name { font-weight: 600; font-size: 15px; }
.brand-card-more {
  background: none;
  border-style: dashed;
}
.brand-card-more .brand-card-name { font-weight: 400; font-size: 14px; color: var(--ink-3); }

/* ---------- REFERENCE ---------- */
.ref-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 680px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ref-grid { grid-template-columns: repeat(4, 1fr); } }

.ref-card {
  display: block;
  padding: 24px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}
.ref-card:hover { border-color: var(--accent); }
.ref-name { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.015em; margin-bottom: 6px; }
.ref-sub  { display: block; color: var(--ink-2); font-size: 14.5px; margin-bottom: 16px; }
.ref-host { display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }

/* ---------- ČASTÉ DOTAZY ---------- */
.faq-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .faq-list { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

.faq-item { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.faq-q { font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; margin-bottom: 8px; }
.faq-a { color: var(--ink-2); font-size: 15.5px; }

/* ---------- ZÁVĚREČNÝ PRUH ---------- */
.landing-cta-band {
  max-width: none;
  padding: 0;
  border-bottom: none;
  position: relative;
  isolation: isolate;
  color: var(--on-field);
  background:
    radial-gradient(120% 140% at 78% 6%, var(--field-glow) 0%, rgba(18, 180, 220, 0) 58%),
    linear-gradient(162deg, var(--field-1) 0%, var(--field-2) 100%);
}
.landing-cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--pad) 68px;
}
.cta-band .section-eyebrow { color: rgba(255, 255, 255, .58); }
.cta-title {
  font-weight: 600;
  font-size: clamp(26px, 2.9vw, 34px);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin-bottom: 12px;
  max-width: 20ch;
}
.cta-lead { color: var(--on-field-2); font-size: 17px; max-width: 48ch; }
.cta-copy { flex: 1 1 420px; }
.cta-band .hero-cta { margin-top: 0; }
@media (min-width: 820px) {
  .cta-band { align-items: center; }
  .cta-band .hero-cta { margin-left: auto; }
}

/* ---------- PATIČKA ---------- */
.landing-footer {
  background: var(--surface);
  border-top: 1px solid var(--rule);
}
.landing-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--pad) 40px;
}
@media (min-width: 760px) {
  .landing-footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
}
.landing-footer .brand { color: var(--ink); }
.brand-desc { margin-top: 14px; color: var(--ink-3); font-size: 14.5px; }
.brand-desc a { color: var(--accent); text-decoration: none; }

.footer-col-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
}
.footer-col a:hover { color: var(--accent); }

.landing-footer-bottom { border-top: 1px solid var(--rule); }
.footer-legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--pad) 28px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- MOBILNÍ MENU ---------- */
.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: var(--on-field);
  background: none;
  border: 1px solid var(--on-field-line);
  border-radius: var(--r);
}
.nav-toggle .close-icon { display: none; }
body.menu-open .nav-toggle .open-icon  { display: none; }
body.menu-open .nav-toggle .close-icon { display: block; }

.mobile-menu {
  display: none;
  padding: 8px var(--pad) 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mobile-menu[hidden] { display: none; }
/* Jen přímé odkazy menu — tlačítka a přepínač jazyka si nesou vlastní styl. */
.mobile-menu > a {
  display: block;
  padding: 13px 0;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-field-2);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu > a:hover { color: var(--on-field); }
.mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
.mobile-lang { margin-top: 24px; }
.mobile-lang .lang-switch { font-size: 14px; }
.mobile-lang .lang-switch a { padding: 7px 12px; }

@media (max-width: 940px) {
  :root { --pad: 20px; --nav-h: 64px; }
  .nav-links, .nav-cta .lang-switch, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu:not([hidden]) { display: block; }
}
@media (max-width: 560px) {
  .nav-cta .btn-primary { display: none; }
  .landing-section { padding-top: 64px; padding-bottom: 64px; }
  .feature-col { padding: 24px; }
}


.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- COOKIE LIŠTA ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  font-size: 14.5px;
  line-height: 1.5;
}
.cookie-banner-text { flex: 1 1 320px; margin: 0; }
.cookie-banner-actions { display: flex; gap: 8px; margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
