/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e8eaed;
  background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header styles */
header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  font-weight: 300;
}

/* Main content styles */
main {
  margin-bottom: 3rem;
}

section {
  margin-bottom: 2.5rem;
  background: rgba(30, 41, 59, 0.8);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 1.8rem;
  color: #60a5fa;
  margin-bottom: 1rem;
  font-weight: 600;
}

h3 {
  font-size: 1.4rem;
  color: #93c5fd;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: #cbd5e1;
}

/* Link styles */
a {
  color: #60a5fa;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

a:hover {
  color: #93c5fd;
  border-bottom-color: #93c5fd;
}

/* Steps section */
.steps {
  margin-top: 1.5rem;
}

.step {
  background: rgba(15, 23, 42, 0.6);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid #3b82f6;
}

.step h3 {
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.step p {
  margin-bottom: 0;
  color: #e2e8f0;
}

.step-note {
  background: rgba(29, 78, 216, 0.1);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-top: 1rem;
}

.step-note p {
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 0;
}

/* Footer styles */
footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  color: #64748b;
  font-size: 0.9rem;
}

.attribution {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  section {
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .video-container iframe {
    width: 100%;
    height: 200px;
  }
}

/* Diagram styles */
.diagram-container {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.diagram-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Video styles */
.video-container {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.video-container iframe {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

/* Selection styles */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}
