/* Úvodná stránka + auth formulár */

.landing-page {
  min-height: 100vh;
  color: #e8f2ef;
  background:
    radial-gradient(ellipse 90% 55% at 8% -5%, rgba(45, 140, 125, 0.38), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 15%, rgba(212, 160, 60, 0.16), transparent 50%),
    linear-gradient(165deg, #0c1614 0%, #132622 42%, #0f1a18 100%);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: rgba(10, 18, 16, 0.78);
  border-bottom: 1px solid rgba(184, 214, 204, 0.12);
  backdrop-filter: blur(12px);
}

.site-nav__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #f5fbf9;
  text-decoration: none;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.site-nav__links a {
  color: #b7d0c8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav__links a:hover {
  color: #f5fbf9;
}

.site-nav__cta {
  flex-shrink: 0;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) clamp(1rem, 3vw, 2rem) 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  animation: land-rise 0.7s ease both;
}

.hero__copy h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: #f5fbf9;
  margin: 0 0 0.85rem;
  line-height: 1.05;
}

.hero__lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: #d5ebe5;
  max-width: 28ch;
  margin: 0 0 0.85rem;
}

.hero__sub {
  margin: 0;
  color: #9db8b0;
  max-width: 36ch;
  font-size: 1rem;
}

.auth-card {
  background: var(--surface-card);
  color: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: land-rise 0.85s ease 0.12s both;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  background: #eef4f1;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}

.tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(18, 32, 29, 0.08);
}

.tab-panel h2 {
  font-size: 1.45rem;
}

.tab-panel .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.auth-extra {
  margin: 0.9rem 0 0;
  text-align: center;
}

.auth-extra a,
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-deep);
  cursor: pointer;
  text-decoration: underline;
}

.reset-page .reset-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.reset-page .auth-card {
  width: min(100%, 420px);
}

.reset-page .auth-card h1 {
  font-size: 1.6rem;
  color: var(--ink);
}

.land-section {
  padding: clamp(2.5rem, 7vh, 4.5rem) clamp(1rem, 3vw, 2rem);
  border-top: 1px solid rgba(184, 214, 204, 0.1);
}

.land-section--tint {
  background: rgba(0, 0, 0, 0.18);
}

.land-section--contact {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(45, 140, 125, 0.2), transparent 60%),
    rgba(0, 0, 0, 0.22);
}

.land-section__inner {
  max-width: 980px;
  margin: 0 auto;
}

.land-section__inner--narrow {
  max-width: 640px;
}

.land-section h2 {
  color: #f5fbf9;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.land-section__intro {
  color: #a8c4bc;
  margin: 0 0 1.75rem;
  max-width: 42ch;
  font-size: 1.05rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps__num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(61, 186, 168, 0.18);
  border: 1px solid rgba(61, 186, 168, 0.45);
  color: #7ddea8;
  font-weight: 700;
  font-size: 1rem;
}

.steps h3 {
  color: #f0faf7;
  font-size: 1.2rem;
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0;
}

.steps p {
  margin: 0;
  color: #a8c4bc;
}

.feature-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}

.feature-grid h3 {
  color: #f0faf7;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0;
}

.feature-grid p {
  margin: 0;
  color: #a8c4bc;
}

.theme-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem 1rem;
  align-items: start;
}

.theme-showcase__card {
  margin: 0;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.theme-showcase__frame {
  display: block;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(184, 214, 204, 0.22);
  background: #0a1210;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.theme-showcase__frame:hover,
.theme-showcase__frame:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(125, 222, 168, 0.55);
  outline: none;
}

.theme-showcase__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.theme-showcase__card figcaption {
  text-align: center;
  display: grid;
  gap: 0.15rem;
}

.theme-showcase__card strong {
  color: #f0faf7;
  font-size: 0.98rem;
  font-weight: 700;
}

.theme-showcase__card span {
  color: #a8c4bc;
  font-size: 0.85rem;
}

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  border-bottom: 1px solid rgba(184, 214, 204, 0.14);
  padding: 0.35rem 0 0.85rem;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: #eef8f4;
  list-style: none;
  padding: 0.45rem 0;
  transition: color 0.2s ease;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  color: #7ddea8;
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item summary:hover {
  color: #fff;
}

.faq__item p {
  margin: 0.35rem 0 0;
  color: #a8c4bc;
  max-width: 52ch;
}

.contact-block {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-block__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7d9e96;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-block a {
  color: #f5fbf9;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 222, 168, 0.45);
  transition: border-color 0.2s ease;
}

.contact-block a:hover {
  border-bottom-color: #7ddea8;
}

.contact-note {
  color: #8aa59d !important;
  margin-bottom: 1.25rem;
}

.site-footer {
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 2rem;
  border-top: 1px solid rgba(184, 214, 204, 0.1);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #7d9e96;
  font-size: 0.88rem;
}

@keyframes land-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-nav__links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .hero__lead,
  .hero__sub {
    max-width: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .theme-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-showcase__frame {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav__right {
    width: auto;
    margin-left: auto;
  }

  .site-nav__cta {
    width: 100%;
    text-align: center;
    order: 3;
  }
}
