:root {
  /* Light theme */
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --text: #0b0c10;
  --muted: #4b5563;
  --brand: #2ec5ff;
  --brand-2: #ffb020;
  --card: #ffffff;
  --border: #e6e9ef;
  --ok: #0ea5a5;
  --warn: #b45309;
  --shadow: 0 8px 24px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --radius: 14px;
  --phone-radius: 28px;
  --maxw: 1140px;
  --gap: 24px;
  --ease: cubic-bezier(.22,1,.36,1);
}

html, body { height: 100%; }
html { 
  scroll-behavior: smooth; 
  background: var(--bg);
  color-scheme: light;
}
body {
  margin: 0; 
  color: var(--text); 
  background: radial-gradient(1200px 600px at 20% -10%, rgba(46,197,255,.10), transparent),
  radial-gradient(900px 500px at 80% -20%, rgba(255,176,32,.10), transparent),
  var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  letter-spacing: .01em;
}

/* Force light mode - prevent dark mode */
@media (prefers-color-scheme: dark) {
  html, body {
    background: var(--bg) !important;
    color: var(--text) !important;
  }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--muted); font-weight: 500; padding: 8px 10px; border-radius: 8px; transition: color .25s var(--ease), background .25s var(--ease); }
.nav-links a:hover { color: var(--text); background: #eef2f9; }

/* Hero */
.hero { position: relative; overflow: clip; }
.hero-wrap { padding: 72px 0 40px; display: grid; gap: 22px; justify-items: start; }
.eyebrow { color: var(--muted); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.title {
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  line-height: 1.06; font-weight: 800; letter-spacing: -.02em; margin: 0;
  position: relative; display: inline-block;
}
.title .glitch { position: relative; display: inline-block; }
.title .glitch::before,
.title .glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  clip-path: inset(0 0 0 0);
  opacity: .08; pointer-events: none;
}
.title .glitch::before { transform: translate(1px, 0); color: var(--brand); animation: glitchShift 3.2s infinite linear; }
.title .glitch::after { transform: translate(-1px, 0); color: var(--brand-2); animation: glitchShift 2.6s infinite linear reverse; }
@keyframes glitchShift {
  0%, 100% { clip-path: inset(0 0 0 0); }
  10% { clip-path: inset(0 0 80% 0); }
  20% { clip-path: inset(0 0 0 0); }
  30% { clip-path: inset(60% 0 0 0); }
  40% { clip-path: inset(0 0 0 0); }
  50% { clip-path: inset(0 0 70% 0); }
  60% { clip-path: inset(0 0 0 0); }
  70% { clip-path: inset(30% 0 0 0); }
  80% { clip-path: inset(0 0 0 0); }
  90% { clip-path: inset(0 0 50% 0); }
}
.subtitle { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.25rem); max-width: 62ch; margin: 0; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: #ffffff; color: var(--text); font-weight: 600; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { transform: translateY(-2px); background: #f7fafc; border-color: #dbe2ee; }
.btn.primary { background: linear-gradient(135deg, color-mix(in oklab, var(--brand) 60%, white 10%), color-mix(in oklab, var(--brand-2) 60%, white 0%)); color: #0b0c10; border-color: transparent; box-shadow: 0 10px 30px rgba(46,197,255,.20); }
.btn.primary:hover { transform: translateY(-3px); }

/* Section */
section { padding: 64px 0; }
.section-title { font-size: clamp(1.4rem, 3.5vw, 2rem); margin: 0 0 8px; }
.section-desc { color: var(--muted); margin: 0 0 18px; max-width: 70ch; }

/* What we do - feature grid */
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(12, 1fr); }
.feature {
  grid-column: span 12; border: 1px solid var(--border); background: linear-gradient(180deg, #ffffff, #f9fbff);
  border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); position: relative; isolation: isolate;
  transform-style: preserve-3d; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  max-width: 280px;
}
.feature:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 5px 18px rgba(0,0,0,.08); }
.feature h3 { margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); }
@media (min-width: 720px) {
  .feature { grid-column: span 4; }
}

/* Apps - responsive cards */
.apps { 
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch; /* stretch items to row height */
  grid-auto-rows: 1fr; /* equal height tracks per row */
}
.app-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.app-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.visual { position: relative; border-radius: 12px; overflow: hidden; background: #eef2f9; min-height: 200px; margin-inline: auto; width: 100%; }
.visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; min-height: 220px; }
.visual.split img { border-radius: 10px; }
/* Club Session - 2x2 grid layout */
.visual.club { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr 1fr;
  gap: 8px; 
  padding: 8px; 
  min-height: 220px; 
  flex: 1; /* Grow to fill available space so titles align */
}
.visual.club img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 10px; 
  box-shadow: 0 4px 12px rgba(0,0,0,.08); 
}
@media (min-width: 880px) {
  .visual.club { 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr;
    min-height: 280px; 
  }
}

.app-title { font-weight: 800; letter-spacing: .02em; font-size: 1rem; text-align: center; }
.card-body { display: grid; place-items: center; gap: 10px; margin-top: 12px; width: 100%; flex-shrink: 0; }
.store-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: #ffffff; border: 1px solid var(--border); color: var(--text); font-weight: 600;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.store:hover { transform: translateY(-2px); background: #f7fafc; border-color: #dbe2ee; }

@media (min-width: 880px) {
  .apps { grid-template-columns: repeat(2, minmax(300px, 1fr)); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: transform, opacity; }
.reveal.in-view { opacity: 1; transform: none; }

/* Footer */
footer { border-top: 1px solid var(--border); color: var(--muted); padding: 28px 0 60px; }

/* Diagonal sash */
.sash { position: absolute; inset: 0; pointer-events: none; ;            /* teď funguje centrování */}
.sash span {
  position: absolute; top: 30px; right: -35px; transform: rotate(35deg);
  background: repeating-linear-gradient(135deg, #fff5e6, #fff5e6 16px, #ffe8c7 16px, #ffe8c7 32px);
  color: #7a4b12; border: 1px solid #f0d7ac; font-weight: 800; letter-spacing: .08em;
  padding: 8px 60px; border-radius: 6px; text-transform: uppercase; font-size: .68rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


