﻿:root { --primary: rgb(15, 118, 110); --primary-hover: rgb(13, 148, 136); --primary-light: rgba(15, 118, 110, 0.05); --text-dark: #111827; --text-main: #374151; --text-muted: #6b7280; --bg-body: #f9fafb; --bg-white: #ffffff; --border: #e5e7eb; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); --radius: 8px; --radius-lg: 16px; --container-width: 1200px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul, ol { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
        h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 700; line-height: 1.3; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s; text-align: center; }
        .btn-primary { background-color: var(--primary); color: #fff; box-shadow: 0 4px 14px 0 rgba(15,118,110,0.39); }
        .btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,118,110,0.4); }
        .header { background: var(--bg-white); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; line-height: 1; color: var(--primary); white-space: nowrap; letter-spacing: 1px; }
        .nav-desktop { display: flex; gap: 32px; align-items: center; }
        .nav-desktop a { font-size: 16px; font-weight: 500; color: var(--text-dark); position: relative; }
        .nav-desktop a:hover { color: var(--primary); }
        .nav-desktop a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
        .nav-desktop a:hover::after { width: 100%; }
        .header-actions { display: flex; align-items: center; gap: 16px; }
        .menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text-dark); cursor: pointer; }
        .drawer-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
        .drawer-mask.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-white); z-index: 1000; box-shadow: var(--shadow-lg); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; overflow-y: auto; }
        .drawer.active { transform: translateX(300px); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { background: none; border: none; font-size: 28px; color: var(--text-muted); cursor: pointer; line-height: 1; }
        .drawer-nav { padding: 20px 0; }
        .drawer-nav a { display: block; padding: 12px 24px; font-size: 16px; font-weight: 500; color: var(--text-dark); border-left: 4px solid transparent; }
        .drawer-nav a:hover { background: var(--primary-light); color: var(--primary); border-left-color: var(--primary); }
        .footer { background: #042F2E; color: #ccfbf1; padding: 64px 0 32px; margin-top: 64px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-top: 16px; font-size: 14px; opacity: 0.8; max-width: 300px; }
        .footer-title { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 24px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { font-size: 14px; opacity: 0.8; }
        .footer-links a:hover { opacity: 1; color: #5eead4; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; opacity: 0.7; }
        .footer-bottom-links { display: flex; gap: 16px; }
        @media (max-width: 992px) { .nav-desktop, .header-actions .btn { display: none; } .menu-toggle { display: block; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
        @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 16px; text-align: center; } }

        
        .tag-hero { background: var(--bg-white); padding: 80px 0; text-align: center; border-bottom: 1px solid var(--border); }
        .tag-hero h1 { font-size: 36px; color: var(--primary); margin-bottom: 16px; }
        .tag-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

        .tag-cloud-section { padding: 60px 0; background: var(--bg-body); min-height: 50vh; }
        .tag-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 900px; margin: 0 auto; }
        
        .tag-item { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--border); padding: 12px 24px; border-radius: 30px; font-size: 16px; font-weight: 500; color: var(--text-dark); transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
        .tag-item span.count { background: var(--primary-light); color: var(--primary); font-size: 12px; padding: 2px 8px; border-radius: 10px; margin-left: 8px; font-weight: bold; }
        
        .tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
        .tag-item:hover span.count { background: rgba(255,255,255,0.2); color: #fff; }

        .tag-empty { text-align: center; padding: 60px; color: var(--text-muted); font-size: 16px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--border); }