/* ========= FONTS ========= */
@font-face {
  font-family: "Zalando Sans";
  src: url("fonts/ZalandoSans-Regular.woff2") format("woff2"),
       url("fonts/ZalandoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans";
  src: url("fonts/ZalandoSans-Medium.woff2") format("woff2"),
       url("fonts/ZalandoSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans";
  src: url("fonts/ZalandoSans-Bold.woff2") format("woff2"),
       url("fonts/ZalandoSans-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ========= THEME ========= */
:root {
  --c-dark: #2D2D2A;
  --c-dark-2: #4C4C47;
  --c-muted: #A7A2A9;
  --c-accent: #06AED5;
  --c-green: #B0FE76;

  --bg: #050506;
  --primary: var(--c-accent);
  --primary-dark: #0486a5;
  --text-main: #F4F4F4;
  --text-muted: var(--c-muted);

  --radius-shell: 32px;
  --radius-card: 22px;
  --shadow-shell: 0 30px 70px rgba(0, 0, 0, 0.9);
  --shadow-soft: 0 22px 50px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 45px rgba(6, 174, 213, 0.16), 0 26px 60px rgba(0, 0, 0, 0.85);
  --shadow-card-hover: 0 18px 40px rgba(0,0,0,0.85), 0 0 24px rgba(6,174,213,0.18);
  --surface-1: #0b0c0d;
  --surface-2: #111214;
  --border-soft: rgba(255, 255, 255, 0.08);

  --transition-fast: 0.15s ease-out;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Zalando Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0 0, rgba(176,254,118,0.24), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(6,174,213,0.4), transparent 60%),
    #050506;
  color: var(--text-main);
  padding: 28px 0 60px;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 18px;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 15% 10%, rgba(6,174,213,0.28), transparent 45%),
    radial-gradient(circle at 80% 0, rgba(176,254,118,0.22), transparent 55%),
    repeating-linear-gradient(120deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 140px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -30% -30%;
  background:
    radial-gradient(circle at 50% 85%, rgba(6,174,213,0.16), transparent 60%),
    radial-gradient(circle at 90% 60%, rgba(176,254,118,0.12), transparent 65%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  animation: drift 22s ease-in-out infinite reverse;
}

.page,
.infobar {
  position: relative;
  z-index: 1;
}

@keyframes drift {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(10px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(176,254,118,0.6); }
  50% { transform: scale(1.08); box-shadow: 0 0 16px rgba(176,254,118,0.9); }
}

/* ========= INFO BAR ========= */

.infobar {
  max-width: 1360px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, rgba(53,53,48,0.9), rgba(16,16,16,0.9));
  color: #e5e5e5;
  font-size: 13px;
  text-align: center;
  padding: 8px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

.infobar a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.infobar a:hover {
  color: var(--c-green);
}

/* ========= SHELL ========= */

.shell {
  border-radius: var(--radius-shell);
  background: radial-gradient(circle at top, #19191a, #050506 55%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-shell);
  overflow: hidden;
  position: relative;
  max-width: 100%;
  isolation: isolate;
  animation: fadeUp 0.6s ease-out both;
}

.shell::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(circle at 20% 20%, rgba(6,174,213,0.18), transparent 60%),
    radial-gradient(circle at 80% 0, rgba(176,254,118,0.12), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.shell::after {
  content: "";
  position: absolute;
  inset: auto -20% -50% -20%;
  height: 70%;
  background: radial-gradient(circle at 50% 0, rgba(6,174,213,0.12), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.shell-inner {
  padding: 26px 40px 32px;
  position: relative;
  z-index: 1;
}

/* ========= NAVBAR ========= */

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto; /* logo | menu | buttons */
  align-items: center;
  gap: 20px;
  margin-bottom: 38px;
  font-size: 14px;
  color: #d3d3d3;
  position: relative;
}

.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,174,213,0.35), rgba(176,254,118,0.35), transparent);
  opacity: 0.7;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: radial-gradient(circle at 0 0, var(--c-green), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #031014;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.8);
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text-muted);
  justify-self: center;
}

.nav-center a {
  color: inherit;
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
  cursor: pointer;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.88;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--c-green));
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #f4f4f4;
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  flex-wrap: wrap;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 6px;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.lang-btn {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #d6d6d6;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.lang-btn:hover {
  color: #f6f6f6;
  border-color: rgba(255,255,255,0.3);
}

.lang-btn.is-active {
  color: #031014;
  background: linear-gradient(90deg, var(--primary), var(--c-green));
  border-color: transparent;
  font-weight: 600;
}

.btn {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 14px;
  padding: 9px 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
  font-weight: 500;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
}

.btn-outline {
  background: rgba(255,255,255,0.02);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  border-color: transparent;
  color: #031014;
  box-shadow: 0 8px 22px rgba(0,0,0,0.8);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #e9fafe;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.95);
}

/* ========= HERO (použité hlavne na index) ========= */

.hero {
  text-align: center;
  padding: 4px 0 26px;
  position: relative;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.05s;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 10px rgba(176,254,118,0.9);
  animation: pulseGlow 3.6s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
  text-shadow: 0 16px 50px rgba(0,0,0,0.45);
}

.hero-title span.highlight {
  background: linear-gradient(90deg, var(--primary), var(--c-green));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 auto 20px;
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========= TRUST BAR ========= */

.trust-bar {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-top: 10px;
  flex-wrap: wrap;
  opacity: 0.8;
}

.trust-logo {
  width: 84px;
  height: 20px;
  border-radius: 999px;
  background: #19191a;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ========= PREVIEW DASHBOARD (použité na index) ========= */

.preview-wrap {
  margin-top: 32px;
}

.preview-card {
  border-radius: var(--radius-card);
  background: radial-gradient(circle at 0 0, rgba(6,174,213,0.22), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(176,254,118,0.2), transparent 55%),
              #101010;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-soft), 0 0 35px rgba(6,174,213,0.12);
  padding: 18px 20px 20px;
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  isolation: isolate;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.12s;
}

.preview-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(6,174,213,0.5), rgba(176,254,118,0.35), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.preview-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.crumb-dot {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: #151515;
  border: 1px solid rgba(255,255,255,0.08);
}

.preview-tabs {
  display: inline-flex;
  border-radius: 999px;
  background: #181818;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.08);
}

.preview-tab {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
}

.preview-tab--active {
  background: #050506;
  color: var(--primary);
}

.preview-main {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 14px;
}

.preview-panel {
  border-radius: 12px;
  background: #050506;
  border: 1px solid #262626;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.preview-panel h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-main);
}

.preview-chart {
  height: 150px;
  border-radius: 10px;
  background: linear-gradient(to top, #101010, #16171a);
  position: relative;
  overflow: hidden;
}

.preview-chart-line {
  position: absolute;
  inset: 22px 12px 20px;
  border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(6,174,213,0.1), transparent),
    radial-gradient(circle at 0 100%, rgba(176,254,118,0.28), transparent 55%);
}

.preview-chart-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--c-green));
  box-shadow: 0 0 14px rgba(6,174,213,0.7);
}

.preview-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-top: 8px;
  font-size: 10px;
}

.preview-day-header {
  text-align: center;
  color: var(--text-muted);
}

.preview-day {
  height: 18px;
  border-radius: 5px;
  background: #171717;
  position: relative;
  overflow: hidden;
}

.preview-day--train::after {
  content: "";
  position: absolute;
  inset: auto 3px 3px 3px;
  height: 5px;
  border-radius: 999px;
  background: var(--c-green);
}

.preview-day--race::after {
  content: "";
  position: absolute;
  inset: auto 3px 3px 3px;
  height: 5px;
  border-radius: 999px;
  background: var(--primary);
}

/* ========= BETA HERO / FEATURES ========= */

.beta-hero {
  background:
    radial-gradient(circle at 0 0, rgba(6,174,213,0.16), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(176,254,118,0.14), transparent 50%),
    #101010;
}

.beta-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
}

.beta-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #e8e8e8;
  width: fit-content;
}

.beta-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.beta-bullets li {
  position: relative;
  padding-left: 16px;
}

.beta-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--c-green);
}

.beta-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.beta-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.beta-feature-card {
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(6,174,213,0.12), transparent 60%),
    #0f1011;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.7);
  min-height: 92px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.beta-feature-label {
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #cfcfcf;
  margin-bottom: 4px;
}

.beta-feature-value {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 3px;
  color: #f5f5f5;
}

.beta-feature-note {
  font-size: 9px;
  color: var(--text-muted);
}

/* ========= BETA SHOWCASE ========= */

.showcase-frame {
  margin-top: 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(176,254,118,0.08), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(6,174,213,0.12), transparent 50%),
    #0a0c0a;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.showcase-left,
.showcase-right {
  border-radius: 20px;
  border: 1px solid #1a1a1a;
  background: #050506;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 16px 36px rgba(0,0,0,0.7);
  padding: 16px;
}

.showcase-left {
  background: linear-gradient(150deg, rgba(12,32,30,0.86), rgba(6,6,6,0.94));
}

.showcase-title {
  margin: 0 0 4px;
  font-size: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 6px;
}

.metric-card {
  border-radius: 16px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 12px 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.6);
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c6c6c6;
}

.metric-value {
  font-size: 22px;
  font-weight: 600;
  margin: 6px 0 4px;
  color: #f7f7f7;
}

.metric-note {
  font-size: 12px;
  color: var(--text-muted);
}

.curve-area {
  margin-top: 12px;
  height: 150px;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(6,174,213,0.18), rgba(12,64,40,0.18)),
    radial-gradient(circle at 20% 70%, rgba(6,174,213,0.16), transparent 55%),
    #070808;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.curve-line {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0cd6ff, #76ff9f);
  box-shadow: 0 0 14px rgba(12,214,255,0.35);
}

.curve-line::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at center, rgba(118,255,159,0.16), transparent 60%);
  filter: blur(3px);
}

.showcase-right h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.planner-head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.planner-rows {
  display: grid;
  gap: 8px;
}

.planner-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap: 10px;
}

.planner-bar {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.5);
}

.planner-bar.is-main {
  background: linear-gradient(90deg, #74ff98, #b7ff7a);
  box-shadow: 0 0 8px rgba(176,254,118,0.5);
}

.planner-bar.is-muted {
  background: #202020;
}

.planner-bar.is-race {
  background: linear-gradient(90deg, #05b6ff, #5ad4ff);
  box-shadow: 0 0 8px rgba(5,182,255,0.45);
}

/* ========= BETA LIVE ANIMATED SHOWCASE ========= */

.live-showcase {
  margin-top: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(6,174,213,0.1), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(176,254,118,0.1), transparent 60%),
    #0b0c0d;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.7);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.live-headline {
  font-size: 18px;
  color: #adff2f;
  margin: 0 0 14px;
  opacity: 0;
}

.beta-slideshow {
  margin: 8px 0 14px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle at 20% 20%, rgba(6,174,213,0.08), transparent 55%), #0d0d0f;
  min-height: 210px;
}

.beta-slides {
  display: grid;
}

.beta-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.beta-slide.is-active {
  opacity: 1;
}

.beta-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.beta-slideshow-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.beta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.beta-dot.is-active {
  background: #adff2f;
  opacity: 1;
  transform: scale(1.05);
}

.live-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 12px 0 10px;
}

.live-card {
  background: #0e0f10;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.6);
}

.live-card span {
  font-size: 18px;
  color: #0ef5ff;
  display: block;
  font-weight: 600;
}

.live-card p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.live-planner {
  margin: 10px 0 14px;
}

.live-planner-head {
  font-size: 12px;
  margin-bottom: 8px;
  color: #eaeaea;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-days {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.live-day {
  width: 28px;
  height: 7px;
  background: #333;
  border-radius: 4px;
  opacity: 0;
}

.live-day--special {
  background-color: #00bfff;
}

.live-chart {
  margin: 12px 0 4px;
  height: 120px;
}

