/* === GLOBAL ================================================== */

:root {
  --bg: #020308;
  --bg-soft: #050814;
  --fg: #f5f5f7;
  --muted: #8b8fa0;
  --accent: #4f7dff;
  --accent-soft: rgba(79, 125, 255, 0.3);
  --border-soft: rgba(255, 255, 255, 0.05);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px rgba(79, 125, 255, 0.45);
  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #07102c 0, var(--bg) 50%);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 16px 48px;
}

/* === LAYOUT & SHELL ========================================== */

.page {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.shell {
  background: linear-gradient(145deg, rgba(79, 125, 255, 0.14), rgba(0, 0, 0, 0.8));
  border-radius: 32px;
  padding: 1px;
  box-shadow: var(--shadow-soft);
}

.shell-inner {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 60%),
              radial-gradient(circle at bottom right, rgba(79, 125, 255, 0.10), transparent 55%),
              var(--bg-soft);
  border-radius: 30px;
  padding: 28px 26px 30px;
  border: 1px solid var(--border-soft);
}

/* === HEADER ================================================== */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, #e2ebff, #4f7dff 55%, #111827 100%);
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.nav-pill {
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid transparent;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.7));
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast),
              background var(--transition-fast);
}

.nav-pill:hover {
  border-color: var(--accent-soft);
  color: var(--fg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.8));
  box-shadow: 0 0 24px rgba(79, 125, 255, 0.35);
  transform: translateY(-1px);
}

.nav-pill.outline {
  background: transparent;
  border-color: var(--border-soft);
}

/* === HERO ==================================================== */

.hero {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 320px;
  min-width: 0;
  padding: 22px 20px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(79, 125, 255, 0.22), transparent 52%),
              radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.9), #050814 70%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
}

.hero-tag span.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, #e0f2ff, #4f7dff);
  box-shadow: 0 0 12px rgba(79, 125, 255, 0.8);
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.hero h1 span.accent {
  background: linear-gradient(120deg, #e5edff, #7aa1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 18px;
}

/* Badges */

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badge {
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.45);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast);
  cursor: default;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.6);
  border-color: var(--accent-soft);
  color: var(--fg);
}

/* Hero links */

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-btn {
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.55);
  color: var(--fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background var(--transition-med),
              box-shadow var(--transition-med),
              transform var(--transition-med),
              border-color var(--transition-med),
              color var(--transition-med);
}

.link-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.link-btn.primary {
  background: linear-gradient(135deg, var(--accent), #8099ff);
  border-color: transparent;
  color: #050814;
  box-shadow: var(--shadow-glow);
}

.link-btn.primary:hover {
  box-shadow: 0 0 40px rgba(79, 125, 255, 0.8);
  transform: translateY(-1px);
}

.link-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-soft);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px);
}

/* Hero photo */

