:root {
  /* 컬러 시스템 */
  --color-text: #3f3b37;
  --color-text-light: #61605c;
  --color-shadow: #0000001a;
  
  /* 브랜드 컬러 */
  --color-white: #ffffff;
  --color-gray: #eeeeee;
  --color-gray-light: #f8f9fa;
  --color-gray-dark: #d5d5d5;
  --color-black: #212529;

  --color-blue: #01afec;
  --color-blue-hover: #0199d3;
  --color-blue-alpha: #01afecb3;
  
  --color-yellow: #f9be00;
  --color-yellow-light: #f6edad;

  --color-green: #73c899;
  --color-green-light: #abdec2;
  --color-green-dark: #0c964a;

  --color-purple: #9973e9;
  
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--color-text-light);
}
h1,
h2,
h3,
p {
  color: var(--color-text);
}
img {
  max-width: 100%;
}
/* utility class */
.width {
  width: 1240px;
  margin: 0 auto;
}
.flex {
  display: flex;
}
.relative {
  position: relative;
}
section {
  height: 540px;
}

.flex-col {
  flex-direction: column;
}

/* utility class END */
/* header 영역 */
header {
  background-color: var(--color-white);
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0;
}

.header-logo {
  height: 19px;
  width: 116px;
}

header nav ul {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  gap: 20px;
  font-weight: 800;
}

header nav ul li a {
  font-weight: 800;
  padding: 15px 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  color: var(--color-text);
  background-color: var(--color-gray-light);
}

header nav ul li a.active {
  color: var(--color-text);
}

/* 드롭다운이 hover 상태일 때 서비스 탭도 hover 상태 유지 */
.dropdown:hover > a {
  color: var(--color-text);
  background-color: var(--color-gray-light);
}

/* 드롭다운 메뉴 스타일 */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  width: 100vw;
  background-color: var(--color-white);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 드롭다운 활성화 시 메인 콘텐츠 블러 처리 */
body.dropdown-active main,
body.dropdown-active section {
  filter: blur(5px);
  transition: filter 0.4s ease;
}

/* 일반 상태에서는 블러 없음 */
main,
section {
  filter: none;
  transition: filter 0.4s ease;
}

