:root {
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-code: 'Consolas', 'Monaco', 'Lucida Console', monospace;
  
  /* Base spacing - 8px grid */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 1rem;     /* 16px */
  --space-4: 1.5rem;   /* 24px */
  --space-5: 2rem;     /* 32px */
  --space-6: 3rem;     /* 48px */
  --space-7: 4rem;     /* 64px */
  
  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index layers */
  --z-base: 1;
  --z-overlay: 10;
  --z-dropdown: 20;
  --z-modal: 30;
  --z-tooltip: 40;
  --z-cursor: 100;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  cursor: none; /* Hide default cursor */
}

/* Main containers */
header {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-base);
}

.header-content {
  position: relative;
  z-index: var(--z-overlay);
  max-width: 800px;
  padding: var(--space-4);
}

.title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.description {
  font-size: 1.25rem;
  margin-bottom: var(--space-5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

main {
  position: relative;
  padding: var(--space-6) var(--space-3);
  min-height: 100vh;
}

.tutorial-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-5) 0;
  min-height: 80vh;
  display: none;
}

.tutorial-section.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.section-content {
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  margin-bottom: var(--space-5);
  max-width: 800px;
}

footer {
  padding: var(--space-5) var(--space-3);
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Content specific styles */
.image-container {
  margin: var(--space-5) 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tutorial-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.875rem;
}

.steps-container {
  margin: var(--space-5) 0;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-6);
}

/* Elements visibility */
[data-tooltip] {
  position: relative;
  cursor: help;
}

.hide {
  display: none;
}