:root {
  --oxford: #002147;
  --white: #FFFFFF;
  --silver: #F5F5F7;
  --text: #0B1220;
  --muted: rgba(11, 18, 32, 0.72);
  --border: rgba(0, 0, 0, 0.10);
  --border2: rgba(0, 0, 0, 0.14);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  --primary: #007bff;
  --danger: #d32f2f;
  --success-bg: #e6fffa;
  --success-text: #008060;
  --input-bg: #fff;
  --input-border: #ccc;
  --code-bg: #f9f9f9;
  --btn-height: 44px;
  --btn-radius: 12px;
  --submit-radius: 8px;
  
  /* Feedback widget variables */
  --fb-z: 2147483000;
  --fb-btn-radius: 12px;
  --fb-panel-radius: 16px;
  --fb-gap: 16px;
  --fb-width: 420px;
  --fb-maxh: 72vh;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  scroll-behavior: smooth;
}

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

/* Hyperlinks */
p a, li a, .section-head a, .subheadline a, .card a, .lead a, a.link {
  color: var(--primary);
  text-decoration: underline;
}

p a:hover, li a:hover, .section-head a:hover, .subheadline a:hover, .card a:hover, .lead a:hover, a.link:hover {
  color: #0056b3;
}

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

/* TOP BAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 18px;
  padding: 14px 0;
  min-width: 0;
}

.brand, .brand a {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--oxford);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo {
  height: 35px;
  width: auto;
  max-width: 220px;
  display: block;
}

.topbar__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  min-width: 0;
  white-space: nowrap;
  overflow: visible; 
}

.topbar__nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

@media (hover:hover) {
  .topbar__nav a:hover {
    color: var(--oxford);
  }
}

@media (max-width: 860px) {
  .topbar__nav {
    overflow: visible; 
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
    padding-bottom: 5px; 
  }
}

/* HERO - White background, black text */
.hero { 
  padding: 72px 0 44px 0; 
  text-align: center; 
}

.hero--home {
  padding: 100px 0 80px;
  text-align: center;
  background-color: #ffffff !important;
  color: #0B1220 !important;
}

.hero--home h1, 
.hero--home h2 {
  color: #0B1220 !important;
}

.hero--home h1 {
  color: var(--oxford) !important;
  margin: 0 0 10px 0;
  font-size: 42px;
  line-height: 1.1;
}

.hero--home h2 {
  margin: 0 auto 14px auto;
  max-width: 980px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.subheadline {
  margin: 0 auto;
  max-width: 860px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

/* CTA SUITE - Both cards identical */
.cta-suite {
  margin: 48px auto 0;
  max-width: 1200px;
}

.cta-suite__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cta-card {
  padding: 40px;
  border-radius: 20px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  
  /* Identical styling for both cards */
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow) !important;
  color: var(--oxford) !important;
}

.cta-card:hover { 
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1) !important;
}

.cta-card__step {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.cta-card h3 {
  color: var(--oxford) !important;
  margin: 0 0 16px 0;
  font-size: 24px;
}

.cta-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #4a5e7a !important;
  margin-bottom: 32px;
  flex-grow: 1;
}

.cta-card .btn {
  width: 100%;
}

/* RISK STRIP - Original preserved */
.risk-strip {
  background: var(--silver);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}

.risk-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .risk-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.risk-item {
  text-align: center;
  padding: 20px;
}

.risk-item__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.risk-item__title {
  font-weight: 700;
  font-size: 18px;
  color: var(--oxford);
  margin-bottom: 8px;
}

.risk-item__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* STATS BANNER - Original preserved */
.stats-banner {
  width: 100%;
  overflow: hidden;
  background: var(--silver);
  border-radius: 8px;
  padding: 12px 0;
  margin-top: 40px;
}

.stats-banner__ticker {
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  color: var(--text);
}

.stats-banner__track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 45s linear infinite;
}

