
:root {
  --primary: #a5d6a7;
  --secondary: #81c784;
  --accent: #ffb74d;
  --dark: #4e342e;
  --light: #e0f7fa;
  --white: #ffffff;
}

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

body {
  background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  padding-top: 80px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 24px;
  height: 24px;
  fill: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.banner {
  height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
              url('https://images.gptkong.com/demo/sample1.png') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, 
              rgba(165, 214, 167, 0.3) 0%, 
              rgba(129, 199, 132, 0.1) 50%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.banner h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.5s ease-in-out;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeIn 2s ease-in-out;
}

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

.hero-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.hero-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.hero-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  fill: var(--secondary);
  transition: transform 0.3s ease;
}

.hero-card:hover .hero-icon {
  transform: scale(1.1);
}

.hero-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.hero-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.main-content {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin-bottom: 4rem;
}

article h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--accent);
}

article h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 2rem 0 1rem;
}

article p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

pre {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

pre::before {
  content: 'CSS';
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  padding: 0.2rem 0.8rem;
  border-radius: 0 0 0 8px;
  font-size: 0.8rem;
  font-weight: bold;
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(165, 214, 167, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1/1;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

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

.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo .logo-icon {
  fill: var(--white);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

.notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  color: var(--dark);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: slideIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  .banner p {
    font-size: 1rem;
  }
  
  .main-content {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 300px;
  }
  
  .banner h1 {
    font-size: 1.8rem;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

