:root {
  --bg: linear-gradient(180deg, #2C0A47 0%, #07010B 100%);
  --text: #fff;
  --muted: #b0b0b0;
  --surface: #111;
  --border: #4A1D63;
  --primary: #16a34a;
  --primary-700: #15803d;
  --accent: #c026d3;
  --accent-700: #a21caf;
  --shadow: 0 6px 18px rgba(0,0,0,.5);
  --radius: 14px;
}

/* ====== RESET / BASE ====== */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #060409;
  border-bottom: 1px solid var(--border);
}

header .container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 150px;
  height: auto;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.logged-as {
  color: var(--muted);
  font-size: 14px;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #DA43FE, #c63ae3);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c63ae3, #DA43FE);
}

.btn-outline {
  border: 2px solid #a020f0;
  background: transparent;
  color: #a020f0;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: #f5f0ff;
}

.btn-disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}

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

.hero {
  position: relative;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #2C0A47, #07010B);
}

.hero::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: #c026d3;
  border-radius: 50%;
  opacity: 0.25;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: #16a34a;
  border-radius: 50%;
  opacity: 0.25;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.25)),
    url('/assets/hero-banner.jpg') center/cover no-repeat;
}

.hero-content {
  position: relative;
  color: #fff;
  padding: 56px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .04em;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 8px 0 12px 0;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.15;
  color: #fff;
}

.hero p {
  margin: 0 0 22px 0;
  color: #e7eaf1;
  max-width: 60ch;
}

.hero .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ================= ABOUT ================= */

.about {
  margin: 56px 0;
}

.about .about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .about .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: none;
  margin: 0;
  height: 100%;
}

.about h2 {
  margin: 0 0 10px 0;
}

.muted {
  color: var(--muted);
}

/* ================= PLUGINS / CARDS ================= */

.plugins {
  margin: 30px 0 70px;
}

.plugins h2 {
  margin: 0 0 16px;
}

.grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 899px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  color: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.card img.thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

/* menší ikona v headeru */
.thumb.thumb-sm {
  width: 56px;
  height: 56px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-header h3 {
  margin: 0;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 999px;
  width: auto;
  text-align: left;
  align-self: flex-start;
}

.tag.coming-soon {
  background: #9ca3af;
}

.card h3 {
  margin: 6px 0 6px;
  color: #000;
}

.card p {
  color: #333;
}

.price {
  font-weight: 800;
  color: var(--primary);
}

.price.disabled {
  color: #9ca3af;
}

.card-footer .price-row {
  width: 100%;
  text-align: left;
  margin-top: 4px;
  margin-bottom: 4px;
}

.card-footer .price-row .price {
  display: inline-block;
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
  color: #c33cff;
}

.card-footer .actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-footer .actions .btn {
  flex: 1 1 0;
  text-align: center;
}

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

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
}

/* ================= HEADER LOGIN BUTTON OVERRIDE ================= */

header .nav-actions .btn.btn-primary {
  background: linear-gradient(135deg, #DA43FE, #c63ae3);
  color: #fff !important;
  border-color: transparent !important;
}

header .nav-actions .btn.btn-primary:hover {
  background: var(--accent) !important;
}

/* ================= HAMBURGER / MENU ================= */

.hamburger {
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  padding: 4px 8px;
}

.hamburger-menu {
  position: relative;
}

/* tlačítko MENU */
.menu-toggle {
  background: transparent;
  border: 2px solid #c44fff;
  color: #c44fff;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: #c44fff;
  color: #ffffff;
  border-color: #c44fff;
  transform: translateY(-1px);
}

/* dropdown menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  padding: 1.5rem 2rem;
  min-width: 260px;
  display: none;
  z-index: 1000;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu .menu-header {
  font-weight: bold;
  padding: 8px 12px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  margin: 0;
  color: #a020f0;
  line-height: 1.3;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu a::before {
  content: "-";
  color: #a020f0;
  font-weight: bold;
}

.dropdown-menu a:hover {
  background: #f5f0ff;
}

.dropdown-menu hr {
  margin: 0;
  border: none;
  border-top: 1px solid #eee;
}

/* mobilni verze menu */
@media (max-width: 768px) {
  .nav-actions {
    flex-wrap: nowrap;
  }

  .nav-actions .btn,
  .nav-actions .btn-primary,
  .nav-actions .menu-toggle {
    width: auto;
  }

  .hamburger-menu .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 0.5rem) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    width: min(360px, 100vw - 2rem) !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 1rem 1.25rem !important;
  }
}

