
:root {
  --primary-dark-blue: #0A2640;
  --primary-purple: #53359B;
  --secondary-silver: #F7FAFC;
  --accent-green: #3FFC6C;
  --accent-orange: #FFBA08;
  --text-primary: #F7FAFC;
  --text-secondary: #CBD5E0;
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --shadow-light: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 38, 64, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

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

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

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

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

.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(63, 252, 108, 0.1) 0%, transparent 70%);
  z-index: -1;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow-dark);
  transform: perspective(1000px) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: perspective(1000px) rotateX(0deg);
}

.section {
  padding: 100px 0;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
}

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

.grid-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 20px var(--shadow-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.grid-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.grid-item:hover img {
  transform: scale(1.03);
}

.grid-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent-green);
}

.grid-item p {
  color: var(--text-secondary);
}

.content-block {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-block.visible {
  opacity: 1;
  transform: translateY(0);
}

pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
  border-left: 4px solid var(--accent-green);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-primary);
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 5px;
  border-radius: 3px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background: rgba(63, 252, 108, 0.1);
  color: var(--accent-green);
  font-weight: 500;
}

tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.button {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
  color: var(--primary-dark-blue);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(63, 252, 108, 0.3);
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(63, 252, 108, 0.4);
}

.footer {
  background: rgba(10, 38, 64, 0.9);
  padding: 50px 0;
  text-align: center;
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.notice {
  background: rgba(255, 186, 8, 0.1);
  border-left: 4px solid var(--accent-orange);
  padding: 15px;
  margin: 30px 0;
  border-radius: 0 5px 5px 0;
}

.notice p {
  color: var(--text-primary);
}

.matrix-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.matrix-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--accent-green);
  border-radius: 50%;
  opacity: 0.5;
  animation: matrix-move 5s infinite linear;
}

@keyframes matrix-move {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-500px) rotate(360deg);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
}

