
:root {
  --primary: linear-gradient(135deg, #1e3c72, #2a5298);
  --secondary: #6a11cb;
  --accent: #00ff9d;
  --text: rgba(255,255,255,0.9);
  --card-bg: rgba(255,255,255,0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
  background: var(--primary);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--accent), #2575fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

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

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

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(45deg, var(--secondary), #2575fc);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  background: linear-gradient(45deg, #2575fc, var(--secondary));
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 600px;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.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: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

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

.card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.card:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.1),
    rgba(255,255,255,0)
  );
  transform: rotate(30deg);
  transition: var(--transition);
}

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

.card:hover:before {
  transform: rotate(30deg) translate(10%, 10%);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--secondary), #2575fc);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-text {
  opacity: 0.8;
  margin-bottom: 20px;
}

.features {
  background: rgba(0,0,0,0.1);
  position: relative;
}

.features:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample5.png') no-repeat;
  background-size: cover;
  opacity: 0.05;
  z-index: -1;
}

.code-block {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto;
  border-left: 4px solid var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

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

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(0,0,0,0.2);
  font-weight: 600;
}

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

.footer {
  background: rgba(0,0,0,0.2);
  padding: 50px 0;
  text-align: center;
}

.footer-text {
  opacity: 0.7;
  font-size: 0.9rem;
}

.notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.8rem;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 150px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-top: 50px;
    transform: none;
    animation: none;
  }
  
  .nav-links {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
}

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

.animate {
  animation: fadeIn 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

