
:root {
  --primary: #C1E1C1;
  --secondary: #347A3B;
  --accent: #0078D4;
  --text: #333333;
  --light: #FFFFFF;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.header {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.gptkong.com/demo/sample1.png');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--primary));
}

.header h1 {
  font-size: 3rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 1;
  animation: fadeIn 1s ease-out;
}

.note {
  background: var(--light);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: bold;
  color: var(--secondary);
}

.article-container {
  background: var(--light);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

article h2 {
  color: var(--secondary);
  font-size: 2rem;
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

article h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-top: 30px;
}

article p {
  margin: 20px 0;
  font-size: 1.1rem;
}

pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  box-shadow: var(--shadow);
  font-family: 'Courier New', monospace;
}

code {
  font-family: 'Courier New', monospace;
  background: #f5f5f5;
  padding: 2px 4px;
  border-radius: 4px;
  color: #d63384;
}

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

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

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

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.image-card .caption {
  padding: 15px;
  text-align: center;
  color: var(--secondary);
}

.nav-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.nav-tabs a {
  padding: 10px 20px;
  margin-right: 5px;
  background: #f5f5f5;
  border-radius: 5px 5px 0 0;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

.nav-tabs a:hover {
  background: #e0e0e0;
}

.nav-tabs a.active {
  background: var(--secondary);
  color: var(--light);
}

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

.ai-assistant {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
}

.ai-assistant:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.card {
  background: var(--light);
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.highlight-box {
  background: linear-gradient(135deg, rgba(52, 122, 59, 0.1) 0%, rgba(0, 120, 212, 0.1) 100%);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  box-shadow: var(--shadow);
}

th {
  background: var(--secondary);
  color: var(--light);
  padding: 15px;
  text-align: left;
}

td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

tr:nth-child(even) {
  background: rgba(193, 225, 193, 0.1);
}

tr:hover {
  background: rgba(52, 122, 59, 0.05);
}