.stats-banner__track.running {
  animation-play-state: running;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* SECTIONS */
section { padding: 44px 0; }

.section-head { margin-bottom: 40px; text-align: center; }
.section-head h3 {
  font-size: 28px;
  color: var(--oxford);
  margin-bottom: 16px;
}

/* DIAGNOSTIC */
.diagnostic {
  background: var(--silver);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* GRID FIX 2x2 */
.grid-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

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

/* TERMINAL & PROMPT BOXES */
.terminal {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  max-width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.terminal--fixed { height: 520px; }

.terminal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.terminal__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
  text-align: center;
}

.tool-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
}

.tool-icon--big { width: 36px; height: 36px; }

.tool-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--oxford);
  margin-bottom: 4px;
}

.card pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 8px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  word-break: normal;
  max-width: 100%;
}

.terminal__body {
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  background: var(--code-bg);
  flex: 1;
  margin: 0;
  white-space: pre-wrap;
  overflow-y: auto;
  color: var(--text);
  border: none;
  resize: none;
  display: block;
}

.terminal__body--scroll { scroll-behavior: smooth; }

/* CTA REASONING */
.cta__card {
  background: var(--oxford);
  color: var(--white);
  padding: 48px 24px;
  border-radius: 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta__card h3 { margin: 0 0 16px 0; font-size: 24px; }
/* ... (predchádzajúce štýly tabuľky) ... */
  .cta__card p { color: rgba(255, 255, 255, 0.8); margin-bottom: 24px; font-size: 16px; }

/* Visual indicator for the active market ranking */
.nav-active { 
  font-weight: 800 !important; 
  color: var(--oxford) !important; 
  background: rgba(0,33,71,0.05); 
  border-radius: 4px;
}

.cta__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ABOUT SECTION */
.about { padding-bottom: 12px !important; }

.about-toggle-wrap { 
  margin-top: 24px; 
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.founders--collapsed { display: none; }

.founder-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border2);
  border-radius: 16px;
  text-align: center;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.founder-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.founder-name { font-weight: 700; font-size: 18px; color: var(--oxford); margin-bottom: 4px; }
.founder-role { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.founder-link { font-size: 14px; color: var(--primary); font-weight: 600; }

/* BUTTONS */
.btn {
  border: 1px solid var(--border2);
  background: var(--white);
  color: var(--oxford);
  padding: 10px 16px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  font-size: 14px;
  transition: background 0.2s;
  text-align: center;
}

.btn:hover { background: #fcfcfc; border-color: rgba(0,0,0,0.25); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn--primary {
  width: 100%;
  background: #002147;
  color: #fff;
  border: none;
  border-radius: var(--submit-radius);
  padding: 12px 24px;
}
.btn--primary:hover { background: #003d7a; }

/* Ghost button - for CTA cards (blue, full width) */
.btn--ghost {
  width: 100%;
  background: #002147;
  color: #fff;
  border: none;
  border-radius: var(--submit-radius);
  padding: 12px 24px;
}
.btn--ghost:hover { background: #003d7a; }

/* Special toggle buttons (About and FAQ) - override width from .btn--primary */
.about-toggle,
.faq-toggle {
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

.btn--copy {
  font-size: 13px;
  padding: 8px 16px;
  height: auto;
  min-width: 120px;
  margin-top: 4px;
  margin-left: 0;
}
.btn--copy.is-copied {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: var(--success-bg);
}

/* Spinner */
.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 999px;
  margin-left: 10px;
  animation: spin 0.9s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg) } }

/* FORMS */
.finalize-container { max-width: 700px; }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text); }

.input-group input, .input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text);
  font-family: inherit;
}
.input-group input:disabled {
  background: rgba(245, 245, 247, 0.7);
  color: rgba(11, 18, 32, 0.72);
  cursor: not-allowed;
}

