/* =================================================================
   AUDRIX — Linear-inspired design system
   Tokens + components
   ================================================================= */

:root {
  /* Core palette */
  --bg:            #ffffff;
  --bg-alt:        #f7f8fa;
  --bg-dark:       #0b0f1a;
  --bg-dark-2:     #0f1422;
  --border:        #e6e8ec;
  --border-strong: #d2d6dd;
  --border-dark:   #1d2232;

  /* Text */
  --text:          #16181c;
  --text-muted:    #5a6272;
  --text-dim:      #8b92a3;
  --text-on-dark:  #eef1f7;
  --text-on-dark-dim: #8b93a6;

  /* Accents (Linear-esque) */
  --blue:          #5e6ad2;
  --blue-2:        #7070e3;
  --blue-glow:     rgba(94, 106, 210, 0.35);
  --indigo:        #4752c4;
  --green:         #3fb950;
  --yellow:        #d29922;
  --red:           #f85149;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(16, 20, 30, 0.06);
  --shadow-md:  0 6px 20px rgba(16, 20, 30, 0.08);
  --shadow-lg:  0 20px 40px rgba(16, 20, 30, 0.12);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: 'cv11';
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-on-dark);
}
.nav__inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.8rem 1.5rem;
}
.nav__brand {
  font-weight: 700; letter-spacing: 0.08em; font-size: 0.95rem;
  color: var(--text-on-dark);
}
.nav__brand:hover { text-decoration: none; }
.nav__links {
  display: flex; gap: 1.6rem; flex: 1;
}
.nav__links a {
  color: var(--text-on-dark-dim); font-size: 0.88rem; font-weight: 500;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--text-on-dark); text-decoration: none; }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.62rem 1.15rem;
  font-size: 0.9rem; font-weight: 500;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }

.btn--primary {
  background: var(--blue); color: #fff;
  border-color: var(--blue);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 0 0 1px rgba(0,0,0,0.05);
}
.btn--primary:hover { background: var(--indigo); border-color: var(--indigo); }

