﻿:root {
      --primary: rgb(99,102,241);
      --primary-hover: #4f46e5;
      --dark-bg: #0b0f19;
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --border-color: rgba(255,255,255,0.08);
    }
    * { 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(--dark-bg);
      color: var(--text-main);
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
    ul { list-style: none; }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

    
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .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 { position: sticky; top: 0; z-index: 100; background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
    .header-container { display: flex; justify-content: space-between; align-items: center; height: 80px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .nav-desktop { display: flex; gap: 32px; align-items: center; }
    .nav-desktop a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .btn-primary-sm { background-color: var(--primary); color: #fff; padding: 8px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
    .btn-primary-sm:hover { background-color: var(--primary-hover); transform: translateY(-1px); }
    .menu-toggle { display: none; background: none; border: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 4px; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-main); transition: all 0.3s ease; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background-color: var(--dark-bg); border-right: 1px solid var(--border-color); z-index: 999; padding: 30px 24px; display: flex; flex-direction: column; gap: 40px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; }
    .drawer-close { background: none; border: none; color: var(--text-muted); font-size: 28px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border-color); }
    .drawer-nav a:hover { color: var(--primary); }

    
    .download-hero {
      padding: 100px 0 60px 0;
      text-align: center;
      background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.12), transparent 50%);
    }
    .download-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 20px; color: #fff; }
    .download-hero p { max-width: 650px; margin: 0 auto; color: var(--text-muted); font-size: 16px; }

    
    .download-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      padding: 60px 0;
    }
    .download-card {
      background: #111827;
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.3s ease;
    }
    .download-card:hover {
      border-color: rgba(99, 102, 241, 0.4);
      transform: translateY(-5px);
    }
    .os-icon { font-size: 48px; margin-bottom: 24px; }
    .download-card h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
    .download-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; line-height: 1.6; }
    .download-btn-group { display: flex; flex-direction: column; gap: 12px; }
    .btn-download-action {
      background: var(--primary);
      color: #fff;
      padding: 12px;
      border-radius: 8px;
      text-align: center;
      font-weight: 600;
      font-size: 15px;
    }
    .btn-download-action:hover { background: var(--primary-hover); }
    .btn-download-secondary {
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border-color);
      color: #fff;
      padding: 12px;
      border-radius: 8px;
      text-align: center;
      font-weight: 600;
      font-size: 15px;
    }
    .btn-download-secondary:hover { background: rgba(255,255,255,0.1); }

    
    .footer {
      background: #06080e;
      border-top: 1px solid var(--border-color);
      padding: 80px 0 40px 0;
      font-size: 14px;
      color: var(--text-muted);
    }
    .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 60px; }
    .footer-brand { grid-column: span 2; }
    @media (max-width: 992px) { .footer-brand { grid-column: span 1; } }
    .footer-desc { margin-top: 20px; margin-bottom: 20px; line-height: 1.7; }
    .footer-contact { font-size: 13px; color: var(--text-main); }
    .footer-links h4, .footer-risk h4 { color: var(--text-main); font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links ul { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a:hover { color: var(--primary); }
    .footer-risk p { line-height: 1.7; font-size: 12px; }
    .footer-bottom { border-top: 1px solid var(--border-color); padding-top: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

    @media (max-width: 768px) {
      .nav-desktop { display: none; }
      .menu-toggle { display: flex; }
    }