textarea.code-input {
  height: 200px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--code-bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.status-msg { margin-top: 14px; font-weight: 700; }
.status-msg.error { color: var(--danger); }

/* OAUTH */
.oauth-row { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.oauth-item { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.oauth-item .g_id_signin, .oauth-item .g_id_signin>div { display: inline-flex !important; width: auto !important; min-width: 0 !important; }
.oauth-item .g_id_signin iframe { height: var(--btn-height) !important; }

/* MODAL */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none; align-items: center; justify-content: center;
  padding: 20px; z-index: 9999;
  pointer-events: none;
}
.modal {
  width: min(620px, 92vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: left;
  position: fixed;
  cursor: default;
  pointer-events: all;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: move; }
.modal h3 { margin: 0; color: var(--oxford); font-size: 18px; }
.modal p { margin: 10px 0 12px 0; color: var(--muted); }
.modal pre {
  margin: 0 0 14px 0; padding: 12px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--silver); overflow: auto; max-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px; white-space: pre-wrap; word-break: break-word;
}
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.btn--inline {
  border: 1px solid var(--border2); background: var(--white);
  color: var(--oxford); padding: 10px 16px; border-radius: 12px;
  font-weight: 700; cursor: pointer; line-height: 1; width: auto;
}
.modal-busy { display: flex; align-items: center; justify-content: center; }
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(0, 0, 0, 0.18);
  border-top-color: rgba(0, 33, 71, 0.9); border-radius: 999px;
  animation: spin 0.9s linear infinite;
}
.modal-footer { display: flex !important; justify-content: center !important; padding: 20px 0 0 0 !important; }
#thankYouBtn { margin: 0 auto !important; }

/* FOOTER */
.footer { background: var(--silver); border-top: 1px solid var(--border); padding: 18px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer__brand { display: flex; align-items: center; min-width: 0; }
.footer__logo { height: 18px; width: auto; display: block; }
.muted { color: var(--muted); }

/* MOBILE RESPONSIVE */
@media (max-width: 860px) {
  .topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand right" "nav nav";
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    padding: 12px 0;
  }
  .brand { grid-area: brand; justify-self: start; }
  .topbar__nav {
    grid-area: nav; width: 100%; justify-content: center;
    border-top: 1px solid var(--border); padding-top: 10px;
    margin-top: 2px;
    overflow: visible; flex-wrap: wrap; white-space: normal;
  }
  
  .footer__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 16px;
  }
  .muted {
    line-height: 1.8;
  }
}

@media (max-width: 520px) {
  .logo { max-width: 160px; }
  .topbar__nav { gap: 16px; }
}

/* FEEDBACK WIDGET */
#va_fb_btn {
  position: fixed; right: var(--fb-gap); bottom: var(--fb-gap);
  z-index: var(--fb-z); height: var(--btn-height); padding: 0 14px;
  border-radius: var(--fb-btn-radius); border: 1px solid var(--border2);
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); color: var(--oxford);
  font: 700 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  cursor: pointer; box-shadow: var(--shadow);
}
#va_fb_btn:hover { border-color: rgba(0,0,0,0.25); background: #fff; }

#va_fb_panel {
  position: fixed; right: var(--fb-gap); bottom: calc(var(--fb-gap) + var(--btn-height) + 8px);
  z-index: calc(var(--fb-z) + 1); width: min(var(--fb-width), calc(100vw - (var(--fb-gap) * 2)));
  max-height: min(var(--fb-maxh), 720px); border: 1px solid var(--border2);
  border-radius: var(--fb-panel-radius); background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18); overflow: hidden; display: none;
}
#va_fb_panel.open { display: block; }

#va_fb_head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 12px; border-bottom: 1px solid var(--border); background: #fff;
}
#va_fb_head strong { color: var(--oxford); font-weight: 800; }
#va_fb_close {
  border: 1px solid var(--border); background: #fff; color: var(--text);
  border-radius: 10px; width: 34px; height: 34px; display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer;
}
#va_fb_close:hover { border-color: rgba(0,0,0,0.25); }

#va_fb_body { padding: 12px; }
#va_fb_body label { display: block; margin: 10px 0 6px; font-weight: 600; font-size: 12px; }
#va_fb_body input[type="text"], #va_fb_body input[type="email"], #va_fb_body textarea {
  width: 100%; padding: 12px; border: 1px solid var(--input-border);
  border-radius: 10px; background: var(--input-bg); color: var(--text);
  font-family: Inter, sans-serif;
}
#va_fb_body textarea { min-height: 120px; resize: vertical; font-family: monospace; font-size: 13px; }
#va_fb_row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#va_fb_file, #va_file { width: 100%; }
#va_ts_slot { margin-top: 12px; }
#va_fb_actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; }

