﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #1565C0;
      --bg-dark: #0A1128;
      --bg-card: #111A36;
      --bg-light: #F4F6FC;
      --text-light: #F8FAFC;
      --text-muted: #8E9BB4;
      --text-dark: #1E293B;
      --border-color: rgba(29, 123, 255, 0.15);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    * { 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 { color: inherit; text-decoration: none; transition: var(--transition); }
    img { max-width: 100%; height: auto; }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    
    
    header { background-color: var(--bg-dark); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; height: 72px; display: flex; align-items: center; }
    .header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
    .logo span { font-size: 20px; font-weight: 800; color: var(--text-light); white-space: nowrap; }
    .nav-desktop { display: flex; align-items: center; gap: 32px; }
    .nav-desktop a { color: var(--text-muted); font-size: 15px; font-weight: 500; }
    .nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
    .nav-btn { background-color: var(--primary); color: var(--text-light) !important; padding: 8px 20px; border-radius: 6px; font-weight: 600; }
    .nav-btn:hover { background-color: var(--primary-hover); }
    .menu-toggle { display: none; background: none; border: none; color: var(--text-light); font-size: 24px; cursor: pointer; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 199; opacity: 0; pointer-events: none; transition: var(--transition); }
    .drawer-overlay.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background-color: var(--bg-dark); z-index: 200; box-shadow: 4px 0 20px rgba(0,0,0,0.5); transition: var(--transition); padding: 24px; display: flex; flex-direction: column; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .drawer-close { background: none; border: none; color: var(--text-light); font-size: 24px; cursor: pointer; }
    .drawer-menu { display: flex; flex-direction: column; gap: 20px; }
    .drawer-menu a { color: var(--text-muted); font-size: 16px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .drawer-menu a:hover { color: var(--primary); }

    
    .hero { background: radial-gradient(circle at top, #111e3b 0%, var(--bg-dark) 100%); color: var(--text-light); padding: 100px 0 140px 0; position: relative; overflow: hidden; text-align: center; }
    .hero-bg-glow { position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(29,123,255,0.15) 0%, transparent 70%); pointer-events: none; }
    .hero-container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
    .hero-tag { background-color: rgba(29, 123, 255, 0.1); border: 1px solid var(--border-color); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 24px; display: inline-block; }
    .hero-title { font-size: 48px; font-weight: 800; line-height: 1.2; letter-spacing: -1px; max-width: 800px; margin-bottom: 20px; }
    .hero-subtitle { font-size: 18px; color: var(--text-muted); max-width: 650px; margin-bottom: 36px; }
    .hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 64px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; }
    .btn-primary { background-color: var(--primary); color: var(--text-light); }
    .btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); }
    .btn-outline { background-color: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--text-light); }
    .btn-outline:hover { background-color: rgba(255,255,255,0.05); border-color: var(--primary); transform: translateY(-2px); }
    
    
    .hero-visual-panel { width: 100%; max-width: 760px; background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); margin-bottom: 40px; text-align: left; overflow: hidden; }
    .panel-header { background-color: rgba(0,0,0,0.2); padding: 12px 20px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .panel-header .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
    .panel-header .red { background-color: #FF5F56; }
    .panel-header .yellow { background-color: #FFBD2E; }
    .panel-header .green { background-color: #27C93F; }
    .panel-header .panel-url { margin-left: 12px; color: var(--text-muted); font-size: 12px; font-family: monospace; }
    .panel-body { padding: 24px; }
    .route-latency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .route-item { background-color: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 16px; border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
    .route-item.active { border-color: var(--primary); background-color: rgba(29,123,255,0.05); }
    .route-name { font-size: 13px; font-weight: 600; color: var(--text-light); }
    .route-status { font-size: 11px; color: #27C93F; display: inline-flex; align-items: center; gap: 4px; }
    .route-ms { font-size: 18px; font-weight: 700; color: var(--primary); font-family: monospace; }

    
    .hero-floating-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; max-width: 1000px; margin-top: 20px; }
    .floating-card { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 20px; text-align: left; display: flex; align-items: center; gap: 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
    .f-card-icon { font-size: 24px; color: var(--primary); }
    .floating-card h4 { font-size: 14px; font-weight: 700; color: var(--text-light); margin-bottom: 4px; }
    .floating-card p { font-size: 12px; color: var(--text-muted); }

    
    .features { padding: 100px 0; background-color: var(--bg-light); text-align: center; }
    .section-title { font-size: 36px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
    .section-desc { font-size: 16px; color: #64748B; max-width: 600px; margin: 0 auto 60px auto; }
    .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .feature-card { background-color: #FFFFFF; border-radius: 12px; padding: 40px 30px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03); transition: var(--transition); border: 1px solid rgba(0,0,0,0.03); text-align: left; }
    .feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-color: var(--primary); }
    .feat-icon { width: 56px; height: 56px; border-radius: 10px; background-color: rgba(29, 123, 255, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; }
    .feature-card h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
    .feature-card p { font-size: 14px; color: #64748B; line-height: 1.6; }

    
    .news { padding: 100px 0; background-color: #FFFFFF; }
    .articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .article-card { background-color: var(--bg-light); border-radius: 12px; overflow: hidden; transition: var(--transition); border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; }
    .article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
    .art-img { height: 200px; overflow: hidden; position: relative; }
    .art-img img { width: 100%; height: 100%; object-fit: cover; }
    .art-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
    .art-meta { display: flex; gap: 16px; font-size: 12px; color: #64748B; margin-bottom: 12px; }
    .art-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 50px; }
    .art-desc { font-size: 14px; color: #64748B; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
    .art-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 16px; font-size: 13px; font-weight: 600; color: var(--primary); }

    
    .cta { background: linear-gradient(135deg, var(--bg-dark) 0%, #111a36 100%); color: var(--text-light); padding: 80px 0; text-align: center; position: relative; border-top: 1px solid var(--border-color); }
    .cta-container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
    .cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
    .cta p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin-bottom: 32px; }

    
    footer { background-color: var(--bg-dark); color: var(--text-muted); padding: 80px 0 40px 0; border-top: 1px solid var(--border-color); font-size: 14px; }
    .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-brand .logo span { color: var(--text-light); }
    .footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
    .footer-col h3 { font-size: 14px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-col ul a { color: var(--text-muted); }
    .footer-col ul a:hover { color: var(--primary); padding-left: 4px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
    .footer-links { display: flex; gap: 24px; }
    .footer-links a:hover { color: var(--primary); }

    
    @media (max-width: 1024px) {
      .hero-floating-cards { grid-template-columns: repeat(2, 1fr); }
      .features-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .menu-toggle { display: block; }
      .nav-desktop { display: none; }
      .hero-title { font-size: 32px; }
      .route-latency-grid { grid-template-columns: 1fr; }
      .features-grid, .articles-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .hero-floating-cards { grid-template-columns: 1fr; }
    }