/* ============================================================
   SportySnap — landing page styles
   Brand: navy #1F1957 · orange #E95110
   Vlastní CSS, žádné externí závislosti (mimo Google Fonts).
   ============================================================ */

:root {
  --navy: #1F1957;
  --navy-700: #2C2570;
  --navy-800: #181344;
  --orange: #E95110;
  --orange-600: #CF4509;
  --accent2: var(--orange); /* secondary accent (//-motif, status dot); themes override */

  --ink: #1F1957;
  --text: #3A3660;
  --muted: #6E6A92;
  --bg: #FFFFFF;
  --bg-soft: #F5F5FB;
  --border: #E7E6F1;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --shadow: 0 1px 2px color-mix(in srgb, var(--navy) 5%, transparent), 0 12px 30px -12px color-mix(in srgb, var(--navy) 14%, transparent);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-600); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p  { margin: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-soft { background: var(--bg-soft); }

/* ---------- Slash motif (// from logo) ---------- */
.slash {
  color: var(--accent2);
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.04em;
  margin-right: .5em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 14px;
}
.eyebrow-light { color: #fff; }
.eyebrow-light .slash { color: var(--accent2); }

/* ---------- Status chip (header, clickable) ---------- */
.nav a.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  transition: border-color .15s ease, color .15s ease;
}
.nav a.status-chip:hover { color: var(--orange); border-color: #d9d7ec; }
.nav a.status-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent2);
  animation: status-pulse 2.4s ease-out infinite;
}
@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent2) 45%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .nav a.status-chip::before { animation: none; }
}
@media (max-width: 992px) {
  .nav a.status-chip { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--navy); font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--orange); }
.nav .btn { color: #fff; }
.nav .lang { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-head); }
.nav .lang a { color: var(--muted); font-size: .82rem; font-weight: 600; padding: 2px 5px; border-radius: 6px; }
.nav .lang a.is-active { color: var(--navy); }
.nav .lang a:hover { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px);
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--orange) 10%, transparent) 0%, transparent 42%),
    radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--navy) 7%, transparent) 0%, transparent 45%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { max-width: 860px; }
.hero h1 { margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--text); max-width: 60ch; }
.hero .lead { margin-bottom: 28px; }

