/* AX팀 운영일지 - Main Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  background: #0f0f11;
  color: #e2e8f0;
  line-height: 1.6;
  min-height: 100vh;
}

/* Header */
header {
  border-bottom: 1px solid #1e1e2e;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(15, 15, 17, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: #7c3aed;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
}

nav a:hover {
  color: #e2e8f0;
  background: rgba(124, 58, 237, 0.1);
}

/* Hero */
.hero {
  max-width: 900px;
  margin: 4rem auto 3rem;
  padding: 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Progress Section */
.progress-section {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.progress-card {
  background: #13131a;
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  padding: 2rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

.progress-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: #a78bfa;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #1e1e2e;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  border-radius: 100px;
  transition: width 0.6s ease;
}

.progress-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  color: #475569;
  margin-top: 0.15rem;
}

/* Content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.section-divider {
  flex: 1;
  height: 1px;
  background: #1e1e2e;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1e1e2e;
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Timeline dot */
.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot-completed {
  background: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.timeline-dot-current {
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-dot-upcoming {
  background: #1e1e2e;
  border: 2px solid #334155;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1); }
}

/* Timeline content cards */
.timeline-card {
  background: #13131a;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.timeline-card-completed:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}

.timeline-card-completed:hover::before {
  opacity: 1;
}

.timeline-card-current {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), #13131a);
}

.timeline-card-upcoming {
  background: rgba(19, 19, 26, 0.5);
  border-color: rgba(30, 30, 46, 0.5);
}

/* Card header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.card-week-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 0.02em;
}

.card-date {
  font-size: 0.75rem;
  color: #475569;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.card-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.card-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-weight: 600;
}

.tag-ai { background: rgba(124, 58, 237, 0.15); color: #a78bfa; }
.tag-rag { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
.tag-mcp { background: rgba(5, 150, 105, 0.15); color: #34d399; }
.tag-llm { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.tag-default { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }

/* Content links */
.card-contents {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.content-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #a78bfa;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 8px;
  transition: all 0.15s;
}

.content-link:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateX(2px);
}

.content-link-icon {
  font-size: 0.9rem;
}

/* Current week badge */
.current-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* Upcoming minimal card */
.timeline-upcoming-minimal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
}

.upcoming-week {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  min-width: 2.5rem;
}

.upcoming-date {
  font-size: 0.78rem;
  color: #334155;
}

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.about-card {
  background: #13131a;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 1.25rem;
}

.about-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.about-card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

/* Footer */
footer {
  border-top: 1px solid #1e1e2e;
  padding: 1.5rem 2rem;
  text-align: center;
  color: #334155;
  font-size: 0.8rem;
}

footer a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: #94a3b8; }

/* Responsive */
@media (max-width: 640px) {
  header {
    padding: 1rem 1.25rem;
  }

  nav a {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }

  .hero {
    margin: 3rem auto 2rem;
    padding: 0 1.25rem;
  }

  .progress-section {
    padding: 0 1.25rem;
  }

  .progress-stats {
    gap: 1.5rem;
  }

  main {
    padding: 0 1.25rem 4rem;
  }

  .timeline {
    padding-left: 1.75rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}
