
:root {
  --primary-blue: #1A237E;
  --primary-purple: #6200EA;
  --primary-white: #FFFFFF;
  --accent-orange: #FF9800;
  --dark-bg: #0A0E2A;
  --light-bg: #F5F7FF;
  --text-color: #333;
  --text-light: #EEE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

.header {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--primary-white);
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(26, 35, 126, 0.9);
  padding: 1rem 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.section {
  margin-bottom: 4rem;
  background: var(--primary-white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--primary-purple), transparent);
  border-radius: 0 0 0 100%;
  z-index: 0;
}

.section-content {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 3px;
}

h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--primary-purple);
}

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

.code-container {
  background: var(--dark-bg);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.code-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-orange);
}

pre {
  color: var(--text-light);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-x: auto;
  padding-right: 1rem;
}

code {
  display: block;
}

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

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

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

.img-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--primary-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #EEE;
}

th {
  background: var(--primary-blue);
  color: var(--primary-white);
}

tr:nth-child(even) {
  background: #F9F9F9;
}

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

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

.notice {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 5px;
  margin-top: 2rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 2rem 1.5rem;
  }
}

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

.section {
  animation: fadeIn 0.6s ease forwards;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }
.section:nth-child(6) { animation-delay: 0.6s; }
.section:nth-child(7) { animation-delay: 0.7s; }
.section:nth-child(8) { animation-delay: 0.8s; }
.section:nth-child(9) { animation-delay: 0.9s; }
.section:nth-child(10) { animation-delay: 1s; }

/* Node animation */
.node {
  width: 15px;
  height: 15px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  position: absolute;
  animation: float 6s infinite;
  opacity: 0.7;
}

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

.node:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.node:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}

.node:nth-child(3) {
  top: 30%;
  left: 70%;
  animation-delay: 2s;
}

.node:nth-child(4) {
  top: 80%;
  left: 20%;
  animation-delay: 3s;
}

.node:nth-child(5) {
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

