﻿:root {
      --primary-color: rgb(79,70,229);
      --primary-hover: #4338ca;
      --silver-white: #F8FAFC;
      --deep-ink: #0F172A;
      --slate-grey: #64748B;
      --border-color: #E2E8F0;
      --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
      --text-dark: #0F172A;
      --text-light: #64748B;
    }

    * { 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(--silver-white);
      color: var(--text-dark);
      line-height: 1.6;
    }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

    
    .header {
      position: fixed; top: 0; left: 0; width: 100%; height: 70px;
      background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226, 232, 240, 0.8);
      z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 4%;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 38px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { display: inline-block; font-size: 18px; font-weight: 800; color: var(--deep-ink); }
    .nav-list { display: flex; align-items: center; gap: 28px; list-style: none; }
    .nav-list a { font-size: 15px; font-weight: 500; color: var(--text-light); }
    .nav-list a:hover { color: var(--primary-color); }
    .nav-btn { background-color: var(--primary-color); color: #fff !important; padding: 8px 20px; border-radius: 50px; font-size: 14px !important; font-weight: 600 !important; }
    .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
    .nav-toggle span { display: block; width: 24px; height: 2px; background-color: var(--deep-ink); margin: 5px 0; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 1001; opacity: 0; visibility: hidden; transition: 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #fff; z-index: 1002; box-shadow: 10px 0 30px rgba(0,0,0,0.1); transition: 0.3s; display: flex; flex-direction: column; padding: 24px; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
    .drawer-close { background: none; border: none; font-size: 24px; color: var(--text-light); cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-dark); padding: 8px 0; border-bottom: 1px solid var(--border-color); }

    
    .tag-hero {
      background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.05) 0%, rgba(248, 250, 252, 1) 90%);
      padding: 140px 4% 60px; text-align: center; border-bottom: 1px solid var(--border-color);
    }
    .tag-hero h1 { font-size: 36px; font-weight: 800; color: var(--deep-ink); margin-bottom: 12px; }
    .tag-hero p { font-size: 16px; color: var(--slate-grey); max-width: 600px; margin: 0 auto; }

    .tag-grid-container { max-width: 1000px; margin: 60px auto 100px; padding: 0 4%; }
    .tag-cloud-box { background: #fff; border-radius: 20px; border: 1px solid var(--border-color); padding: 50px 40px; box-shadow: var(--card-shadow); display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
    
    .cloud-tag-item {
      font-size: 15px; font-weight: 500; background: var(--silver-white); color: var(--slate-grey);
      padding: 10px 20px; border-radius: 50px; border: 1px solid var(--border-color);
      display: inline-flex; align-items: center; gap: 8px; transition: 0.3s;
    }
    .cloud-tag-item:hover {
      background: var(--primary-color); border-color: var(--primary-color); color: #fff;
      transform: scale(1.05);
    }
    .cloud-tag-count { font-size: 11px; background: rgba(15,23,42,0.06); color: var(--text-dark); padding: 2px 6px; border-radius: 100px; }
    .cloud-tag-item:hover .cloud-tag-count { background: rgba(255,255,255,0.2); color: #fff; }

    
    .footer { background: var(--deep-ink); color: #fff; padding: 80px 4% 40px; margin-top: 100px;}
    .footer-grid { max-width: 1200px; margin: 0 auto 60px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
    .footer-brand .logo span { color: #fff; }
    .footer-brand p { color: var(--slate-grey); font-size: 14px; margin-top: 20px; }
    .footer-links h5 { font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-links a { color: var(--slate-grey); font-size: 14px; }
    .footer-links a:hover { color: #fff; }
    .footer-contact p { color: var(--slate-grey); font-size: 14px; margin-bottom: 12px; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--slate-grey); }

    @media(max-width: 768px) {
      .header { padding: 0 6%; }
      .nav-list { display: none; }
      .nav-toggle { display: block; }
      .tag-cloud-box { padding: 30px 20px; }
      .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    }