/* Hourino marketing — sdílí brand s aplikací (dark, #8b7cf8, Space Grotesk). */
:root {
  --bg: #101014;
  --surface: #17171c;
  --surface-2: #1c1c24;
  --border: #26262e;
  --border-strong: #32323c;
  --text: #ececf1;
  --muted: #8b8b98;
  --faint: #85858f;
  --primary: #8b7cf8;
  --primary-hover: #a99cfb;
  --primary-soft: rgb(139 124 248 / 12%);
  --green: #22c55e;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  align-items: center;
  display: flex;
  gap: 28px;
  padding: 22px 0;
}

.wordmark {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  gap: 9px;
}

.wordmark:hover {
  color: var(--text);
}

.wordmark__accent {
  color: var(--primary);
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text);
}

.btn {
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 20px;
}

.btn--primary {
  background: var(--primary);
  color: #0f0e1a;
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: #0f0e1a;
}

.btn--ghost {
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  color: var(--primary-hover);
}

.btn--large {
  font-size: 17px;
  padding: 14px 28px;
}

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 auto 18px;
  max-width: 720px;
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero p {
  color: var(--muted);
  font-size: 19px;
  margin: 0 auto 30px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.hero__note {
  color: var(--faint);
  font-size: 13px;
}

/* ---------- core loop demo ---------- */
.demo {
  margin: 48px auto 0;
  max-width: 560px;
}

.demo__bar {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgb(0 0 0 / 45%);
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  text-align: left;
}

.demo__desc {
  color: var(--text);
  flex: 1;
  font-size: 15px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo__project {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 13px;
  gap: 6px;
}

.demo__dot {
  background: #38bdf8;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.demo__time {
  font-family: var(--font-display);
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.demo__stop {
  align-items: center;
  background: rgb(255 122 102 / 15%);
  border: 1px solid #ff7a66;
  border-radius: 50%;
  color: #ff9585;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 11px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.demo__caption {
  color: var(--faint);
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}

/* ---------- sekce ---------- */
.section {
  padding: 64px 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-align: center;
}

.section__lead {
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 560px;
  text-align: center;
}

.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 6px;
}

.feature p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

.feature__icon {
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

.shot {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgb(0 0 0 / 50%);
  display: block;
  margin: 0 auto;
}

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 0 auto;
  max-width: 760px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.plan--featured {
  border-color: var(--primary);
  position: relative;
}

.plan__badge {
  background: var(--primary);
  border-radius: 999px;
  color: #0f0e1a;
  font-size: 12px;
  font-weight: 700;
  left: 50%;
  padding: 3px 12px;
  position: absolute;
  top: -12px;
  transform: translateX(-50%);
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 4px;
}

.plan__price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  margin: 10px 0 2px;
}

.plan__price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.plan ul {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 2;
  list-style: none;
  margin: 18px 0 26px;
  padding: 0;
}

.plan ul li::before {
  color: var(--green);
  content: '✓  ';
}

.plan .btn {
  margin-top: auto;
  text-align: center;
}

/* ---------- srovnání ---------- */
.compare-table {
  border-collapse: collapse;
  margin: 0 auto;
  width: 100%;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  padding: 13px 14px;
  text-align: center;
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
}

.compare-table thead th {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 15px;
}

.compare-table thead th.compare-table__hourino {
  color: var(--primary);
}

.compare-table .yes {
  color: var(--green);
}

.compare-table .no {
  color: var(--faint);
}

.compare-note {
  color: var(--faint);
  font-size: 13px;
  margin-top: 18px;
  text-align: center;
}

/* ---------- download ---------- */
.downloads {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 0 auto;
  max-width: 780px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}

.download-card h3 {
  font-family: var(--font-display);
  margin: 8px 0 4px;
}

.download-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}

/* ---------- blog ---------- */
.post-list {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: 680px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
  padding: 24px;
}

.post-card h3 {
  color: var(--text);
  font-family: var(--font-display);
  margin: 0 0 6px;
}

.post-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

.post-card time {
  color: var(--faint);
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.article {
  margin: 0 auto;
  max-width: 680px;
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
}

.article p,
.article li {
  color: #c9c9d4;
}

/* ---------- CTA & footer ---------- */
.cta {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 30px auto 0;
  padding: 56px 24px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 13.5px;
  margin-top: 64px;
  padding: 32px 0 44px;
}

.site-footer .container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .hero__actions {
    flex-direction: column;
  }
}
