/* Main styling */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  padding-top: 70px; /* Added for sticky header */
}

.introduction, .market-shift {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

h1 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 20px;
}

h2 {
  color: #3a506b;
  font-size: 1.5rem;
  margin-top: 25px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.visualization-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.event-button {
  padding: 8px 15px;
  background-color: #e9e9e9;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.event-button.active {
  background-color: #3498db;
  color: white;
}

.event-button:hover {
  background-color: #d4d4d4;
}

.event-button.active:hover {
  background-color: #2980b9;
}

.event-description {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 6px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.font-bold {
  font-weight: bold;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.list-disc {
  list-style-type: disc;
}

.pl-5 {
  padding-left: 1.25rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-semibold {
  font-weight: 600;
}

.text-red-500 {
  color: #ef4444;
}

.text-green-500 {
  color: #10b981;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .button-container {
    flex-direction: column;
  }
  
  .event-button {
    width: 100%;
  }
}

/* Sticky Header Styles */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f9f3e0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.sticky-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.sticky-header .logo {
  flex-shrink: 0;
}

.sticky-header .logo img {
  height: 60px;
  width: auto;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav li {
  margin-left: 20px;
}

.desktop-nav a {
  color: #2c3e50;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: #3498db;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #2c3e50;
  border-radius: 3px;
  transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background-color: white;
  padding: 15px 0;
  position: absolute;
  width: 100%;
  left: 0;
  top: 60px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-nav li {
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  color: #2c3e50;
  font-weight: 500;
  text-decoration: none;
  display: block;
}

.mobile-nav a:hover {
  text-decoration: none;
}


#.prediction-meta {
##  color: #666;
#  color: #3a506b;
#  font-size: 1.1rem;
#  font-weight: bold;
#  margin-bottom: 15px;
#}


.target-range {
  font-weight: 500;
}

.target-range span {
  color: #3498db;
  font-weight: bold;
}
#.prediction-content p {
##  background-color: white;
##  padding: 25px;
##  border-radius: 8px;
##  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
#  margin-bottom: 8px;
##  margin-bottom: 30px;
#}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .sticky-header .container {
    padding: 10px 15px;
  }
  
  body {
    padding-top: 60px;
  }
}

/* About Page Styles */
.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.about-section {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.about-section h2 {
  color: #3a506b;
  margin-top: 0;
}

.footer-note {
  text-align: center;
  margin: 40px 0 20px;
  font-style: italic;
}

@media (max-width: 768px) {
  .about-container {
    padding: 15px;
  }
  
  .about-section {
    padding: 20px;
  }
}

.rq-hero-inner {
  max-width: 800px;
  margin: auto;
}

.rq-rotator {
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;      
  justify-content: center;  
  text-align: center;  
}

.rq-rotator h1,
.rq-rotator h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.rq-slide h1 {
  margin-top: 10px;
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.rq-slide {
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease;
  position: absolute;
}
.rq-slide.active {
  transform: translateY(0);
  opacity: 1;
}

.rq-slide-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.rq-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0e0e0;
  margin: 0 5px;
  cursor: pointer;
}

.rq-indicator.active {
  background: #3498db;
}
#.rq-buttons {
#  margin-top: 30px;
#}
#
#.btn-primary,
#.btn-secondary {
#  display: inline-block;
#  margin: 5px 10px;
#  padding: 10px 18px;
#  text-decoration: none;
#  border-radius: 4px;
#  font-weight: 500;
#  font-size: 0.95rem;
#  transition: all 0.2s;
#}
#
#.btn-primary {
#  background: #3498db; 
#  color: white;
#}
#
#.btn-primary:hover {
#  background: #2980b9;
#  text-decoration: none;
#}
#
#.btn-secondary {
#  background: #e9e9e9;
#  color: #333;
#}
#
#.btn-secondary:hover {
#  background: #d4d4d4;
#  text-decoration: none;
#}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-block;
  margin: 5px 10px;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  background: transparent; 
  border: 1px solid #ccc; 
  color: #2c3e50; 
}

.btn-primary {
#  border-color: #3498db; 
#  color: #3498db; 
}

.btn-primary:hover {
  background: rgba(52, 152, 219, 0.1); 
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(52, 152, 219, 0.1); 
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(52, 152, 219, 0.1); 
##  background: rgba(0, 0, 0, 0.05); 
  text-decoration: none;
}


.rq-buttons {
  margin-top: 50px; 
}
.rq-benefit {
  max-width: 280px;
  text-align: center;
}

.rq-benefit h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.rq-benefit p {
  font-size: 0.95rem;
  color: #4b5563;
}

.rq-hero {
  background: #fff; 
  color: #2c3e50; 
  padding: 60px 20px 40px;
  text-align: center;
  border-radius: 8px; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
  margin-bottom: 30px;
}

.rq-slide p {
  color: #333; 
  font-size: 1.1rem;
}

.rq-benefits {
  background: #f9f9f9; 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 30px 20px;
  color: #1f2937;
  border-top: 1px solid #eee; 
}


.btn-ghost {
  background: none;
  color: #3498db;
  border: 2px solid #3498db;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 0.95rem;
  display: inline-block;
  margin: 5px 10px;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-ghost:hover {
  background: #ecf6fb;
}

#.rq-trust-box {
#  margin-top: 20px;
##  background: #f9f9f9; 
##  background: #f4f4f4;
#  background: none;
#  padding: 12px 16px;
#  font-size: 0.95rem;
#  border-radius: 6px;
#  color: #374151;
#}

#.rq-trust-box {
#  margin-top: 20px;
#  background: #f8f9fa;
#  padding: 14px 18px;
#  font-size: 0.95rem;
#  border-radius: 6px;
#  color: #374151;
#  border: 1px solid #e5e7eb;
#  display: inline-block;
#}

#.rq-trust-box strong {
#  color: #2c3e50;
#}


.rq-trust-box {
  margin-top: 20px;
  background: #f8f9fa;
  padding: 14px 18px;
  font-size: 0.95rem;
  border-radius: 6px;
  color: #374151;
  border: 1px solid #e5e7eb;
  display: inline-block;
}

.rq-trust-box strong {
  color: #2c3e50;
}

.rq-trust-box .benefit-highlight {
  color: #3498db; 
}

.desktop-nav ul li.active a,
.mobile-nav ul li.active a {
  position: relative;
}

.desktop-nav ul li.active a::after,
.mobile-nav ul li.active a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #3498db; 
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 0.7rem 1.5rem;
  border: 1px solid #3498db;
  border-radius: 4px;
  text-decoration: none;
  color: #3498db;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto; 
}

.cta-btn:hover {
  background-color: #3498db;
  color: white;
  text-decoration: none;
}


@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 80%; 
  }
}

.updates-section {
  margin: 2rem 0;
  text-align: center;
}

.updates-section h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.update-channels {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.update-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #555;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.update-channel:hover {
  color: #3498db;
  text-decoration: none;
}

.update-channel svg {
  width: 24px;
  height: 24px;
}

.update-channel span {
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .update-channels {
    gap: 1rem;
  }
  
  .update-channel svg {
    width: 20px;
    height: 20px;
  }
}

.rq-footer {
  background-color: #f9f5e7;
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 1px solid #eaeaea;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 30px;
}

.footer-col {
  min-width: 160px;
}

.footer-col h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #3a506b;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #3498db;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #3a506b;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #3498db;
}

