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

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  line-height: 1.6;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  gap: 43px;
  height: 60px;
}

.logo img {
  height: 35px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;

  height: 100%;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  padding: 0 17px;
  border-radius: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a:hover {
  color: #02343f;
  font-weight: 700;
  background-color: rgba(2, 52, 63, 0.1);
}

.nav-links a.active {
  color: #02343f;
  font-weight: 700;
  border-bottom: 2px solid #02343f;
}

.nav-links li {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Header Actions Container */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 34px;
  width: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  border-radius: 4px;
}

.language-selector:hover {
  background: #e2e8f0;
  border-color: #02343f;
}

.language-icon {
  font-size: 13px;
  color: #02343f;
}

.current-lang {
  font-weight: 600;
  color: #02343f;
  font-size: 13px;
}

.login-btn {
  background: #02343f;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
  height: 34px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-btn:hover {
  background: #012a35;
}

/* Hero Section */
.hero {
  background: url("/images/backgrounds/bg.webp") center center/cover no-repeat;
  color: white;
  padding: 120px 0 80px;
  text-align: left;
  position: relative;
  overflow: hidden;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #000 0%, #000 100%);
  opacity: 0.6;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.hero-text {
  flex: 1;
  text-align: center;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.4;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.5;
  opacity: 0.9;
}

.break-on-mobile {
  display: inline;
}

.hero-cta {
  display: inline-block;
  background: #ffffff;
  color: #02343f;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #02343f;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: #f8fafc;
  border-radius: 50%;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #02343f;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #1e293b;
  font-weight: 600;
}

.service-card p {
  color: #475569;
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Feature Table */
.feature-table-container {
  margin: 40px 0;
}

.feature-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-table th,
.feature-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
}

.feature-table th {
  background: linear-gradient(135deg, #02343f 0%, #1a4a5a 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.feature-table tr:last-child td {
  border-bottom: none;
}

.feature-table tr:hover {
  background: #f8fafc;
  transition: background-color 0.2s ease;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  margin-bottom: 16px;
  font-size: 0.95rem;
  padding: 16px 20px;
  background: #f8fafc;
  border-left: 3px solid #02343f;
  transition: all 0.2s ease;
}

.check-list li:hover {
  background: #f1f5f9;
  transform: translateX(2px);
}

.check-list .icon {
  color: #02343f;
  margin-right: 8px;
  font-weight: bold;
}

/* Suitable Companies Section */
.suitable-companies {
  margin-top: 30px;
  padding: 25px;
  background: #f8fafc;
  border-radius: 4px;
}

.suitable-companies h3 {
  color: #1e293b;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.company-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-list li {
  margin-bottom: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 3px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.company-list li:hover {
  background: #f1f5f9;
  border-color: #02343f;
}

.btn-primary {
  display: inline-block;
  background: #02343f;
  color: white;
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background: #012a35;
}

/* Service Introduction Section */
.service-intro {
  padding: 80px 0;
  background: #ffffff;
}

.service-intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-intro-text {
  max-width: 500px;
}

.service-intro-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #02343f;
  margin-bottom: 30px;
  line-height: 1.2;
}

.service-intro-description {
  margin-bottom: 30px;
}

.service-intro-description p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.service-intro-cta {
  display: inline-block;
  background: #02343f;
  color: white;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.service-intro-cta:hover {
  background: #012a35;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.service-intro-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-intro-img {
  width: 95%;
  height: auto;
  transition: transform 0.3s ease;
}

.service-intro-img:hover {
  transform: scale(1.02);
}

/* Features Section */
.features {
  padding: 80px 0;
}

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

.feature-item {
  text-align: center;
  padding: 25px 16px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: #e8f4f8;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #02343f;
  font-size: 1.5rem;
}

/* Process Section */
.process {
  padding: 80px 0;
  background: #f8f9fa;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-step {
  text-align: center;
  padding: 25px 16px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #02343f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto 16px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #02343f 0%, #1a4a5a 100%);
  color: #ffffff;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.contact-section .section-title {
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.contact-item:hover {
  background-color: white;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.contact-item:hover h3 {
  color: #02343f;
}

.contact-item span {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.contact-item:hover span {
  color: #02343f;
}

/* 이메일 링크 스타일 */
.contact-item a[href^="mailto:"] {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item:hover a[href^="mailto:"] {
  color: #02343f;
}

.kakao-icon {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.contact-item:hover .kakao-icon {
  filter: brightness(0);
}

.contact-hours {
  font-size: 0.8rem;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-message {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.8;
}

/* 도입 문의 폼 스타일 */
.inquiry-form-container {
  margin: 40px auto 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #02343f;
  box-shadow: 0 0 0 3px rgba(2, 52, 63, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.privacy-agreement {
  margin-top: 10px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #1e293b;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.submit-btn {
  background: #02343f;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #012a35;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 52, 63, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* 폼 제출 성공/실패 메시지 */
.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 20px;
  font-weight: 500;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #02343f 0%, #045a6b 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.btn-white {
  background: white;
  color: #02343f;
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-white:hover {
  background: #f0f0f0;
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 50px 0 25px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 25px;
}

.footer-section h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #555;
  color: #999;
  font-size: 0.85rem;
}

.footer-company-info {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.company-icon {
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
}

.company-details {
  flex: 1;
}

.company-details p {
  margin: 0 0 8px 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: white;
}

.company-name {
  font-weight: 600;
  color: white;
}

.company-address {
  font-size: 0.8rem;
}

.company-links {
  font-size: 0.8rem;
}

.company-links a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.company-links a:hover {
  opacity: 0.7;
}

.company-copyright {
  font-size: 0.8rem;
  color: white;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 700px) {
  .break-on-mobile {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .language-selector {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .language-icon {
    font-size: 0.9rem;
  }

  .current-lang {
    font-size: 0.75rem;
  }

  .login-btn {
    padding: 6px 16px;
    font-size: 0.9rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-left: 0;
  }

  .services {
    padding: 50px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-table th,
  .feature-table td {
    padding: 12px 10px;
    font-size: 0.85rem;
  }

  .service-intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-intro-title {
    font-size: 1.2rem;
  }

  .service-intro-description p {
    font-size: 0.9rem;
  }

  .service-intro-img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .header-actions {
    gap: 8px;
  }

  .language-selector {
    padding: 4px 8px;
    gap: 4px;
  }

  .language-icon {
    font-size: 0.8rem;
  }

  .current-lang {
    font-size: 0.7rem;
  }

  .login-btn {
    padding: 5px 12px;
    font-size: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }

  .service-card {
    padding: 25px 16px;
  }

  .feature-table th,
  .feature-table td {
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .check-list li {
    font-size: 0.85rem;
    padding: 14px 16px;
  }

  .contact-section {
    margin: 0 8px;
    border-radius: 4px;
  }

  .inquiry-form-container {
    padding: 15px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* 반응형 폼 */
@media (max-width: 768px) {
  .inquiry-form-container {
    padding: 20px;
    /* margin: 0 auto 30px; */
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .submit-btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .footer-company-info {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .company-icon {
    font-size: 1.5rem;
  }

  .company-details p {
    font-size: 0.8rem;
  }
}

/* 모달 스타일 */
.modalset {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s, visibility 0.3s;
  will-change: opacity;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  opacity: 0;
  visibility: hidden;
}

.modalset.modalset-active {
  opacity: 1;
  visibility: visible;
}

.modalset.modalset-md .modalset-content {
  max-width: 80rem;
}

.modalset .modalset-content {
  position: relative;
  width: 100%;
  max-width: 80rem;
  padding: 2.4rem;
  background-color: #fff;
  border-radius: 0.6rem;
}

.modalset .modalset-header {
  position: relative;
  margin-bottom: 2.4rem;
  padding-right: 4rem;
  padding-bottom: 2.4rem;
}

.modalset .modalset-header::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  bottom: 0;
  width: calc(100% + 4.8rem);
  height: 1px;
  background-color: #e5e5e5;
}

.modalset .modalset-header .modalset-close {
  position: absolute;
  right: 0;
  top: 0;
}

.modalset .modalset-body {
  max-height: 48rem;
  overflow-y: auto;
}

.modalset .modalset-body::-webkit-scrollbar {
  width: 6px;
}

.modalset .modalset-body::-webkit-scrollbar-track {
  background-color: #ddd;
}

.modalset .modalset-body::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

.modalset .modalset-textarea {
  width: 100%;
}

.modalset .modalset-close {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.modalset .modalset-close::before {
  content: "×";
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  font-size: 2rem;
  line-height: 2.4rem;
  text-align: center;
  display: block;
}

.modalset .modalset-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

/* 모달 내용 스타일 */
.info-area {
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-group {
  margin-bottom: 2rem;
}

.info-group strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.info-desc p {
  margin-bottom: 1rem;
  color: #555;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.info-list li {
  margin-bottom: 0.5rem;
}

.info-list li em {
  font-style: normal;
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 0.3rem;
}

.info-list li p {
  margin: 0.3rem 0 1rem 0;
  color: #666;
}

.fw-medium {
  font-weight: 500;
}

.mtb {
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .modalset {
    padding: 1rem;
  }

  .modalset .modalset-content {
    padding: 1.5rem;
  }

  .modalset .modalset-header {
    padding-right: 3rem;
    padding-bottom: 1.5rem;
  }

  .modalset .modalset-body {
    max-height: 60vh;
  }
}
