/* Synclay Marketing Site - Custom Styles */

/* Force light theme */
:root {
  color-scheme: light;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Hero section */
#hero {
  text-align: center;
  padding: 2rem 0;
}

#hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

#hero > p:first-of-type {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Screenshot presentation with subtle shadow */
section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 2rem 0;
}

/* Hero screenshot larger and centered */
#hero img {
  max-width: 900px;
  margin: 2rem auto;
  display: block;
}

/* Feature grid - responsive 2-column on desktop, 1 on mobile */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-grid img {
  margin: 0;
}

/* Code block styling for terminal commands */
pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
}

code {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
}

pre code {
  background: none;
  padding: 0;
}

/* Platform notice styling */
.platform-notice {
  background: #fff8e1;
  padding: 1rem;
  border-left: 4px solid #f59e0b;
  border-radius: 4px;
  margin-top: 1rem;
  display: none;
}

/* Alt-platform link (secondary download link) */
.alt-platform-link {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Install tabs */
.install-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 2px solid #e0e0e0;
}

.install-tab-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  color: #666;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.install-tab-btn:hover {
  color: #333;
}

.install-tab-btn.active {
  color: #2d9b9b;
  border-bottom-color: #2d9b9b;
  font-weight: 600;
}

.install-tab-content {
  display: none;
  padding: 1rem 0;
}

.install-tab-content.active {
  display: block;
}

/* Sticky download button */
.sticky-download {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.sticky-download.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Roadmap section */
#roadmap h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#roadmap h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2d9b9b;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

footer small {
  color: #666;
}

/* Non-supported platform visitor adjustments */
body[data-platform="other"] .platform-notice {
  display: block;
}

body[data-platform="other"] .install-tabs {
  display: none;
}

body[data-platform="other"] .install-tab-content {
  display: none;
}
