﻿:root {
  --primary: rgb(15,157,88);
  --primary-hover: #0c8248;
  --primary-light: rgba(15,157,88,0.1);
  --text-main: #1a1a1a;
  --text-gray: #666666;
  --bg-light: #f4f7f6;
  --white: #ffffff;
  --border: #eaeaea;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-main); line-height: 1.6; background-color: var(--white); }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }


.header { border-bottom: 1px solid var(--border); background: var(--white); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.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: 18px; font-weight: 800; line-height: 1; color: #111; white-space: nowrap; }

.desktop-nav ul { display: flex; gap: 30px; }
.desktop-nav a { font-size: 16px; font-weight: 500; transition: color 0.3s; }
.desktop-nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 15px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-main); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 6px; font-size: 16px; font-weight: 500; transition: all 0.3s; cursor: pointer; }
.btn-primary { background-color: var(--primary); color: var(--white); border: 1px solid var(--primary); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background-color: var(--primary); color: var(--white); }
.btn-large { padding: 14px 32px; font-size: 18px; border-radius: 8px; }


.drawer-overlay { 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-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: var(--white); z-index: 1000; transition: left 0.3s ease; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-drawer.active { left: 0; }
.drawer-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.drawer-close { background: none; border: none; cursor: pointer; color: var(--text-main); padding: 5px; }
.mobile-nav { padding: 20px 0; }
.mobile-nav ul li a { display: block; padding: 15px 24px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; }


.hero { padding: 80px 0; background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%); overflow: hidden; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-content { flex: 1; max-width: 600px; }
.hero-tag { display: inline-block; padding: 6px 12px; background: var(--primary-light); color: var(--primary); border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.hero-title { font-size: 48px; line-height: 1.2; font-weight: 800; margin-bottom: 24px; }
.hero-title span { color: var(--primary); }
.hero-desc { font-size: 18px; color: var(--text-gray); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 20px; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; border-top: 1px solid var(--border); padding-top: 30px; }
.stat-item strong { display: block; font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-item span { font-size: 14px; color: var(--text-gray); }
.hero-image { flex: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }


.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-gray); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); }
.feature-icon { width: 60px; height: 60px; background: var(--primary-light); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.feature-card h3 { font-size: 22px; margin-bottom: 15px; font-weight: 700; }
.feature-card p { color: var(--text-gray); line-height: 1.6; }


.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 40px; }
.article-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; display: flex; flex-direction: column; }
.article-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-5px); }
.article-img-link { display: block; width: 100%; height: 220px; overflow: hidden; border-bottom: 1px solid var(--border); }
.article-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.article-card:hover .article-img-link img { transform: scale(1.05); }
.article-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-meta { font-size: 13px; color: var(--text-gray); display: flex; justify-content: space-between; margin-bottom: 12px; }
.article-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-title a { transition: color 0.3s; }
.article-title a:hover { color: var(--primary); }
.article-summary { font-size: 14px; color: var(--text-gray); margin-bottom: 20px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-tags { font-size: 12px; color: var(--primary); background: var(--primary-light); padding: 4px 10px; border-radius: 4px; display: inline-block; align-self: flex-start; }
.section-footer { text-align: center; }


.cta-section { background: var(--primary); color: var(--white); padding: 80px 0; text-align: center; }
.cta-inner h2 { font-size: 36px; margin-bottom: 20px; font-weight: 800; }
.cta-inner p { font-size: 18px; opacity: 0.9; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btn { background: var(--white); color: var(--primary); border: none; }
.cta-btn:hover { background: var(--bg-light); color: var(--primary-hover); transform: scale(1.05); }


.footer { background: #1a1a1a; color: #ffffff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo span { color: #ffffff; }
.footer-desc { margin-top: 20px; color: #a0a0a0; font-size: 14px; line-height: 1.8; }
.footer-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #ffffff; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: #a0a0a0; transition: color 0.3s; font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { color: #a0a0a0; font-size: 14px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; text-align: center; color: #666; font-size: 14px; }


.page-header { background: var(--bg-light); padding: 60px 0; text-align: center; border-bottom: 1px solid var(--border); }
.page-title { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.page-desc { font-size: 18px; color: var(--text-gray); max-width: 700px; margin: 0 auto; }
.breadcrumb { margin-bottom: 20px; font-size: 14px; color: var(--text-gray); text-align: left; }
.breadcrumb a { color: var(--primary); margin: 0 5px; }


.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid var(--border); background: var(--white); color: var(--text-main); font-weight: 500; transition: all 0.3s; }
.pagination a:hover, .pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }


.article-page { padding: 40px 0 80px; }
.article-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; }
.article-main { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.03); }
.article-header { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 30px; }
.article-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 15px; line-height: 1.4; }
.article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-gray); }
.article-content { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 40px; }
.article-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
.article-tags-links { padding: 20px; background: var(--bg-light); border-radius: 8px; margin-bottom: 30px; font-size: 14px; }
.article-tags-links a { color: var(--primary); margin-right: 10px; font-weight: 500; }
.article-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 20px; font-size: 14px; }
.article-nav a { color: var(--primary); font-weight: 500; }
.sidebar-widget { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.03); margin-bottom: 30px; }
.widget-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 10px; }
.like-list li { margin-bottom: 15px; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.like-list li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.like-list a { display: flex; gap: 15px; align-items: center; }
.like-list .img-box { width: 80px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.like-list .img-box img { width: 100%; height: 100%; object-fit: cover; }
.like-list .txt-box h4 { font-size: 14px; font-weight: 500; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.like-list .txt-box p { font-size: 12px; color: var(--text-gray); }


.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 32px; margin-bottom: 20px; font-weight: 800; }
.about-text p { margin-bottom: 20px; font-size: 16px; color: var(--text-gray); }
.about-stats { display: flex; gap: 30px; margin-top: 30px; }
.stat h3 { font-size: 28px; color: var(--primary); margin-bottom: 5px; }
.about-img img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.step-card { background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.step-num { width: 50px; height: 50px; margin: 0 auto 20px; background: var(--primary); color: var(--white); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; border-radius: 50%; }


.tag-cloud-wrapper { display: flex; flex-wrap: wrap; gap: 15px; padding: 40px 0; }
.tag-item { display: inline-flex; align-items: center; padding: 10px 20px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 30px; transition: all 0.3s; }
.tag-item:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-3px); }
.tag-name { font-weight: 600; font-size: 16px; margin-right: 8px; }
.tag-count { font-size: 12px; opacity: 0.8; background: rgba(0,0,0,0.05); padding: 2px 8px; border-radius: 12px; }
.tag-item:hover .tag-count { background: rgba(255,255,255,0.2); }


@media (max-width: 992px) {
  .hero-inner, .about-grid, .article-layout { grid-template-columns: 1fr; flex-direction: column; }
  .hero-image { order: -1; margin-bottom: 30px; }
  .feature-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .desktop-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .feature-grid, .step-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
  .hero-stats { flex-direction: column; gap: 20px; }
}