.btn--ghost {
  background: transparent; color: var(--text-on-dark);
  border-color: rgba(255,255,255,0.15);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

.btn--ghost-light {
  background: transparent; color: var(--text-on-dark);
  border-color: rgba(255,255,255,0.2);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.06); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(94,106,210,0.22) 0%, transparent 45%),
    radial-gradient(ellipse at bottom left, rgba(71,82,196,0.18) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-on-dark);
  padding: 4.5rem 1.5rem 5rem;
  border-bottom: 1px solid var(--border-dark);
}
.hero__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.hero__title {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0.8rem 0 1.2rem;
}
.hero__title-accent {
  color: var(--text-on-dark);
  background: linear-gradient(120deg, #b4bcf4 0%, #eef1f7 60%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: 1.05rem; color: var(--text-on-dark-dim);
  max-width: 500px; margin: 0 0 1.6rem;
}
.hero__sub .link-inline { color: var(--blue-2); }
.hero__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.eyebrow--blue {
  color: var(--blue-2);
}

/* =================================================================
   DASHBOARD MOCKUP
   ================================================================= */
.mockup {
  background: #161b2a;
  border: 1px solid #262b3d;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px var(--blue-glow);
}
.mockup__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: #0e1220;
  border-bottom: 1px solid #262b3d;
}
.mockup__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3a4055;
}
.mockup__dot:nth-child(1) { background: #ef6565; }
.mockup__dot:nth-child(2) { background: #e8b254; }
.mockup__dot:nth-child(3) { background: #5fc080; }
.mockup__url {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-on-dark-dim);
  margin-left: 0.8rem;
}
.mockup__body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 380px;
}
.mockup__side {
  background: #111525;
  border-right: 1px solid #262b3d;
  padding: 0.8rem 0.6rem;
}
.mockup__side ul { list-style: none; padding: 0; margin: 0; }
.mockup__side li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-on-dark-dim);
  border-radius: var(--r-sm);
}
.mockup__side li:first-child {
  background: rgba(94,106,210,0.15);
  color: var(--text-on-dark);
}
.mock-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: #262b3d;
  color: var(--text-on-dark-dim);
  padding: 1px 7px;
  border-radius: 999px;
}
.mock-badge--warn { background: rgba(220,90,90,0.2); color: #f08a8a; }

.mockup__main { padding: 1.1rem 1.3rem; }
.mockup__head h3 {
  margin: 0; font-size: 1.05rem; color: var(--text-on-dark); font-weight: 600;
}
.mockup__ctx { margin: 0.25rem 0 1.1rem; font-size: 0.78rem; color: var(--text-on-dark-dim); }
.mockup__score-label,
.mockup__feed-label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em;
  color: #707994;
  margin: 0.9rem 0 0.55rem;
}
.mockup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}
.mockup__card {
  background: #1c2138;
  border: 1px solid #262b3d;
  border-radius: var(--r-sm);
  padding: 0.7rem 0.85rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
}
.mockup__card b { color: var(--text-on-dark); font-weight: 600; font-size: 0.82rem; }
.mockup__card span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--blue-2); }
.mockup__card em {
  grid-column: 1 / -1;
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-on-dark-dim);
  margin-top: 2px;
}
.mockup__card em.ok   { color: #62d66f; }
.mockup__card em.prep { color: #e8b254; }
.mockup__card em.proc { color: var(--blue-2); }

.mockup__feed { list-style: none; padding: 0; margin: 0; font-size: 0.76rem; }
.mockup__feed li {
  padding: 0.45rem 0; border-top: 1px dashed #262b3d;
  display: flex; gap: 0.6rem; align-items: center;
  color: var(--text-on-dark-dim);
}
.mockup__feed li:first-child { border-top: 0; padding-top: 0.2rem; }
.mockup__feed .t { font-family: var(--font-mono); color: #707994; flex-shrink: 0; }
.tag-ok, .tag-action {
  margin-left: auto; font-size: 0.66rem; font-weight: 600;
  padding: 2px 8px; border-radius: 999px; letter-spacing: 0.05em;
}
.tag-ok     { background: rgba(63,185,80,0.18); color: #62d66f; }
.tag-action { background: rgba(210,153,34,0.22); color: #e8b254; }

/* =================================================================
   SECTIONS (shared)
   ================================================================= */
.section { padding: 5rem 1.5rem; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.section--dark .eyebrow { color: var(--text-on-dark-dim); }
.section--dark .lede    { color: var(--text-on-dark-dim); }
.section__inner { max-width: 1180px; margin: 0 auto; }
.section__inner--narrow { max-width: 780px; }

.section h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 0.7rem;
  line-height: 1.15;
}
.accent-blue { color: var(--blue-2); }
.lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 2.4rem;
}
.lede--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 2rem; }

.section--narrow { padding-top: 4rem; padding-bottom: 4rem; }

/* =================================================================
   TIMELINE (sekcia 01)
   ================================================================= */
.timeline {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute; top: 22px; left: 3%; right: 3%; height: 2px;
  background: linear-gradient(90deg, #5e6ad2 0%, #5e6ad2 65%, #262b3d 65%);
  z-index: 0;
}
.timeline__step {
  position: relative;
  text-align: center;
  padding-top: 3.4rem;
}
.timeline__step::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #262b3d;
  border: 2px solid #262b3d;
  z-index: 1;
}
.timeline__step.done::before {
  background: var(--blue);
  border-color: var(--blue);
}
.timeline__step.current::before {
  background: var(--bg-dark);
  border: 3px solid var(--blue);
  box-shadow: 0 0 0 6px rgba(94,106,210,0.2);
}
.timeline__step.wait::before {
  background: var(--bg-dark);
  border: 2px dashed #3a4055;
}
.timeline__day {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.timeline__step h3 {
  font-size: 1rem; font-weight: 600; margin: 0 0 0.25rem;
  color: var(--text-on-dark);
}
.timeline__step p {
  font-size: 0.83rem; color: var(--text-on-dark-dim); margin: 0;
}
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 1rem; }
  .timeline::before { display: none; }
  .timeline__step { text-align: left; padding: 0.7rem 1rem 0.7rem 3rem;
    border-left: 2px solid #262b3d; }
  .timeline__step::before { left: -10px; top: 1rem; transform: none; }
  .timeline__step.done { border-color: var(--blue); }
}

/* =================================================================
   CARDS (rámy pre frameworks & moduly)
   ================================================================= */
.cards {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.4rem;
}
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) {
  .cards--4, .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards--4, .cards--3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem 1.4rem 1.1rem;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.card h3 {
  margin: 0.5rem 0 0.4rem;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text);
}
.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}
.card__tag, .card__label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.card__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  margin: 0;
}
.card__meta div { display: flex; flex-direction: column; }
.card__meta dt { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.card__meta dd { margin: 0.1rem 0 0; font-size: 0.88rem; font-weight: 600; color: var(--text); }

.card--highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(94,106,210,0.1);
}
.card--highlight .card__tag { color: var(--blue); }

