﻿:root {
      --primary-color: rgb(98, 114, 164);
      --primary-hover: rgba(98, 114, 164, 0.85);
      --bg-color: #f8f9fc;
      --card-bg: #ffffff;
      --text-main: #2d3748;
      --text-muted: #718096;
      --border-color: #e2e8f0;
      --max-width: 1200px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--bg-color);
      color: var(--text-main);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
    a:hover { color: var(--primary-color); }
    img { max-width: 100%; height: auto; display: block; }
    .container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
    
    header { background-color: var(--card-bg); border-bottom: 1px solid var(--border-color); 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: 20px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
    .nav-desktop { display: flex; gap: 24px; align-items: center; }
    .nav-desktop a { font-weight: 500; font-size: 15px; color: var(--text-main); }
    .nav-desktop a.active, .nav-desktop a:hover { color: var(--primary-color); }
    .menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }
    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .drawer-overlay.open { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--card-bg); z-index: 1000; box-shadow: 2px 0 10px rgba(0,0,0,0.1); transition: all 0.3s ease; display: flex; flex-direction: column; padding: 20px; }
    .drawer.open { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; font-weight: 500; }

    
    .dl-wrap { padding: 50px 0; }
    .dl-hero { text-align: center; margin-bottom: 50px; }
    .dl-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 15px; color: var(--text-main); }
    .dl-hero p { color: var(--text-muted); font-size: 16px; max-width: 700px; margin: 0 auto; }

    .dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
    .dl-card { background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-color); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
    .dl-card-top h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
    .dl-card-top p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
    .dl-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 15px; }
    .dl-btn { background: var(--primary-color); color: #fff; text-align: center; font-weight: 600; padding: 12px; border-radius: 6px; font-size: 14px; }
    .dl-btn:hover { background: var(--primary-hover); }

    .dl-guide { background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-color); padding: 40px; }
    .dl-guide h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; text-align: center; }
    .guide-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .step { text-align: center; }
    .step-num { width: 40px; height: 40px; background: var(--primary-color); color: #fff; font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 15px; }
    .step h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
    .step p { font-size: 12px; color: var(--text-muted); }

    footer { background: #1a202c; color: #a0aec0; padding: 60px 0 20px; font-size: 14px; margin-top: auto; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand .logo span { color: #fff; }
    .footer-brand p { margin-top: 15px; line-height: 1.6; }
    .footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 20px; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul a:hover { color: #fff; }
    .friend-links { border-top: 1px solid #2d3748; padding: 20px 0; margin-bottom: 20px; }
    .friend-title { font-weight: 600; color: #fff; margin-bottom: 10px; font-size: 13px; }
    .friend-content { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; }
    .friend-content a { color: #a0aec0; }
    .friend-content a:hover { color: #fff; }
    .footer-bottom { border-top: 1px solid #2d3748; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; font-size: 12px; }

    @media (max-width: 992px) {
      .dl-grid { grid-template-columns: 1fr 1fr; }
      .guide-steps { grid-template-columns: 1fr 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .nav-desktop { display: none; }
      .menu-toggle { display: block; }
      .dl-grid { grid-template-columns: 1fr; }
      .guide-steps { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    }