:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --text-light: #f3f4f6;
  --text-dark: #1f2937;
  --background-light: #ffffff;
  --background-dark: #111827;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --error: #ef4444;
  --success: #22c55e;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  transition: background-color 0.3s, color 0.3s;
}

.high-contrast {
  --text-light: #ffffff;
  --text-dark: #000000;
  --background-light: #000000;
  --background-dark: #ffffff;
  --primary: #ffff00;
  --primary-dark: #ffcc00;
  --secondary: #00ffff;
  --secondary-dark: #00ccff;
}

.font-size-normal {
  font-size: 1rem;
}

.font-size-large {
  font-size: 1.25rem;
}

.font-size-larger {
  font-size: 1.5rem;
}

.dark-mode {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.light-mode {
  background-color: var(--background-light);
  color: var(--text-dark);
}

a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 10;
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  max-width: 600px;
  opacity: 0.9;
}

.cta-button {
  background-color: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--accent-dark);
}

.feature-card {
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.chatbot-character {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  border: 4px solid var(--primary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form textarea {
  min-height: 150px;
}

.faq-item {
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  margin-top: 8px;
  padding-left: 16px;
}

footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 40px 0;
}

@media (max-width: 768px) {
  .hero-image {
    width: 80%;
    position: relative;
    margin: 0 auto;
  }
  
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  
  .navbar-items {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    display: none;
  }
  
  .navbar-items.show {
    display: flex;
  }
  
  .nav-link {
    padding: 16px;
    width: 100%;
    text-align: center;
  }
  
  .mobile-menu-button {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-menu-button {
    display: none;
  }
  
  .navbar-items {
    display: flex !important;
    position: static;
    background-color: transparent;
  }
}

/* 애니메이션 효과 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInFromLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

.fade-in {
  animation: fadeIn 1s ease-out;
}

.slide-in-left {
  animation: slideInFromLeft 1s ease-out;
}

.slide-in-right {
  animation: slideInFromRight 1s ease-out;
}

