
:root {
  --primary: rgba(169, 169, 169, 0.15);
  --secondary: rgba(74, 144, 226, 0.2);
  --accent: rgba(251, 215, 93, 0.3);
  --text: #2c3e50;
  --light: #f8f9fa;
  --dark: #1a1a2e;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  padding: 0;
  margin: 0;
}

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

.header {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
  backdrop-filter: blur(10px);
  border-radius: 0 0 30px 30px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #4A90E2, #50E3C2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 20px;
  padding: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
  display: inline-block;
}

article {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

h2 {
  font-size: 1.8rem;
  margin: 30px 0 20px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4A90E2, #50E3C2);
}

h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
  color: #3a5169;
}

p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

pre {
  background: rgba(30, 30, 30, 0.9);
  border-radius: 12px;
  padding: 20px;
  margin: 25px 0;
  overflow-x: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  position: relative;
}

pre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px 12px 0 0;
}

code {
  font-family: 'Fira Code', monospace;
  color: #f8f8f2;
  font-size: 0.9rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.image-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

.image-caption {
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.nav-tabs {
  display: flex;
  margin-bottom: 30px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.nav-tab {
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 500;
}

.nav-tab:hover {
  background: rgba(74, 144, 226, 0.1);
}

.nav-tab.active {
  background: linear-gradient(135deg, #4A90E2, #50E3C2);
  color: white;
}

.content-section {
  animation: fadeIn 0.8s ease-out;
}

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

.footer {
  text-align: center;
  padding: 30px;
  margin-top: 50px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 25px;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin: 25px 0;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Gradient border */
.gradient-border {
  position: relative;
  border-radius: 15px;
}

.gradient-border::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #A9A9A9, #0000FF);
  border-radius: 17px;
  z-index: -1;
  opacity: 0.7;
}

/* Data highlight */
.data-highlight {
  background: linear-gradient(135deg, #FF7E5F, #FEB47B);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  display: inline-block;
  margin: 15px 0;
}

/* Icon animation */
.icon-animation {
  width: 24px;
  height: 24px;
  fill: #4A90E2;
  transition: fill 0.3s ease, transform 0.3s ease;
  margin: 0 5px;
}

.icon-animation:hover {
  fill: #50E3C2;
  transform: scale(1.1);
}

/* Responsive navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  margin-bottom: 30px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 5px 10px;
  border-radius: 8px;
}

.nav-link:hover {
  background: rgba(74, 144, 226, 0.1);
  color: #4A90E2;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 4px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .hamburger {
    display: flex;
  }

  .nav-links.active {
    display: flex;
  }
}