.dropdown-menu .menu-container {
  max-width: 996px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.dropdown-menu .menu-item {
  display: block;
}

.dropdown-menu .menu-item a {
  display: block;
  padding: 20px 30px;
  font-size: 16px;
  font-weight: 800;
  transition: all 0.3s ease;
  border-radius: 12px;
  text-align: center;
  min-width: 140px;
}

.dropdown-menu .menu-item a:hover {
  background-color: var(--color-gray-light);
  color: var(--color-text);
  transform: translateY(-2px);
}

.dropdown-menu .menu-item a.active {
  color: var(--color-text);
}

/* 서비스 탭과 드롭다운 아이템이 active일 때 */
.dropdown.active > a,
.dropdown > a.active {
  color: var(--color-text);
  font-weight: 800;
}

header h1 {
  font-size: 16px;
}

/* main 영역 */
main {
  position: relative;
  /* height: calc(70dvh - 70px); */
  padding: 230px 0 160px 0;
  align-items: center;
  background: linear-gradient(
    var(--color-white) 15%,
    var(--color-yellow-light)
  );
}

.main-container {
  position: relative;

  height: 100%;
  align-items: center;
}
.main-container > div {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.main-container p {
  font-size: 18px;
  line-height: 1.5;
}
.main-container h1 {
  color: var(--color-black);
}
.main-container h2 {
  font-size: 26px;
  line-height: 1.5;
  margin-top: 12px;
  color: var(--color-black);
}

.main-logo {
  margin-top: 18px;
}

.main-logo img {
  height: 150px;
  margin-left: 18px;
}
.company-logo {
  margin-bottom: 32px;
}

.company-logo img {
  height: 80px;
}
.contact-contentbox {
  display: flex;
  gap: 30px;
  margin-top: 28px;
}

.contact-contentbox a:nth-child(1) {
  padding: 8px 40px;
  border-radius: 30px;
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.contact-contentbox a:nth-child(2) {
  padding: 8px 35px;
  background-color: var(--color-white);
  border-radius: 30px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.contact-contentbox a:nth-child(3) {
  padding: 8px 35px;
  background-color: var(--color-gray-dark);
  border-radius: 30px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.section-mese {
  padding: 100px 0;
  height: 440px;
  position: relative;
  background-color: var(--color-white);
  z-index: 1;
}

.bg-mese-accent {
  background-color: var(--color-green);
}

.bg-gray {
  background-color: var(--color-gray-light);
}

.section-right {
  width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
}
.section-text-right {
  line-height: 1.5;
  font-weight: 400;
  text-align: right;
  margin-bottom: 30px;
}
.section-left {
  width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
}
.section-text-left {
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  margin-bottom: 30px;
}
.section-center {
  width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.section-1 {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  height: 100%;
}
.section-1 > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
}
.section-img {
  width: 240px;
  height: 320px;
  z-index: 1;
}
.section-text-1 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  text-align: right;
}

.section-text-2 {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 30px;
  text-align: right;
}

/* section-2 영역 */
.section-2 {
  background-color: var(--color-purple);
  text-align: center;
  z-index: 100;
}
.section-2 > .width {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section-2-content-text {
  line-height: 1.5;
  font-size: 26px;
}

.section-2-content-text h3 {
  color: var(--color-white);
}

.section-2-content-text p {
  color: var(--color-white);
  margin-top: 24px;
  font-size: 18px;
}

.section-2-img-wrap {
  display: flex;
  justify-content: center;
  padding-top: 50px;
  gap: 40px;
}

.section-2-img-wrap img {
  width: 150px;
  height: 150px;
}

.section-2-img-wrap img:nth-child(even) {
  align-self: flex-end;
}

.section-2-img-wrap > div {
  height: 200px;
}

/* section-3 영역 */
.section-3 {
  position: relative;
}
.section-3 > div {
  height: 100%;
}
.section-3-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.section-3-img-wrap img {
  width: 315px;
  height: 100px;
}

.section-3-img-wrap img:nth-child(3) {
  width: 320px;
  height: 85px;
}

.section-3-img-wrap img:nth-child(1) {
  transform: translateX(-150px);
}

.section-3-img-wrap img:nth-child(2) {
  transform: translate(150px, -55px);
}

.section-3-img-wrap img:nth-child(3) {
  transform: translate(-70px, -85px);
}

/* section-4 영역 */
/* .section-4 {
  padding-bottom: 480px;
} */
.section-4-text-content {
  display: flex;
  gap: 80px;
  justify-content: center;
}
.section-4-img-1 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-4-img-1 .img-1 {
  width: 360px;
  height: 88px;
}
.section-4-img-1 .img-2 {
  width: 360px;
  height: 240px;
}
.section-4-img-2 {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.section-4-img-2 .img-3 {
  width: 360px;
  height: 88px;
}
.section-4-img-2 .img-4 {
  width: 360px;
  height: 311px;
}

/* section-5 */
.section-5 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 150px;
}
.section-5-container {
  max-width: 996px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 50px;
}

.qr-content {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-radius: 10px;
}
.qr-img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
}
.qr-text {
  font-size: 30px;
  color: var(--color-text);
  padding-bottom: 150px;
  line-height: 1.6;
}

/* footer 영역 */
footer {
  background-color: var(--color-gray);
}

.footer-container {
  max-width: 996px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 0;
  gap: 10px;
}

.footer-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
  font-size: 14px;
}

.footer-text span {
  position: relative;
}

.footer-text span::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 8px;
  background-color: var(--color-text-light);
  right: -6px;
  bottom: 4px;
  opacity: 50%;
}

.footer-text span:last-child::after {
  opacity: 0;
}

.footer-text-2 {
  color: var(--color-text-light);
}

.footer-text-3 {
  font-weight: 600;
  color: var(--color-text-light);
}

/* 회사 소개 페이지 스타일 */
/* 1. 히어로 섹션 */
.main-company {
  background: linear-gradient(
    var(--color-white) 15%,
    var(--color-blue-alpha)
  );
}

.main-mese {
  background: linear-gradient(var(--color-white) 15%, var(--color-green));
}

.mese-section-2 {
  background-color: var(--color-green-light);
  position: relative;
  z-index: 100;
}
.mese-accent {
  background-color: var(--color-green-dark);
}
.duckmate-accent {
  background-color: var(--color-yellow);
}

main h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 20px;
}

main h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 40px;
}

