
:root {
  --primary-color: #1E274A;
  --secondary-color: #009FFF;
  --accent-color: #3EC55F;
  --highlight-color: #FFC300;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --dark-text: #1a1a1a;
  --transition: all 0.3s ease;
}

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

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

.header {
  position: relative;
  height: 80px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: var(--transition);
}

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

.banner {
  position: relative;
  height: 500px;
  background: linear-gradient(rgba(30, 39, 74, 0.8), rgba(30, 39, 74, 0.8)), 
              url('https://images.gptkong.com/demo/sample1.png') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 15%;
  margin-bottom: 4rem;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 159, 255, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 159, 255, 0.4);
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

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

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

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

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.card-content p {
  color: var(--dark-text);
  margin-bottom: 1rem;
}

.feature-section {
  background: var(--light-bg);
  padding: 4rem 0;
  margin: 4rem 0;
}

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

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  color: white;
  font-size: 2rem;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.code-block {
  background: #282c34;
  color: #abb2bf;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.code-block pre {
  margin: 0;
}

.code-block .token.comment {
  color: #5c6370;
}

.code-block .token.keyword {
  color: #c678dd;
}

.code-block .token.string {
  color: #98c379;
}

.code-block .token.function {
  color: #61afef;
}

.code-block .token.selector {
  color: #e06c75;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-content h2 {
  color: var(--primary-color);
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

.article-content h3 {
  color: var(--primary-color);
  margin: 1.5rem 0 0.8rem;
  font-size: 1.4rem;
}

.article-content p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0 1rem;
    height: 70px;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .banner {
    height: 400px;
    padding: 0 1rem;
  }
  
  .banner h1 {
    font-size: 2.2rem;
  }
  
  .banner p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .article-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
  
  .banner {
    height: 350px;
  }
  
  .banner h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