.card__links {
  font-size: 0.85rem;
  color: var(--blue);
}
.card__links a { margin-right: 0.8rem; }

/* Moduly — signature varianty */
.card--module-blue {
  background: linear-gradient(160deg, rgba(94,106,210,0.12) 0%, transparent 100%);
  border-color: rgba(94,106,210,0.4);
}
.card--module-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: #262b3d;
}
.card--module-dark h3 { color: var(--text-on-dark); }
.card--module-dark p  { color: var(--text-on-dark-dim); }
.card--module-dark .card__label { color: var(--blue-2); }
.card--module-dark .card__links { color: var(--blue-2); }

/* =================================================================
   INTEGRÁCIE
   ================================================================= */
.integrations { text-align: center; }
.integrations__list {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
}
.integrations__list li {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

/* =================================================================
   PRICING
   ================================================================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.6rem;
  align-items: stretch;
}
@media (max-width: 1000px) { .pricing { grid-template-columns: 1fr; } }

.price {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.7rem 1.5rem;
  display: flex; flex-direction: column;
  position: relative;
}
.price h3 {
  margin: 0 0 0.3rem;
  font-size: 1.45rem; font-weight: 600;
}
.price__tag {
  color: var(--text-muted); margin: 0 0 1.3rem;
  font-size: 0.9rem;
}
.price__amount {
  font-size: 1.8rem; font-weight: 600; margin: 0 0 1.3rem;
  letter-spacing: -0.01em;
}
.price__amount span { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.05em; }
.price__amount em { font-style: normal; font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.price__amount small { font-size: 0.72rem; color: var(--text-dim); display: block; margin-top: 2px; }

.price__features {
  list-style: none; padding: 0; margin: 0 0 1.6rem;
  flex: 1;
  font-size: 0.92rem;
}
.price__features li {
  padding: 0.48rem 0 0.48rem 1.6rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text);
}
.price__features li:last-child { border-bottom: 0; }
.price__features li::before {
  content: '✓';
  position: absolute; left: 0; top: 0.4rem;
  color: var(--blue);
  font-weight: 700;
}
.price__cta { justify-content: center; width: 100%; }

.price--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(94,106,210,0.1), var(--shadow-md);
  transform: scale(1.02);
}
.price--featured .price__features li::before { color: var(--blue); }
.price__featured-ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  padding: 4px 14px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  white-space: nowrap;
}
.price__disclaimer {
  margin: 2rem 0 0;
  text-align: center; color: var(--text-muted);
  font-size: 0.88rem;
}

/* =================================================================
   FAQ
   ================================================================= */
.faq { margin-top: 1.8rem; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0.4rem;
}
.faq details[open] { background: var(--bg-alt); border-radius: var(--r-sm); padding: 1.1rem 1rem; }
.faq summary {
  font-size: 1.02rem; font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--blue);
  font-size: 1.4rem; font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem; line-height: 1.62;
}

/* =================================================================
   FOOTER
   ================================================================= */
.foot {
  background: var(--bg-dark);
  color: var(--text-on-dark-dim);
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-dark);
}
.foot__inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem;
}
.foot__copy { margin: 0; }
.foot__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot__links a { color: var(--text-on-dark-dim); }
.foot__links a:hover { color: var(--text-on-dark); }

