/* ============================================================
   SALESMAN — V1: Dark SaaS / Confidence
   Tmavé pozadí, modrá primární, asymetrický hero, bento grid
   ============================================================ */
:root {
  --color-primary:      #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-primary-light:#3B82F6;
  --color-accent:       #38BDF8;
  --color-text:         #F1F5F9;
  --color-text-muted:   #B0BCC8;
  --color-bg:           #0A0F1E;
  --color-bg-alt:       #0F1729;
  --color-bg-card:      #141D33;
  --color-bg-dark:      #060A14;
  --color-border:       rgba(255,255,255,0.08);
  --color-border-hi:    rgba(255,255,255,0.14);
  --font-sans:          'Inter', system-ui, sans-serif;
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;
  --text-7xl:   5rem;
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --container:  1280px;
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1.5rem;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* PLACEHOLDER */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: var(--color-bg-card);
  border: 2px dashed var(--color-border-hi);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37,99,235,0.4);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 4px 32px rgba(37,99,235,0.6);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border-hi);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  color: var(--color-text);
  border-color: rgba(255,255,255,0.2);
}
.btn-white {
  background: #fff;
  color: var(--color-primary-dark);
}
.btn-white:hover {
  background: #EFF6FF;
  transform: translateY(-1px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.04em;
}
.logo-dot { color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-back {
  color: var(--color-text-muted) !important;
  font-size: var(--text-sm);
  border-right: 1px solid var(--color-border-hi);
  padding-right: 2rem;
}

/* ============================================================
   HERO — asymetrický: velký text vlevo, visual + floating stats vpravo
   ============================================================ */
.hero {
  padding: 7rem 0 5rem;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center,
    rgba(37,99,235,0.15) 0%,
    rgba(37,99,235,0.05) 40%,
    transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4), transparent);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-text);
}
.h1 .accent { color: var(--color-accent); }
.h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-text);
}
.h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
}
.perex {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.hero-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.hero-note::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #34D399;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-visual {
  position: relative;
  padding: 2rem;
}
.hero-screen {
  width: 100%;
  height: 400px;
  background: var(--color-bg-card);
  border-radius: 16px;
  border: 1px solid var(--color-border-hi);
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.hero-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}
.hero-screen-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
.screen-icon {
  width: 56px;
  height: 56px;
  background: rgba(37,99,235,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.screen-icon svg { width: 28px; height: 28px; stroke: var(--color-primary-light); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.screen-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
/* Floating stat cards */
.stat-card {
  position: absolute;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-hi);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 2;
  min-width: 140px;
}
.stat-card-tl {
  top: 0;
  left: 0;
  border-left: 2px solid var(--color-accent);
}
.stat-card-br {
  bottom: 0;
  right: 0;
  border-left: 2px solid #34D399;
}
.stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-card-tl .stat-val { color: var(--color-accent); }
.stat-card-br .stat-val { color: #34D399; }
.stat-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust {
  padding: 2.5rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-inner {
  display: flex;
  justify-content: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  padding: 0 3rem;
  position: relative;
}
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border-hi);
}
.trust-item strong {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.trust-item strong .accent { color: var(--color-primary-light); }
.trust-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================================
   FEATURES — bento grid
   ============================================================ */
.features {
  padding: 6rem 0;
  background: var(--color-bg);
}
.features-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
}
.features-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.bento-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.bento-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.bento-card:hover { border-color: rgba(37,99,235,0.35); transform: translateY(-3px); }
.bento-card:hover::after { opacity: 1; }
.bento-wide { grid-column: span 2; }
.bento-icon {
  width: 44px;
  height: 44px;
  background: rgba(37,99,235,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-icon svg {
  width: 22px; height: 22px;
  stroke: var(--color-primary-light);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.bento-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}
.bento-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}
.bento-stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-light);
  letter-spacing: -0.04em;
  margin-top: auto;
}
.bento-wide .bento-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  flex: 1;
}
.bento-wide .placeholder-img { min-height: 180px; }

/* ============================================================
   PROCESS — 4 numbered steps
   ============================================================ */
.process {
  padding: 6rem 0;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-hi) 15%, var(--color-border-hi) 85%, transparent);
  transform: translateY(-10px);
  pointer-events: none;
}
.process-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.process-step {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(37,99,235,0.45);
  flex-shrink: 0;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}
.process-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 6rem 0;
  background: var(--color-bg);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote-mark {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-primary);
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: -0.75rem;
}
.quote {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 600;
}
.testimonial-author span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ============================================================
   CTA BANNER — split layout
   ============================================================ */
.cta-banner {
  padding: 6rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-left h2 { max-width: 420px; }
.cta-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cta-right p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cta-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cta-note::before {
  content: '';
  width: 6px; height: 6px;
  background: #34D399;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-dark);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.04em;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 260px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col strong {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.5); }

/* ============================================================
   RESPONZIVNÍ DESIGN
   ============================================================ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual { display: none; }
  .h1 { font-size: 3.5rem; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .trust-inner { flex-wrap: wrap; }
  .trust-item { flex: 1 1 45%; }
}

/* Mobil — 768px */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .h1 { font-size: 2.75rem; }
  .h2 { font-size: 2rem; }
  .nav-links li:not(:first-child):not(:last-child) { display: none; }
  .nav-back { border-right: none; padding-right: 0; }
  .hero { padding: 4rem 0 3rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bento-wide .bento-inner { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .trust-item { flex: 1 1 100%; }
}

/* Malý mobil — 480px */
@media (max-width: 480px) {
  .h1 { font-size: 2.25rem; }
  .h2 { font-size: 1.75rem; }
  .nav-links { gap: 1rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
  .hero-stats-row { flex-direction: column; gap: 1.5rem; }
}
