        /* ===== Base Styles ===== */
        :root {
          --primary: #5a67d8;
          --primary-dark: #4c51bf;
          --primary-light: #a3bffa;
          --primary-extra-light: #ebf4ff;
          --secondary: #718096;
          --secondary-light: #e2e8f0;
          --light: #f7fafc;
          --dark: #2d3748;
          --darker: #1a202c;
          --white: #ffffff;
          --gray: #a0aec0;
          --gray-light: #edf2f7;
          --success: #48bb78;
          --warning: #ed8936;
          --danger: #f56565;
          --info: #4299e1;
          --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
          --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
          --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
          --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
          --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
          --rounded-sm: 0.125rem;
          --rounded: 0.25rem;
          --rounded-md: 0.375rem;
          --rounded-lg: 0.5rem;
          --rounded-xl: 0.75rem;
          --rounded-full: 9999px;
          --transition: all 0.3s ease;
          --transition-fast: all 0.15s ease;
        }

        * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
        }

        body {
          font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
          line-height: 1.6;
          color: var(--dark);
          background-color: var(--light);
          overflow-x: hidden;
        }

        /* ===== Header Styles ===== */
        .header1 {
          background-color: var(--white);
          box-shadow: var(--shadow-sm);
          position: sticky;
          top: 0;
          z-index: 1000;
          border-bottom: 1px solid var(--gray-light);
        }

        .header-container {
          max-width: 1400px;
          margin: 0 auto;
          padding: 0 1.5rem;
          display: flex;
          justify-content: space-between;
          align-items: center;
          height: 5rem;
        }

        .logo-header {
          display: flex;
          align-items: center;
          text-decoration: none;
          font-size: 1.5rem;
          font-weight: 700;
          color: var(--primary);
          transition: var(--transition);
        }

        .logo-header:hover {
          color: var(--primary-dark);
          transform: translateY(-1px);
        }

        .logo-header i {
          margin-right: 0.75rem;
          font-size: 1.75rem;
        }

        .mobile-menu-btn {
          display: none;
          background: none;
          border: none;
          font-size: 1.5rem;
          color: var(--dark);
          cursor: pointer;
          padding: 0.75rem;
          border-radius: var(--rounded);
          transition: var(--transition);
          z-index: 1002;
        }

        .mobile-menu-btn:hover {
          background-color: var(--gray-light);
          color: var(--primary);
        }

        /* ===== Navigation Styles ===== */
        .nav-links {
          display: flex;
          align-items: center;
          transition: var(--transition);
        }

        .nav-item {
          position: relative;
        }

        .nav-link {
          display: flex;
          align-items: center;
          padding: 0 1rem;
          height: 5rem;
          text-decoration: none;
          color: var(--dark);
          font-weight: 500;
          transition: var(--transition);
          position: relative;
          font-size: 0.95rem;
        }

        .nav-link i {
          margin-right: 0.5rem;
          font-size: 1rem;
        }

        .nav-link:hover {
          color: var(--primary);
        }

        .nav-link.active {
          color: var(--primary);
          font-weight: 600;
        }

        .nav-link.active::after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 1rem;
          right: 1rem;
          height: 0.25rem;
          background-color: var(--primary);
          border-radius: 0.25rem 0.25rem 0 0;
        }

        /* Dropdown Styles */
        .dropdown-toggle {
          position: relative;
        }

        .dropdown-arrow {
          margin-left: 0.25rem;
          font-size: 0.75rem;
          transition: transform 0.2s;
        }

        .dropdown:hover .dropdown-arrow {
          transform: rotate(180deg);
        }

        .dropdown-menu {
          display: none;
          position: absolute;
          top: 100%;
          left: 0;
          z-index: 1000;
          min-width: 12rem;
          background: var(--white);
          box-shadow: var(--shadow-md);
          border-radius: var(--rounded-md);
          overflow: hidden;
          animation: fadeIn 0.2s ease-out;
        }

        .dropdown:hover .dropdown-menu {
          display: block;
        }

        @keyframes fadeIn {
          from { opacity: 0; transform: translateY(-0.5rem); }
          to { opacity: 1; transform: translateY(0); }
        }

        .dropdown-menu a {
          display: flex;
          align-items: center;
          padding: 0.75rem 1rem;
          color: var(--dark);
          text-decoration: none;
          transition: var(--transition);
          border-left: 3px solid transparent;
        }

        .dropdown-menu a:hover {
          background-color: var(--gray-light);
          color: var(--primary);
          border-left-color: var(--primary);
        }

        .dropdown-menu a i {
          width: 1.25rem;
          text-align: center;
          margin-right: 0.75rem;
          color: var(--primary);
        }

        /* Mega Dropdown Menu */
        .mega-dropdown {
          position: static;
        }

        .mega-dropdown .dropdown-menu {
          width: 100%;
          left: 0;
          right: 0;
          padding: 2rem;
          display: none;
          grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
          gap: 2rem;
          border-top: 1px solid var(--gray-light);
        }

        .mega-dropdown:hover .dropdown-menu {
          display: grid;
        }

        .mega-dropdown-col h4 {
          color: var(--primary);
          margin-bottom: 1rem;
          font-size: 1rem;
          display: flex;
          align-items: center;
        }

        .mega-dropdown-col h4 i {
          margin-right: 0.75rem;
          font-size: 1.1rem;
        }

        .mega-dropdown-col ul {
          list-style: none;
        }

        .mega-dropdown-col ul li {
          margin-bottom: 0.5rem;
        }

        .mega-dropdown-col ul li a {
          display: flex;
          align-items: center;
          padding: 0.5rem 0;
          color: var(--secondary);
          text-decoration: none;
          transition: var(--transition-fast);
          font-size: 0.9rem;
        }

        .mega-dropdown-col ul li a:hover {
          color: var(--primary);
          transform: translateX(3px);
        }

        .mega-dropdown-col ul li a i {
          margin-right: 0.75rem;
          width: 1.25rem;
          text-align: center;
          color: var(--primary-light);
          font-size: 0.9rem;
        }

        .mega-dropdown-featured {
          background-color: var(--primary-extra-light);
          padding: 1.5rem;
          border-radius: var(--rounded-lg);
          grid-column: span 2;
        }

        .mega-dropdown-featured h4 {
          color: var(--primary-dark);
          margin-bottom: 1rem;
        }

        .featured-tool {
          display: flex;
          align-items: center;
          background: var(--white);
          padding: 1rem;
          border-radius: var(--rounded);
          margin-bottom: 1rem;
          box-shadow: var(--shadow-sm);
          transition: var(--transition);
        }

        .featured-tool:hover {
          transform: translateY(-2px);
          box-shadow: var(--shadow);
        }

        .featured-tool i {
          font-size: 1.5rem;
          color: var(--primary);
          margin-right: 1rem;
          background: var(--primary-extra-light);
          padding: 0.75rem;
          border-radius: var(--rounded-full);
          width: 3rem;
          height: 3rem;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .featured-tool-content h5 {
          font-size: 1rem;
          margin-bottom: 0.25rem;
          color: var(--darker);
        }

        .featured-tool-content p {
          font-size: 0.85rem;
          color: var(--secondary);
        }

        /* CTA Buttons */
        .nav-cta {
          display: flex;
          align-items: center;
          margin-left: 1.5rem;
          gap: 0.75rem;
        }

        .btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 0.625rem 1.25rem;
          border-radius: var(--rounded-md);
          font-weight: 600;
          text-align: center;
          text-decoration: none;
          transition: var(--transition);
          font-size: 0.9rem;
          white-space: nowrap;
          cursor: pointer;
        }

        .btn-primary {
          background-color: var(--primary);
          color: var(--white);
          border: 2px solid var(--primary);
          box-shadow: var(--shadow-sm);
        }

        .btn-primary:hover {
          background-color: var(--primary-dark);
          border-color: var(--primary-dark);
          transform: translateY(-1px);
          box-shadow: var(--shadow);
        }

        .btn-outline {
          background-color: transparent;
          color: var(--primary);
          border: 2px solid var(--primary);
        }

        .btn-outline:hover {
          background-color: var(--primary);
          color: var(--white);
          transform: translateY(-1px);
          box-shadow: var(--shadow-sm);
        }

        .btn-sm {
          padding: 0.5rem 1rem;
          font-size: 0.85rem;
        }

        .btn-lg {
          padding: 0.875rem 1.75rem;
          font-size: 1rem;
        }

        .btn-icon {
          width: 2.5rem;
          height: 2.5rem;
          padding: 0;
          justify-content: center;
          border-radius: var(--rounded-full);
        }

        /* Badges */
        .badge {
          display: inline-block;
          padding: 0.25rem 0.5rem;
          font-size: 0.75rem;
          font-weight: 600;
          line-height: 1;
          text-align: center;
          white-space: nowrap;
          vertical-align: baseline;
          border-radius: var(--rounded-full);
          transition: var(--transition);
        }

        .badge-primary {
          color: var(--white);
          background-color: var(--primary);
        }

        .badge-success {
          color: var(--white);
          background-color: var(--success);
        }

        .badge-warning {
          color: var(--white);
          background-color: var(--warning);
        }

        /* ===== Mega Menu Sidebar Styles ===== */
        .mega-menu-sidebar-overlay {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, 0.5);
          z-index: 999;
          opacity: 0;
          visibility: hidden;
          transition: var(--transition);
        }

        .mega-menu-sidebar-overlay.active {
          opacity: 1;
          visibility: visible;
        }

        .mega-menu-sidebar {
          position: fixed;
          top: 0;
          left: -100%;
          width: 90%;
          max-width: 400px;
          height: 100vh;
          background-color: var(--white);
          z-index: 1000;
          overflow-y: auto;
          transition: var(--transition);
          box-shadow: var(--shadow-xl);
        }

        .mega-menu-sidebar.active {
          left: 0;
        }

        .close-sidebar-btn {
          position: absolute;
          top: 1rem;
          right: 1rem;
          background: none;
          border: none;
          font-size: 1.5rem;
          color: var(--dark);
          cursor: pointer;
          z-index: 1001;
        }

        .mega-menu-sidebar-header {
          padding: 1.5rem;
          border-bottom: 1px solid var(--gray-light);
          display: flex;
          align-items: center;
          justify-content: space-between;
        }

        .mega-menu-sidebar .mega-menu-content {
          padding: 1.5rem;
          height: 100%;
          display: flex;
          flex-direction: column;
        }

        .mega-menu-sidebar .mega-menu-col {
          margin-bottom: 1.5rem;
        }

        .mega-menu-sidebar .mega-menu-col h4 {
          color: var(--primary);
          margin-bottom: 1rem;
          font-size: 1.1rem;
          padding-bottom: 0.5rem;
          border-bottom: 1px solid var(--secondary-light);
          cursor: pointer;
          display: flex;
          justify-content: space-between;
          align-items: center;
        }

        .mega-menu-sidebar .mega-menu-col h4::after {
          content: '+';
          font-size: 1.2rem;
          color: var(--primary);
        }

        .mega-menu-sidebar .mega-menu-col.active h4::after {
          content: '-';
        }

        .mega-menu-sidebar .mega-menu-col ul {
          display: none;
          padding-left: 0.5rem;
          margin-top: 0.5rem;
          list-style: none;
        }

        .mega-menu-sidebar .mega-menu-col.active ul {
          display: block;
        }

        .mega-menu-sidebar .mega-menu-col ul li {
          margin-bottom: 0.5rem;
        }

        .mega-menu-sidebar .mega-menu-col ul li a {
          display: flex;
          align-items: center;
          padding: 0.5rem 0;
          color: var(--secondary);
          text-decoration: none;
          transition: var(--transition);
          font-size: 0.95rem;
        }

        .mega-menu-sidebar .mega-menu-col ul li a:hover {
          color: var(--primary);
        }

        .mega-menu-sidebar .mega-menu-col ul li a i {
          margin-right: 0.75rem;
          width: 1.25rem;
          text-align: center;
          color: var(--primary);
          font-size: 0.9rem;
        }

        .mega-menu-sidebar .mega-menu-featured {
          margin-top: auto;
          padding: 1.5rem;
          background-color: var(--primary-extra-light);
          border-radius: var(--rounded-lg);
        }

        .mega-menu-sidebar .mega-menu-featured h4 {
          color: var(--primary-dark);
          margin-bottom: 1rem;
          border: none;
          padding: 0;
        }

        .mega-menu-sidebar .featured-tool {
          display: flex;
          align-items: center;
          background: var(--white);
          padding: 1rem;
          border-radius: var(--rounded);
          margin-bottom: 1rem;
          box-shadow: var(--shadow-sm);
        }

        .mega-menu-sidebar .featured-tool i {
          font-size: 1.25rem;
          color: var(--primary);
          margin-right: 1rem;
          background: var(--primary-extra-light);
          padding: 0.5rem;
          border-radius: var(--rounded-full);
        }

        .mega-menu-sidebar .featured-tool-content h5 {
          font-size: 0.95rem;
          margin-bottom: 0.25rem;
          color: var(--darker);
        }

        .mega-menu-sidebar .featured-tool-content p {
          font-size: 0.8rem;
          color: var(--secondary);
        }

        /* User Menu */
        .user-menu {
          position: relative;
          margin-left: 1rem;
        }

        .user-menu-btn {
          display: flex;
          align-items: center;
          background: none;
          border: none;
          cursor: pointer;
          padding: 0.25rem;
          border-radius: var(--rounded-full);
          transition: var(--transition);
        }

        .user-menu-btn:hover {
          background-color: var(--gray-light);
        }

        .user-avatar {
          width: 2.5rem;
          height: 2.5rem;
          border-radius: var(--rounded-full);
          object-fit: cover;
          border: 2px solid var(--primary-light);
        }

        .user-menu-dropdown {
          position: absolute;
          right: 0;
          top: 100%;
          width: 200px;
          background: var(--white);
          border-radius: var(--rounded-md);
          box-shadow: var(--shadow-md);
          padding: 0.5rem 0;
          z-index: 1000;
          display: none;
          animation: fadeIn 0.2s ease-out;
        }

        .user-menu:hover .user-menu-dropdown {
          display: block;
        }

        .user-menu-dropdown a {
          display: flex;
          align-items: center;
          padding: 0.75rem 1rem;
          color: var(--dark);
          text-decoration: none;
          transition: var(--transition);
          font-size: 0.9rem;
        }

        .user-menu-dropdown a:hover {
          background-color: var(--gray-light);
          color: var(--primary);
        }

        .user-menu-dropdown a i {
          margin-right: 0.75rem;
          width: 1rem;
          text-align: center;
          color: var(--primary);
        }

        .user-menu-dropdown .divider {
          height: 1px;
          background-color: var(--gray-light);
          margin: 0.5rem 0;
        }

        /* Notification Badge */
        .notification-badge {
          position: absolute;
          top: -0.25rem;
          right: -0.25rem;
          background-color: var(--danger);
          color: white;
          border-radius: var(--rounded-full);
          width: 1.25rem;
          height: 1.25rem;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 0.7rem;
          font-weight: bold;
        }

        /* ===== Responsive Styles ===== */
        @media (max-width: 1200px) {
          .header-container {
            padding: 0 1.25rem;
          }
          
          .nav-link {
            padding: 0 0.75rem;
          }
        }

        @media (max-width: 992px) {
          .mobile-menu-btn {
            display: block;
          }
          
          .nav-links {
            display: none;
          }
          
          .mega-dropdown .dropdown-menu {
            display: none !important;
          }
        }

        @media (max-width: 768px) {
          .header-container {
            height: 4.5rem;
          }
          
          .logo-header {
            font-size: 1.3rem;
          }
          
          .logo-header i {
            font-size: 1.5rem;
          }
          
          .mobile-menu-btn {
            font-size: 1.3rem;
          }
        }

        @media (max-width: 576px) {
          .header-container {
            padding: 0 1rem;
          }
          
          .logo-header span {
            display: none;
          }
          
          .logo-header i {
            margin-right: 0;
            font-size: 1.8rem;
          }
          
          .mega-menu-sidebar {
            width: 85%;
          }
          
          .nav-cta .btn span {
            display: none;
          }
          
          .nav-cta .btn i {
            margin-right: 0;
          }
          
          .nav-cta .btn {
            width: 2.5rem;
            height: 2.5rem;
            padding: 0;
            justify-content: center;
            border-radius: var(--rounded-full);
          }
        }
