:root {
  --bg: #050509;
  --bg-alt: #0b0c12;
  --card-bg: #11131c;
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.12);
  --text: #f7f7ff;
  --muted: #a0a3b5;
  --border: #262837;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;      /* ← pridané */
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #181b2b 0, #050509 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5,5,9,0.95), rgba(5,5,9,0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.main-nav a {
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  margin-right: 4px;
}

.lang-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
}

.lang-btn.is-active {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.btn-large {
  padding: 10px 20px;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.45);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.04);
}

.btn-ghost {
  border-color: transparent;
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
}

/* HERO */

.hero {
  position: relative;
  padding: 64px 0 200px;   /* väčší spodný padding, aby pod oknom nebol text nalepený */
  overflow: visible;       /* kľúčové – musí byť visible, inak sa okno odreže */
  color: var(--text);
}

/* pozadie */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-blackhole.png");
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;          /* za obsahom */
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
  z-index: 0;          /* za obsahom */
}
.hero-text {
  max-width: 560px;
}

/* tu sa rieši zarovnanie vpravo */
.hero-inner {
  position: relative;
  z-index: 1;
}


.hero h1 {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-direction: column;   /* modré hore, priehľadné pod tým */
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 12px;
}

.hero-actions-secondary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;          /* na úzkej šírke sa môžu zalomiť pod seba */
}


.hero-trust {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-slideshow-floating {
    position: static;
    margin-top: 32px;
    display: flex;
    justify-content: center;
  }

  .hero-screenshot-placeholder {
    width: min(10cm, 90vw);
    height: min(10cm, 90vw);
  }
}

  .hero-screenshot-placeholder {
    margin: 24px 0 0 0;
    width: 100%;

  }

.hero-slideshow-floating {
  position: absolute;
  right: 10%;       /* horizontálny posun od pravého okraja hero */
  bottom: -2cm;    /* záporne = „previs“ do nasledujúcej sekcie */
  z-index: 5;      /* vyššie než všetko ostatné */
}

.hero-screenshot-placeholder {
  width: 7.7cm;
  height: 6.7cm;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.hero-screenshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}




.
/* SECTIONS */

.section {
  padding: 40px 0;
}

.section-alt {
  padding: 40px 0;
  background: radial-gradient(circle at top, #090a12 0, #050509 60%);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.section h2 {
  font-size: 22px;
  margin-bottom: 24px;
}

.section-lead {
  color: var(--muted);
  max-width: 640px;
}

/* FEATURES GRID */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* STEPS */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 12px;
  margin-bottom: 8px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

/* 3 COLUMNS */

.columns-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.column-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}

.column-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.column-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* SHORTCUTS */

.shortcuts-grid {
  display: grid;
  /* bude sa lámať podľa šírky, ale nespraví horizontálny scroll ani na úzkom mobile */
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.shortcut-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.shortcut-card code {
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
}
/* aby „pilulka“ s klávesami nikdy nepretŕčala mimo karty/kontejnera */
.shortcut-card code {
  display: inline-block;
  max-width: 100%;
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  white-space: normal;
  word-break: break-word;
}
.shortcut-card p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.shortcut-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

/* rozostup medzi riadkami gridov */
.pricing-grid + .pricing-grid {
  margin-top: 24px;
}

/* Free – jedna širšia karta hore */
.pricing-grid-1 {
  grid-template-columns: minmax(260px, 1fr);
  max-width: 420px;
  margin: 0 auto;      /* centrovanie v rámci .container */
}

/* Credits a Pro – dve väčšie karty vedľa seba */
.pricing-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}


.pricing-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,0.06);
}


/* Enterprise – širšia karta pod Pro */
.pricing-grid-enterprise {
  grid-template-columns: minmax(260px, 1fr);
  max-width: 720px;      /* ~1,7× šírka Free karty */
  margin: 0 auto;        /* centrovanie v rámci .container */
}

