@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #0B0F19;
  --deep: #060910;
  --card: #151B28;
  --muted: #94A3B8;
  --cyan: #00E5FF;
  --violet: #7000FF;
  --gold: #F8D36B;
  --emerald: #10B981;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(0,229,255,.18), transparent 34%),
    radial-gradient(circle at 87% 18%, rgba(112,0,255,.20), transparent 34%),
    radial-gradient(circle at 50% 85%, rgba(0,229,255,.08), transparent 38%),
    linear-gradient(180deg, #0B0F19 0%, #060910 52%, #0B0F19 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: .6;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
}

/* ── Utilities ── */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 100px rgba(0,0,0,.50);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.gradient-text {
  background: linear-gradient(105deg, #fff 0%, #ccf9ff 28%, #bca9ff 70%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-text {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 30px rgba(0,229,255,.30), 0 0 64px rgba(112,0,255,.25);
  transition: transform .28s ease, box-shadow .28s ease;
  color: #060910;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.glow-btn:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 0 45px rgba(0,229,255,.45), 0 0 95px rgba(112,0,255,.36);
  color: #060910;
}
.glow-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  background: linear-gradient(90deg, var(--cyan), #fff, var(--violet));
  filter: blur(17px);
  opacity: 0;
  transition: .25s;
}
.glow-btn:hover::before { opacity: .65; }

/* ── Header ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 16px;
  transition: all .3s;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(11,15,25,.45);
  padding: 10px 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background .3s, border-color .3s;
}
#site-header.scrolled .header-inner {
  background: rgba(11,15,25,.85);
  border-color: rgba(255,255,255,.10);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-size: 11px;
  font-weight: 900;
  color: #0B0F19;
  box-shadow: 0 0 24px rgba(0,229,255,.35), 0 0 52px rgba(112,0,255,.25);
  flex-shrink: 0;
}
.logo-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.site-nav a:hover,
.site-nav a.active { color: #fff; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.03);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.lang-badge .active-lang { color: #fff; }
.lang-sep { color: rgba(255,255,255,.2); }

.btn-cta {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: border-color .2s;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 82px;
  left: 16px;
  right: 16px;
  z-index: 49;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(11,15,25,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 20px;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 98px);
  max-height: calc(100dvh - 98px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  padding: 13px 16px;
  border-radius: 14px;
  transition: color .2s, background .2s;
}
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.mobile-nav .mobile-cta {
  margin-top: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
}

/* ── Footer ── */
#site-footer {
  border-top: 1px solid rgba(255,255,255,.05);
  background: var(--deep);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-copy {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.footer-links a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-links a.footer-email-link:hover { color: var(--cyan); }

/* ── Legal pages ── */
.legal-page {
  min-height: 100vh;
  padding-top: 100px;
}

.legal-hero {
  padding: 60px 24px 56px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--cyan);
  margin-bottom: 20px;
}
.legal-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.04;
  margin: 0 0 20px;
}
.legal-hero .legal-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 120px;
}
.legal-card {
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: 40px;
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 2.5rem 0 .75rem;
  color: #fff;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.75rem 0 .5rem;
  color: rgba(255,255,255,.9);
}
.legal-content p {
  font-size: .9375rem;
  line-height: 1.85;
  color: var(--muted);
  margin: .5rem 0;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin: .5rem 0 1rem;
}
.legal-content li {
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: .3rem;
}
.legal-content a {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity .2s;
}
.legal-content a:hover { opacity: .8; }
.legal-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 2rem 0;
}
.legal-notice {
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(112,0,255,.06));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 22px 24px;
  margin-top: 2rem;
  font-size: .875rem;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
}
.legal-notice strong { color: #fff; }
.placeholder {
  color: rgba(248,211,107,.85);
  font-style: italic;
}

/* Kontakt page specific */
.contact-page-hero {
  padding: 60px 24px 48px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.contact-card {
  max-width: 560px;
  margin: 0 auto 120px;
  padding: 0 24px;
}
.contact-email-card {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 32px;
  padding: 48px 40px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .lang-badge { display: none; }
}
@media (max-width: 767px) {
  .menu-toggle { display: flex; }
  .logo-name { display: none; }
  #site-header { padding: 12px; }
  .header-inner { padding: 10px 14px; border-radius: 22px; }
  .btn-cta { padding: 10px 14px; font-size: 10px; }
  .legal-card { padding: 28px 24px; }
  .contact-email-card { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