.live-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.live-progress {
  display: none;
}

.live-line-fill {
  fill: url(#live-fill-grad);
  opacity: 0.6;
}

#live-line-path {
  filter: drop-shadow(0 0 8px rgba(0,255,225,0.4));
}

.live-line-dot {
  fill: #00ffe1;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(0,255,225,0.5));
}

.live-progress-bg {
  stroke: #333;
  stroke-width: 10;
  fill: none;
}

.live-progress-bar {
  stroke: #adff2f;
  stroke-width: 10;
  fill: none;
  stroke-dasharray: 282.6;
  stroke-dashoffset: 282.6;
  transform: rotate(-90deg);
  transform-origin: center;
}

.live-outro {
  display: none;
}

/* ========= GENERIC PAGE SECTIONS (pre podstránky) ========= */

.page-section {
  margin-top: 24px;
}

.section-card {
  border-radius: 24px;
  background: radial-gradient(circle at 0 0, rgba(6,174,213,0.18), transparent 60%),
              radial-gradient(circle at 100% 0, rgba(176,254,118,0.15), transparent 60%),
              #111111;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft), 0 0 35px rgba(6,174,213,0.08);
  padding: 22px 24px 24px;
  position: relative;
  isolation: isolate;
  animation: fadeUp 0.6s ease-out both;
}

.section-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(6,174,213,0.5), rgba(176,254,118,0.35), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.section-card > * {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 14px;
}

.section-kicker {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.section-title {
  font-size: 24px;
  margin: 0;
}

.section-title span {
  color: var(--c-green);
}

.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  max-width: 520px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 10px;
}

.section-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  display: grid;
  gap: 10px;
}

.section-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.section-badge {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #20201d;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ========= SIMPLE GRID (napr. na features) ========= */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.promo-card {
  border-radius: 18px;
  background: #20201d;
  padding: 14px 13px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.85);
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
}

.promo-card--gradient {
  background:
    radial-gradient(circle at 0 0, rgba(6,174,213,0.18), transparent 50%),
    #20201d;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #30302c;
  color: var(--text-muted);
  font-size: 11px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 7px;
}

.promo-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px rgba(176,254,118,0.7);
}

.promo-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-main);
}

.promo-sub {
  font-size: 13px;
}

/* ========= PRICING ========= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}

/* ========= INSTALL DOWNLOADS ========= */

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}

.download-meta {
  border-top: 1px dashed rgba(255,255,255,0.08);
  padding-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  word-break: break-word;
}

.download-meta strong {
  color: var(--text-main);
  font-weight: 600;
}

.download-meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 10px;
  color: #d8e2e8;
}

.price-card {
  border-radius: 18px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 16px 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card--highlight {
  background:
    radial-gradient(circle at 0 0, rgba(6,174,213,0.22), transparent 60%),
    #171717;
  border-color: var(--primary);
}

.price-name {
  font-size: 15px;
  font-weight: 600;
}

.price-label {
  font-size: 11px;
  color: var(--text-muted);
}

.price-value {
  font-size: 22px;
  font-weight: 600;
  margin-top: 2px;
}

.price-value span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  display: grid;
  gap: 4px;
}

.price-list li::before {
  content: "• ";
  color: var(--c-green);
}

.price-cta {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

.btn-price {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-price:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-1px);
}

/* ========= ADMIN / DATA LAYOUT ========= */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 10px;
}

.stat-card {
  border-radius: 16px;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.8);
}

