/* 
  AI Health - Style System
  Theme: Sky Blue, Clean, Serene
*/

:root {
  /* Colors */
  --sky-blue: #87CEEB;          /* 기본 Sky Blue */
  --sky-blue-light: #E0F2FE;    /* 아주 연한 Sky Blue */
  --sky-blue-deep: #0284C7;     /* 깊은 톤의 텍스트용 블루 */
  --text-dark: #334155;
  --text-light: #F8FAFC;
  --bg-color: #F0F9FF;          /* 전체 배경은 연하게 */
  --white: #FFFFFF;
  
  /* Typography */
  --font-main: 'Inter', 'Noto Sans KR', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 20px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.scroll-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Header */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  color: var(--white);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  font-weight: 300;
}

.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.navbar nav a {
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.navbar nav a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-blue), #6CA6CD);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0;
  opacity: 0.95;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--white);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite ease;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Background Pulse Animation */
.bg-pulse {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  animation: pulse 8s infinite alternate ease-in-out;
  z-index: 1;
}

.bg-pulse.layer-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation-delay: -4s;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0.8; }
}

/* Common Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sky-blue-deep);
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #64748B;
  margin-bottom: 60px;
}

/* Philosophy Section (Quote Box) */
.philosophy-section {
  background-color: var(--white);
  padding-top: 150px;
  padding-bottom: 150px;
}

.quote-box {
  background: var(--white);
  border-top: 5px solid var(--sky-blue);
  box-shadow: 0 20px 40px rgba(135, 206, 235, 0.2);
  border-radius: 12px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-size: 6rem;
  font-family: serif;
  color: var(--sky-blue-light);
  line-height: 0;
  position: absolute;
  top: 40px;
  left: 30px;
  z-index: 0;
}

.quote-text {
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #000000;
  font-weight: 800;
  word-break: keep-all;
  position: relative;
  z-index: 1;
}

.quote-text strong, .quote-text em {
  font-style: normal;
  color: #000000;
  font-weight: 800;
  background: none;
}

.quote-author {
  margin-top: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #64748B;
}

/* Values Section */
.values-section {
  background-color: var(--bg-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  background: var(--white);
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(135, 206, 235, 0.2);
}

.value-card h3 {
  font-size: 1.5rem;
  color: var(--sky-blue-deep);
  margin-bottom: 5px;
}

.value-card p {
  font-size: 0.9rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Core Health Section */
.core-health-section {
  background-color: var(--white);
}

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

.health-card {
  display: block;
  padding: 50px 30px;
  border-radius: 20px;
  background: var(--sky-blue-light);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
}

.health-card:hover {
  transform: translateY(-5px);
  background: #CBE5F6;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--sky-blue-deep);
  box-shadow: 0 10px 20px rgba(135, 206, 235, 0.15);
}

.health-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--sky-blue-deep);
}

.health-card p {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: #CBD5E1;
  text-align: center;
  padding: 40px 20px;
}

footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .navbar nav ul {
    gap: 15px;
  }
  .navbar nav a {
    font-size: 0.9rem;
  }
  .quote-box {
    padding: 40px 20px;
  }
  .quote-text {
    font-size: 1.2rem;
  }
}
