* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Noto Sans TC', sans-serif; }

body { background-color: #f8f9fa; color: #333333; overflow-x: hidden; }

a { text-decoration: none; color: inherit; }

header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; background-color: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); display: flex; justify-content: space-between; align-items: center; padding: 0 5%; z-index: 1000; backdrop-filter: blur(10px); }
header h1 { font-size: 22px; font-weight: 900; color: #0056b3; letter-spacing: 1px; }
header nav { display: flex; gap: 35px; }
header nav a { font-size: 15px; font-weight: 500; color: #495057; transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
header nav a:hover { color: #0056b3; transform: translateY(-2px); }

main { padding-top: 80px; }

#hero-section { height: calc(100vh - 80px); background: linear-gradient(135deg, #f0f8ff 0%, #e0f2fe 100%); background-image: url(../image/hero-bg.webp); display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 5%; position: relative; overflow: hidden; }
#hero-section::before { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,86,179,0.05) 0%, rgba(0,0,0,0) 70%); top: -200px; right: -200px; border-radius: 50%; }
#hero-section .hero-content { max-width: 900px; opacity: 0; transform: translateY(50px); transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1); position: relative; z-index: 1; }
#hero-section.is-active .hero-content { opacity: 1; transform: translateY(0); background: rgb(217 233 255 / 70%); padding: 1.5em; }
#hero-section .hero-title { font-size: 56px; font-weight: 900; color: #023e8a; margin-bottom: 25px; line-height: 1.2; letter-spacing: 2px; }
#hero-section .hero-text { font-size: 20px; color: #495057; margin-bottom: 45px; line-height: 1.7; font-weight: 400; }
#hero-section .hero-action { display: inline-block; background-color: #0077b6; color: #ffffff; padding: 18px 45px; border-radius: 50px; font-size: 18px; font-weight: 700; transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 10px 25px rgba(0, 119, 182, 0.3); letter-spacing: 1px; }
#hero-section .hero-action:hover { background-color: #023e8a; transform: translateY(-5px); box-shadow: 0 15px 35px rgba(2, 62, 138, 0.4); }

#about-section { padding: 120px 5%; background-color: #ffffff; position: relative; }
#about-section .about-title { text-align: center; font-size: 40px; font-weight: 900; color: #0056b3; margin-bottom: 80px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
#about-section .about-title::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: #48cae4; border-radius: 2px; }
#about-section .about-grid { display: grid; grid-template-columns: 1fr 50%; gap: 80px; max-width: 1200px; margin: 0 auto; align-items: center; }
#about-section .about-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
#about-section .about-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; transition-delay: 0.2s; }
#about-section.is-active .about-left { opacity: 1; transform: translateX(0); }
#about-section.is-active .about-right { opacity: 1; transform: translateX(0); }
#about-section .about-subtitle { font-size: 32px; font-weight: 700; color: #212529; margin-bottom: 25px; line-height: 1.4; }
#about-section .about-text { font-size: 17px; color: #6c757d; line-height: 1.9; margin-bottom: 25px; text-align: justify; }
#about-section .about-image { width: 100%; height: 500px; background: linear-gradient(135deg, #caf0f8 0%, #90e0ef 100%); border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); display: flex; align-items: center; justify-content: center; }
#about-section .about-image::before { content: ''; position: absolute; width: 100%; height: 100%; background-image: radial-gradient(#0077b6 1px, transparent 1px); background-size: 20px 20px; opacity: 0.1; }
#about-section .about-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: 100%; }

#services-section { padding: 120px 5%; background-color: #f8f9fa; }
#services-section .services-title { text-align: center; font-size: 40px; font-weight: 900; color: #0056b3; margin-bottom: 80px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
#services-section .services-title::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: #48cae4; border-radius: 2px; }
#services-section .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }
#services-section .service-item { background-color: #ffffff; padding: 50px 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease; border-top: 5px solid transparent; }
#services-section.is-active .service-item { opacity: 1; transform: translateY(0); }
#services-section .service-item:hover { box-shadow: 0 20px 40px rgba(0, 86, 179, 0.12); transform: translateY(-10px); border-top: 5px solid #0077b6; }
#services-section .service-subtitle { font-size: 24px; font-weight: 700; color: #212529; margin-bottom: 20px; position: relative; padding-bottom: 15px; }
#services-section .service-subtitle::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background-color: #0077b6; transition: width 0.3s ease; }
#services-section .service-item:hover .service-subtitle::after { width: 100%; }
#services-section .service-text { font-size: 16px; color: #6c757d; line-height: 1.8; }

#features-section { padding: 120px 5%; background: linear-gradient(135deg, #023e8a 0%, #0077b6 100%); color: #ffffff; }
#features-section .features-title { text-align: center; font-size: 40px; font-weight: 900; margin-bottom: 80px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
#features-section .features-title::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: #48cae4; border-radius: 2px; }
#features-section .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; max-width: 1200px; margin: 0 auto; }
#features-section .feature-item { text-align: center; opacity: 0; transform: scale(0.9); transition: opacity 0.6s ease, transform 0.6s ease; }
#features-section.is-active .feature-item { opacity: 1; transform: scale(1); }
#features-section .feature-figure { width: 90px; height: 90px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; border: 2px solid rgba(255, 255, 255, 0.2); transition: transform 0.3s ease, background-color 0.3s ease; }
#features-section .feature-item:hover .feature-figure { transform: rotateY(180deg); background-color: rgba(255, 255, 255, 0.2); }
#features-section .feature-subtitle { font-size: 22px; font-weight: 700; margin-bottom: 15px; letter-spacing: 1px; }
#features-section .feature-text { font-size: 15px; color: #caf0f8; line-height: 1.8; }

footer { background-color: #121212; color: #868e96; padding: 60px 5%; text-align: center; border-top: 4px solid #0056b3; }
footer .footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
footer .footer-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
footer .footer-links a { font-size: 15px; font-weight: 500; transition: color 0.3s ease; }
footer .footer-links a:hover { color: #ffffff; }
footer .footer-text { font-size: 14px; margin-top: 20px; opacity: 0.7; }

@media (max-width: 1280px) {
	#about-section .about-grid { gap: 50px; }
	#services-section .services-grid { gap: 30px; }
	#features-section .features-grid { gap: 30px; }
}

@media (max-width: 960px) {
	#about-section .about-grid { grid-template-columns: 1fr; text-align: center; }
	#about-section .about-right { order: -1; }
	#about-section .about-text { text-align: center; }
	#services-section .services-grid { grid-template-columns: repeat(2, 1fr); }
	#features-section .features-grid { grid-template-columns: repeat(2, 1fr); }
	#hero-section .hero-title { font-size: 42px; }
	#about-section .about-image { height: 400px; }
}

@media (max-width: 768px) {
	header { padding: 0 5%; justify-content: center; flex-direction: column; height: auto; padding-top: 15px; padding-bottom: 15px; gap: 15px; position: static; }
	main { padding-top: 0; }
	#hero-section { height: auto; padding: 100px 5%; }
	#services-section .services-grid { grid-template-columns: 1fr; }
	#hero-section .hero-title { font-size: 32px; }
	#hero-section .hero-text { font-size: 17px; }
	#about-section .about-title { font-size: 32px; }
	#services-section .services-title { font-size: 32px; }
	#features-section .features-title { font-size: 32px; }
}

@media (max-width: 500px) {
	#features-section .features-grid { grid-template-columns: 1fr; }
	header nav { gap: 15px; flex-wrap: wrap; justify-content: center; }
	#about-section .about-image { height: 250px; }
	#about-section { padding: 80px 5%; }
	#services-section { padding: 80px 5%; }
	#features-section { padding: 80px 5%; }
}