
:root {
  --primary-color: #0E1E98;
  --secondary-color: #6A0DAD;
  --background-color: #F5F5F5;
  --highlight-green: linear-gradient(45deg, #2EDC5B, #7EF2AA);
  --highlight-orange: linear-gradient(45deg, #FF8C00, #FFB347);
  --accent-color: #FFD700;
  --text-color: #333;
  --light-text: #FFF;
  --card-bg: rgba(255, 255, 255, 0.9);
  --section-padding: 60px 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background: var(--primary-color);
  padding: 20px 0;
  position: relative;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--light-text);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--highlight-green);
  border-radius: 50%;
  margin-right: 10px;
}

.notice {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--highlight-orange);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: var(--accent-color);
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::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;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  color: var(--primary-color);
  display: inline-block;
  padding: 0 20px;
  background: var(--background-color);
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
  z-index: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.card-content {
  padding: 25px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.card p {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--highlight-green);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--highlight-orange);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.features {
  background: linear-gradient(to bottom, var(--background-color), white);
}

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

.feature-item {
  text-align: center;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--highlight-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

.code-block pre {
  margin: 0;
}

.code-block .language-css {
  color: #61afef;
}

.code-block .language-html {
  color: #e06c75;
}

.article-content {
  background: white;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
}

.article-content h2 {
  color: var(--primary-color);
  font-size: 28px;
  margin: 40px 0 20px;
  position: relative;
  padding-bottom: 10px;
}

.article-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--highlight-green);
}

.article-content h3 {
  color: var(--secondary-color);
  font-size: 22px;
  margin: 30px 0 15px;
}

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

.article-content strong {
  color: var(--primary-color);
}

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

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 60px 0 30px;
  text-align: center;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-link {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  margin-top: 30px;
  opacity: 0.8;
  font-size: 14px;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .article-content {
    padding: 30px 20px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 4s ease-in-out infinite;
}