/* =================================================================
   FLOATING CHAT BAR
   ================================================================= */
.chatbar {
  position: fixed; bottom: 18px; right: 18px;
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  max-width: 420px;
  z-index: 50;
  animation: chatIn 0.4s ease-out 1.5s both;
}
.chatbar p { margin: 0; font-size: 0.88rem; color: var(--text); }
@keyframes chatIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (max-width: 560px) {
  .chatbar { left: 12px; right: 12px; max-width: none; }
  .chatbar p { font-size: 0.82rem; }
}

/* =================================================================
   LOGIN / AUTH
   ================================================================= */
.auth-body {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.auth-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.auth-bg__glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.auth-bg__glow--a {
  top: -200px; left: -150px;
  background: radial-gradient(circle, #5e6ad2 0%, transparent 70%);
}
.auth-bg__glow--b {
  bottom: -200px; right: -150px;
  background: radial-gradient(circle, #4752c4 0%, transparent 70%);
}

.auth-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.auth-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--text-on-dark);
}
.auth-brand:hover { text-decoration: none; opacity: 0.85; }

.auth-card {
  width: 100%;
  background: rgba(22, 27, 42, 0.8);
  backdrop-filter: blur(14px);
  border: 1px solid #262b3d;
  border-radius: var(--r-lg);
  padding: 2rem 1.9rem 1.6rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(94,106,210,0.06);
}

.auth-card__head { margin-bottom: 1.4rem; text-align: center; }
.auth-card__head h1 {
  margin: 0;
  font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-on-dark);
}
.auth-card__head p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--text-on-dark-dim);
}

/* SSO buttons */
.auth-sso {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}
.auth-sso__btn {
  display: flex; align-items: center; justify-content: center;
  gap: 0.7rem;
  background: rgba(255,255,255,0.04);
  color: var(--text-on-dark);
  border: 1px solid #2d344a;
  border-radius: var(--r-sm);
  padding: 0.65rem 1rem;
  font-size: 0.88rem; font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.auth-sso__btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: #3a4055;
}
.auth-sso__btn:disabled { cursor: wait; }

/* Divider */
.auth-divider {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0.3rem 0 1.1rem;
  color: var(--text-on-dark-dim);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1; height: 1px; background: #262b3d;
}

/* Form fields */
.auth-form { display: flex; flex-direction: column; gap: 0.95rem; }

.auth-alert {
  background: rgba(248,81,73,0.12);
  border: 1px solid rgba(248,81,73,0.35);
  color: #ff9e95;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.86rem;
}
.auth-alert.hidden { display: none !important; }

.auth-field { display: flex; flex-direction: column; gap: 0.4rem; }
.auth-field__label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: 0.01em;
}
.auth-field__link {
  font-size: 0.78rem;
  color: var(--text-on-dark-dim);
  font-weight: 400;
}
.auth-field__link:hover { color: var(--blue-2); text-decoration: none; }

.auth-field input {
  background: #0e1220;
  border: 1px solid #262b3d;
  color: var(--text-on-dark);
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-family: var(--font-sans);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.auth-field input::placeholder { color: #4a516a; }
.auth-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(94,106,210,0.2);
}
.auth-field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #0e1220 inset !important;
  -webkit-text-fill-color: var(--text-on-dark) !important;
}

.auth-field__input-wrap { position: relative; }
.auth-field__toggle {
  position: absolute;
  right: 0.5rem; top: 50%; transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--text-on-dark-dim);
  padding: 0.4rem;
  cursor: pointer;
  border-radius: var(--r-sm);
  display: flex;
}
.auth-field__toggle:hover { color: var(--text-on-dark); }
.auth-field__toggle.is-on { color: var(--blue-2); }

.auth-checkbox {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-dim);
  cursor: pointer;
  user-select: none;
}
.auth-checkbox input {
  accent-color: var(--blue);
  width: 16px; height: 16px;
  cursor: pointer;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  margin-top: 0.2rem;
  font-weight: 600;
}

.auth-card__foot {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid #262b3d;
  text-align: center;
}
.auth-card__foot p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-on-dark-dim);
}
.auth-card__foot a { color: var(--blue-2); }