.hero .hero-list {
  margin-bottom: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  max-width: 600px;
}
.hero-list li { white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.center-actions { justify-content: center; }

/* ---------- Section headings ---------- */
.section-head { max-width: 760px; margin-bottom: 44px; }
.center .section-head { margin-inline: auto; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.section-outro { margin-top: 30px; font-size: 1.12rem; color: var(--text); }
.section-outro strong, .lead strong { color: var(--navy); }

/* ---------- Icon lists (check / cross) ----------
   .simple-list  → audience, extensions  (2 columns)
   .check-list   → control section        (1 column)
   .simple-list--problem → problems       (cross icon, navy) */
.simple-list,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px 44px;
}
.simple-list { grid-template-columns: repeat(2, 1fr); }
.check-list  { grid-template-columns: 1fr; }

.simple-list li,
.check-list li {
  position: relative;
  padding-left: 38px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}
.simple-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--orange);
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Problems → cross icon on navy circle */
.simple-list--problem li::before {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* ---------- Cards grid (features) ---------- */
.grid { display: grid; gap: 18px; }
.grid-cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: #d9d7ec; }
.card h3 { margin-bottom: 8px; }
.card h3::before {
  content: "//";
  color: var(--accent2);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-right: .45em;
}
.card p { color: var(--muted); font-size: .97rem; }
.card-meta { margin-top: 16px; font-size: .92rem; color: var(--muted); }
.card-meta strong { color: var(--navy); font-family: var(--font-head); font-weight: 700; }
.card-meta a { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }

/* ---------- Stats strip (reference proof) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 46px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--orange);
}
.stat-label { margin-top: 10px; color: var(--muted); font-size: .98rem; }

/* ---------- Reference on request ---------- */
.ref-cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.ref-cta p { max-width: 54ch; color: var(--text); }

/* ---------- Flow strip (tool → PR → channels) ---------- */
.flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.flow-step {
  flex: 1 1 220px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.flow-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.flow-desc { display: block; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.flow-arrow {
  display: flex;
  align-items: center;
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
}
.flow-note { max-width: 64ch; margin: 24px auto 40px; color: var(--text); }
.flow-note strong { color: var(--navy); }

/* ---------- Working-tool mockup ---------- */
.mockup {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--navy);
}
.mockup-dots { display: inline-flex; gap: 6px; }
.mockup-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.mockup-search {
  flex: 1;
  background: rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .85);
}
.mockup-pkg {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  padding: 8px 13px;
  border-radius: 8px;
  white-space: nowrap;
}
.mockup-body { display: grid; grid-template-columns: 190px 1fr; }
.mockup-side {
  padding: 18px 16px;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup-side-h {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin: 8px 0 2px;
}
.mockup-chip {
  font-size: .8rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--navy);
}
.mockup-chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.mockup-chip--access { border-left: 3px solid var(--orange); }
.mockup-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mockup-tile { margin: 0; }
.mockup-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--navy) 22%, #fff), color-mix(in srgb, var(--navy) 9%, #fff));
}
.mockup-tile:nth-child(3n) .mockup-thumb { background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 30%, #fff), color-mix(in srgb, var(--orange) 15%, #fff)); }
.mockup-tile:nth-child(4n) .mockup-thumb { background: linear-gradient(135deg, color-mix(in srgb, var(--navy) 26%, #fff), color-mix(in srgb, var(--navy) 12%, #fff)); }
.mockup-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
  gap: 6px;
}
.mockup-meta b { font-family: var(--font-head); font-weight: 600; font-size: .74rem; color: var(--navy); }
.mockup-meta em {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .66rem;
  background: color-mix(in srgb, var(--orange) 12%, transparent);
  color: var(--orange-600);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.mockup-cap { text-align: center; margin-top: 16px; font-size: .9rem; color: var(--muted); }

@media (max-width: 700px) {
  .flow { flex-direction: column; align-items: center; }
  .flow-step { max-width: 360px; width: 100%; }
  .flow-arrow { transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-side { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--border); }
  .mockup-side-h { width: 100%; display: none; }
  .mockup-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ---------- Split (control section) ---------- */
.split-head { max-width: 760px; margin-bottom: 34px; }
.split-body {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: start;
}
.split-body .section-sub { margin-top: 0; }
/* ---------- Benefits (dark section) ---------- */
.section-dark {
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--orange) 22%, transparent) 0%, transparent 45%),
    var(--navy);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.grid-benefits { grid-template-columns: repeat(3, 1fr); }
.benefit {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.benefit h3 { margin-bottom: 8px; }
.benefit h3::before {
  content: "//";
  color: var(--accent2);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-right: .45em;
}
.benefit p { color: rgba(255, 255, 255, .78); font-size: .97rem; }

/* ---------- CTA ---------- */
.cta { background: var(--bg-soft); }
.cta .lead { margin: 20px auto 32px; }
.contact-note { margin-top: 22px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-800); color: rgba(255, 255, 255, .72); padding: 48px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -.01em;
}
.footer-logo { height: 30px; width: auto; }
.footer-brand p { margin-top: 14px; font-size: .95rem; max-width: 40ch; }
.footer-meta { display: flex; flex-direction: column; gap: 6px; text-align: right; font-size: .95rem; }
.footer-meta a { color: #fff; }
.footer-meta span { color: rgba(255, 255, 255, .55); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .grid-cards, .grid-benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split-body { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .nav .lang, .nav .lang a { display: inline-flex; }
  .grid-cards, .grid-benefits, .simple-list { grid-template-columns: 1fr; }
  .hero-list li { white-space: normal; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
}