.stat-grid--compact .stat-card {
  padding: 6px 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-grid--compact .stat-label {
  font-size: 8px;
  letter-spacing: 0.04em;
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
  margin: 6px 0 4px;
}

.stat-grid--compact .stat-value {
  font-size: 12px;
}

.stat-note {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-grid--compact .stat-note {
  font-size: 8px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 10px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 10px;
  background: #202020;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--text-muted);
}

.tag-soft {
  background: rgba(255,255,255,0.05);
  color: #e0e0e0;
}

.table {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.table-grid {
  display: grid;
  grid-template-columns: var(--cols, repeat(3, minmax(0,1fr)));
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #111111;
}

.table-header {
  background: #1a1a1a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.table-row {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.table-row:last-of-type {
  border-bottom: none;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #f7f7f7;
  font-size: 12px;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.pill-button:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.pill-ghost {
  background: rgba(255,255,255,0.02);
}

.pill-danger {
  border-color: rgba(255,0,0,0.2);
  color: #ffb3b3;
}

.cd-modal {
  position: fixed;
  inset: 0;
  background: rgba(6,6,8,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 20000;
}

.cd-modal-card {
  width: min(520px, 92vw);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #111111;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.cd-modal-title {
  font-size: 18px;
  font-weight: 600;
}

.cd-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cd-modal-field label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cd-modal-error {
  min-height: 16px;
  font-size: 12px;
  color: #ffb3b3;
}

.cd-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.cd-modal-textarea {
  min-height: 90px;
  resize: none;
}

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  font-size: 13px;
}
.input:focus { outline: 2px solid var(--primary); }
.mini-chart { margin-top: 8px; min-height: 40px; }

.muted {
  color: var(--text-muted);
  font-size: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #222;
  color: #e5e5e5;
}

.status-badge.is-active { border-color: rgba(176,254,118,0.4); color: var(--c-green); }
.status-badge.is-disabled { border-color: rgba(255,255,255,0.18); color: #aaaaaa; }
.status-badge.is-injured { border-color: rgba(255,165,0,0.4); color: #ffc27d; }
.status-badge.is-inactive { border-color: rgba(255,255,255,0.18); color: #bbbbbb; }
.status-badge.is-assigned { border-color: rgba(6,174,213,0.4); color: var(--primary); }
.status-badge.is-unassigned { border-color: rgba(255,165,0,0.4); color: #ffc27d; }

.table-select {
  width: 100%;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0c0c0d;
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
}

.rule-box {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.16);
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
}

/* ========= AUTH ========= */

.auth-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  margin-top: 10px;
}

.auth-card {
  border-radius: 18px;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 16px 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.85);
}

.auth-card--ghost {
  background:
    radial-gradient(circle at 0 0, rgba(6,174,213,0.16), transparent 60%),
    #181818;
}

.auth-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.input-control {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 11px 12px;
  background: #0b0b0c;
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,174,213,0.14);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.text-link {
  font-size: 12px;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link:hover {
  color: var(--c-green);
}

.auth-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-list li::before {
  content: "• ";
  color: var(--c-green);
}

/* ========= INTERACTIONS ========= */

.nav-link:focus-visible,
.btn:focus-visible,
.btn-price:focus-visible,
.pill-button:focus-visible,
.lang-btn:focus-visible,
.text-link:focus-visible,
.beta-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.table-select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.preview-card,
.section-card,
.preview-panel,
.promo-card,
.price-card,
.beta-feature-card,
.metric-card,
.stat-card,
.auth-card,
.live-card,
.showcase-left,
.showcase-right,
.showcase-frame,
.live-showcase {
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.table-grid.table-row {
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.preview-card:focus-within,
.section-card:focus-within,
.showcase-frame:focus-within,
.live-showcase:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: var(--shadow-glow);
}

.preview-panel:focus-within,
.promo-card:focus-within,
.price-card:focus-within,
.beta-feature-card:focus-within,
.metric-card:focus-within,
.stat-card:focus-within,
.auth-card:focus-within,
.live-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: var(--shadow-card-hover);
}

.showcase-left:focus-within,
.showcase-right:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04),
    0 20px 44px rgba(0,0,0,0.8),
    0 0 20px rgba(6,174,213,0.16);
}

.table-grid.table-row:focus-within {
  background: #141414;
}

.price-card--highlight:focus-within {
  border-color: rgba(6,174,213,0.7);
}

.preview-panel:focus-within {
  background: #0a0b0c;
}

@media (hover: hover) {
  .preview-card:hover,
  .section-card:hover,
  .showcase-frame:hover,
  .live-showcase:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.14);
    box-shadow: var(--shadow-glow);
  }

  .preview-panel:hover,
  .promo-card:hover,
  .price-card:hover,
  .beta-feature-card:hover,
  .metric-card:hover,
  .stat-card:hover,
  .auth-card:hover,
  .live-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: var(--shadow-card-hover);
  }

  .showcase-left:hover,
  .showcase-right:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04),
      0 20px 44px rgba(0,0,0,0.8),
      0 0 20px rgba(6,174,213,0.16);
  }

  .table-grid.table-row:hover {
    background: #141414;
  }

  .price-card--highlight:hover {
    border-color: rgba(6,174,213,0.7);
  }

  .preview-panel:hover {
    background: #0a0b0c;
  }
}

