/* =====================================================================
   Službák — landing page styles
   Doplňkové styly nad Tailwind CDN: aurora glow, glassmorphism,
   bento dlaždice, accordion a další komponenty.
   Barvy: teal #18B4B0 / dark #0E8F8B / tint #D0EEEE
   ===================================================================== */

:root {
  --brand:      #18B4B0;
  --brand-dark: #0E8F8B;
  --brand-tint: #D0EEEE;
  --ink-900:    #0A0F14;
  --ink-800:    #0D1418;
}

/* Plynulé scrollování ke kotvám (doplněk k html.scroll-smooth) */
html { scroll-behavior: smooth; }

/* Tělo — jemný radiální nádech k tmavému pozadí */
body {
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(24, 180, 176, 0.10), transparent 60%);
}

/* =====================================================================
   AURORA — pomalu driftující radiální gradienty v hero sekci
   ===================================================================== */
.aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  z-index: -10;
  pointer-events: none;
  filter: blur(0.5px);
}
.aurora__blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.aurora__blob--1 {
  top: -10%;
  left: 5%;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle at 30% 30%, rgba(24, 180, 176, 0.55), transparent 70%);
  animation: aurora-drift-1 22s ease-in-out infinite alternate;
}
.aurora__blob--2 {
  top: 10%;
  right: 0%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle at 60% 40%, rgba(14, 143, 139, 0.55), transparent 70%);
  animation: aurora-drift-2 26s ease-in-out infinite alternate;
}
.aurora__blob--3 {
  bottom: -10%;
  left: 35%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle at 50% 50%, rgba(24, 180, 176, 0.35), transparent 70%);
  animation: aurora-drift-3 30s ease-in-out infinite alternate;
}

@keyframes aurora-drift-1 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(6%, 8%, 0) scale(1.12); }
}
@keyframes aurora-drift-2 {
  0%   { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(-7%, 5%, 0) scale(0.95); }
}
@keyframes aurora-drift-3 {
  0%   { transform: translate3d(0, 0, 0) scale(0.95); }
  100% { transform: translate3d(5%, -7%, 0) scale(1.1); }
}

/* Jemná mřížka přes hero */
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  /* vyblednutí k okrajům */
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}

/* =====================================================================
   GLASSMORPHISM — frosted rámy a karty
   ===================================================================== */
.glass-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.65),
    0 0 80px -30px rgba(24, 180, 176, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Plocha screenshot placeholderu */
.screenshot-ph {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(24, 180, 176, 0.22), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(14, 143, 139, 0.22), transparent 55%),
    linear-gradient(160deg, #0E1A20, #0A1216);
  border: 1px solid rgba(24, 180, 176, 0.18);
  overflow: hidden;
}
/* jemný „shimmer“ přes placeholder */
.screenshot-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: ph-shimmer 6s ease-in-out infinite;
}
@keyframes ph-shimmer {
  0%, 60% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}

/* =====================================================================
   SOCIAL PROOF
   ===================================================================== */
.logo-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.875rem;
  filter: grayscale(1);
  transition: filter 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.logo-chip:hover { filter: grayscale(0); color: #fff; }

.stat-pill {
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(24, 180, 176, 0.22);
  background: rgba(24, 180, 176, 0.06);
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
}

/* =====================================================================
   SECTION HELPERS
   ===================================================================== */
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.feat-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6FCECC;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid rgba(24, 180, 176, 0.25);
  background: rgba(24, 180, 176, 0.08);
}

/* odrážky ve feature deep-dive */
.feat-li {
  position: relative;
  padding-left: 1.75rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.feat-li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 9999px;
  background: rgba(24, 180, 176, 0.18);
  border: 1px solid rgba(24, 180, 176, 0.4);
}
.feat-li::after {
  content: "";
  position: absolute;
  left: 0.38rem;
  top: 0.42rem;
  width: 0.4rem;
  height: 0.22rem;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* =====================================================================
   PROBLEM CARDS
   ===================================================================== */
.problem-card {
  padding: 1.6rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 180, 176, 0.35);
}
.prob-ico {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

/* =====================================================================
   BENTO GRID
   ===================================================================== */
.bento {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bento::after {
  /* jemný teal nádech v rohu */
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(24, 180, 176, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.bento:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 180, 176, 0.4);
  box-shadow: 0 20px 50px -24px rgba(24, 180, 176, 0.45);
}
.bento:hover::after { opacity: 1; }

.bento-ico {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  font-size: 1.35rem;
  background: rgba(24, 180, 176, 0.12);
  border: 1px solid rgba(24, 180, 176, 0.3);
}
.bento-thumb {
  border-radius: 0.9rem;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(24, 180, 176, 0.18), transparent 55%),
    linear-gradient(160deg, #0E1A20, #0A1216);
  border: 1px solid rgba(24, 180, 176, 0.16);
  padding: 1rem;
}

/* =====================================================================
   VARIANT CARDS (Službák vs Pracák)
   ===================================================================== */
.variant-card {
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  transition: transform 0.25s ease;
}
.variant-card:hover { transform: translateY(-4px); }

/* =====================================================================
   STEP CARDS (jak to funguje)
   ===================================================================== */
.step-card {
  position: relative;
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}
.step-num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink-900);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 0 30px -6px rgba(24, 180, 176, 0.6);
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonial {
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}
.testimonial blockquote { font-size: 0.975rem; line-height: 1.6; }
.stars { color: #f5c451; letter-spacing: 0.15em; font-size: 0.95rem; }
.avatar {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

/* =====================================================================
   PRICING
   ===================================================================== */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.85rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card--featured {
  border-color: rgba(24, 180, 176, 0.5);
  background:
    linear-gradient(180deg, rgba(24, 180, 176, 0.10), rgba(255, 255, 255, 0.01));
  box-shadow: 0 24px 60px -28px rgba(24, 180, 176, 0.6);
}
.price-amount {
  margin: 1.25rem 0 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex: 1 1 auto;
}
.price-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}
.price-cta {
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: background 0.2s ease;
}
.price-cta:hover { background: rgba(255, 255, 255, 0.1); }
.price-cta--primary {
  background: var(--brand);
  border-color: transparent;
  color: var(--ink-900);
  box-shadow: 0 0 40px -10px rgba(24, 180, 176, 0.7);
}
.price-cta--primary:hover { background: #3CC1BD; }

/* =====================================================================
   FAQ ACCORDION (details/summary)
   ===================================================================== */
.faq {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq[open] {
  border-color: rgba(24, 180, 176, 0.35);
  background: rgba(24, 180, 176, 0.05);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
/* šipka */
.faq summary::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq-body {
  padding: 0 1.35rem 1.2rem;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =====================================================================
   STAV NAVIGACE PŘI SCROLLU (přidává JS třídu .is-scrolled)
   ===================================================================== */
#site-nav.is-scrolled .shadow-glass {
  background: rgba(10, 15, 20, 0.85);
}

/* =====================================================================
   PŘÍSTUPNOST — prefers-reduced-motion
   Vypne aurora drift, shimmer i AOS přechody.
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .aurora__blob { animation: none !important; }
  .screenshot-ph::before { animation: none !important; display: none; }
}
