/* Landing Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: white;
  color: rgba(0, 0, 0, 0.98);
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0px 120px;
  position: relative;
}

/* Iframe Demo */
.iframe-demo {
  background: #ffffff;
  margin-bottom: 54px;
  width: 360px;
  height: 360px;
  border-radius: 16px;
}


/* Content Section */
.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.72px;
  margin-bottom: 112px;
  color: rgba(0, 0, 0, 0.98);
  
}

.chrome-extension-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 72px;
}

.chrome-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.badge-text {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 14px;
}

.badge-text a {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.98);
  text-decoration: none;
}

.badge-text span {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}

/* Features Section */
.installation-box {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.12);
  border-radius: 32px;
  padding: 76px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.installation-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.feature-icon {
  width: 32px;
  height: 32px;
  color: rgba(0, 0, 0, 0.98);
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-title {
  padding-top: 8px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.98);
}

.feature-description {
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}

.step {
  font-size: 14px;
  line-height: 14px;
  white-space: nowrap;
}

.step.download-btn {
  background: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.98);
  font-weight: 500;
  padding: 18px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.step.download-btn:hover {
  background: #000;
}

.step.secondary {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

.step.link {
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.98);
  text-decoration: none;
  width: auto !important; /* Přidáno: zajistí že link nebere celou šířku */
  display: inline-block; /* Přidáno: zajistí že má jen šířku obsahu */
}

.step.primary {
  color: rgba(0, 0, 0, 0.98);
  font-weight: 400;
}

/* Copy button styling */
.step.link.copy-btn {
  background: none;
  border: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.version {
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 4px;
}

.step.link.copy-btn:active {
  transform: scale(0.98);
}

/* Change Log Section */
.changelog-section {
  padding: 0px 0 120px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.changelog-title {
  font-size: 56px; /* Změněno z 72px */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.72px;
  margin-bottom: 48px;
  margin-left: 48px;
  color: rgba(0, 0, 0, 0.98);
}

.changelog-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 48px;
}

.version-container {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 32px;
  padding: 48px;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.changelog-description {
  max-width: 640px;
}

.changelog-text {
  font-size: 32px; /* Změněno z 42px */
  font-weight: 700;
  line-height: 40px; /* Změněno z 48px */
  letter-spacing: -0.24px;
  margin-bottom: 48px;
  color: rgba(0, 0, 0, 0.98);
}

.changelog-info {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 14px;
}

.changelog-link {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.98);
  text-decoration: none;
}

.changelog-meta {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}

/* Changelog Grid */
.changelog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 96px;
  width: 100%;
}
.changelog-section h3 {
  font-size: 16px; /* Změněno z 18px */
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.24px;
  margin-bottom: 48px;
  color: rgba(0, 0, 0, 0.98);
}

.changelog-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.changelog-item-title {
  font-size: 14px; /* Změněno z 16px */
  font-weight: 700;
  color: rgba(0, 0, 0, 0.98);
}

.changelog-item-code {
  font-family: 'Inter', sans-serif;
  font-size: 13px; /* Změněno z 14px */
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.5);
  white-space: pre-wrap;
  transition: color 0.2s ease;
}

.created-by {
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  margin-top: 48px;
}

.created-by-link {
  color: rgba(0, 0, 0, 0.98);
  text-decoration: none;
  font-weight: 500;
}

/* Syntax Highlighting */
.syntax-tag,
.syntax-attr,
.syntax-val,
.syntax-comment,
.syntax-text {
  color: inherit;
  transition: color 0.2s ease;
}

.changelog-item:hover .changelog-item-code {
  color: #000;
}

.changelog-item:hover .syntax-tag {
  color: rgba(134, 13, 13, 0.98);
}

.changelog-item:hover .syntax-attr {
  color: #e60d0d;
}

.changelog-item:hover .syntax-val {
  color: #0000FF;
}

.changelog-item:hover .syntax-comment {
  color: rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 1400px) {
  .hero-title {
    font-size: 56px;
  }

  .installation-box {
    padding: 48px;
  }
  
  .changelog-title {
    margin-left: 48px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 60px 20px 80px;
  }

  .hero-title {
    font-size: 48px;
  }

  .iframe-demo {
    margin-bottom: 60px;
  }

  .installation-box {
    padding: 48px;
  }

  .installation-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .changelog-title {
    margin-left: 48px;
  }

  .step {
    width: auto; /* Změněno z 100% - důležité! */
  }

  .step.download-btn {
    text-align: center;
    width: 100%; /* Přidáno: pouze download button má mít celou šířku */
  }

  .changelog-title {
    font-size: 40px; /* Změněno z 48px */
  }
  
  .changelog-text {
    font-size: 28px; /* Přidáno */
    line-height: 36px; /* Přidáno */
  }
  
  .changelog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0px 60px;
  }

  .hero-title {
    font-size: 42px;
    letter-spacing: -0.36px;
  }

  .iframe-demo {
    margin-bottom: 40px;
  }

  .installation-box {
    align-items: center;
    border-radius: 24px;
    padding: 24px;
  }

  .installation-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
 
  
  .version-container {
    padding: 24px;
  }

  .changelog-section{
    gap: 24px;
  }
  
  .changelog-title {
    font-size: 36px; /* Přidáno */
    padding-left: 0px;
    margin-bottom: 8px;
  }
  
  .changelog-text {
    font-size: 24px; /* Přidáno */
    line-height: 32px; /* Přidáno */
  }
}

@media (max-width: 480px) {
  .hero{
    padding-left: 0px;
    padding-right: 0px;
  }

  .hero-title {
    font-size: 36px;
  }

  .installation-box {
    border-radius: 16px;
    padding: 24px;

  }
  
  .changelog-title {
    margin-left: 0;
  }
  
  .changelog-section{
    gap: 24px;
  }

  .changelog-title {
    font-size: 32px; /* Změněno z 36px */
    padding-left: 24px;
    margin-bottom: 8px;
  }
  
  .changelog-text {
    font-size: 22px; /* Přidáno */
    line-height: 30px; /* Přidáno */
  }
  
  .version-container {
    padding: 24px; /* Přidáno pro menší padding na mobilech */
  }
}