:is(.section-grid, .promo-grid, .pricing-grid, .download-grid, .beta-feature-grid, .metric-grid, .stat-grid, .auth-grid, .live-stats, .preview-main, .showcase-grid, .beta-hero-grid) > * {
  animation: fadeUp 0.5s ease-out both;
  animation-delay: calc(var(--reveal-order, 0) * 0.06s);
}

:is(.section-grid, .promo-grid, .pricing-grid, .download-grid, .beta-feature-grid, .metric-grid, .stat-grid, .auth-grid, .live-stats, .preview-main, .showcase-grid, .beta-hero-grid) > *:nth-child(2) { --reveal-order: 1; }
:is(.section-grid, .promo-grid, .pricing-grid, .download-grid, .beta-feature-grid, .metric-grid, .stat-grid, .auth-grid, .live-stats, .preview-main, .showcase-grid, .beta-hero-grid) > *:nth-child(3) { --reveal-order: 2; }
:is(.section-grid, .promo-grid, .pricing-grid, .download-grid, .beta-feature-grid, .metric-grid, .stat-grid, .auth-grid, .live-stats, .preview-main, .showcase-grid, .beta-hero-grid) > *:nth-child(4) { --reveal-order: 3; }
:is(.section-grid, .promo-grid, .pricing-grid, .download-grid, .beta-feature-grid, .metric-grid, .stat-grid, .auth-grid, .live-stats, .preview-main, .showcase-grid, .beta-hero-grid) > *:nth-child(5) { --reveal-order: 4; }
:is(.section-grid, .promo-grid, .pricing-grid, .download-grid, .beta-feature-grid, .metric-grid, .stat-grid, .auth-grid, .live-stats, .preview-main, .showcase-grid, .beta-hero-grid) > *:nth-child(6) { --reveal-order: 5; }
:is(.section-grid, .promo-grid, .pricing-grid, .download-grid, .beta-feature-grid, .metric-grid, .stat-grid, .auth-grid, .live-stats, .preview-main, .showcase-grid, .beta-hero-grid) > *:nth-child(7) { --reveal-order: 6; }
:is(.section-grid, .promo-grid, .pricing-grid, .download-grid, .beta-feature-grid, .metric-grid, .stat-grid, .auth-grid, .live-stats, .preview-main, .showcase-grid, .beta-hero-grid) > *:nth-child(8) { --reveal-order: 7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========= RESPONSIVE ========= */

@media (max-width: 900px) {
  .shell-inner {
    padding: 20px 20px 24px;
  }
  .nav-center {
    display: none;
  }
  .preview-main,
  .section-grid {
    grid-template-columns: 1fr;
  }
  .beta-hero-grid {
    grid-template-columns: 1fr;
  }
  .beta-feature-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .live-stats {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .table-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .promo-grid,
  .pricing-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding: 20px 0 40px;
  }
  .page {
    padding: 0 12px;
  }
  .promo-grid,
  .pricing-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
  .beta-feature-grid {
    grid-template-columns: 1fr;
  }
  .live-stats {
    grid-template-columns: 1fr;
  }
  .showcase-frame {
    padding: 12px;
  }
  .showcase-left,
  .showcase-right {
    padding: 14px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .planner-head,
  .planner-row {
    gap: 6px;
  }
  .planner-bar {
    height: 12px;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .table-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .form-field--split {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 30px;
  }
}
