/* main.css - Responzívny dizajn pre SEO stránky */
:root {
  --primary-color: #2563eb;
  --secondary-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

header ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

header a:hover {
  color: var(--primary-color);
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.2;
}

h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Sections */
section {
  margin: 3rem 0;
}

.intro {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.benefits ul,
.use-cases ul {
  list-style: none;
  padding: 0;
}

.benefits li,
.use-cases li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.benefits li:last-child,
.use-cases li:last-child {
  border-bottom: none;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Testimonials */
blockquote {
  background: var(--bg-light);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: normal;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comparison-table th {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: left;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:hover {
  background: var(--bg-light);
}

/* FAQ */
details {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 1rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
}

summary:hover {
  color: var(--primary-color);
}

details[open] summary {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* CTA Buttons */
.main-cta {
  text-align: center;
  margin: 3rem 0;
  padding: 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
}

.btn-primary {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-large {
  font-size: 1.25rem;
  padding: 1.25rem 2.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.cta-subtitle {
  margin-top: 1rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* ROI Calculation */
.calculation {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--border-color);
}

.calculation ul {
  list-style: none;
  padding: 0;
}

.calculation li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

/* Keywords section */
.keywords {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header ul {
    display: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem;
  }
  
  .btn-large {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
  }
}

/* Loading Animation */
@keyframes pulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.loading {
  animation: pulse 2s infinite;
}

/* Rich Snippets */
.rating {
  display: inline-flex;
  gap: 2px;
  color: gold;
}

.price-tag {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: bold;
}