
:root {
  --primary-dark: #0d1b2a;
  --primary-mid: #1b263b;
  --primary-light: #415a77;
  --accent-blue: #00aaff;
  --accent-green: #00cc88;
  --text-light: #e0e1dd;
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --shadow-light: rgba(255, 255, 255, 0.1);
}

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

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

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 30px var(--shadow-dark);
  border-bottom: 1px solid var(--shadow-light);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

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

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

.hero {
  height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(0, 170, 255, 0.1), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--text-light), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-image {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 400px;
  background: url('https://images.gptkong.com/demo/sample1.png') center/cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow-dark);
}

.notice {
  background: rgba(0, 170, 255, 0.1);
  border-left: 4px solid var(--accent-blue);
  padding: 20px;
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
}

.notice-text {
  font-size: 16px;
  color: var(--text-light);
}

article {
  background: rgba(27, 38, 59, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 0 10px 30px var(--shadow-dark);
  border: 1px solid var(--shadow-light);
}

article h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--accent-blue);
  position: relative;
  padding-bottom: 15px;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), transparent);
}

article h3 {
  font-size: 24px;
  margin: 30px 0 20px;
  color: var(--text-light);
}

article p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

pre {
  background: rgba(13, 27, 42, 0.8);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto;
  border-left: 4px solid var(--accent-blue);
  font-family: 'Fira Code', monospace;
  font-size: 15px;
  line-height: 1.5;
  color: #f8f8f2;
}

code {
  font-family: 'Fira Code', monospace;
  background: rgba(0, 170, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 15px;
}

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

.gallery-item {
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px var(--shadow-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-dark);
}

.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: rgba(13, 27, 42, 0.9);
  padding: 40px 0;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid var(--shadow-light);
}

.footer-text {
  font-size: 14px;
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    padding: 100px 0;
  }
  
  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: 40px;
  }
  
  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  article {
    padding: 30px 20px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  article h2 {
    font-size: 28px;
  }
  
  article h3 {
    font-size: 22px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 60px;
  border: 2px solid var(--accent-blue);
  border-radius: 20px;
  opacity: 0.7;
  cursor: pointer;
  z-index: 100;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
  0% {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
  100% {
    opacity: 0;
    transform: translateY(30px) translateX(-50%);
  }
}

/* Tooltip */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: var(--primary-dark);
  color: var(--text-light);
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid var(--shadow-light);
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

