body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.8; padding: 0; margin: 0; color: #333; }        
.header { background: #005da4; color: white; padding: 20px; text-align: center; }
.header-content { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 10px; flex-wrap: wrap; }
.site-logo { height: 60px; width: auto; padding: 2px; } 
.header h1 { margin: 0; line-height: 1.2; }
.header p { margin: 5px 0 0 0; opacity: 0.9; }

.nav { background: #004a80; padding: 12px 5px; text-align: center; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.nav a { color: white; text-decoration: none; font-size: 16px; font-weight: bold; padding: 5px 8px; white-space: nowrap; border-radius: 4px; transition: background 0.3s; }
.nav a:hover { background: rgba(255,255,255,0.1); }

.container { max-width: 900px; margin: 40px auto; padding: 0 20px; }
.container h1 { margin: 0; font-size: 2em; }
/* .container h2 { color: #333; margin-top: 40px; background: #f4f4f4; padding: 10px; border-left: 5px solid #005da4; } */
.container a, .article-container a { color: #005da4; font-weight: bold; }

.footer { padding: 30px 20px; font-size: 0.8em; color: #777; border-top: 1px solid #ddd; text-align: center; margin-top: 50px; background-color: #fff; }
.footer .footer-nav { margin: 15px 0; }
.footer .footer-nav a { color: #555; text-decoration: none; margin: 0 10px; }
.footer .disclaimer { font-size: 0.85em; color: #999; margin-top: 20px; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.5; }

.mobile-only { display: none; }

.en-text { color: #555; font-size: 0.95em; margin-bottom: 5px; font-style: italic; display: block; }
.zh-text { color: #000; margin-bottom: 20px; display: block; }

.content-box { background: #f9f9f9; padding: 30px; border-radius: 8px; border-left: 5px solid #005da4; }
.contact-info { margin-top: 30px; padding: 20px; background: #eef7ff; border-radius: 8px; }

.hero { text-align: center; margin-bottom: 50px; }
.card { background: white; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 25px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.app-icon { width: 100px; height: 100px; border-radius: 15px; margin-right: 20px; object-fit: cover; }
.card-content { flex: 1; padding-right: 20px; }
.action-box { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 140px; }
.btn { background: #005da4; color: white !important; padding: 12px 24px; text-decoration: none; border-radius: 5px; font-weight: bold; display: inline-block; white-space: nowrap; text-align: center; box-sizing: border-box; border: none; }
.btn:hover { background: #004a80; }  
.btn-secondary { background: #6c757d; } /* Grey button for navigation */
.btn-secondary:hover { background: #5a6268; }      
.tutorial-link { color: #005da4; font-size: 0.9em; text-decoration: none; font-weight: 500; white-space: nowrap; }
.tutorial-link:hover { text-decoration: underline; }

.request-box { background: #eef7ff; border: 2px solid #b3d7ff; border-radius: 12px; padding: 30px 20px; text-align: center; margin-top: 40px; }
.request-box h3 { color: #005da4; margin-top: 0; }
.email-link { font-weight: bold; color: #005da4; font-size: 1.1em; text-decoration: none; background: white; padding: 5px 15px; border-radius: 20px; border: 1px solid #005da4; display: inline-block; margin-top: 10px; }
.email-link:hover { background: #005da4; color: white; }

.tutorial-container { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.tutorial-header { text-align: center; margin-bottom: 30px; border-bottom: 2px solid #f0f0f0; padding-bottom: 20px; }
.tutorial-header h1 { color: #005da4; margin-bottom: 10px; }
.step-block { margin-bottom: 50px; border-bottom: 1px solid #eee; padding-bottom: 40px; }
.step-block:last-of-type { border-bottom: none; margin-bottom: 30px; padding-bottom: 0; }
.step-num { display: inline-block; background: #005da4; color: white; font-weight: bold; padding: 5px 12px; border-radius: 20px; margin-bottom: 15px; }
.step-title { font-size: 1.5em; margin-top: 0; margin-bottom: 20px; color: #333; }
.step-img-container { text-align: center; margin: 25px 0; }
.step-img { max-width: 100%; width: auto; height: auto; max-height: 600px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: 1px solid #eee; }

/* Tabs Styling */
.tab-buttons { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; border-bottom: 1px solid #ddd; padding-bottom: 0; }
.tab-btn { background: none; border: none; padding: 15px 30px; font-size: 1.1em; font-weight: bold; color: #777; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s; }
.tab-btn:hover { color: #005da4; background-color: #f8fbff; }
.tab-btn.active { color: #005da4; border-bottom: 3px solid #005da4; }
.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.privacy-highlight { background-color: #e8f4fd; border-left: 5px solid #005da4; padding: 25px; border-radius: 5px; margin-top: 30px; margin-bottom: 50px; }
.privacy-highlight h3 { margin-top: 0; color: #005da4; display: flex; align-items: center; }
.privacy-icon { font-size: 1.5em; margin-right: 10px; }
.privacy-content p { margin-bottom: 10px; }

.cta-section { text-align: center; margin-top: 40px; padding-top: 30px; border-top: 2px solid #f0f0f0; }


/* Blog */
.category-section { margin-bottom: 40px; }
.category-title { border-bottom: 2px solid #005da4; color: #005da4; padding-bottom: 5px; margin-bottom: 15px; }
.blog-card { background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: inherit; transition: 0.2s; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.blog-card h4 { margin: 0; color: #333; }
.blog-date { font-size: 0.85em; color: #888; text-wrap-mode: nowrap; padding:5px; }

.article-container { max-width: 700px; margin: 30px auto; padding: 30px; background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.article-container hr { margin: 40px 0; border: 0; border-top: 1px solid #eee; }
.post-meta { color: #888; font-size: 0.9em; margin-bottom: 20px; }
.featured-image { width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; }
.article-container h1 { color: #005da4; line-height: 1.3; }
.article-container h2 { color: #005da4; border-left: 4px solid #005da4; padding-left: 15px; margin-top: 40px; }
.highlight-box { background: #f0f7ff; padding: 20px; border-radius: 8px; border-left: 5px solid #005da4; margin: 20px 0; }    

.article-related { background-color: #f8f9fa; border: 1px solid #e0e0e0; padding: 15px; border-radius: 8px; margin: 20px 0; }
.article-related p { margin: 0; font-weight: bold; color: #005da4; }
.article-related a { text-decoration: none; color: #333; display: block; margin-top: 5px; }



 @media (max-width: 600px) { 
    .mobile-only { display: block; }       

    .nav { padding: 8px; gap: 5px; }
    .nav a { font-size: 13px; padding: 6px 10px; background: rgba(255,255,255,0.05); flex: 1 1 40%; text-align: center; }                      

    .footer .footer-nav a { margin: 0 5px; }    
    
    .card { flex-direction: column; text-align: center; } 
    .app-icon { margin-right: 0; margin-bottom: 15px; width: 80px; height: 80px; }
    .card-content { padding-right: 0; margin-bottom: 20px; } 
    .action-box { width: 100%; }

    .tutorial-container { padding: 25px 20px; }
    .step-img { width: 100%; max-height: none; }
    .btn { width: 100%; box-sizing: border-box; text-align: center; }
    .tab-btn { padding: 10px 15px; font-size: 0.95em; }

    .blog-date { white-space: nowrap; font-size: 0.8em; padding-left: 10px; }
}