
:root {
  --primary-color: #0A2647;
  --secondary-color: #6C5DD3;
  --accent-orange: #FF914D;
  --accent-green: #38C172;
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --card-bg: rgba(255, 255, 255, 0.95);
  --section-padding: 80px 0;
}

@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 {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  overflow-x: hidden;
}

.header {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(10, 38, 71, 0.8), rgba(10, 38, 71, 0.9)), 
              url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
  color: var(--text-light);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  margin-bottom: 80px;
}

.header-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.header p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.notice {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--accent-orange);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: 0.9rem;
}

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

.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-green);
}

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

.card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.card-img {
  height: 200px;
  overflow: hidden;
}

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

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

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.card-content p {
  margin-bottom: 20px;
  color: #666;
}

.btn {
  display: inline-block;
  background: var(--accent-orange);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-green);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(56, 193, 114, 0.3);
}

.code-block {
  background: #282c34;
  color: #abb2bf;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 25px 0;
  overflow-x: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.code-block pre {
  margin: 0;
}

.code-block code {
  display: block;
}

.color-swatch {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

.table-container {
  overflow-x: auto;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

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

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

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

tr:hover {
  background: #f1f1f1;
}

.footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: 80px;
}

.footer p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.nav-tabs a {
  padding: 12px 25px;
  margin: 0 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-tabs a:hover {
  color: var(--accent-orange);
}

.nav-tabs a.active {
  background: var(--primary-color);
  color: white;
}

.accordion {
  margin: 30px 0;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  padding: 15px 20px;
  background: var(--primary-color);
  color: white;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: white;
}

.accordion-content-inner {
  padding: 20px;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

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

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

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .grid-layout {
    grid-template-columns: 1fr;
  }
  
  .nav-tabs a {
    margin: 5px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .header {
    height: 500px;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .card-content {
    padding: 15px;
  }
}

