/* Modern Euralink V0.3.0 Documentation Styles */

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

/* CSS Variables */
:root {
  /* Colors */
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #8b5cf6;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Backgrounds */
  --bg-primary: #0f0f23;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-card: #1e1e3f;
  --bg-code: #0d1117;
  --bg-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-code: #e2e8f0;
  
  /* Borders */
  --border: #2d2d44;
  --border-light: #3d3d5c;
  --border-hover: #4d4d6c;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Monaco', 'Cascadia Code', monospace;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: normal;
  word-spacing: normal;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 15, 35, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
}

.nav-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-version {
  background: var(--bg-gradient);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--bg-gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary-light);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(50px + var(--spacing-3xl)) var(--spacing-md) var(--spacing-3xl);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s ease-in-out infinite alternate;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(25px, 25px); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xl);
  backdrop-filter: blur(10px);
  letter-spacing: 0;
  word-spacing: normal;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  animation: glow-pulse 3s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(124, 58, 237, 0.3),
    0 0 40px rgba(124, 58, 237, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -100%;
  width: 100%;
  height: calc(100% + 4px);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    rgba(124, 58, 237, 0.3),
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 2.5s ease-in-out infinite;
  border-radius: var(--radius-xl);
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(124, 58, 237, 0.1) 50%,
    transparent 70%
  );
  animation: wave-sweep 4s ease-in-out infinite;
  border-radius: var(--radius-xl);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes glow-pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 
      0 0 20px rgba(124, 58, 237, 0.3),
      0 0 40px rgba(124, 58, 237, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% { 
    transform: scale(1.02);
    box-shadow: 
      0 0 30px rgba(124, 58, 237, 0.5),
      0 0 60px rgba(124, 58, 237, 0.2),
      0 0 80px rgba(124, 58, 237, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes wave-sweep {
  0%, 100% { 
    background: linear-gradient(
      45deg,
      transparent 30%,
      rgba(124, 58, 237, 0.05) 50%,
      transparent 70%
    );
  }
  25% {
    background: linear-gradient(
      135deg,
      transparent 30%,
      rgba(124, 58, 237, 0.1) 50%,
      transparent 70%
    );
  }
  50% {
    background: linear-gradient(
      225deg,
      transparent 30%,
      rgba(124, 58, 237, 0.08) 50%,
      transparent 70%
    );
  }
  75% {
    background: linear-gradient(
      315deg,
      transparent 30%,
      rgba(124, 58, 237, 0.12) 50%,
      transparent 70%
    );
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

.gradient-text {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: rgba(30, 30, 63, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.hero-install {
  display: flex;
  justify-content: center;
}

.install-box {
  position: relative;
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-md) var(--spacing-lg);
  font-family: var(--font-mono);
  color: var(--text-code);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  min-width: 250px;
  max-width: 100%;
  overflow-x: auto;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.copy-btn:hover {
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.1);
}

/* Sections */
section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  width: 100%;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  min-height: 280px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}



.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bg-gradient);
  opacity: 1;
  transition: var(--transition);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-gradient);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--spacing-md);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.highlight {
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary-light);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

.feature-code {
  background: var(--bg-code);
  border-radius: var(--radius);
  padding: var(--spacing-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-code);
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  max-height: 40px;
  line-height: 1.4;
}

/* Code Blocks */
.code-block {
  position: relative;
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}

.code-block pre {
  padding: var(--spacing-md);
  overflow-x: auto;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-code);
  white-space: pre-wrap;
  word-wrap: break-word;
  width: 100%;
  box-sizing: border-box;
}

.code-block.large pre {
  max-height: 400px;
  overflow-y: auto;
}

.code-block code {
  word-break: break-word;
  white-space: pre-wrap;
}

.code-block .copy-btn {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
}

/* Quick Start */
.quick-start {
  background: var(--bg-tertiary);
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.quick-start-step {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--bg-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto var(--spacing-md);
}

.quick-start-step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.advanced-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
}

.advanced-example h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

/* Examples Section */
.examples {
  background: var(--bg-secondary);
}

.examples-tabs {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.example-tab {
  display: none;
}

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

.example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.example-code h4,
.example-preview h4 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.example-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm);
  background: var(--bg-tertiary);
  border-radius: var(--radius);
}

.category-name {
  font-family: var(--font-mono);
  color: var(--primary-light);
  font-weight: 600;
}

.category-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.features-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.feature-demo {
  text-align: center;
  padding: var(--spacing-md);
}

.feature-demo i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.feature-demo h5 {
  margin-bottom: var(--spacing-sm);
}

.feature-demo p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.presets-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.preset-category h5 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-light);
}

.preset-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.preset {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.recovery-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.recovery-feature {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius);
}

.recovery-feature i {
  font-size: 1.5rem;
  color: var(--success);
  margin-bottom: var(--spacing-sm);
}

.recovery-feature h5 {
  margin-bottom: var(--spacing-sm);
}

.recovery-feature p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Changelog */
.changelog {
  background: var(--bg-tertiary);
}

.changelog-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.changelog-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.changelog-entry {
  position: relative;
  padding-left: 60px;
  margin-bottom: var(--spacing-3xl);
}

.entry-marker {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg-tertiary);
}

.changelog-entry.current .entry-marker {
  background: var(--success);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.entry-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
}

.entry-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.entry-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.entry-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.entry-badge {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

.entry-badge.current {
  background: var(--success);
  color: white;
}

.entry-badge:not(.current) {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.changelog-section {
  margin-bottom: var(--spacing-lg);
}

.changelog-section:last-child {
  margin-bottom: 0;
}

.changelog-section h4 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-light);
}

.changelog-section ul {
  list-style: none;
  padding: 0;
}

.changelog-section li {
  position: relative;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

.changelog-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  margin-bottom: var(--spacing-sm);
}

.footer-brand h4 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.footer-brand p {
  color: var(--text-secondary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
}

.footer-section h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.footer-section a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: var(--spacing-sm);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-badges {
  display: flex;
  gap: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-start-grid {
    grid-template-columns: 1fr;
  }
  
  .example-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-card {
    min-height: auto;
  }
  
  .code-block pre {
    font-size: 0.75rem;
    padding: var(--spacing-sm);
  }
  
  .feature-code {
    font-size: 0.65rem;
    padding: var(--spacing-xs);
    max-height: 35px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .examples-tabs {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .feature-card {
    padding: var(--spacing-sm);
    min-height: auto;
  }
  
  .feature-code {
    font-size: 0.6rem;
    padding: var(--spacing-xs);
    max-height: 30px;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .install-box {
    min-width: auto;
    padding: var(--spacing-sm);
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* Selection Styling */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: var(--text-primary);
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  transform: translateY(100%);
  animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}