/* ================= KONTAKT STRANKA ================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-left {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.contact-photo img {
  border-radius: 8px;
}

.contact-info {
  font-size: 16px;
  line-height: 1.6;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 100%;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.contact-form button {
  width: fit-content;
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  color: #000;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  box-shadow: var(--shadow);
}

/* kontakt mobil */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-photo img {
    max-width: 100%;
    height: auto;
  }

  .contact-right {
    width: 100%;
  }
}

/* ================= MARKETING TILE (DARKY) ================= */

.marketing {
  margin: 60px auto;
  text-align: center;
}

.marketing h2 {
  margin-bottom: 30px;
  color: #6a1b9a;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.tile {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.tile:hover {
  transform: translateY(-5px);
}

.tile .icon {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tile .icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
}

.tile h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #6a1b9a;
}

.tile p {
  color: #555;
  font-size: 15px;
  line-height: 1.4em;
}

/* ================= NAVOD OBRÁZKY ================= */

.step-image {
  margin: 20px 0;
  text-align: left;
}

.step-image img {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-top: 10px;
}

/* modal pro zvětšení obrázků */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.img-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.img-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= NAVOD TEXT ================= */

.navod {
  text-align: left;
  margin-top: 60px;
}

.navod h2,
.navod h3,
.navod h4,
.navod p,
.navod ul,
.navod ol {
  text-align: left;
  color: #fff;
  margin-bottom: 16px;
}

.navod ul,
.navod ol {
  padding-left: 20px;
}

/* zvýrazněné kroky v návodu */
.navod h3 {
  display: block;
  background: #ffffff;
  color: #d63384;
  padding: 16px 20px;
  margin: 32px 0 16px;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.navod h3 strong {
  font-weight: 800;
}

/* warning box v návodu */
.navod .warning-box {
  display: flex;
  gap: 16px;
  background: transparent;
  border: 2px solid #fbff1d;
  border-left: 10px solid #fbff1d;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
  align-items: flex-start;
}

.navod .warning-icon {
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  color: #fbff1d;
  padding-top: 2px;
}

.navod .warning-content h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.navod .warning-content p {
  margin: 0 0 6px;
}

.navod .warning-content ul {
  margin: 6px 0 0;
  padding-left: 1.2rem;
}

/* ================= COOKIE TOAST ================= */

#cookie-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 320px;
  background: #111;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  z-index: 9999;
  display: none;
  animation: fadeInUp 0.4s ease;
}

#cookie-toast p {
  margin: 0 0 10px;
  line-height: 1.4;
}

#cookie-toast button {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

#cookie-toast button:hover {
  background: #15803d;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= BUBBLE (ERROR / INFO) ================= */

.bubble-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.bubble {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.bubble-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bubble-content img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 0;
}

.bubble-text {
  flex: 1;
}

@media (max-width: 768px) {
  .bubble-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .bubble-content img {
    margin-bottom: 12px;
  }
}
.panel-fb {
  text-align: center;
}

.panel-fb .fb-box {
  max-width: 420px;   /* jak velký ten box chceš */
  margin: 0 auto;     /* vycentrování v panelu */
}

.panel-fb .fb-page {
  margin: 0 auto;
}
.tag {
  /* tvoje existující styly pro pilulku */
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-dev {
  background-color: #ff9800; /* oranžová */
  color: #fff;
}
