
:root {
  --primary: #0f2027;
  --secondary: #2c5364;
  --accent: #6a11cb;
  --text: #ffffff;
  --highlight: #2575fc;
  --panel: rgba(30, 60, 114, 0.8);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

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

header {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(15, 32, 39, 0.8), rgba(44, 83, 100, 0.8)), 
              url('https://images.gptkong.com/demo/sample1.png') center/cover;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: 80px;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom right, transparent 49%, var(--primary) 50%);
}

.header-content {
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
  line-height: 1.3;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

article {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

article:hover {
  transform: translateY(-10px);
}

.section-title {
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}

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

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

.card {
  background: var(--panel);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.img-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.img-box {
  width: 320px;
  height: 320px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.img-box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

pre {
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--highlight);
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
  overflow: auto;
  font-size: 0.9rem;
  line-height: 1.5;
}

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: 20px 0;
  background: var(--panel);
  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(106, 17, 203, 0.3);
  font-weight: bold;
}

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

.nav-tabs {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  gap: 10px;
}

.tab {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.2);
}

.tab.active {
  background: var(--highlight);
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 80px;
  background: rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
}

.notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 25px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  header {
    height: 60vh;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