.hero-photo {
  flex: 0 0 270px;
  max-width: 100%;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-frame {
  position: relative;
  border-radius: 28px;
  padding: 3px;
  background:
    radial-gradient(circle at 0% 0%, rgba(79, 125, 255, 0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.9), #020308 70%);
  box-shadow: var(--shadow-glow);
  width: 100%;
  max-width: 260px;
}

.photo-inner {
  border-radius: 24px;
  overflow: hidden;
  background: #020308;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

.photo-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 65%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.photo-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 260ms ease-out, filter 260ms ease-out;
  filter: saturate(1.05) contrast(1.05);
}

.photo-frame:hover img {
  transform: scale(1.05) translateY(-2px);
  filter: saturate(1.12) contrast(1.12);
}

.status-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5edff;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-tag span.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, #f9fafb, #22c55e);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

/* === SECTION: BASE PANEL (UPDATE) ============================ */

.section {
  margin-top: 18px;
  padding: 22px 22px 10px;
  border-radius: var(--radius-lg);
  /* světlejší, víc “card” než černý blok */
  background:
    radial-gradient(circle at top right, rgba(79, 125, 255, 0.16), transparent 55%),
    linear-gradient(145deg, #070b1b, #050814);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.section h2 {
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c3c7e0; /* trochu světlejší heading */
}

.section small {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
}

/* Tiles – jen mírné projasnění */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  list-style: none;
}

.tile {
  border-radius: 16px;
  padding: 13px 14px 16px;
  background: radial-gradient(circle at top left, rgba(110, 142, 255, 0.16), transparent 65%),
              linear-gradient(145deg, #050816, #060919);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.9);
  transition: transform var(--transition-med),
              box-shadow var(--transition-med),
              border-color var(--transition-med),
              background var(--transition-med);
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(79, 125, 255, 0.3), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 1);
  border-color: var(--accent-soft);
  background: radial-gradient(circle at top left, rgba(110, 142, 255, 0.24), transparent 70%),
              linear-gradient(150deg, #050816, #070a1e);
}

.tile:hover::before {
  opacity: 1;
}

.tile-title {
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tile-bullet {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, #e5edff, #8aa4ff);
  box-shadow: 0 0 12px rgba(79, 125, 255, 0.7);
  flex-shrink: 0;
}

.tile p {
  font-size: 0.82rem;
  color: var(--muted);
}


/* === FOOTER ================================================== */

footer {
  margin-top: 20px;
  padding: 10px 2px 0;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(139, 143, 160, 0.4);
  padding-bottom: 1px;
  transition: color var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

footer a:hover {
  color: var(--fg);
  border-color: rgba(79, 125, 255, 0.7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

/* === RESPONSIVE ============================================== */

@media (max-width: 800px) {
  body {
    padding: 20px 14px 30px;
  }

  .shell-inner {
    padding: 18px 16px 22px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    flex-direction: column-reverse;
  }

  .hero-text {
    padding: 18px 16px 18px;
  }

  .hero-photo {
    align-self: center;
  }

  .photo-frame {
    max-width: 240px;
  }
}
/* === SECTION: KONTAKT (FINAL) ================================= */

.section-kontakt {
  margin-top: 56px;
  padding: 0 16px 80px;          /* trochu vnitřní mezery od okrajů stránky */
  display: flex;
  justify-content: center;
  position: relative;
}

/* Centrálni glass karta */
.kontakt-card {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 680px;              /* menší, ne tak masivní */
  margin-inline: auto;

  padding: 34px 30px 42px;
  border-radius: 22px;

  background: linear-gradient(145deg,
              rgba(255, 255, 255, 0.04),
              rgba(18, 23, 49, 0.65));
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow:
    0 14px 55px rgba(0, 0, 0, 0.78),
    0 4px 20px rgba(79, 125, 255, 0.08);
}

/* Jemný glow okolo karty – jen kousek, ne fullwidth */
.kontakt-card::before {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 28px;
  background: radial-gradient(
    circle,
    rgba(150, 170, 255, 0.16),
    transparent 70%
  );
  filter: blur(32px);
  z-index: -1;
  pointer-events: none;
}

/* Header kontaktu */
.kontakt-header {
  text-align: center;
  margin-bottom: 26px;
}

.kontakt-header h2 {
  font-size: 1.2rem;
  color: #e3e6ff;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

.kontakt-sub {
  font-size: 0.82rem;
  color: #9aa0c7;
  opacity: 0.9;
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
}

/* Labels */
.contact-form label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8bee2;
  margin-bottom: 6px;
}

/* Inputs + textarea */
.contact-form input,
.contact-form textarea {
  background: rgba(14, 18, 35, 0.74);
  border: 1px solid rgba(160, 175, 255, 0.30);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 0.94rem;
  color: var(--fg);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    transform 180ms ease;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(210, 219, 255, 0.35);
}

/* Hover / focus */
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(190, 205, 255, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(22, 28, 50, 0.9);
  box-shadow:
    0 0 24px rgba(79, 125, 255, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.85);
  transform: translateY(-1px);
}

/* Submit button */
.submit-btn {
  margin-top: 10px;
  align-self: center;

  border: none;
  border-radius: 999px;
  padding: 11px 24px 11px 20px;

  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;

  cursor: pointer;
  color: #050814;

  background: linear-gradient(135deg, var(--accent), #9bb1ff);

  box-shadow:
    0 0 32px rgba(79, 125, 255, 0.7),
    0 14px 30px rgba(0, 0, 0, 0.85);

  display: inline-flex;
  align-items: center;
  gap: 10px;

  transition:
    transform 200ms ease,
    box-shadow 220ms ease,
    filter 200ms ease;
}

.submit-btn .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, #ffffff, #dbe7ff);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 50px rgba(105, 140, 255, 0.95),
    0 18px 38px rgba(0, 0, 0, 1);
  filter: brightness(1.04);
}

/* Mobile */
@media (max-width: 700px) {
  .section-kontakt {
    padding: 0 14px 60px;
  }

  .kontakt-card {
    padding: 26px 18px 32px;
    border-radius: 18px;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}
