/* 종합진단센터 메인 스타일 - 트렌디하고 반응형 */

:root {
  --primary: #4f8cff;
  --secondary: #ffb347;
  --accent: #ff4f81;
  --bg: #f7f9fc;
  --text: #222;
  --card-bg: #fff;
  --border-radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --footer-bg: #222;
  --footer-text: #eee;
}

body {
  font-family: 'Noto Sans KR', 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

.header {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
}
.nav-brand .brand-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.nav-brand .fas {
  margin-right: 0.5rem;
}
.nav-menu {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.language-selector-nav {
  margin-left: 1rem;
}
.language-selector-nav select {
  background: rgba(255,255,255,0.9);
  color: #333;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.language-selector-nav select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}
.language-selector-nav select option {
  background: #fff;
  color: #333;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--secondary);
}
.mobile-menu-toggle {
  display: none;
}

.hero {
  background: linear-gradient(120deg, #e3f0ff 0%, #f7f9fc 100%);
  padding: 3rem 0 2rem 0;
}
.hero-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.highlight {
  color: var(--primary);
}
.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #444;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--primary);
}
.btn-test {
  background: var(--accent);
  color: #fff;
}
.btn-test:disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
}
.btn-cta {
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
}
.btn-cta:hover {
  background: var(--accent);
}

.hero-visual {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.floating-icons {
  display: flex;
  gap: 1.2rem;
  font-size: 2rem;
  animation: floatIcons 3s infinite ease-in-out;
}
@keyframes floatIcons {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.features {
  background: #fff;
  padding: 2.5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
}
.feature-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.tests {
  background: var(--bg);
  padding: 2.5rem 0;
}
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.test-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.test-card.featured {
  border: 2px solid var(--primary);
}
.test-card.coming-soon {
  opacity: 0.7;
}
.test-image {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.test-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
}
.test-icon {
  font-size: 2rem;
}
.test-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.test-description {
  color: #444;
  margin-bottom: 1rem;
}
.test-stats {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}
.test-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tag {
  background: var(--secondary);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

.about {
  background: #fff;
  padding: 2.5rem 0;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.about-text {
  flex: 1 1 320px;
}
.about-visual {
  flex: 1 1 320px;
}
.about-features {
  margin-top: 1.2rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}
.stat-card {
  background: var(--bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 1rem 0.5rem;
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-label {
  font-size: 0.95rem;
  color: #555;
}

.cta {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 0 1rem 0;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}
.footer-section h4 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.2s;
}
.footer-section ul a:hover {
  color: var(--secondary);
}
.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.7rem;
}
.social-links a {
  color: var(--footer-text);
  font-size: 1.2rem;
  transition: color 0.2s;
}
.social-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #bbb;
}

/* 광고 영역 스타일 */
.ad-container {
  margin: 2rem 0;
  text-align: center;
}

/* 반응형 */
@media (max-width: 900px) {
  .navbar {
    padding: 0.8rem 1rem;
  }
  .features-grid, .footer-content {
    grid-template-columns: 1fr;
  }
  .tests-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .section-header h2 {
    font-size: 1.2rem;
  }
  .btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
  }
  .test-title {
    font-size: 1.05rem;
  }
  .about-feature {
    font-size: 0.95rem;
  }
  .stat-number {
    font-size: 1.1rem;
  }
}