/* Subscribe Form Styles */
.subscribe-col {
  min-width: 240px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-form input[type="email"] {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.subscribe-form input[type="email"]:focus {
  border-color: #3498db;
}

.subscribe-btn {
  padding: 10px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-btn:hover {
  background-color: #2980b9;
}

.form-note {
  font-size: 0.8rem;
  margin-top: 8px;
  color: #666;
}

.footer-info {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #eaeaea;
  padding-top: 20px;
}

.copyright {
  margin-top: 10px;
  color: #888;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }
  
  .footer-col {
    width: 100%;
  }
  
  .subscribe-form {
    max-width: 300px;
    margin: 0 auto;
  }
}

.footer-disclaimer {
  margin: 15px 0 10px;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-radius: 6px;
  border-left: 3px solid #ddd;
}

.footer-disclaimer p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

.form-benefits {
  margin: 8px 0;
  text-align: center;
}

.form-benefits small {
  font-size: 0.8rem;
  color: #666;
}

.form-consent {
  margin-top: 8px;
  text-align: left;
}

.form-consent small {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
}

.message.warning {
  background-color: #fff3cd;
  color: #856404;
  border-left: 4px solid #ffc107;
}


.prediction-intro {
  padding: 25px 25px 20px;
  margin-bottom: 20px;
}

.prediction-intro h1 {
  margin-bottom: 20px;
  text-align: center;
}

.prediction-header {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}

.prediction-info {
  flex: 1;
  min-width: 300px;
}

.prediction-info p {
  margin-bottom: 12px;
}

.method-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #3498db;
  text-decoration: none;
}

.method-link:hover {
  text-decoration: underline;
}

.prediction-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
  max-width: 250px;
}

.stat-box {
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 12px 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-box.highlight {
  background-color: #e8f4fc;
  border: 1px solid #bde0fc;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
}

.stat-desc {
  font-size: 0.85rem;
  color: #666;
  text-align: left;
  width: 55%;
}

.first-prediction-note {
  background-color: #f8f9fa;
  padding: 12px 15px;
  border-left: 4px solid #3498db;
  margin: 15px 0;
  font-size: 0.9rem;
  border-radius: 0 4px 4px 0;
}

.first-prediction-note a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.first-prediction-note a:hover {
  text-decoration: underline;
}

.visualization-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.section-heading {
  color: #2c3e50;
  font-size: 1.4rem;
  margin: 10px 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.prediction-section {
  margin-bottom: 20px;
}

.prediction-meta {
  color: #3a506b;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.target-range {
  font-weight: 500;
}

.target-range span {
  color: #3498db;
  font-weight: bold;
}

.prediction-content p {
  margin-bottom: 8px;
}

.prediction-divider {
  border: 0;
  height: 1px;
  background-color: #e5e7eb;
  margin: 25px 0;
}

.history-chart-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.chart-wrapper {
  height: 400px;
  margin: 20px 0;
  position: relative;
}

.chart-description {
  font-size: 0.9rem;
  color: #666;
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 6px;
}

/* Sekce pro odběr predikcí */
.subscribe-section {
  background-color: #e8f4fc;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}

.subscribe-text {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.subscribe-btn {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.subscribe-btn:hover {
  background-color: #2980b9;
  text-decoration: none;
}

.forecast-conclusion {
  background-color: white;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.forecast-conclusion h2 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .prediction-header {
    flex-direction: column;
  }
  
  .prediction-stats {
    flex-direction: row;
    max-width: 100%;
    gap: 15px;
  }
  
  .stat-box {
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  
  .stat-desc {
    text-align: center;
    width: auto;
  }
  
  .chart-wrapper {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .prediction-stats {
    flex-direction: column;
  }
  
  .stat-box {
    flex-direction: row;
  }
}

.news-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.news-section {
  margin-bottom: 20px;
}

.news-meta {
  color: #3a506b;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.news-title {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.news-content p {
  margin-bottom: 8px;
}

.news-content strong {
  background-color: #fffbd6;
  padding: 0 3px;
}

.news-divider {
  border: 0;
  height: 1px;
  background-color: #e5e7eb;
  margin: 25px 0;
}

.news-link {
  display: inline-block;
  margin-top: 10px;
  color: #3498db;
  text-decoration: none;
}

.news-link:hover {
  text-decoration: underline;
}

.news-conclusion {
  background-color: white;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.news-conclusion h2 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* Styly pro kategorie na news stránce */
.market-category {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.category-heading {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
  display: inline-block;
  background-color: #f8f9fa;
  padding: 5px 12px;
  border-radius: 4px;
}

.category-description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 800px;
}

/* Styly pro sekci aktualizací na news stránce */
.updates-section-container {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  text-align: center;
}

.updates-section {
  margin: 2rem 0;
}

.updates-section h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.update-channels {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.update-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #555;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.update-channel:hover {
  color: #3498db;
  text-decoration: none;
}

.update-channel svg {
  width: 24px;
  height: 24px;
}

.update-channel span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Responsivní úpravy pro News stránku */
@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
  }
  
  .news-stats {
    flex-direction: row;
    max-width: 100%;
    gap: 15px;
  }
  
  .update-channels {
    gap: 1rem;
  }
  
  .update-channel svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .news-stats {
    flex-direction: column;
  }
}

.track-record-clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.track-record-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-box-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}

.stat-box-link:hover {
  text-decoration: none;
  color: inherit;
}
