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

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --text-primary: #333;
  --text-secondary: #666;
  --text-muted: #999;
  --background-light: #f8f9fa;
  --background-card: white;
  --border-color: #e9ecef;
  --shadow-light: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-heavy: 0 20px 40px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 15px;
  --radius-xl: 25px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--primary-gradient);
  min-height: 100vh;
}

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

/* Header Styles */
.header {
  text-align: center;
  color: white;
  margin-bottom: 40px;
  padding: 40px 0;
}

.header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.version-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* Content Card */
.content {
  background: var(--background-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
  margin-bottom: 30px;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  background: var(--background-light);
  border-bottom: 1px solid var(--border-color);
}

.nav-tab {
  flex: 1;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  background: none;
}

.nav-tab:hover {
  background: var(--border-color);
}

.nav-tab.active {
  background: var(--primary-color);
  color: white;
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 40px;
}

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

/* Distribution Header */
.distro-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.distro-icon {
  width: 64px;
  height: 64px;
  margin-right: 20px;
  border-radius: var(--radius-md);
  background: var(--background-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.distro-info h2 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 1.8rem;
}

.distro-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Installation Steps */
.install-steps {
  margin-bottom: 30px;
}

.step {
  margin-bottom: 25px;
  background: var(--background-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--primary-color);
}

.step h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.step p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* Code Blocks */
.code-block {
  display: flex;
  flex-direction: row-reverse;
  background: #2d3748;
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius-sm);
  font-family: 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-x: auto;
  position: relative;
}

.copy-btn {
  background: #4a5568;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
}

code {
  display: flex;
  flex: 1 0 0;
}

.copy-btn:hover {
  background: #2d3748;
}

/* Package Grid */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.package-card {
  background: var(--background-light);
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
}

.package-card h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.package-card p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.package-size {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Alerts */
.alert {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: var(--radius-sm);
  padding: 15px;
  margin-bottom: 20px;
  color: #856404;
}

.alert-info {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

/* Footer */
.footer {
  text-align: center;
  color: white;
  padding: 40px 0;
  font-size: 1.1rem;
}

.footer a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .nav-tabs {
    flex-direction: column;
  }
  
  .nav-tab {
    padding: 15px;
  }
  
  .tab-content {
    padding: 20px;
  }
  
  .distro-header {
    flex-direction: column;
    text-align: center;
  }
  
  .distro-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .package-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --background-light: #2d3748;
    --background-card: #1a202c;
    --border-color: #4a5568;
  }
}
