/* Global Styles - Matching Svelte App */
:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  
  color: #D5F6F7;
  background-color: #0C0E0C;
  
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  min-height: 100vh;
  background: #0C0E0C;
  color: #D5F6F7;
  overflow-x: hidden;
}

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

/* Banner Section */
.banner {
  text-align: center;
  margin-bottom: 40px;
}

.banner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Hero Section with Video */
.hero {
  margin-bottom: 60px;
}

.video-placeholder {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #17201F;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Download Section */
.download-section {
  text-align: center;
  margin-bottom: 80px;
  background: #17201F;
  border-radius: 16px;
  padding: 40px 20px;
}

.download-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #D5F6F7;
  font-weight: 600;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: linear-gradient(135deg, #4A9294 0%, #406966 100%);
  color: #0C0E0C;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1em;
  font-weight: 600;
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.download-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 146, 148, 0.4);
  background: linear-gradient(135deg, #406966 0%, #4A9294 100%);
}

.download-btn:active:not(:disabled) {
  transform: translateY(0);
}

.download-btn.disabled {
  background: #2a3a3a;
  color: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

.platform-icon {
  font-size: 2em;
}

.platform-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
}

.platform-name {
  font-size: 1.1em;
}

.platform-arch {
  font-size: 0.8em;
  opacity: 0.8;
}

.download-arrow, .coming-soon {
  font-size: 1.2em;
}

/* Overview Section */
.overview-section {
  margin-bottom: 80px;
}

.overview-section h2 {
  font-size: 2.2em;
  margin-bottom: 32px;
  text-align: center;
  color: #D5F6F7;
  font-weight: 600;
}

.overview-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #D5F6F7;
  opacity: 0.9;
}

.overview-section h3 {
  font-size: 1.5em;
  margin: 32px 0 16px 0;
  color: #4A9294;
  font-weight: 600;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.feature-list li {
  background: #17201F;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #4A9294;
  list-style: none;
}

.installation-steps {
  background: #17201F;
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}

.installation-steps h3 {
  margin-top: 0;
}

.installation-steps ol {
  margin-left: 20px;
}

.installation-steps li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.installation-steps code {
  background: #0C0E0C;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Monaco', 'Courier New', monospace;
  color: #4A9294;
}

/* Technical Details Section */
.tech-section {
  margin-bottom: 60px;
  background: #17201F;
  border-radius: 16px;
  padding: 40px 20px;
}

.tech-section h2 {
  font-size: 2em;
  margin-bottom: 24px;
  text-align: center;
  color: #D5F6F7;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tech-item {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  background: #0C0E0C;
  border-radius: 8px;
  border: 1px solid #406966;
}

.tech-label {
  color: #D5F6F7;
  opacity: 0.8;
}

.tech-value {
  color: #4A9294;
  font-weight: 600;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: #17201F;
  color: #D5F6F7;
  opacity: 0.7;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .download-section h2,
  .overview-section h2,
  .tech-section h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .download-btn {
    padding: 16px 24px;
    font-size: 1em;
  }
  
  .platform-icon {
    font-size: 1.5em;
  }
  
  .feature-list li {
    padding: 12px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.overview-section,
.tech-section {
  animation: fadeIn 0.8s ease-out;
}

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