:root {
  --primary-color: #4a6fa5;
  --secondary-color: #6c8eb8;
  --accent-color: #ff7d5a;
  --text-color: #333;
  --light-gray: #f5f7fa;
  --mid-gray: #e1e5e9;
  --dark-gray: #5a6772;
  --white: #ffffff;
  --max-width: 1200px;
  --header-height: 70px;
  --sidebar-width: 280px;
  --font-main: 'Noto Sans KR', Helvetica, Arial, sans-serif;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-gray);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

.container {
  display: flex;
  max-width: 100%;
  min-height: 100vh;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  height: 100%;
  padding: 0 2rem;
  margin: 0 auto;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--header-height));
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 900;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--mid-gray);
}

.sidebar-header h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.close-sidebar {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--dark-gray);
  cursor: pointer;
}

.sidebar-content {
  padding: 1.5rem;
}

.sidebar-content ul {
  list-style: none;
}

.sidebar-content ul li {
  margin-bottom: 1rem;
}

.sidebar-content ul li a {
  font-weight: 500;
}

.sidebar-content ul ul {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
}

.sidebar-content ul ul li {
  margin-bottom: 0.5rem;
}

.sidebar-content ul ul li a {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

/* Main Content */
.content {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  padding-top: var(--header-height);
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  border-bottom: 1px solid var(--mid-gray);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.primary-btn:hover {
  background-color: #3a5a84;
  color: var(--white);
}

.secondary-btn {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--light-gray);
}

.outline-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.outline-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.nav-btn {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
}

.nav-btn:hover {
  background-color: var(--light-gray);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 450px;
}

.image-placeholder {
  width: 100%;
  height: 300px;
  background-color: #e5eaf1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--dark-gray);
}

.image-placeholder i {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Section Styling */
.section {
  padding: 3rem;
  border-bottom: 1px solid var(--mid-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--dark-gray);
}

.section-content {
  max-width: 900px;
  margin: 0 auto;
}

.section-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 2rem 0 1rem;
}

.section-content p {
  margin-bottom: 1.5rem;
}

.section-content ul, .section-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.section-content li {
  margin-bottom: 0.5rem;
}

.section-preview {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 2.5rem;
}

.section-preview p {
  margin-bottom: 1.5rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Info Card */
.info-card {
  display: flex;
  background-color: #e5f1ff;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.card-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 1.5rem;
}

.card-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Feature Grid */
.feature-highlights {
  margin-top: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Industry Cards */
.industry-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.industry-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
}

.card-header {
  padding: 2.5rem 1.5rem;
  color: var(--white);
  text-align: center;
}

.card-header h3 {
  font-size: 1.3rem;
}

.card-header.design {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}

.card-header.education {
  background: linear-gradient(135deg, #1fa2ff 0%, #12d8fa 100%);
}

.card-header.marketing {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.card-header.healthcare {
  background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
}

.card-body {
  padding: 1.5rem;
}

.card-body p {
  margin-bottom: 1rem;
}

.card-link {
  display: inline-block;
  font-weight: 500;
}

/* Prompt Examples */
.prompt-examples {
  margin-top: 2.5rem;
}

.example-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.example-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.5rem;
}

.example-header h4 {
  font-size: 1.1rem;
}

.example-content {
  padding: 1.5rem;
}

.example-content pre {
  background-color: #f7f9fc;
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.example-content code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9rem;
  white-space: pre;
}

.example-link {
  display: inline-block;
  font-weight: 500;
}

/* Innovation Showcase */
.innovation-showcase {
  margin-top: 2.5rem;
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.innovation-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.innovation-card:hover {
  transform: translateY(-5px);
}

.innovation-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.innovation-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* Case Studies */
.case-study-preview {
  margin-top: 2.5rem;
}

.case-card {
  display: flex;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.case-image {
  flex: 0 0 30%;
  background-color: var(--light-gray);
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-image .image-placeholder {
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.case-content {
  flex: 1;
  padding: 1.5rem;
}

.case-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.case-content p {
  margin-bottom: 1rem;
}

.case-link {
  display: inline-block;
  font-weight: 500;
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

/* Footer */
footer {
  background-color: #374a5e;
  color: var(--white);
  padding: 3rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  padding: 0 2rem;
  margin: 0 auto;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  color: #c7d3e3;
  margin-bottom: 0.75rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #c7d3e3;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  background-color: #2e3e50;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .content {
    margin-left: 0;
    width: 100%;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .close-sidebar {
    display: block;
  }

  .hero {
    flex-direction: column;
  }

  .hero-content, .hero-image {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .case-card {
    flex-direction: column;
  }

  .case-image {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  header {
    height: 60px;
  }

  .header-container {
    padding: 0 1rem;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  nav {
    display: none;
  }

  .section {
    padding: 2rem 1.5rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .feature-grid, .innovation-grid {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