.auth-legal {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #5f6880;
  line-height: 1.5;
}
.auth-legal a { color: #7c84a1; }

.auth-back {
  margin-top: 0.4rem;
  color: var(--text-on-dark-dim);
  font-size: 0.82rem;
}
.auth-back:hover { color: var(--text-on-dark); text-decoration: none; }

@media (max-width: 480px) {
  .auth-card { padding: 1.6rem 1.3rem 1.3rem; }
  .auth-card__head h1 { font-size: 1.3rem; }
}

/* ---------- Module differentiator ---------- */
.card__diff {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(26, 58, 92, 0.18);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #45536e;
}
.card__diff strong { color: #1a3a5c; font-weight: 600; }

.card--module-blue .card__diff,
.card--module-dark .card__diff {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
}
.card--module-blue .card__diff strong,
.card--module-dark .card__diff strong {
  color: #fff;
}

/* ---------- Contact grid (záverečná CTA) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0 1.6rem;
}
.contact-card {
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}
.contact-card__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}
.contact-card__value {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
}
.contact-card__value:hover { color: #8fb4ff; }

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

/* ---------- Comparison table (Prečo Audrix) ---------- */
.compare-card {
  margin-top: 2.4rem;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(16, 34, 62, 0.04),
              0 14px 34px rgba(16, 34, 62, 0.06);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  color: #1e2a44;
}
.compare th,
.compare td {
  padding: 0.95rem 1.1rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #edf0f6;
}
.compare thead th {
  background: #f7f9fc;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #45536e;
  padding: 1.15rem 1.1rem;
  border-bottom: 1px solid #e4e8f0;
  position: relative;
}
.compare th[scope="row"],
.compare .compare__feat {
  text-align: left;
  font-weight: 500;
  color: #1a3a5c;
  background: #fafbfd;
  width: 38%;
}
.compare tbody tr:nth-child(even) th[scope="row"] { background: #f5f7fb; }
.compare tbody tr:nth-child(even) td { background: #fbfcfe; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: none; }

/* Audrix highlighted column */
.compare .compare__we {
  background: linear-gradient(180deg, rgba(47, 95, 190, 0.06), rgba(47, 95, 190, 0.09));
  border-left: 1px solid rgba(47, 95, 190, 0.14);
  border-right: 1px solid rgba(47, 95, 190, 0.14);
  color: #1a3a5c;
  font-weight: 500;
}
.compare thead th.compare__we {
  background: linear-gradient(180deg, #1a3a5c, #2f5fbe);
  color: #fff;
  border-left-color: transparent;
  border-right-color: transparent;
  font-size: 0.95rem;
  padding-top: 2rem;
}
.compare tbody tr:last-child td.compare__we {
  background: linear-gradient(180deg, rgba(47, 95, 190, 0.1), rgba(47, 95, 190, 0.14));
}
.compare tbody tr:last-child td.compare__we strong {
  font-size: 1.15rem;
  color: #1a3a5c;
}
.compare__badge {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: #ffd166;
  color: #1a3a5c;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Marks (check / cross circles) */
.mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  position: relative;
  vertical-align: middle;
}
.mark--yes {
  background: #e7f6ec;
  border: 1px solid #b6e0c2;
}
.mark--yes::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 4px;
  height: 8px;
  border: solid #2a8a4a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.mark--no {
  background: #fdecec;
  border: 1px solid #f2c0c0;
}
.mark--no::before,
.mark--no::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 10px;
  width: 1.5px;
  height: 12px;
  background: #c94040;
}
.mark--no::before  { transform: rotate(45deg); }
.mark--no::after   { transform: rotate(-45deg); }

/* Pills for partial / muted values */
.pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.pill--warn  { background: #fff4d9; color: #8a6400; }
.pill--muted { background: #eef0f5; color: #5b6a85; }

.compare small { color: #45536e; font-weight: 400; }

.compare__note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: #6b7893;
  text-align: center;
}

@media (max-width: 760px) {
  .compare { font-size: 0.85rem; }
  .compare th, .compare td { padding: 0.7rem 0.55rem; }
  .compare th[scope="row"], .compare .compare__feat { width: 46%; }
  .compare thead th { font-size: 0.72rem; }
  .compare__badge { font-size: 0.56rem; padding: 0.15rem 0.4rem; }
}

/* ---------- Module subpage ---------- */
.module-hero {
  background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%);
  padding: 6.5rem 0 4.5rem;
  border-bottom: 1px solid #e4e8f0;
}
.module-hero .section__inner {
  max-width: 820px;
}
.module-hero h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f1d33;
  margin: 0.8rem 0 1.1rem;
}
.module-hero .lede {
  font-size: 1.15rem;
  color: #45536e;
  max-width: 640px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: #6b7893;
  margin-bottom: 1.8rem;
  letter-spacing: 0.01em;
}
.breadcrumb a {
  color: #45536e;
  text-decoration: none;
}
.breadcrumb a:hover { color: #1a3a5c; }
.breadcrumb span {
  margin: 0 0.45rem;
  color: #a8b1c5;
}

.module-feats,
.module-refs {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.module-feats > li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.4rem;
  background: #f7f9fc;
  border-left: 3px solid #2f5fbe;
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #1e2a44;
}
.module-feats > li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 14px;
  height: 14px;
  background: #2f5fbe;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M13.5 4.5 6 12 2.5 8.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M13.5 4.5 6 12 2.5 8.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.module-feats > li strong { color: #1a3a5c; }
.module-feats ul {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
  list-style: disc;
  color: #45536e;
  font-size: 0.9rem;
}
.module-feats ul li { margin: 0.2rem 0; }

.module-refs > li {
  padding: 0.75rem 0.95rem;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #45536e;
}
.module-refs > li strong { color: #1a3a5c; font-weight: 600; }
.module-refs > li code {
  background: #eef2f7;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.86em;
}

.module-back {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.88rem;
}
.module-back a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.module-back a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 640px) {
  .module-hero { padding: 5rem 0 3.5rem; }
  .module-hero h1 { font-size: 2rem; }
  .module-hero .lede { font-size: 1rem; }
  .module-feats > li { padding: 0.8rem 0.9rem 0.8rem 2.2rem; font-size: 0.9rem; }
}

/* =================================================================
   COOKIES CONSENT BANNER
   ================================================================= */
.cookies {
  position: fixed; bottom: 18px; left: 18px;
  display: flex; flex-direction: column; gap: 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  max-width: 380px;
  z-index: 60;
  animation: cookiesIn 0.4s ease-out;
}
.cookies__title {
  margin: 0 0 0.35rem; font-weight: 600; color: var(--text);
  font-size: 0.95rem;
}
.cookies__text {
  margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
}
.cookies__text a { color: var(--blue); text-decoration: underline; }
.cookies__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookies__actions .btn { flex: 1; min-width: 140px; justify-content: center; text-align: center; }
.cookies.is-hidden { display: none; }

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

@media (max-width: 820px) {
  .cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .chatbar { display: none; }
}

/* =================================================================
   LEGAL PAGE (cookies, privacy, terms)
   ================================================================= */
.legal {
  padding: 4.5rem 1.5rem 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal h1 {
  font-size: 2.4rem; line-height: 1.1; margin: 0.6rem 0 0.6rem;
  letter-spacing: -0.02em;
}
.legal__meta { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.4rem 0 0.8rem; letter-spacing: -0.01em; }
.legal h3 { font-size: 1.05rem; margin: 1.8rem 0 0.5rem; color: var(--text); }
.legal p, .legal li { font-size: 0.95rem; line-height: 1.7; color: var(--text); }
.legal ul { padding-left: 1.2rem; }
.legal ul li { margin-bottom: 0.35rem; }
.legal table {
  width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
}
.legal table th, .legal table td {
  text-align: left; padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal table th {
  background: var(--bg-alt); font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border-strong);
}
.legal__callout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  margin: 1.5rem 0;
}
.legal__callout p { margin: 0; font-size: 0.9rem; }
.legal__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

@media (max-width: 640px) {
  .legal { padding: 3rem 1.2rem 2rem; }
  .legal h1 { font-size: 1.9rem; }
}
