﻿:root {
      --primary: #2563EB;
      --primary-hover: #1D4ED8;
      --secondary: #38BDF8;
      --accent: #A5F3FC;
      --bg-dark: #0F172A;
      --bg-light: #EEF6FF;
      --bg-ultra: #F8FBFF;
      --text-dark: #0F172A;
      --text-muted: #475569;
      --border-color: rgba(37, 99, 235, 0.1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text-dark);
      background-color: var(--bg-ultra);
      line-height: 1.6;
    }

    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

    
    .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-dark);
      white-space: nowrap;
    }

    
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(248, 251, 255, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }
    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 16px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .desktop-menu { display: flex; align-items: center; gap: 32px; }
    .desktop-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .desktop-menu a:hover { color: var(--primary); }
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .btn-action {
      background: var(--primary);
      color: white;
      padding: 10px 20px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      border: none;
      cursor: pointer;
    }
    .btn-action:hover { background: var(--primary-hover); }
    .menu-trigger { display: none; background: none; border: none; cursor: pointer; color: var(--text-dark); }

    
    .drawer-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(15, 23, 42, 0.4);
      backdrop-filter: blur(4px);
      z-index: 150;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    .drawer-backdrop.active { opacity: 1; visibility: visible; }
    .drawer-menu {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--bg-ultra);
      z-index: 160;
      box-shadow: 20px 0 40px rgba(15, 23, 42, 0.1);
      display: flex;
      flex-direction: column;
      padding: 24px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .drawer-menu.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .drawer-close { background: none; border: none; cursor: pointer; color: var(--text-dark); }
    .drawer-links { display: flex; flex-direction: column; gap: 20px; }
    .drawer-links a { font-size: 16px; font-weight: 600; color: var(--text-dark); padding: 8px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }

    
    .tag-hero {
      background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
      padding: 80px 20px;
      text-align: center;
      border-bottom: 1px solid var(--border-color);
    }

    
    .tag-container {
      max-width: 1000px;
      margin: 80px auto 120px;
      padding: 0 20px;
      text-align: center;
    }
    .tag-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: center;
    }
    .tag-btn {
      background: white;
      border: 1px solid var(--border-color);
      color: var(--text-dark);
      padding: 12px 24px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .tag-btn:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
      transform: translateY(-2px);
    }
    .tag-count {
      font-size: 12px;
      opacity: 0.6;
      background: var(--bg-light);
      color: var(--primary);
      padding: 2px 6px;
      border-radius: 4px;
    }
    .tag-btn:hover .tag-count {
      background: rgba(255, 255, 255, 0.2);
      color: white;
    }

    
    footer {
      background: #0B0F19;
      color: #94A3B8;
      padding: 80px 20px 40px;
      border-top: 1px solid #1E293B;
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 60px;
    }
    .footer-brand .logo span { color: white; }
    .footer-brand p { margin-top: 16px; font-size: 14px; }
    .footer-title { color: white; font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: white; }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 40px;
      border-top: 1px solid #1E293B;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }

    @media (max-width: 768px) {
      .desktop-menu, .header-actions { display: none; }
      .menu-trigger { display: block; }
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    }