﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #1565C0;
      --bg-dark: #0b0f19;
      --bg-light: #f8fafc;
      --text-dark: #0f172a;
      --text-light: #f1f5f9;
      --text-muted: #64748b;
      --border-color: rgba(29, 123, 255, 0.15);
      --theme-color: rgb(31,41,55);
    }
    * { 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-light); color: var(--text-dark); line-height: 1.6; }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    
    
    .site-header { background: var(--bg-dark); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
    .header-container { display: flex; justify-content: space-between; align-items: center; 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-light); white-space: nowrap; }
    .nav-desktop { display: flex; gap: 24px; align-items: center; }
    .nav-desktop a { color: var(--text-muted); font-size: 15px; font-weight: 500; }
    .nav-desktop a:hover { color: var(--primary); }
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s ease; border: none; }
    .btn-primary { background: var(--primary); color: #fff; }
    .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
    .btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
    .drawer-toggle { display: none; background: transparent; border: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .drawer-toggle span { display: block; width: 25px; height: 2px; background: var(--text-light); }

    .mobile-drawer-mask { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1001; }
    .mobile-drawer-mask.active { display: block; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: var(--bg-dark); z-index: 1002; display: flex; flex-direction: column; padding: 24px; transition: left 0.3s ease; border-right: 1px solid var(--border-color); }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .drawer-close { background: transparent; border: none; color: var(--text-light); font-size: 28px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { color: var(--text-light); font-size: 16px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .drawer-footer { margin-top: auto; border-top: 1px solid var(--border-color); padding-top: 20px; }
    .drawer-footer p { font-size: 12px; color: var(--text-muted); }

    
    .download-header { background: linear-gradient(135deg, var(--bg-dark) 0%, #111e35 100%); color: var(--text-light); padding: 80px 0; text-align: center; }
    .download-header h1 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
    .download-header p { font-size: 16px; color: #94a3b8; max-width: 650px; margin: 0 auto; }

    .download-section { padding: 90px 0; }
    .platform-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
    .platform-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .platform-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 15px 30px -10px rgba(29, 123, 255, 0.15); }
    .platform-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(29, 123, 255, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 24px; font-weight: 800; }
    .platform-name { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
    .platform-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
    .platform-card .btn { width: 100%; margin-top: auto; }

    
    .workflow-section { background: #f1f5f9; padding: 90px 0; }
    .workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
    .workflow-step { text-align: center; position: relative; }
    .workflow-num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 20px; box-shadow: 0 4px 10px rgba(29, 123, 255, 0.3); }
    .workflow-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
    .workflow-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

    
    .site-footer { background: #070a12; color: #94a3b8; padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
    .footer-container { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; margin-bottom: 60px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-brand p { font-size: 14px; line-height: 1.7; }
    .footer-group h4 { font-size: 16px; font-weight: 600; color: var(--text-light); margin-bottom: 24px; }
    .footer-group ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
    .footer-group ul a { font-size: 14px; }
    .footer-group ul a:hover { color: var(--primary); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; display: flex; flex-direction: column; gap: 20px; font-size: 12px; }
    .risk-warning { border-left: 3px solid #ef4444; padding-left: 15px; line-height: 1.6; color: #64748b; }

    @media (max-width: 1024px) {
      .platform-cards-grid { grid-template-columns: 1fr; }
      .workflow-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    }
    @media (max-width: 768px) {
      .nav-desktop, .header-actions .btn { display: none; }
      .drawer-toggle { display: flex; }
      .workflow-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; }
    }