﻿:root {
  --primary: rgb(48,209,88);
  --primary-hover: #28b84d;
  --primary-light: rgba(48,209,88,0.1);
  --text-main: #111827;
  --text-sub: #4b5563;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e5e7eb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg-page); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }


.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: 20px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }

.header { background: var(--bg-card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 75px; }
.nav-desktop { display: flex; gap: 28px; }
.nav-desktop a { font-size: 16px; color: var(--text-main); font-weight: 500; transition: color 0.3s; }
.nav-desktop a:hover { color: var(--primary); }
.header-btn { padding: 10px 24px; background: var(--primary); color: #fff; border-radius: 6px; font-weight: 600; transition: background 0.3s; }
.header-btn:hover { background: var(--primary-hover); }
.menu-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-main); }

.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; visibility: hidden; transition: all 0.3s; }
.drawer-overlay.active { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: var(--bg-card); z-index: 201; box-shadow: 2px 0 15px rgba(0,0,0,0.1); transition: left 0.3s; display: flex; flex-direction: column; }
.drawer.active { left: 0; }
.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: 24px; cursor: pointer; color: var(--text-sub); }
.drawer-nav { padding: 20px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.drawer-nav a { font-size: 16px; color: var(--text-main); font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--bg-page); }

.footer { background: #1f2937; color: #d1d5db; padding: 70px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer .logo span { color: #fff; }
.footer-desc { margin-top: 20px; font-size: 14px; line-height: 1.8; color: #9ca3af; max-width: 320px; }
.footer-title { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 24px; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { transition: color 0.3s; font-size: 15px; }
.footer-nav a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #374151; padding-top: 24px; display: flex; justify-content: space-between; font-size: 14px; color: #9ca3af; }
.footer-links a { margin-left: 20px; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 768px) {
  .nav-desktop, .header-btn { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .footer-links a { margin: 0 10px; }
}


.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 16px; text-align: center; transition: all 0.3s; }
.btn-primary { background: var(--primary); color: #fff; border: 2px solid var(--primary); box-shadow: 0 4px 10px rgba(48,209,88,0.3); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(48,209,88,0.4); }
.btn-outline { background: transparent; color: var(--text-main); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.article-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 12px 20px rgba(0,0,0,0.08); border-color: var(--primary-light); }
.article-img { width: 100%; height: 220px; object-fit: cover; }
.article-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.article-title a:hover { color: var(--primary); }
.article-desc { font-size: 14px; color: var(--text-sub); margin-bottom: 20px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #6b7280; padding-top: 16px; border-top: 1px solid var(--border); margin-bottom: 12px; }
.article-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.article-tags { display: flex; gap: 8px; }
.article-tags a { background: var(--primary-light); color: var(--primary); padding: 4px 10px; border-radius: 4px; font-weight: 500; }
.article-read { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.article-read:hover { color: var(--primary-hover); }


.hero { background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%); padding: 80px 0; overflow: hidden; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-text { flex: 1; max-width: 600px; }
.hero-text h1 { font-size: 46px; font-weight: 800; color: var(--text-main); line-height: 1.2; margin-bottom: 24px; }
.hero-text p { font-size: 18px; color: var(--text-sub); line-height: 1.8; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 20px; }
.hero-image { flex: 1; display: flex; justify-content: flex-end; }
.hero-image img { max-width: 100%; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); border: 1px solid rgba(48,209,88,0.2); }

.features { padding: 80px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; color: var(--text-main); }
.section-header p { font-size: 16px; color: var(--text-sub); max-width: 700px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { padding: 40px 30px; background: var(--bg-page); border-radius: 12px; text-align: center; transition: all 0.3s; border: 1px solid transparent; }
.feature-card:hover { background: #fff; border-color: var(--primary-light); box-shadow: 0 10px 30px rgba(48,209,88,0.08); }
.feature-icon { width: 64px; height: 64px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 24px; font-weight: bold; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-sub); }

.articles-section { padding: 80px 0; background: var(--bg-page); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; }

.cta-section { background: var(--text-main); padding: 80px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; top: -50px; left: -50px; width: 200px; height: 200px; background: var(--primary); opacity: 0.2; filter: blur(60px); border-radius: 50%; }
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; position: relative; z-index: 2; }
.cta-section p { font-size: 18px; color: #9ca3af; margin-bottom: 40px; position: relative; z-index: 2; }

@media (max-width: 992px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero-text { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-image { justify-content: center; }
}