/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #1462e7 0%, #2d3748 100%);
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.header-content {
  position: relative;
  z-index: 1;
}

.header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 25px;
  font-weight: 300;
  opacity: 0.9;
}

/* Main Content */
.main-content {
  padding: 1.5rem 1rem;
}

/* Hero Image Section Carousel */
.hero-image-section {
  margin-bottom: 2.5rem;
  position: relative;
}

.swiper {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  background: #f5f5f5;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #1976d2;
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: 900;
}

/* Section Styles */
section {
  margin-bottom: 2.5rem;
}

/* Introduction Section */
.intro-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.intro-icon {
  background: #1976d2;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.intro-text p {
  margin-bottom: 1rem;
  font-size: 20px;
  line-height: 1.7;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-text strong {
  color: #1976d2;
  font-weight: 600;
}

.text-highlight {
  color: #2c4cdc;
  font-weight: 600;
}

/* Notice Section */
.notice-section h2 {
  color: #f57c00;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notice-section h2 i {
  font-size: 1.2rem;
}

.notice-intro {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
  text-align: center;
  padding: 1rem;
  background: #fff3e0;
  border-radius: 8px;
  border-left: 4px solid #f57c00;
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.requirement-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.requirement-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.requirement-icon {
  background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(67, 160, 71, 0.3);
}

.requirement-text h3 {
  color: #2e7d32;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.requirement-text p {
  color: #666;
  font-size: 20px;
  line-height: 1.6;
}

/* Survey Section */
.survey-card {
  background: linear-gradient(135deg, #fff3e0 0%, #f3e5f5 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.survey-icon {
  background: #ff9800;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.survey-content h3 {
  color: #e65100;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.survey-content p {
  color: #666;
  font-size: 20px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Document Section */
.document-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.document-icon {
  background: #4285f4;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.document-content h3 {
  color: #1565c0;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.document-content p {
  color: #666;
  font-size: 20px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.document-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.document-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.document-link i:first-child {
  font-size: 1.2rem;
}

.document-link i:last-child {
  font-size: 0.9rem;
}

/* Status Section */
.status-card {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f4ff 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.status-content h3 {
  color: #2e7d32;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-content p {
  color: #666;
  font-size: 20px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Action Button Common Styles */
.action-button {
  width: 280px;
  height: 56px;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 50px;
  margin: 0 auto;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  gap: 0.8rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  height: 600px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: linear-gradient(135deg, #1462e7 0%, #2d3748 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.close {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 2rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#modalText {
  font-size: 20px;
  line-height: 1.7;
  text-align: justify;
  color: #333;
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.modal-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.modal-navigation button {
  background: linear-gradient(135deg, #1462e7 0%, #2d3748 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-navigation button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 98, 231, 0.3);
}

.modal-navigation button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.modal-navigation .finish-btn {
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-navigation .finish-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

#pageIndicator {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Orange button for survey */
.action-button.orange {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.action-button.orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* Green button for status */
.action-button.green {
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.action-button.green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Blue button for main */
.action-button.blue {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.action-button.blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

/* Main Section */
.main-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-content h3 {
  color: #1565c0;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.main-content p {
  color: #666;
  font-size: 20px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Thanks Section */
.thanks-card {
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.thanks-icon {
  background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.thanks-card h3 {
  color: #ad1457;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.thanks-card p {
  color: #666;
  font-size: 20px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #f5f5f5;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.footer-content p {
  color: #666;
  font-size: 20px;
  margin-bottom: 0.5rem;
}

.footer-content p:last-child {
  margin-bottom: 0;
}

.footer-note {
  font-size: 0.85rem;
  color: #888;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .container {
    margin: 0;
    box-shadow: none;
  }

  .header {
    padding: 1.5rem 1rem;
  }

  .header h1 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .main-content {
    padding: 1.5rem 1rem;
  }

  .hero-image {
    height: 250px;
  }

  .intro-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .intro-icon {
    margin: 0 auto;
  }

  .requirement-item {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .requirement-icon {
    margin: 0 auto;
  }

  .requirement-text {
    text-align: center;
  }

  .requirement-text h3 {
    text-align: center;
  }

  .requirement-text p {
    text-align: center;
  }

  .survey-card,
  .status-card,
  .main-card,
  .document-card,
  .thanks-card {
    padding: 1.5rem;
  }

  .document-link {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .action-button {
    width: 260px;
    height: 50px;
    font-size: 1.8rem;
  }

  .modal-content {
    width: 95%;
    margin: 3% auto;
    height: 650px;
    max-height: 85vh;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .footer {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .header i {
    font-size: 2rem;
  }

  .header h1 {
    font-size: 1.4rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .hero-image {
    height: 200px;
  }

  .intro-card,
  .requirement-item,
  .survey-card,
  .status-card,
  .main-card,
  .document-card,
  .thanks-card {
    padding: 1rem;
  }

  .document-link {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }

  .action-button {
    width: 240px;
    height: 48px;
    font-size: 0.95rem;
    flex-direction: row;
    gap: 0;
  }

  .modal-content {
    width: 98%;
    margin: 1% auto;
    height: 585px;
    max-height: 95vh;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-navigation button,
  .modal-navigation .finish-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Animation */
.hero-image-container,
.intro-card,
.requirement-item,
.survey-card,
.status-card,
.main-card,
.document-card,
.thanks-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation */
.hero-image-container {
  animation-delay: 0.1s;
}

.intro-card {
  animation-delay: 0.2s;
}

.notice-section {
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.survey-section {
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
  opacity: 0;
}

.status-section {
  animation: fadeInUp 0.6s ease-out 0.5s forwards;
  opacity: 0;
}

.main-section {
  animation: fadeInUp 0.6s ease-out 0.6s forwards;
  opacity: 0;
}

.document-section {
  animation: fadeInUp 0.6s ease-out 0.7s forwards;
  opacity: 0;
}

.thanks-section {
  animation: fadeInUp 0.6s ease-out 0.8s forwards;
  opacity: 0;
}