#va_fb_send {
  height: var(--btn-height); padding: 0 14px; border-radius: var(--submit-radius);
  border: none; background: var(--oxford); color: #fff; font-weight: 800; cursor: pointer;
}
#va_fb_send:hover { filter: brightness(0.95); }
#va_fb_send:disabled { opacity: .6; cursor: not-allowed; }

#va_fb_status { font-weight: 600; font-size: 12px; color: var(--muted); }
#va_fb_meta { margin-top: 10px; font-size: 12px; color: var(--muted); }

@media (max-width: 520px){
  #va_fb_row { grid-template-columns: 1fr; }
  #va_fb_panel { right: 12px; width: calc(100vw - 24px); }
  #va_fb_btn { right: 12px; bottom: 12px; }
}

/* PRICING PAGE STYLES */
.step-section {
  margin: 30px 0; padding: 20px; background: #f9f9f9;
  border-radius: 6px; border-left: 4px solid #002147;
}
.step-section.locked { opacity: 0.5; pointer-events: none; }
.step-header { font-size: 18px; font-weight: 700; color: #002147; margin-bottom: 8px; }
.step-description { color: #666; margin-bottom: 15px; font-size: 14px; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 20px 0; }
.pricing-card {
  background: #fff; border: 2px solid #e0e0e0; border-radius: 6px;
  padding: 20px; text-align: center; cursor: pointer; transition: all 0.2s; position: relative;
}
.pricing-card:hover { transform: translateY(-3px); border-color: #002147; box-shadow: 0 4px 12px rgba(0, 33, 71, 0.15); }
.pricing-card.selected { border-color: #002147; background: #f0f4ff; box-shadow: 0 4px 12px rgba(0, 33, 71, 0.25); }
.pricing-card.selected::before {
  content: "✓"; position: absolute; top: 8px; right: 8px;
  background: #002147; color: #fff; width: 24px; height: 24px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.pricing-card.recommended { border-color: #667eea; }
.pricing-card.recommended::after {
  content: "RECOMMENDED"; position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%); background: #667eea; color: #fff;
  padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 700;
}

.pricing-tier { font-size: 20px; font-weight: 700; color: #002147; margin-bottom: 8px; }
.pricing-amount { font-size: 36px; font-weight: 800; color: #002147; margin: 15px 0; }
.pricing-features { list-style: none; padding: 0; margin: 15px 0; text-align: left; }
.pricing-features li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.pricing-features li:before { content: "✓ "; color: #2e7d32; font-weight: bold; margin-right: 6px; }

.estimate-box { background: #fff; border: 2px solid #e0e0e0; padding: 15px; margin: 15px 0; border-radius: 6px; }
.estimate-result {
  font-size: 15px; font-weight: 600; color: #002147; margin-top: 12px;
  padding: 12px; background: #e8f5e9; border-left: 3px solid #2e7d32; border-radius: 4px;
}
.manual-input { margin-top: 15px; padding: 15px; background: #fff3e0; border-left: 3px solid #f57c00; border-radius: 4px; }
.radio-group { display: flex; gap: 15px; margin: 8px 0; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 14px; }

/* Checkbox Inline - Unified */
.checkbox-inline { display: flex; align-items: center; gap: 8px; margin: 15px 0; }
.checkbox-inline input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; order: -1; }
.checkbox-inline label { margin: 0; font-weight: 400; font-size: 14px; cursor: pointer; flex: 1; }

.progress-track {
  width: 100%; height: 6px; background-color: #f0f0f0;
  border-radius: 3px; overflow: hidden; margin: 15px 0; position: relative;
}
.progress-fill {
  position: absolute; top: 0; left: 0; height: 100%; background-color: #002147;
  border-radius: 3px; width: 0%; transition: width 0.3s ease, background-color 0.3s ease;
}
.progress-fill.animating { width: 30%; animation: running-bar 1.5s infinite linear; }
@keyframes running-bar { 0% { left: -30%; } 100% { left: 100%; } }
.progress-fill.success { background-color: #2e7d32; width: 100% !important; left: 0 !important; animation: none; }
.progress-fill.error { background-color: #d32f2f; width: 100% !important; left: 0 !important; animation: none; }

.quota-box {
  margin: 14px 0; padding: 12px 16px; background: var(--silver);
  border-left: 5px solid var(--oxford); border-radius: 4px;
  font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px;
}
.quota-box.success { border-left-color: #2e7d32; color: #1b5e20; background: #e8f5e9; }
.quota-box.error { border-left-color: var(--danger); color: #c62828; background: #ffebee; }
.error-message-large { color: var(--danger); font-weight: 700; margin-top: 16px; display: block; }

/* NAV DROPDOWN */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-toggle {
  background: none; border: none; color: var(--muted);
  font-size: 14px; font-weight: 600;
  cursor: pointer; padding: 8px 12px; display: flex; align-items: center; gap: 4px; transition: color 0.2s;
  font-family: inherit;
}
.nav-dropdown-toggle:hover { color: var(--oxford); }
.nav-dropdown-toggle[aria-expanded="true"] .dropdown-arrow { transform: rotate(180deg); }
.dropdown-arrow { font-size: 12px; transition: transform 0.2s; }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; background: #fff;
  border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow); min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 1000;
  margin-top: 4px;
}
.nav-dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: 12px 16px; color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: background 0.2s; border-bottom: 1px solid var(--border);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--silver); color: var(--oxford); }

/* Mobile dropdown adjustments */
@media (max-width: 860px) {
  .nav-dropdown { position: static; }
  .nav-dropdown-menu {
    position: absolute; left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 90%; max-width: 300px;
  }
  .nav-dropdown-menu.show { transform: translateX(-50%) translateY(0); }
}

/* FAQ SECTION */
.faq-section { padding: 44px 0; padding-top: 12px !important; }

.faq-toggle-wrap { 
  margin-top: 24px; 
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

.faq-list { max-width: 800px; margin: 40px auto 0 auto; }
.faq-list--collapsed { display: none; }
.faq-item {
  background: var(--white); border: 1px solid var(--border2); border-radius: 12px;
  padding: 24px; margin-bottom: 16px; transition: transform 0.2s, box-shadow 0.2s;
}
.faq-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.faq-question { font-weight: 700; font-size: 18px; color: var(--oxford); margin: 0 0 12px 0; }
.faq-answer { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0; }

/* FAQ toggle uses the same styles as about toggle from BUTTONS section */
.btn--ghost.faq-toggle {
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding-left: 28px !important;
  padding-right: 28px !important;
  background: transparent;
  color: var(--oxford);
  border: 1px solid var(--border2);
  border-radius: var(--btn-radius);
}
.btn--ghost.faq-toggle:hover {
  background: var(--silver);
  border-color: var(--oxford);
}

/* Microsoft button */
.btn--oauth, #msSignInBtn {
  height: 40px !important; padding: 0 16px !important;
  white-space: nowrap !important; background-color: #ffffff !important;
  color: #3c4043 !important; border: 1px solid #dadce0 !important;
  border-radius: 4px !important; font-family: 'Inter', 'Google Sans', Roboto, Arial, sans-serif !important;
  font-size: 14px !important; font-weight: 500 !important;
  letter-spacing: 0.25px !important; cursor: pointer !important;
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important; width: 100% !important;
  transition: background-color 0.2s, border-color 0.2s !important;
  box-shadow: none !important; line-height: 40px !important;
  text-decoration: none !important; padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.btn--oauth:hover, #msSignInBtn:hover {
  background-color: #f8f9fa !important; border-color: #dadce0 !important;
  box-shadow: none !important;
}
.btn--oauth img, #msSignInBtn img {
  width: 18px !important; height: 18px !important;
  margin-right: 8px !important; display: inline-block !important;
}

/* Google button container */
.g_id_signin { width: 100% !important; height: 40px !important; }
.g_id_signin > div { width: 100% !important; height: 100% !important; }
.g_id_signin iframe { width: 100% !important; height: 100% !important; max-width: none !important; }
.g_id_signin, .g_id_signin > div, .g_id_signin iframe, #msSignInBtn { height: 40px !important; line-height: 40px !important; }

#resultContent { overflow-y: auto; flex: 1; }

/* Fix pre šírku tlačidiel About a FAQ (prepíše width: 100% z btn--primary) */
.about-toggle, .faq-toggle {
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

/* =========================================
   100 WEBS TABLE STYLES (from 100webs-cz.html)
   ========================================= */
.table-section { background: var(--silver); padding: 60px 0; }
.table-card { background: var(--white); border: 1px solid var(--border2); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; max-width: 1200px; margin: 0 auto; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.table-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,33,71,0.15); }
.toolbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); gap: 12px; background: var(--white); }
.search-wrap { position: relative; flex: 1; max-width: 260px; }
.search-wrap svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-wrap input { width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--border2); border-radius: var(--btn-radius); font-family: inherit; font-size: 13px; color: var(--text); background: var(--silver); outline: none; transition: border 0.2s; }
.search-wrap input:focus { border-color: var(--oxford); background: var(--white); }
.row-count { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.scroll-container { height: 680px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.12) transparent; }
.scroll-container::-webkit-scrollbar { width: 5px; }
.scroll-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 3px; }
table { width: 100%; border-collapse: collapse; }
thead { position: sticky; top: 0; z-index: 10; }
thead tr { background: var(--silver); border-bottom: 2px solid var(--border2); }
thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; text-align: left; white-space: nowrap; user-select: none; cursor: pointer; transition: color 0.15s; position: relative; }
thead th:hover { color: var(--oxford); }
thead th.sort-asc::after  { content: ' ↑'; color: var(--oxford); }
thead th.sort-desc::after { content: ' ↓'; color: var(--oxford); }
thead th:nth-child(2), thead th:nth-child(3), thead th:nth-child(4) { text-align: center; }
tbody tr.data-row { border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.12s; }
tbody tr.data-row:hover { background: #f9f9fb; }
tbody tr.data-row.expanded { background: #f4f6fb; border-bottom: none; }
tbody td { padding: 13px 16px; vertical-align: middle; }
.domain-cell { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--oxford); }
.expand-icon { width: 20px; height: 20px; border: 1px solid var(--border2); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--muted); flex-shrink: 0; transition: all 0.15s; background: var(--white); line-height: 1; }
tbody tr.data-row.expanded .expand-icon { background: var(--oxford); color: var(--white); border-color: var(--oxford); }
.change-cell { text-align: center; position: relative; }
.change-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.change-badge.up { color: #1b5e20; background: #e8f5e9; }
.change-badge.down { color: var(--danger); background: #ffebee; }
.change-badge.neutral { color: var(--muted); background: var(--silver); }
.score-cell { text-align: center; }
.score-val { font-size: 14px; font-weight: 700; color: var(--oxford); display: inline-block; padding: 3px 8px; border-radius: 8px; transition: background 0.15s; }
.score-val:hover { background: var(--silver); }
.status-cell { text-align: center; }
.status-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 6px; }
.status-badge.pass { color: #1b5e20; background: #e8f5e9; border: 1px solid #c8e6c9; }
.status-badge.warn { color: #f57c00; background: #fff3e0; border: 1px solid #ffe0b2; } /* Architect fix: doplnena chybajuca warn trieda */
.status-badge.fail { color: var(--danger); background: #ffebee; border: 1px solid #ffcdd2; }
.has-tooltip { position: relative; }
.tooltip { display: none; position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: var(--oxford); color: #fff; font-size: 12px; line-height: 1.55; padding: 10px 14px; border-radius: 10px; width: 230px; z-index: 100; pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,0.18); text-align: left; }
.tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--oxford); }
.has-tooltip:hover .tooltip { display: block; }
.th-wrap { display: inline-flex; align-items: center; gap: 5px; }
.th-info { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: var(--border2); color: var(--muted); font-size: 9px; font-weight: 700; font-style: normal; flex-shrink: 0; transition: background 0.15s; }
thead th:hover .th-info { background: var(--oxford); color: var(--white); }
.th-tooltip { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--oxford); color: #fff; font-size: 12px; font-weight: 400; line-height: 1.55; padding: 10px 14px; border-radius: 10px; width: 240px; z-index: 50; pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,0.18); text-align: left; text-transform: none; letter-spacing: 0; white-space: normal; }
.th-tooltip::before { content: ''; position: absolute; bottom: 100%; left: 16px; border: 6px solid transparent; border-bottom-color: var(--oxford); }
thead th:hover .th-tooltip { display: block; }
tr.expand-row { display: none; }
tr.expand-row.open { display: table-row; }
tr.expand-row td { padding: 0; border-bottom: 2px solid var(--border2); }
.expand-panel { background: #f4f6fb; padding: 20px; animation: fadeIn 0.18s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
.expand-panel-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.expand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-bottom: 14px; }
.expand-item { background: var(--white); border: 1px solid var(--border2); border-radius: 10px; padding: 10px 12px; position: relative; }
.ei-label { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.ei-info { display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; border-radius: 50%; background: var(--border2); color: var(--muted); font-size: 8px; font-weight: 700; font-style: normal; flex-shrink: 0; cursor: default; transition: background 0.15s; }
.expand-item:hover .ei-info { background: var(--oxford); color: var(--white); }
.ei-tooltip { display: none; position: absolute; bottom: calc(100% + 8px); left: 0; background: var(--oxford); color: #fff; font-size: 11px; font-weight: 400; line-height: 1.5; padding: 9px 12px; border-radius: 8px; width: 210px; z-index: 60; pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,0.18); text-align: left; text-transform: none; letter-spacing: 0; white-space: normal; }
.ei-tooltip::after { content: ''; position: absolute; top: 100%; left: 16px; border: 5px solid transparent; border-top-color: var(--oxford); }
.expand-item:hover .ei-tooltip { display: block; }
.ei-value { font-size: 15px; font-weight: 700; color: var(--oxford); }
.ei-value.small { font-size: 11px; }
.expand-blocker { background: var(--white); border: 1px solid var(--border2); border-left: 3px solid var(--primary); border-radius: 10px; padding: 12px 14px; }
.expand-blocker .ei-label { margin-bottom: 6px; }
.expand-blocker p { font-size: 12px; line-height: 1.6; color: var(--text); margin: 0;}
.empty-state { text-align: center; padding: 60px 40px; color: var(--muted); font-size: 13px; }
.analysis { padding: 60px 0; }
.analysis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.analysis-card { background: var(--white); border: 1px solid var(--border2); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.analysis-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,33,71,0.15); }
.analysis-card h4 { font-size: 20px; color: var(--oxford); margin-bottom: 16px; }
.analysis-card ul { list-style: none; padding: 0; margin: 0; }
.analysis-card li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.6; color: var(--text); }
.analysis-card li:last-child { border-bottom: none; }
.analysis-card strong { color: var(--oxford); font-weight: 700; }

@media (max-width: 768px) {
  .analysis-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .table-section { padding: 40px 0; }
  .scroll-container { height: 500px; }
  .domain-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; max-width: 110px; }
  .expand-grid { grid-template-columns: repeat(2, 1fr); }
  tbody td, thead th { padding: 10px; }
  .expand-panel { padding: 14px 12px; }
  .analysis { padding: 40px 0; }
  .analysis-card { padding: 24px; }
  .analysis-card h4 { font-size: 18px; }
  .analysis-card li { font-size: 13px; }
}

/* Scoped CTA button styling for the 100webs dark cards */
.cta__card .btn { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cta__card .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,33,71,0.2); }
.cta__card .btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; width: auto; }
.cta__card .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* === UNIFIED CARDS & DOC BLOCKS (Derived from Pricing steps) === */
.card, .doc-block, .doc-toc {
  background: #f9f9f9;
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 6px;
  border-left: 4px solid var(--oxford);
  /* Subtílny tieň pre jemný 3D efekt */
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover, .doc-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,33,71,0.08);
}

/* Úprava vnútorných nadpisov v kartách, aby neboli zbytočne odsadené */
.card h2, .card h3, .card h4, .doc-block h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--oxford);
}

/* Zrušenie spodného okraja u posledného elementu, aby karta nebola zospodu "prázdna" */
.card p:last-child, .doc-block p:last-child, .doc-block ul:last-child {
  margin-bottom: 0;
}

/* Automatický Grid pre stránky, kde je viacero kariet vedľa seba (How, Methodology, Practical Lens) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}