
:root {
  --primary-dark: #0f2027;
  --primary-mid: #203a43;
  --primary-light: #2c5364;
  --accent-blue: #00c6ff;
  --accent-purple: #7b2cbf;
  --text-light: #ffffff;
  --text-dim: #cfd8dc;
  --card-bg: rgba(43, 45, 66, 0.6);
}

@font-face {
  font-family: 'Roboto';
  src: url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
}

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

body {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid), var(--primary-light));
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.header-notice {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  padding: 10px;
  text-align: center;
  z-index: 1001;
  font-size: 14px;
  color: var(--accent-blue);
  backdrop-filter: blur(5px);
}

.navbar {
  position: fixed;
  top: 40px;
  width: 100%;
  background: rgba(27, 38, 59, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 15px 30px;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 198, 255, 0.2);
}

.nav-links {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

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

.navbar a:hover {
  color: var(--accent-blue);
}

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

.navbar a:hover::after {
  width: 100%;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
  min-height: 500px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 30px;
}

.hero-image {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 320px;
  height: 320px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: all 0.5s ease;
  position: absolute;
}

.hero-image img:nth-child(1) {
  transform: rotate(-5deg) translateX(-20px);
  z-index: 3;
}

.hero-image img:nth-child(2) {
  transform: rotate(5deg) translateX(20px);
  z-index: 2;
  filter: brightness(0.8);
}

.hero-image:hover img:nth-child(1) {
  transform: rotate(-8deg) translateX(-30px) translateY(-10px);
}

.hero-image:hover img:nth-child(2) {
  transform: rotate(8deg) translateX(30px) translateY(-10px);
}

article {
  background: rgba(0,0,0,0.2);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
}

article h2 {
  font-size: 2rem;
  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: 1.5rem;
  margin: 30px 0 20px;
  color: var(--text-light);
}

article p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-dim);
}

pre {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  overflow: auto;
  border-left: 4px solid var(--accent-blue);
}

code {
  font-family: 'Courier New', monospace;
  color: var(--accent-blue);
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  border-color: var(--accent-blue);
}

.feature-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent-blue);
}

.feature-card p {
  font-size: 1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

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

.gallery-item {
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.footer {
  text-align: center;
  padding: 30px;
  margin-top: 60px;
  color: var(--text-dim);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image {
    order: 2;
    height: 300px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
  }
  
  article {
    padding: 30px 20px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-image img {
    width: 250px;
    height: 250px;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
  
  article h3 {
    font-size: 1.3rem;
  }
}