/* Enterprise karta – jemne zvýraznená */
.pricing-card-enterprise {
  box-shadow: var(--shadow-soft);
}

/* zelená „tabletka“ – best value */
.pricing-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;

  background: rgba(34, 197, 94, 0.14);      /* svetlo zelené pozadie */
  color: #bbf7d0;                           /* svetlá zelená */
  border: 1px solid rgba(34, 197, 94, 0.7); /* kontúra */
}


.pricing-card-main {
  box-shadow: var(--shadow-soft);
}

.pricing-card-muted {
  opacity: 0.7;
}

.pricing-card-cta {
  display: block;      /* nie flex */
  width: 100%;
  text-align: center;
  margin-top: 16px;
}


.pricing-card h3 {
  margin: 0 0 6px;
}

.price {
  margin: 0 0 10px;
}

.price-value {
  font-size: 22px;
  font-weight: 600;
}

.price-period {
  font-size: 13px;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

.pricing-note {
  font-size: 12px;
  color: var(--muted);
}

/* FAQ */

.faq-item + .faq-item {
  margin-top: 14px;
}

.faq-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 16px 0 24px;
  background: #050509;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.step-warning {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
  }
}

.plans-section {
        margin-top: 20px;
      }
      .plans-section h2 {
        margin: 0 0 8px;
        font-size: 15px;
      }

      .active-plans {
        margin-top: 4px;
        margin-bottom: 14px;
        font-size: 12px;
        color: #e5e7eb;
      }

      .active-plans-header {
        display: grid;
        grid-template-columns: 0.9fr 0.5fr 2fr;
        gap: 8px;
        padding: 4px 10px 6px;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #9ca3af;
        border-bottom: 1px solid rgba(55, 65, 81, 0.9);
        margin-bottom: 4px;
      }

      .active-plan-row {
        display: grid;
        grid-template-columns: 0.9fr 0.5fr 2fr;
        gap: 8px;
        padding: 6px 10px;
        border-radius: 10px;
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid rgba(55, 65, 81, 0.9);
        margin-bottom: 6px;
      }

      .ap-col-name {
        font-weight: 600;
      }
      .ap-col-status {
        font-size: 11px;
        color: #a5b4fc;
        white-space: nowrap;
      }
      .ap-col-details {
        font-size: 11px;
        color: #9ca3af;
      }

      @media (max-width: 780px) {
        .active-plans-header,
        .active-plan-row {
          grid-template-columns: minmax(0, 1fr);
        }
        .ap-col-status {
          margin-top: -2px;
        }
      }


/* === GALLERY MODAL === */

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;                 /* skryté, kým nie je otvorené */
  align-items: center;
  justify-content: center;
}

.gallery-modal.is-open {
  display: flex;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 90vw);
  height: 80vh;              /* pevná výška okna */
  max-height: 80vh;
  background: #050508;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

.gallery-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  opacity: 0.8;
}

.gallery-close:hover {
  opacity: 1;
}

.gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 10px;
  min-height: 280px;
}

#gallery-main-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 26px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav-left {
  left: 8px;
}

.gallery-nav-right {
  right: 8px;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.12);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  overflow-x: auto;
  padding-top: 4px;
}

.gallery-thumbs img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.7;
  border: 1px solid transparent;
  flex: 0 0 auto;
}

.gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--accent);
}

/* na menších obrazovkách nech dialog vypĺňa viac miesta */
@media (max-width: 768px) {
  .gallery-dialog {
    width: 96vw;
    height: 92vh;          /* aj tu pevná výška */
    max-height: 92vh;
    padding: 12px 10px 10px;
  }

  .gallery-thumbs img {
    width: 56px;
    height: 40px;
  }
}

/*footer EU logo */

.footer-eu-logo {
  height: 37px;
  margin-left: 12px;
  align-self: center;
  opacity: 0.9;
}

.footer-eu-logo:hover {
  opacity: 1;
}



