
:root {
  --primary: #0A2463;
  --secondary: #F5F7FA;
  --accent: #FFA500;
  --success: #4CAF50;
  --text: #333333;
  --light: #FFFFFF;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--secondary);
  margin: 0;
  padding: 0;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1E3A8A 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s infinite linear;
}

@keyframes pulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

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

article {
  background: var(--light);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 3rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

h2, h3, h4 {
  color: var(--primary);
  margin-top: 2rem;
}

h2 {
  font-size: 2rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

pre {
  background: #f8f9fa;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
}

code {
  background: rgba(10, 36, 99, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.image-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}

.image-caption {
  padding: 1rem;
  background: white;
  text-align: center;
}

.note {
  background: rgba(255, 165, 0, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.toc {
  background: rgba(10, 36, 99, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.toc h3 {
  margin-top: 0;
  color: var(--primary);
}

.toc ul {
  padding-left: 1.5rem;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.toc a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
  }
  
  article {
    padding: 2rem 1rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

.floating-label {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
  font-size: 0.9rem;
  z-index: 1000;
}

