
:root {
  --primary-dark: #121212;
  --secondary-dark: #1F1F1F;
  --accent-purple: #9B59B6;
  --accent-teal: #1ABC9C;
  --text-light: #ECF0F1;
  --text-gray: #BDC3C7;
}

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

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

@font-face {
  font-family: 'Open Sans';
  src: url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
}

body {
  font-family: 'Open Sans', sans-serif;
  background: radial-gradient(circle at center, var(--secondary-dark), var(--primary-dark));
  color: var(--text-light);
  line-height: 1.6;
  padding-top: 80px;
  min-height: 100%;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--secondary-dark));
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

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

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

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

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

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
}

.hero-image {
  position: relative;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-purple);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
  transition: all 0.5s ease;
}

.hero-image:hover::before {
  top: -15px;
  left: -15px;
  opacity: 0.8;
}

.section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: rgba(31, 31, 31, 0.7);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(155, 89, 182, 0.1);
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent-teal);
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-purple));
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.section-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.section-image img:hover {
  transform: scale(1.03);
}

.code-block {
  background: #1E1E1E;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow: auto;
  border-left: 4px solid var(--accent-teal);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #D4D4D4;
}

.code-block code {
  display: block;
  white-space: pre;
}

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

.card {
  background: linear-gradient(145deg, #1F1F1F, #252525);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(155, 89, 182, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(155, 89, 182, 0.3);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--accent-teal);
}

.card-content {
  color: var(--text-gray);
}

.footer {
  background: linear-gradient(90deg, var(--primary-dark), var(--secondary-dark));
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid rgba(155, 89, 182, 0.2);
}

.footer-text {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(31, 31, 31, 0.9);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--accent-purple);
  max-width: 300px;
  z-index: 1000;
}

.notice-text {
  color: var(--text-light);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .section-content {
    grid-template-columns: 1fr;
  }
  
  .section-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .code-block {
    font-size: 0.8rem;
    padding: 1rem;
  }
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulsing {
  animation: pulse 2s ease-in-out infinite;
}

/* Utility classes */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.text-center { text-align: center; }
.text-accent { color: var(--accent-teal); }

