:root {
  --bg: #030712;
  --bg-soft: #020617;
  --bg-alt: #050816;
  --primary: #22c55e;
  --primary-soft: rgba(34, 197, 94, 0.12);
  --primary-border: rgba(34, 197, 94, 0.4);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --card: #020617;
  --border: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.9);
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --radius-full: 999px;
  --nav-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #0f172a, #020617 55%, #000 100%);
  color: var(--text);
}

/* Utilities */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 1.25rem;
  background: radial-gradient(circle at 30% 30%, #22c55e, #16a34a, #14532d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #e5fdf0;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.8);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.nav-link:hover {
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-1px);
}

.nav-cta {
  border: 1px solid var(--primary-border);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(22, 163, 74, 0.1));
  color: #bbf7d0;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 36px;
  height: 30px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */

.hero {
  padding: 4.5rem 0 5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 3vw + 1.5rem, 3.1rem);
  margin: 1rem 0 1rem;
  line-height: 1.15;
}

.hero-content p {
  color: var(--muted);
  max-width: 34rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), rgba(15, 23, 42, 0.98));
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a7f3d0;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: radial-gradient(circle at 20% 0, #4ade80, #22c55e, #15803d);
  border-color: rgba(34, 197, 94, 0.6);
  color: #022c22;
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(22, 163, 74, 0.6);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.96);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Hero stats */

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-pill {
  min-width: 130px;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.stat-pill span {
  display: block;
}

.stat-value {
  font-weight: 600;
  font-size: 1.1rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero illustration */

.hero-illustration {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  padding: 1.6rem 1.4rem;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top, #020617, #000 70%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-pill {
  position: absolute;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
}

.hero-pill-1 {
  top: 0%;
  right: 15%;
}

.hero-pill-2 {
  bottom: 1%;
  right: 5%;
}

.hero-pill-3 {
  bottom: 1%;
  left: 10%;
}

/* Cards & content blocks */

.card-soft {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), #020617);
  border: 1px solid var(--border);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.8);
}

.card-soft h3 {
  margin-top: 0;
}

.lead {
  color: var(--muted);
}

/* Lists */

.list-check,
.list-dot {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-check li,
.list-dot li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.85rem;
  color: #4ade80;
}

.list-dot li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.2rem;
  color: #4ade80;
}

.data-list {
  margin: 0;
}

.data-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

.data-list dt {
  font-weight: 500;
  font-size: 0.9rem;
}

.data-list dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Program cards */

.program-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.06), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.4rem 1.3rem;
}

.program-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  margin-bottom: 0.6rem;
}

.program-title {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.program-desc {
  font-size: 0.9rem;
  color: var(--muted);
}

/* News & announcements */

.news-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), #020617);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.3rem 1.2rem 1.25rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.news-title {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.news-tag {
  font-size: 0.78rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* Tabs */

.section-tabs {
  display: flex;
  gap: 0.6rem;
}

.tab-btn {
  background: transparent;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.tab-btn.active {
  border-color: var(--primary-border);
  background: var(--primary-soft);
  color: #bbf7d0;
}

.hidden {
  display: none;
}

/* Step list */

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(148, 163, 184, 0.5);
  padding-left: 1.4rem;
}

.step-list li + li {
  margin-top: 1.1rem;
}

.step-list h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}

.step-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Kontak */

.contact-list {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list li {
  margin-bottom: 0.2rem;
}

.map-placeholder {
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.1), rgba(15, 23, 42, 0.96));
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.2rem 0 1.4rem;
  background: #020617;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-credit {
  text-align: right;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-illustration {
    order: -1;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    background: rgba(2, 6, 23, 0.98);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.5);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
