/* ==========================================================================
   Components - 재사용 가능한 UI 컴포넌트 스타일
   ========================================================================== */

/* Glass Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-secondary);
}

.glass-card:hover {
  background: var(--bg-glass-hover);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background-color: #2563eb;
  color: white;
  border-radius: 1rem;
  font-weight: 900;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  border-radius: 1rem;
  font-weight: 900;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-glass-hover);
  border-color: var(--border-secondary);
}

.btn-cta {
  display: inline-block;
  padding: 1.5rem 3rem;
  background-color: white;
  color: #030712;
  border-radius: 1.5rem;
  font-weight: 900;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 30px 60px rgba(255, 255, 255, 0.1);
}

.btn-cta:hover {
  background-color: #06b6d4;
  color: white;
  transform: scale(1.05);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.btn-link:hover {
  color: var(--text-primary);
}

/* Form Elements */
.form-input {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #06b6d4;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

/* Badge / Tag */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-primary {
  background-color: rgba(37, 99, 235, 0.2);
  color: #3b82f6;
}

.badge-cyan {
  background-color: #06b6d4;
  color: #030712;
}

/* Icon Box */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  transition: all 0.5s ease;
}

.icon-box-primary {
  background-color: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #3b82f6;
}

.icon-box-primary:hover,
.group:hover .icon-box-primary {
  background-color: #2563eb;
  color: white;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

/* Section Header */
.section-subtitle {
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 4.5rem;
  }
}

/* Stats */
.stat-number {
  font-size: 3.75rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.stat-label {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Process Step */
.process-step {
  display: flex;
  align-items: flex-start;
}

.process-step-number {
  width: 3rem;
  height: 3rem;
  background-color: var(--bg-input);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  margin-right: 2rem;
}

/* Project Card */
.project-card {
  cursor: pointer;
}

.project-card-image {
  aspect-ratio: 4/5;
  border-radius: 3rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.1);
}

/* Timeline */
.timeline {
  position: relative;
  border-left: 2px solid var(--border-input);
  margin-left: 1rem;
  padding: 2rem 0;
}

.timeline-item {
  margin-bottom: 3rem;
  margin-left: 2.5rem;
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -3.5rem;
  top: 0.25rem;
  width: 2rem;
  height: 2rem;
  background-color: #2563eb;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-primary);
}

.timeline-marker-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: white;
  border-radius: 50%;
}