
:root {
  --primary-color: #032B44;
  --secondary-color: #A7D5C6;
  --accent-color: #FF914D;
  --background-color: #F8FAFB;
  --text-color: #333;
  --light-gray: #E8ECEF;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, var(--background-color) 0%, #fff 100%);
  min-height: 100%;
  overflow-x: hidden;
}

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

.header {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(to right, var(--primary-color), #1a4b6d);
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

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

.header p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.notice {
  background: var(--accent-color);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.article-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .article-container {
    grid-template-columns: 1fr;
  }
}

.navigation {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.navigation h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.nav-links {
  list-style: none;
}

.nav-links li {
  margin-bottom: 10px;
}

.nav-links a {
  display: block;
  padding: 8px 10px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-links a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.article-content {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.article-content h2 {
  color: var(--primary-color);
  margin: 25px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.article-content h3 {
  color: var(--primary-color);
  margin: 20px 0 10px;
}

.article-content p {
  margin-bottom: 15px;
  font-size: 16px;
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

pre {
  background: #f5f7f9;
  border-left: 4px solid var(--accent-color);
  padding: 15px;
  margin: 20px 0;
  overflow-x: auto;
  border-radius: 0 4px 4px 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
}

code {
  color: #d63384;
}

.footer {
  text-align: center;
  padding: 30px 0;
  background: var(--primary-color);
  color: white;
  margin-top: 50px;
}

.footer p {
  margin-bottom: 10px;
}

.tech-highlight {
  background: linear-gradient(90deg, rgba(3,43,68,0.1) 0%, rgba(167,213,198,0.1) 100%);
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.tech-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
}

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-img {
  animation: float 3s ease-in-out infinite;
}

.highlight-box {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 4px solid var(--accent-color);
}

.highlight-box h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.color-swatch {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.swatch {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.primary-swatch {
  background: var(--primary-color);
}

.secondary-swatch {
  background: var(--secondary-color);
}

.accent-swatch {
  background: var(--accent-color);
}

.background-swatch {
  background: var(--background-color);
  color: var(--text-color);
}

