/* Typografie a základ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #08090a;
  --bg-alt: #0f1113;
  --accent: #f5ff7d;
  --accent-soft: rgba(245, 255, 125, 0.12);
  --text: #f5f5f5;
  --muted: #9ca3af;
  --border: #22252a;
  --card-bg: #111318;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.6);
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #141923 0, #050608 45%, #000 100%);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

/* Horní lišta */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.96),
    rgba(5, 6, 8, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 7vw;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  text-transform: lowercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

/* Hero sekce */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 72px 7vw 64px;
}

.hero-content {
  max-width: 720px;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
}

.hero-subtitle {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-meta {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Tlačítka */
.btn {
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary {
  background: var(--accent);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(245, 255, 125, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 60px rgba(245, 255, 125, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

/* Obecné sekce */
.section {
  padding: 48px 7vw 32px;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.section-intro {
  color: var(--muted);
  max-width: 32rem;
}

/* Rozdělená sekce */
.section-split {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: start;
}

.section-text p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 32rem;
}

.section-aside {
  background: linear-gradient(145deg, #050608, #0b0e13);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Kroková časová osa */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.step {
  background: linear-gradient(150deg, #050608, #0e1117);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.step-number {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Karty modelů */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.card-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-meta {
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* Kontakt */
.section-contact {
  padding-bottom: 56px;
}

.contact-box {
  background: radial-gradient(circle at top left, #111827, #020617 55%);
  border-radius: 24px;
  padding: 2rem 1.7rem 1.9rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-soft);
  max-width: 880px;
  margin: 0 auto;
}

.contact-box p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  margin: 1.3rem 0 1.2rem;
}

.contact-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.contact-note {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Patička */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 18px 7vw 26px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responzivita */
@media (max-width: 960px) {
  .section-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps,
  .cards,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .nav {
    flex-wrap: wrap;
    gap: 0.9rem;
  }
  .hero {
    padding-top: 56px;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .contact-box {
    padding: 1.6rem 1.3rem 1.7rem;
  }
}