.mission-points {
  margin: 40px 0;
}

.mission-points .point {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.6;
}

.mission-points .check {
  color: var(--color-blue);
  font-weight: 800;
  margin-right: 12px;
  font-size: 20px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.btn-primary {
  padding: 16px 32px;
  background-color: var(--color-blue);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-blue-hover);
}

.btn-secondary {
  padding: 16px 32px;
  background-color: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  border: 2px solid var(--color-text);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

/* 2. 기술 기업 섹션 */
.section-tech {
  padding: 160px 0;
  height: 100%;
  background-color: var(--color-gray-light);
}

.section-tech h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  text-align: center;
}

.section-tech .subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  text-align: center;
}

.tech-features {
  max-width: 800px;
  margin: 40px auto;
}

.tech-features .feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
}

.tech-features .feature span:first-child {
  color: var(--color-text);
  font-weight: 800;
  margin-right: 12px;
  margin-top: 2px;
}

.company-statement {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-blue);
  padding: 30px;
  margin: 40px auto 0 auto;
  max-width: 800px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--color-shadow);
  text-align: center;
}

/* 3. 글로벌 행동력 섹션 */
.section-execution {
  padding: 160px 0;
  height: 100%;
}

.section-execution h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 30px;
  text-align: center;
}

.execution-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  font-size: 20px;
  font-weight: 600;
}

.execution-intro .check {
  color: var(--color-blue);
  font-weight: 800;
  margin-right: 12px;
  font-size: 24px;
}

.apps-table {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--color-shadow);
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background-color: var(--color-text);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
}

.table-header > div {
  padding: 20px 16px;
  text-align: center;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--color-gray);
}

.table-row:last-child {
  border-bottom: none;
}

.table-row > div {
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.region {
  flex-direction: column;
  gap: 8px;
}

.flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
}

.app-name {
  font-weight: 700;
  color: var(--color-text);
}

.features {
  font-size: 14px;
  line-height: 1.4;
}

.launch-date {
  font-weight: 600;
}

.note {
  flex-direction: column;
  gap: 12px;
}

.note p {
  font-size: 12px;
  color: var(--color-text-light);
  margin: 0;
}

.download-links {
  display: flex;
  gap: 8px;
}

.app-link {
  padding: 8px 16px;
  background-color: var(--color-blue);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.app-link:hover {
  background-color: var(--color-blue-hover);
}

/* 덕메이트 페이지 스타일 - index.html 디자인 참고 */

/* 덕메이트 섹션 제목 공통 스타일 */
.duckmate-problems .section-title,
.duckmate-intro .section-title,
.duckmate-services .section-title,
.duckmate-start .section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 30px;
  text-align: center;
}

/* 문제점 섹션 (section-1) - section-tech 스타일 참고 */
.duckmate-problems {
  background-color: var(--color-gray-light);
}

.section-list {
  max-width: 800px;
}

.section-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
}

.section-item .bullet {
  color: var(--color-text);
  font-weight: 800;
  margin-right: 12px;
  margin-top: 2px;
}

/* 소개 섹션 (section-2) - section-tech 스타일과 유사하게 */
.duckmate-intro {
  padding: 160px 0;
  height: 100%;
  background-color: var(--color-white);
}

.intro-features {
  max-width: 800px;
  margin: 40px auto;
}

.intro-highlight {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-yellow);
  padding: 30px;
  margin: 40px auto 0 auto;
  max-width: 800px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--color-shadow);
  text-align: center;
}

.intro-highlight .highlight {
  color: var(--color-yellow);
  font-weight: 800;
}

/* 서비스 구조 섹션 (section-3) */
.duckmate-services {
  background-color: var(--color-gray-light);
}

.services-features {
  max-width: 800px;
  margin: 40px auto;
}

/* 시작하기 섹션 (section-4) - section-execution 스타일 참고 */
.duckmate-start {
  background-color: var(--color-white);
}

.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
}

.qr-description {
  font-size: 18px;
  color: var(--color-text-light);
  font-weight: 600;
}
