﻿:root {
      --primary-color: rgb(17, 24, 39);
      --accent-color: #e11d48;
      --bg-main: #f8fafc;
      --bg-card: #ffffff;
      --text-main: #111827;
      --text-muted: #6b7280;
      --border-color: #e5e7eb;
      --radius: 8px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; }
    a { color: inherit; text-decoration: none; }
    a:hover { color: var(--accent-color); }
    img { max-width: 100%; height: auto; display: block; }
    .container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

    .site-header { background-color: var(--primary-color); color: #ffffff; sticky: top: 0; z-index: 100; }
    .header-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
    .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: #ffffff; white-space: nowrap; }
    .desktop-nav { display: flex; gap: 4px; align-items: center; }
    .desktop-nav a { padding: 8px 16px; font-size: 15px; font-weight: 500; color: #e5e7eb; border-radius: 4px; }
    .desktop-nav a:hover { background-color: rgba(255,255,255,0.1); color: #ffffff; }
    .mobile-toggle { display: none; background: none; border: none; color: #ffffff; cursor: pointer; padding: 6px; }

    .mobile-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; transition: opacity 0.3s; }
    .mobile-drawer-overlay.active { display: block; opacity: 1; }
    .mobile-drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #ffffff; z-index: 999; transition: left 0.3s ease; display: flex; flex-direction: column; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: var(--primary-color); color: #ffffff; }
    .drawer-close { background: none; border: none; color: #ffffff; font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; padding: 16px 0; }
    .drawer-nav a { padding: 12px 24px; font-size: 16px; color: var(--text-main); border-bottom: 1px solid var(--border-color); }

    .download-hero { background: var(--primary-color); color: #ffffff; padding: 40px 0; text-align: center; margin-bottom: 32px; }
    .download-hero h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
    .download-hero p { font-size: 14px; color: #9ca3af; }

    .download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px; }
    .download-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
    .download-card h3 { font-size: 20px; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
    .download-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
    .download-btn { display: inline-block; background: var(--accent-color); color: #ffffff; font-weight: 600; padding: 10px 20px; border-radius: 4px; text-align: center; }
    .download-btn:hover { background: #be123c; color: #ffffff; }

    .steps-section { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 28px; margin-bottom: 40px; }
    .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
    .step-item { background: #f8fafc; padding: 16px; border-radius: 6px; text-align: center; }
    .step-number { width: 32px; height: 32px; background: var(--primary-color); color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-weight: 700; }

    .site-footer { background-color: var(--primary-color); color: #9ca3af; padding-top: 48px; padding-bottom: 24px; margin-top: 40px; border-top: 1px solid #374151; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; margin-bottom: 32px; }
    .footer-brand .logo span { color: #ffffff; }
    .brand-desc { font-size: 13px; line-height: 1.7; margin-top: 16px; }
    .footer-title { font-size: 16px; font-weight: 700; color: #ffffff; margin-bottom: 16px; }
    .footer-menu { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
    .footer-menu a { color: #9ca3af; }
    .footer-contact-col p { font-size: 13px; margin-bottom: 8px; }

    .friend-links { border-top: 1px solid #374151; border-bottom: 1px solid #374151; padding: 16px 0; margin-bottom: 24px; }
    .friend-title { font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
    .friend-content { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; }
    .friend-content a { color: #9ca3af; }

    .footer-bottom { text-align: center; font-size: 13px; color: #6b7280; }

    @media (max-width: 768px) { .desktop-nav { display: none; } .mobile-toggle { display: block; } .download-grid, .steps-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }