/* ============================================================
   SALESMAN — V2: Light Editorial / Professional
   Bílé pozadí, zelená primární, centered fullscreen hero,
   horizontální feature řádky s čísly, alternující layout
   ============================================================ */
:root {
  --color-primary:       #047857;
  --color-primary-dark:  #047857;
  --color-primary-light: #10B981;
  --color-accent:        #F59E0B;
  --color-text:          #0F172A;
  --color-text-muted:    #64748B;
  --color-text-sub:      #94A3B8;
  --color-bg:            #FFFFFF;
  --color-bg-alt:        #F8FAFC;
  --color-bg-green:      #F0FDF4;
  --color-bg-dark:       #0F172A;
  --color-border:        #E2E8F0;
  --color-border-hi:     #CBD5E1;
  --font-sans:           'Plus Jakarta Sans', system-ui, sans-serif;
  --container:           1200px;
  --radius-sm:           0.5rem;
  --radius-md:           1rem;
  --radius-lg:           1.75rem;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* PLACEHOLDER */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: var(--color-bg-alt);
  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: 0.875rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5,150,105,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-hi);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-dark {
  background: var(--color-text);
  color: #fff;
}
.btn-dark:hover {
  background: #1E293B;
  transform: translateY(-2px);
}

/* ============================================================
   NAV — centered logo, links on both sides
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
}
.logo-mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: middle;
  margin-bottom: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-back {
  color: var(--color-text-muted) !important;
  font-size: 0.875rem;
  border-right: 1px solid var(--color-border);
  padding-right: 2.25rem;
}

/* ============================================================
   HERO — fullscreen centered, velká typografie, scroll indicator
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
/* Subtle grid pozadí */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
}
/* Radial white fade over grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, white 75%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-green);
  border: 1px solid rgba(5,150,105,0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}
.hero-title {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-text);
}
.hero-title .line-green {
  color: var(--color-primary);
}
.hero-title .line-thin {
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-sub);
}
.hero-perex {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
  justify-content: center;
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stat-item span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}
/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}
.scroll-indicator span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-sub);
}
.scroll-arrow {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--color-border-hi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.scroll-arrow svg { width: 12px; height: 12px; stroke: var(--color-text-sub); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   FEATURES — horizontální řádky s čísly, hover na celý řádek
   ============================================================ */
.features {
  padding: 6rem 0;
  background: var(--color-bg);
}
.features-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 4rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #065F46;
}
.features-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--color-text);
  max-width: 540px;
}
.features-rows {
  display: flex;
  flex-direction: column;
}
.feature-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0;
  border-top: 1px solid var(--color-border);
  transition: background 0.2s;
  border-radius: var(--radius-md);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin: 0 -1.5rem;
  cursor: default;
}
.feature-row { border-bottom: 1px solid var(--color-border); }
.feature-row:last-child { border-bottom: 1px solid var(--color-border); }
.feature-row:hover { background: var(--color-bg-alt); }
.feature-num {
  font-size: 3rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.feature-row:hover .feature-num { color: var(--color-primary); }
.feature-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.feature-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-bg-green);
  border: 1px solid rgba(5,150,105,0.2);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}
.feature-row:hover .feature-tag { opacity: 1; }

/* ============================================================
   HOW IT WORKS — alternující layout: text vlevo/vpravo + visual
   ============================================================ */
.process {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}
.process-header {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.process-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--color-text);
}
.process-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid var(--color-border);
}
.process-block:last-child { border-bottom: 1px solid var(--color-border); }
.process-block.reverse { direction: rtl; }
.process-block.reverse > * { direction: ltr; }
.process-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.process-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.process-step-num::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}
.process-step-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text);
}
.process-step-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.process-visual { height: 320px; }

/* ============================================================
   TESTIMONIALS — 2 karty wide + 1 centrovaná
   ============================================================ */
.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-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.stars {
  display: flex;
  gap: 0.2rem;
}
.star {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.quote {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text);
  font-weight: 700;
}
.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ============================================================
   CTA — centered tmavé s radial glow
   ============================================================ */
.cta-banner {
  padding: 6rem 0;
  background: var(--color-bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(5,150,105,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.cta-title {
  font-size: 3.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}
.cta-title .green { color: var(--color-primary-light); }
.cta-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-green {
  background: var(--color-primary);
  color: #fff;
  border-radius: 100px;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.btn-green:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.4);
}
.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.btn-ghost-white:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.cta-note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   FOOTER — 3-sloupcový klasický, tmavý
   ============================================================ */
.footer {
  background: #060E1A;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col strong {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.18s;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.55); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.55); transition: color 0.18s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.85); }

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

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .hero { padding: 4rem 2rem; min-height: auto; }
  .hero-title { font-size: 4rem; }
  .features-title { font-size: 2.25rem; }
  .feature-row { grid-template-columns: 60px 1fr 1fr; }
  .feature-tag { display: none; }
  .process-block { grid-template-columns: 1fr; gap: 2rem; }
  .process-block.reverse { direction: ltr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-title { font-size: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Mobil — 768px */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .hero-title { font-size: 3rem; }
  .hero-perex { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats-row { flex-direction: column; gap: 1rem; }
  .hero-stat-sep { display: none; }
  .nav-links li:not(:first-child):not(:last-child) { display: none; }
  .nav-back { border-right: none; padding-right: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 0.5rem; padding-left: 1rem; padding-right: 1rem; margin: 0; }
  .feature-num { font-size: 2rem; }
  .process-block { gap: 1.5rem; }
  .process-visual { height: 200px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 2.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .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; }
}

/* Malý mobil — 480px */
@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .features-title { font-size: 1.875rem; }
  .cta-title { font-size: 2rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
  .btn-green { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
  .btn-ghost-white { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
}
